joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442c35
Capabilities:
Encode data using add xor sub operations

Disassembly:
adc eax, 0x74fdc90d
mov al, 0
push ebp
fist word [edx - 0x47c9b9a5]
leave
lcall 0x1d7c, 0xc3891b2d
or byte [ebx - 0x5a2aa787], dh
clc
invalid

Function at 0x442cff
Capabilities:
Encode data using xor

Disassembly:
dec esp
sub byte [ebx - 0x249cef38], 0x59
mov esp, 0xb972ccae
pop edx
xor byte [edx + 0xadd810], bh
xor bl, byte [eax + 0x33]
fsubr dword [ebp + 0x33583200]
out dx, al
scasb al, byte es:[edi]
dec ebx
adc al, 0x3b
add ch, byte [esi + ecx - 0x1d]
push eax
jne 0x442c5e
retf
cmp dl, al
lock adc dword [eax - 3], 0xffffffa7
js 0x442c6f
test dword [ebx + 0x24], esi
lodsd eax, dword [esi]
dec ecx
bound ebx, qword [ebp - 0x61]
nop
push ss
out 0x19, al
test eax, 0xb588e2e3
add al, 0x45
test al, 5
or dword [ecx + edx*8 - 0x53], ebp
xchg ecx, eax
ret
jp 0x442c9d
dec ecx
push esp
pop ecx
invalid

Function at 0x453c9a
Capabilities:
Encode data using xor

Disassembly:
jns 0x453d18
wait
mov dl, 0x7b
imul ebp, dword [edi + ecx*4], 0xe35cf344
inc eax
invalid
sbb al, 0x92
invalid
cmpsb byte [esi], byte es:[edi]
out 0x8b, eax
nop
xchg dword [edx - 0x530b7e35], edx
lodsd eax, dword [esi]
adc byte [ecx + 0x31b676d9], dh
pop edi
insd dword es:[edi], dx
xor esp, 0xb410adac
popal
fnstenv [esi - 0x4a]
xor dword [edi + 0x6d], ebx
jnp 0x453d1f
mov bh, 0xb2
je 0x453d0c
adc ch, 0x16
sbb bh, byte [eax]
invalid
invalid
and cl, dh
invalid

Function at 0x45c6d0
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
out dx, al
pop esp
xor dword [edx + 0x5070a517], esi
xor ecx, ecx
jne 0x45c741
aas
sub esi, edx
lcall 0xeb0c, 0xc15dd420
scasb al, byte es:[edi]
sal dword [edi + 0x12550d62], 0xa7
pop edi
xchg ecx, eax
out dx, eax
invalid
dec dword [0xe73fcb8b]
sub esi, dword [esp + edx + 0x40]
adc al, 0x40
push es
adc ebx, dword [ebp - 0x61deae45]
jp 0x45c742
cmp ch, byte [0xca0126c9]
jno 0x45c71c
inc ebx
fsubr st(2), st(0)
dec esp
xchg ecx, eax
mov dword [ecx], ecx
test byte [edx], ch
invalid
cdq
add dword [esi - 0x54cf3e1c], ebp
sbb al, 0x5e
cmp cl, cl
jo 0x45c714
or byte [ebp - 0x23], bh
cmpsd dword [esi], dword es:[edi]
xor eax, dword [eax - 3]
jbe 0x45c774
fstp dword [esi - 0x1e6a009d]
pushal
push ds
and esp, dword [edx - 0x44]
iretd
clc
sbb dword [edx], ebx
xchg ebx, eax
add al, 0x9a
dec ecx
xlatb
xor byte [edi + 0x21], dh
dec esi
jns 0x45c803
cld
invalid
mov eax, dword [0xcb3a59da]
lodsd eax, dword [esi]
add esi, eax
popfd
daa
mov ah, 0xf
mov esi, 0x828f52af
jo 0x45c7df
movsw word es:[edi], word [esi]
sub eax, 0xae2b964b
mov word [esi + ebp*2 + 0x13], cs
pop ss
pop ds
and bh, byte [eax]
invalid
test dword [ebx], ebx
arpl word [0x82b83b2c], dx
inc ebx
xor edx, esi
add byte [ebx + 0x33], 0xd6
scasb al, byte es:[edi]
out 0x82, al
push ecx
out dx, al
xchg esi, eax
push cs
les eax, [edi - 0x3f90f4bd]
jb 0x45c789
push ds
enter 0x82d, 0x30
lcall 0x50d, 0x23f7ac97
cmp eax, 0xaa85f996
lodsd eax, dword [esi]
pop esi
out dx, eax
sub ah, byte [edx]
adc eax, 0x9740f345
xchg esi, eax
stc
test dword [edx + 0x2aef5ead], ebp
and dl, byte [0x9740f345]
inc ebx
insb byte es:[edi], dx
in al, dx
pop ebp
invalid
inc esp
push ecx
jle 0x45c7be
jne 0x45c7b7
invalid
Function at 0x481864
Capabilities:
Encode data using xor

Disassembly:
mov dword [eax + 0x30], ecx
fild word [ebx - 0x17e435f4]
and cl, bl
xchg ecx, eax
xor byte [eax], al
pushal
invalid
invalid
mov cs, word [ebp - 0x48c7fd05]
into
aaa
cmp al, 0x5b
xchg esi, eax
dec byte [edx + eax]
std
invalid
dec esp
sub al, 0x85
jnp 0x481846
cwde
inc ebp
pop eax
cdq
jnp 0x4818d2
jo 0x481847
jnp 0x481884
jle 0x4817eb
ret
jg 0x481857
adc byte [edx + 0x19], cl
mov al, 0x3d
mov byte [0xb3a9825b], al
sahf
push ebp
cmp dword [edi - 0x34], ebp
pop esp
xlatb
mov edx, dword [eax - 0x7bbccabf]
jb 0x481848
xchg esp, eax
aam 0xd1
dec esi
sar byte [ecx], 0x43
mov ecx, 0x2d188bc4
int 0x1a
dec eax
add eax, eax
push esp
sub dword [ecx + ebx*8 - 0x4056321d], esi
xchg edx, eax
sbb eax, 0xa94c5942
bound ecx, qword [ecx + edi*4 + 0x1c]
imul ebp, edx, 0x60
enter 0x672f, 0x28
jmp ebx
enter 0xffffffffffffe943, 0xfffffffffffffff2
fdiv st(5)
stc
lodsd eax, dword [esi]
add eax, 0xae6b8531
invalid
Function at 0x4012af
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x422813
call fcn.004159b8
sub esp, 0x90
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], eax
lea edi, [ebx + 0x14]
mov byte [ebx + 0x10], al
mov byte [ebx + 0x11], al
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], eax
mov word [edi + 4], ax
push eax
sub esp, 0x1c
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x18], esp
push 0x426958
call fcn.00401a89
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov eax, ecx
call fcn.00401a89
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.0040fd30
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x60]
jmp 0x401399
push 0x42693c
call fcn.004026d4
test eax, eax
jne 0x40135e
add esi, 0x1c
cmp esi, dword [ebp - 0x5c]
je 0x401396
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov eax, esi
call fcn.00401df3
mov eax, dword [ebp + 8]
mov byte [eax + 0x10], 1
mov ebx, eax
jmp 0x401396
push 0x426934
call fcn.004026d4
test eax, eax
jne 0x40138e
push esi
mov eax, ebx
call fcn.00401a1d
add esi, 0x1c
cmp esi, dword [ebp - 0x5c]
je 0x40139e
push 0x426924
call fcn.004026d4
test eax, eax
jne 0x40138e
mov byte [ebx + 0x11], 1
push esi
mov eax, ebx
call fcn.00401a1d
add esi, 0x1c
cmp esi, dword [ebp - 0x5c]
jne 0x401331
push ebx
call fcn.0040176c
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
je 0x401422
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.00401a60
lea eax, [ebp - 0x80]
push eax
call fcn.00406810
call fcn.00406adf
push 1
xor ebx, ebx
lea esi, [ebp - 0x80]
mov byte [ebp - 0xd], al
call fcn.00401e93
cmp byte [ebp - 0xd], bl
je 0x401415
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.00401a60
lea eax, [ebp - 0x9c]
push eax
call fcn.00406720
push 0xffffffffffffffff
push edi
mov byte [ebp - 4], 4
call fcn.00401df3
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00401e93
mov eax, dword [ebp + 8]
add edi, 0x1c
cmp edi, dword [eax + 8]
jne 0x4013ac
mov ebx, eax
lea edi, [ebp - 0x64]
call fcn.0040143d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x406c37
Capabilities:
Get file size

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x406c42
mov eax, dword [eax + 4]
jmp 0x406c45
add eax, 4
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [0x42d344]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x40c7fd
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x422c38
call fcn.004159b8
sub esp, 0x5c
push ebx
xor ebx, ebx
push esi
inc ebx
test byte [0x42de4c], bl
push edi
mov edi, ecx
jne 0x40c842
or dword [0x42de4c], ebx
and dword [ebp - 4], 0
push 0x426924
mov eax, 0x42de30
call fcn.00401a89
push 0x423819
call fcn.00413bb1
or dword [ebp - 4], 0xffffffff
pop ecx
push 0x11
mov byte [edi + 0x44], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x40c861
cmp byte [edi + 0x21], 0
je 0x40c864
mov byte [edi + 0x44], bl
cmp byte [edi + 0x44], 0
jne 0x40c937
lea eax, [ebp - 0x4c]
push eax
lea esi, [edi + 4]
push esi
call fcn.0040d513
lea eax, [ebp - 0x30]
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.0040d587
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
mov edx, ecx
jae 0x40c9ef
lea edx, [ebp - 0x48]
mov eax, edx
cmp dword [ebp - 0x34], 8
mov esi, dword [ebp - 0x38]
lea eax, [eax + esi*2]
jae 0x40c8af
lea ecx, [ebp - 0x48]
mov esi, fcn.00414438
push esi
push edx
push eax
push ecx
lea ebx, [ebp - 0x14]
call fcn.00403aa6
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
jae 0x40c9f6
lea edx, [ebp - 0x2c]
mov eax, edx
cmp dword [ebp - 0x18], 8
mov ebx, dword [ebp - 0x1c]
lea eax, [eax + ebx*2]
jae 0x40c8e3
lea ecx, [ebp - 0x2c]
push esi
push edx
push eax
push ecx
lea ebx, [ebp - 0x14]
call fcn.00403aa6
mov esi, 0x42de30
mov eax, esi
lea ecx, [ebp - 0x30]
call fcn.00402832
test eax, eax
je 0x40c910
mov eax, esi
lea ecx, [ebp - 0x4c]
call fcn.00402832
test eax, eax
jne 0x40c914
mov byte [edi + 0x44], 1
push 1
xor ebx, ebx
lea esi, [ebp - 0x30]
call fcn.00401e93
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x4c]
call fcn.00401e93
cmp byte [edi + 0x44], bl
je 0x40c9e0
call fcn.00402909
push eax
call fcn.0040292b
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
add edi, 4
push edi
call fcn.0040d49f
or dword [ebp - 4], 0xffffffff
call fcn.00402909
call fcn.004029ca
cmp byte [ebp - 0xd], 0
je 0x40c9e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x426a0c
call fcn.00402409
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 4], 4
call fcn.004115c1
push eax
call fcn.0041169e
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00406d68
or dword [ebp - 4], 0xffffffff
push 1
xor ebx, ebx
lea esi, [ebp - 0x68]
mov edi, eax
call fcn.00401e93
push 2
push ebx
push edi
call fcn.004145d4
push 0x427398
push edi
call fcn.00414312
push 0x42735c
push edi
call fcn.00414312
push 0x427320
push edi
call fcn.00414312
add esp, 0x24
push edi
call fcn.00406e4c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov eax, ecx
jmp 0x40c8a0
mov eax, ecx
jmp 0x40c8d4
Function at 0x40dd1e
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x42376c
call fcn.004159b8
sub esp, 0x2f4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00411197
test al, al
je 0x40dd44
push 0
call fcn.004111da
lea eax, [ebp - 0x6c]
push eax
call fcn.004012af
xor ebx, ebx
sub esp, 0x30
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp byte [ebp - 0x5c], bl
mov eax, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x6c]
push eax
je 0x40dd97
call fcn.0040145f
call fcn.0040f2fc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
lea edi, [ebp - 0x6c]
call fcn.0040bea5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
call fcn.0040145f
lea eax, [ebp - 0x300]
push eax
call fcn.0040bd58
push 1
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 2
call fcn.0040bec2
call fcn.00402909
cmp byte [eax], bl
je 0x40ddf6
lea eax, [ebp - 0x2fc]
push eax
call fcn.0040daf9
cmp al, bl
jne 0x40dddf
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x40ddf6
push 0x427930
call fcn.00414c7b
mov dword [esp], 0x42c268
call fcn.00414ce1
pop ecx
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x300]
push eax
mov byte [ebp - 4], 1
call fcn.0040deec
jmp 0x40dd7b
Function at 0x40e503
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4222ae
call fcn.004159b8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
cmp byte [edi + 0x24], bl
mov esi, ecx
je 0x40e525
xor al, al
jmp 0x40e62c
cmp byte [edi + 0x25], bl
je 0x40e540
push 8
add edi, 0x1c
push edi
push esi
call fcn.004133b0
add esp, 0xc
mov al, 1
jmp 0x40e62c
lea eax, [ebp - 0x40]
push eax
push edi
mov byte [ebp - 0xd], bl
call fcn.00406b2b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], ebx
jae 0x40e55f
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 0x20], eax
call fcn.00412f1f
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
pop ecx
jae 0x40e582
lea eax, [ebp - 0x3c]
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x40e59b
mov byte [ebp - 0xd], bl
jmp 0x40e61d
push 0x426914
mov dword [ebp - 0x18], ebx
call fcn.00414aec
pop ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e602
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
xor ecx, ecx
or ecx, edx
xor ebx, ebx
or eax, ebx
mov edx, eax
shr edx, 0x10
mov word [esi], dx
mov edx, ecx
shrd edx, eax, 0x10
mov word [esi + 2], ax
push 8
shr eax, 0x10
lea eax, [edi + 0x1c]
push esi
push eax
mov word [esi + 4], dx
mov word [esi + 6], cx
call fcn.004133b0
add esp, 0xc
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call fcn.004133a8
mov al, byte [ebp - 0xd]
cmp al, bl
pop ecx
jne 0x40e616
mov byte [edi + 0x24], 1
mov byte [edi + 0x25], 1
mov byte [ebp - 0xd], al
push 1
xor ebx, ebx
lea esi, [ebp - 0x40]
call fcn.00401e93
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40e63b
Capabilities:
Get file version info

Disassembly:
mov eax, 0x422565
call fcn.004159b8
sub esp, 0x40
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
xor esi, esi
push eax
mov dword [ebp - 0x14], esi
push dword [ebp + 8]
call fcn.00406b2b
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], si
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], esi
jae 0x40e680
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
push ebx
call fcn.00412f1f
cmp dword [ebp - 0x18], 8
mov edi, eax
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x40e6a1
lea eax, [ebp - 0x2c]
push edi
push ebx
push esi
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40e6ee
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x4279e0
push edi
mov dword [ebp + 8], esi
mov dword [ebp - 0x14], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e6ee
mov esi, dword [ebp + 8]
push esi
call fcn.00413abb
pop ecx
mov ecx, esi
lea esi, [ebp - 0x4c]
call fcn.00402228
push dword [ebp + 8]
push 0x4279c4
call fcn.00414c7b
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
push eax
call fcn.00401a60
lea esi, [ebp - 0x4c]
xor ebx, ebx
push 1
call fcn.00401e93
lea esi, [ebp - 0x30]
push 1
call fcn.00401e93
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40edd5
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x4228ef
call fcn.004159b8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push 7
xor ebx, ebx
pop eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [ebp - 4], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], bx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov word [esi + 0x3c], bx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov word [esi + 0x58], bx
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x426ba4
mov byte [ebp - 4], 3
call fcn.00401a89
lea eax, [esi + 0x70]
push eax
call fcn.00406810
lea eax, [esi + 0x8c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x4279bc
lea eax, [esi + 0xa0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xb0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov byte [esi + 0xcc], bl
mov byte [esi + 0xcd], bl
mov byte [esi + 0xce], bl
mov byte [esi + 0xcf], bl
mov byte [esi + 0xd0], bl
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40eea9
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x422895
call fcn.004159b8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
xor edi, edi
pop ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov word [esi + 4], di
mov dword [ebp - 4], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], edi
mov word [esi + 0x20], di
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], edi
mov word [esi + 0x3c], di
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], edi
mov word [esi + 0x58], di
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x426ba4
mov byte [ebp - 4], 3
call fcn.00401a89
lea eax, [esi + 0x70]
push eax
call fcn.00406810
lea eax, [esi + 0x8c]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x4279bc
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xb0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0040ef5a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x40f420
Capabilities:
Terminate process

Disassembly:
mov eax, 0x42204b
call fcn.004159b8
sub esp, 0x2c
push ebx
push esi
push 1
push 0x40f644
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
xor esi, esi
push esi
mov dword [edi + 0x278], 0x10
mov dword [edi + 0x280], esi
mov dword [edi + 0x284], esi
mov dword [edi + 0x28c], esi
mov dword [edi + 0x290], 0x1388
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x38]
push eax
lea eax, [edi + 0x10]
call fcn.00401751
mov dword [ebp - 4], esi
cmp dword [eax + 0x18], 8
jb 0x40f485
mov eax, dword [eax + 4]
jmp 0x40f488
add eax, 4
push 0x40f5f9
push eax
call section.._su9ar_
call fcn.00401093
or dword [ebp - 4], 0xffffffff
push 1
xor ebx, ebx
lea esi, [ebp - 0x38]
mov dword [edi + 0x294], eax
call fcn.00401e93
mov eax, edi
mov dword [edi + 0x27c], 2
mov dword [edi + 0x280], ebx
call fcn.0040f5e1
push edi
lea esi, [ebp - 0x1c]
call fcn.0040f513
mov eax, esi
push eax
call fcn.0041178e
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x64]
cmp eax, ebx
mov dword [ebp - 0x10], ebx
je 0x40f50b
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x10], ebx
jne 0x40f502
mov esi, edi
call fcn.0040f577
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x40fd30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x422539
call fcn.004159b8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov al, byte [ebp + 0x44]
mov byte [ebp - 4], 2
mov byte [edi + 0x10], al
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x14]
call fcn.00401a60
lea eax, [ebp + 0x28]
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.00401a60
mov byte [ebp - 4], 4
call fcn.0040fda6
push 1
xor ebx, ebx
lea esi, [ebp + 0xc]
call fcn.00401e93
push 1
lea esi, [ebp + 0x28]
call fcn.00401e93
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x40

Function at 0x4112bc
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [0x42d344]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x411370
push edi
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [0x42d340]
mov edi, eax
cmp edi, 0xffffffff
je 0x411368
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
je 0x411361
cmp word [eax], 0x5a4d
jne 0x41135a
mov ecx, dword [eax + 0x3c]
cmp ecx, esi
je 0x41135a
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41135a
mov dx, word [ecx + 0x18]
cmp dx, 0x10b
jne 0x411344
cmp word [ecx + 4], 0x14c
jne 0x41135a
mov dword [ebp - 4], 1
jmp 0x41135a
cmp dx, 0x20b
jne 0x41135a
cmp word [ecx + 4], 0x8664
jne 0x41135a
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x41516a
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x415186
call fcn.00415a11
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x4151f8
push esi
push 0x8c
push 1
call fcn.00418426
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4151de
push esi
call fcn.0041901d
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x4150d8
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x4151d6
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4151f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.004146ab
test ebx, ebx
pop ecx
je 0x4151f0
push ebx
call fcn.00415a23
pop ecx
or eax, 0xffffffff
jmp 0x4151f7
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x415244
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4247c8
call fcn.00416940
mov edi, 0x94
mov eax, edi
call fcn.0041cc40
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x42d6ac], ecx
mov eax, dword [esi + 4]
mov dword [0x42d6b8], eax
mov edx, dword [esi + 8]
mov dword [0x42d6bc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x42d6b0], esi
cmp ecx, 2
je 0x4152a4
or esi, 0x8000
mov dword [0x42d6b0], esi
shl eax, 8
add eax, edx
mov dword [0x42d6b4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4152df
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4152df
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4152f7
cmp eax, 0x20b
je 0x4152e4
mov dword [ebp - 0x1c], esi
jmp 0x41530b
cmp dword [ecx + 0x84], 0xe
jbe 0x4152df
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x415305
cmp dword [ecx + 0x74], 0xe
jbe 0x4152df
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0041adc7
pop ecx
test eax, eax
jne 0x41531f
push 0x1c
call fcn.00415220
pop ecx
call fcn.00419217
test eax, eax
jne 0x415330
push 0x10
call fcn.00415220
pop ecx
call fcn.0041cba9
mov dword [ebp - 4], esi
call fcn.00418228
test eax, eax
jge 0x415349
push 0x1b
call fcn.004151fb
pop ecx
call fcn.0041cb0a
mov dword [0x42e2e0], eax
call fcn.0041c9a0
mov dword [0x42d534], eax
call fcn.0041c90a
test eax, eax
jge 0x41536e
push 8
call fcn.004151fb
pop ecx
call fcn.0041c6d7
test eax, eax
jge 0x41537f
push 9
call fcn.004151fb
pop ecx
push 1
call fcn.00417eb4
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x415395
push eax
call fcn.004151fb
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x42d384]
call fcn.0041c691
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4153b6
movzx eax, word [ebp - 0x40]
jmp 0x4153b9
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040dd1e
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4153d7
push edi
call fcn.00417fe1
call fcn.00418003
jmp 0x415409
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041697b
ret