joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xa9c008], 0x8088405
inc edx
mov dword [ebx + 0xa9c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf44
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf6c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e618
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add edx, edx
inc edx
test edx, edx
js 0x41e634
mov ecx, dword [eax + edx*4]
dec edx
push ecx
jns 0x41e62d
mov dword [ebp + 0x10], esp
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea ebx, [ecx + 1]
mov eax, ebx
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ebx, ebx
jle 0x41e66e
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp ebx, 1
jle 0x41e695
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp ebx, 2
jle 0x41e6bc
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ebx, 3
jle 0x41e6e3
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [esi + 0x20]
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 8], eax
mov word [ebp - 2], 0
mov word [ebp - 2], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.0041e723

Function at 0x41e7b8
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
cmp dword [ebp + 8], 0
je 0x41e829
cmp dword [ebp + 0x10], 0
jne 0x41e7ce
cmp dword [ebp + 0xc], 0
je 0x41e829
cmp dword [ebp + 0x14], 0
je 0x41e829
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x33
call fcn.0041e7e9
pop ecx
pop ecx
pop ebp
ret

Function at 0x41e830
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
cmp dword [ebp + 8], 0
je 0x41e8b4
cmp dword [ebp + 0x10], 0
jne 0x41e848
cmp dword [ebp + 0xc], 0
je 0x41e8b4
cmp dword [ebp + 0x14], 0
je 0x41e8b4
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x33
call fcn.0041e867
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x41e8bc
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x33
call fcn.0041e8d7
Function at 0x41f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xa8058e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa80595
ret
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xa818f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0xa9e54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0xa9e54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0xa9d378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa818fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x40d4d8
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
rcr byte [0x23721351], cl
scasd eax, dword es:[edi]
xchg edx, eax
das
add edi, dword [ebp + ebp*8 - 0x3c]
repe cmpsb byte [esi], byte es:[edi]
sub eax, 0xf3618d61
jo 0x40d520
insd dword es:[edi], dx
enter 0xffffffffffffa22f, 0xffffffffffffff90
sub eax, 0xe9c2c198
xor al, 0x2c
jae 0x40d48e
ffreep st(3)
dec ecx
jb 0x40d4f0
mov al, 0xd6
or al, 0x20
fbstp tbyte [edx + 0x4f]
xchg byte [0x1afd1cd], dl
add dword [esi + 0x37], esp
shr dword [edi + 0x37660101], 1
pop ds
scasd eax, dword es:[edi]
add ebp, esp
sbb dh, byte [edx]
pushal
or byte [esi - 0x394abcdc], ah
mov ah, 0x45
mov ebp, 0xee308da0
test dh, cl
pushal
inc esi
xor eax, dword [edi + 0x34]
wait
pushal
pop ss
dec esi
and byte [bx], dl
dec esi
popal
adc ah, byte [ecx + 0x57]
and al, 0x60
push ebx
pushal
and eax, 0x77ef613f
popal
out dx, eax
invalid

Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417e36
mov eax, dword [0x6377e0]
test eax, eax
je 0x417e2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6377e0], eax
test eax, eax
pop ebx
je 0x417ed1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov ecx, dword [0x6377e0]
push str.DirectSoundEnumerateA
push ecx
mov dword [0x6377dc], eax
call esi
mov ecx, dword [0x6377dc]
mov dword [0x6377e4], eax
test ecx, ecx
je 0x417ec7
test eax, eax
je 0x417ec7
mov eax, 1
pop esi
add esp, 0x50
ret
mov dword [0x6377e0], 0
xor eax, eax
pop esi
add esp, 0x50
ret
Function at 0x425f78
Capabilities:
Encode data using xor

Disassembly:
pop ds
in eax, 0xc0
loope 0x425f94
xchg esp, ebp
out dx, eax
fnstcw word [eax - 0x72]
out 0xee, eax
test al, 0x25
iretd
jns 0x425ff6
outsb dx, byte [esi]
mov bl, 0x2a
fdivr dword [esi + 0x57307648]
pop edi
std
dec edx
in eax, dx
mov ch, byte [esi]
insd dword es:[edi], dx
clc
stosb byte es:[edi], al
sbb al, 0xc
out dx, eax
mov byte [0xe85aea68], al
mov ecx, 0x2a699f29
hlt
xor dword [ebp - 0x21], 0xffffff9f
nop
mov ebp, dword [ecx - 0xa7be406]
sbb cl, byte [edi - 0x6b3b51b0]
call 0xf738d35
out 0xbe, eax
mov ebx, esp
dec eax
xchg esi, eax
or dword [ecx], esp
jnp 0x7e44aa3b
sal dword [edi - 0x2f], 0xc
sbb eax, 0x43fca2d5
das
aaa
lahf
and ch, dl
sbb dword [eax + 0x2094d1c4], eax
out 0xfb, al
mov es, word [ecx - 0x6e]
sub bh, cl
adc eax, 0xd83ccc3f
cmpsd dword [esi], dword es:[edi]
pop esp
sub bl, byte [edx + edi + 0x1fbdc26c]
fsub dword [edi - 0x63d5a3da]
cmp ch, byte [edx + eax*8 - 0x43]
pop ds
cmc
add edi, dword [esi]
lodsb al, byte [esi]
pop ecx
xor ebp, edx
mov edx, 0x4408c4e4
lea ecx, [ebx]
out 0xf4, eax
or dword [ecx], esi
jno 0x426039
or esi, edi
inc ebp
pop es
dec ecx
invalid
Function at 0x45acaf
Capabilities:
Encode data using xor

Disassembly:
dec esp
rcr dword [eax - 0x7707ab0a], cl
add eax, 0xc416eb24
Function at 0x46804e
Capabilities:
Encode data using xor

Disassembly:
arpl word [ecx - 0x7f], bp
mov ecx, 0x6c404610
invalid

Function at 0x46ae66
Capabilities:
Encode data using xor

Disassembly:
wait
or dl, byte [0x2ecc934]
aam 0
invalid

Function at 0x46c45a
Capabilities:
Encode data using xor

Disassembly:
invalid
movsd dword es:[edi], dword [esi]
push ebp
and byte [ecx - 0x156e1a4a], cl
xchg ebp, eax
xor byte [ecx - 0xc], dh
jno 0x46c450
jno 0x46c450
in eax, dx
xor eax, 0x58b230c6
test dword [ecx - 0x6e0583af], ebx
dec ebp
jo 0x46c478
or eax, 0x50229235
jmp 0x46c443
xor esp, dword [edx + 0x34757aa5]
or byte [ebx - 0x526a5f2b], 0xd6
mov bh, 0x85
adc ch, byte [eax + 0x36]
adc al, 0x86
xor byte [ebx + 0x216caaff], dl
loop 0x46c478
sub dword [0xec3044a0], esp
or dword [ecx], ecx
add dword [ebx], eax
and al, 0xef
and byte [eax - 0x79038017], ah
mov ebp, 0x4566ff75
xchg dword [edx + 0x69], eax
mov esi, 0x6a56b82b
movsd dword es:[edi], dword [esi]
add byte [ebx - 0x1865b49a], al
cmp eax, 0x3f25a22b
cmp dword [edi + 0x337d1ab0], ecx
xchg esi, eax
fdiv dword [edx - 0x5c]
sbb esi, dword [eax - 0x30b974da]
out dx, eax
mov dh, 0x68
sbb eax, 0xaed57ecd
sub al, 0x2a
and byte [edx], dl
je 0x46c516
fild dword [edx + 0x31]
movsb byte es:[edi], byte [esi]
or al, bl
invalid
dec eax
inc edx
lcall 0xacfe, 0xf0773045
lodsb al, byte [esi]
insb byte es:[edi], dx
nop
and edx, eax
retf 0xdef4
Function at 0x47cef5
Capabilities:
Encode data using xor

Disassembly:
inc ebp
xchg edx, eax
pop edx
in eax, dx
mov byte [0x78f36e6e], al
invalid
adc byte [edi - 5], dh
sti
jb 0x47cf1a
jecxz 0x47cf31
invalid
cld
je 0x47cef7
sub byte [eax], bh
out 0x65, eax
and ah, dl
das
sub byte [esi], ah
sub edi, ecx
inc ebx
mov cs, word [ecx - 0xa]
lds eax, [esi + 0x1bff7b9c]
pushfd
jnp 0x47cf2f
call [ebx]
sbb esi, dword [ebx + 0x13]
jae 0x47cf46
loop 0x47cedd
sal edx, 0x99
mov al, 0x74
xchg ebp, eax
and eax, 0x6ff23c63
mov ebx, 0x63b073b1
push 0xccb2eea7
cmpsd dword [esi], dword es:[edi]
out dx, al
mov dl, 0xcc
push ds
sub byte [ebp - 0x40], cl
stc
mov bh, 0x27
mov al, 0xb0
and eax, 0x15bd432b
cmpsd dword [esi], dword es:[edi]
xor byte [ebx - 0x45], bl
jg 0x47cf53
jl 0x47cf2d
xchg esp, eax
cmp dl, byte [ecx]
pop ds
pushfd
js 0x47cf18
mov byte [edx], 0x62
sbb al, 0xdf
insd dword es:[edi], dx
sub eax, 0x7ba953c0
out dx, eax
sbb edi, dword [ecx - 0x65]
sti
xchg edx, eax
add eax, 0x436a2b2
cld
clc
cdq
pop eax
ret
Function at 0x4ad566
Capabilities:
Encode data using xor

Disassembly:
inc ebx
pop es
test al, 0x1a
xor dl, 0x1a
sub eax, 0xdda7e5cc
or al, 0x39
add eax, 0x842de3ab
stosd dword es:[edi], eax
jecxz 0x4ad595
test bh, bl
mov edi, 0x72dd9f13
jecxz 0x4ad595
test bh, bl
mov edi, 0x72dd9f13
pushfd
inc esp
in al, dx
add eax, 0xd23ee525
sbb dword [edi], eax
mov edx, 0x522f8db5
sbb bh, byte [bp + 0x12]
jl 0x4ad555
invalid
in eax, dx
mov ecx, 0x7b211e0c
add al, 0xbf
add al, 0xba
xchg ecx, eax
mov eax, dword [0x5ca057ba]
cdq
xchg ecx, eax
in al, 0x1c
in eax, 0x3d
adc al, 0x9c
imul edi, dword [0x93247564], 0xffffffae
pop ebp
or byte [edx - 0x57], bh
or eax, 0x9b765e2d
dec ebx
Function at 0x62a421
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6343b0
cmp edx, dword [eax]
je 0x62a443
add eax, 8
inc ecx
cmp eax, 0x634440
jl 0x62a434
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6343b0]
jne 0x62a571
mov eax, dword [0x638d8c]
cmp eax, 1
je 0x62a54b
test eax, eax
jne 0x62a474
cmp dword [0x6342dc], 1
je 0x62a54b
cmp edx, 0xfc
je 0x62a571
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a4ab
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062ae00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b290
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a4ee
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b290
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fd54
push edi
call fcn.0062d160
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062ae00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062ae10
lea eax, [ebp - 0xa0]
push 0x62fd34
push eax
call fcn.0062ae10
push dword [esi + 0x6343b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062ae10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d0d4
add esp, 0x2c
pop edi
jmp 0x62a571
lea eax, [ebp + 8]
lea esi, [esi + 0x6343b4]
push 0
push eax
push dword [esi]
call fcn.0062b290
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x13896de5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xbe23ea6
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401541
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
lea eax, [ebp - 0x134]
push esi
push edi
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
push eax
mov edi, edx
mov esi, ecx
call fcn.0041fae6
lea eax, [ebp - 0x134]
push esi
push eax
call fcn.0041fb08
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x134]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x40158f
xor eax, eax
jmp 0x4015ef
push edi
call fcn.0041fb39
pop ecx
xor esi, esi
lea eax, [eax*2 + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 2
push esi
push str.EventMessageFile
push dword [ebp - 4]
call edi
test eax, eax
je 0x4015c3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40158b
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 7
push eax
push 4
push esi
push str.TypesSupported
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4015e4
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x40163e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40166e
xor eax, eax
jmp 0x4016a7
push edi
push dword [ebp + 0xc]
call fcn.0041fb39
pop ecx
xor edi, edi
inc edi
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push edi
push esi
push str.Splash_screen
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
cmove esi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x4016aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00430260
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4016db
xor eax, eax
jmp 0x401720
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x2000
push eax
lea eax, [ebp - 0x200c]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.Splash_screen
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401715
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x200c]
xor esi, esi
inc esi
call fcn.0040ef74
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x401729
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov ecx, edx
push edi
call fcn.00401aa9
mov edi, eax
test edi, edi
jne 0x401841
cmp dword [0x4472c4], eax
je 0x401784
mov edi, 0x43a650
mov ecx, edi
call fcn.00401971
test eax, eax
je 0x401784
mov edx, edi
lea ecx, [ebp - 8]
call fcn.00402884
mov ecx, eax
call fcn.0040ef32
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0040eea9
mov eax, esi
jmp 0x401853
mov ecx, esi
call fcn.00401857
test eax, eax
jne 0x4017c8
mov ecx, dword [0x4472d4]
cmp dword [ecx + 0x63a], eax
jne 0x4017c8
cmp dword [ecx + 0x878], eax
je 0x4017b0
mov ecx, esi
call fcn.004018f5
test eax, eax
jne 0x4017c8
mov ecx, esi
call fcn.00401971
test eax, eax
jne 0x4017c8
mov ecx, esi
call fcn.00401a4b
neg eax
sbb eax, eax
neg eax
xor edi, edi
inc edi
cmp dword [0x4473c0], edi
je 0x4017f2
mov ecx, esi
test eax, eax
je 0x4017e2
call fcn.0040265c
mov edi, eax
jmp 0x4017e7
call fcn.00402605
test edi, edi
je 0x4017f2
mov ecx, esi
call fcn.00402005
mov edx, esi
lea ecx, [ebp - 4]
call fcn.00402884
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
jmp 0x401824
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 0x1388
ja 0x401839
cmp eax, esi
jb 0x401839
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 4]
call fcn.0040ef32
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x401806
lea ecx, [ebp - 4]
call fcn.0040eea9
call fcn.004172de
test eax, eax
lea ecx, [edi + 0x800000]
cmove ecx, edi
mov eax, ecx
pop edi
pop esi
leave
ret

Function at 0x401b4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0x104
push str.SoftwarePC_SOFTFramework25.0
push 0x43a730
push eax
mov edi, ecx
xor esi, esi
call fcn.00402a02
add esp, 0x10
mov dword [ebp - 8], esi
lea ecx, [ebp - 0xc]
call fcn.0040ef32
lea ecx, [ebp - 8]
push ecx
push 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401bd2
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push esi
push str.CHEMIN
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401bc4
inc esi
jmp 0x401bc9
xor eax, eax
mov word [edi], ax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xc]
call fcn.0040eea9
pop edi
mov eax, esi
pop esi
leave
ret