joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10072ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10073049
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10072ff0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10072fff
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10478ca2
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10073050
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10059ec6
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100730ef
add edi, 4
add eax, 2
dec ecx
jne 0x10073035
call 0x1007309c
loope 0x10073092
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100730ec
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100730fd
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100730b0
cmp eax, ecx
ja 0x100730b0
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1007313a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10073130
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005a3a5
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10072fff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10073049
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10072ff0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10072fff
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10478ca2
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10073050
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10059ec6
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100730ef
add edi, 4
add eax, 2
dec ecx
jne 0x10073035
call 0x1007309c
loope 0x10073092
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100730ec
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100730fd
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100730b0
cmp eax, ecx
ja 0x100730b0
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1007313a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10073130
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005a3a5
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0xc54058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc541a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc5407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc5406a
add dl, dl
jne 0xc54089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc540dc
xor eax, eax
add dl, dl
jne 0xc54096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc5417d
add dl, dl
jne 0xc540a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc540b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc540bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc540c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc540d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc54075
mov eax, 1
add dl, dl
jne 0xc540ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc540f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc540e1
sub eax, ebx
mov ebx, 1
jne 0xc54128
mov ecx, 1
add dl, dl
jne 0xc5410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc54119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc54105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc54075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc5413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc5414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc54136
cmp eax, 0x7d00
jae 0xc5416d
cmp eax, 0x500
jb 0xc54168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc54075
cmp eax, 0x7f
ja 0xc54170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc54075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc5419e
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 0xc54075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x2c33058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.02c331a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x2c3307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2c3306a
add dl, dl
jne 0x2c33089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2c330dc
xor eax, eax
add dl, dl
jne 0x2c33096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2c3317d
add dl, dl
jne 0x2c330a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2c330b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2c330bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2c330c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x2c330d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2c33075
mov eax, 1
add dl, dl
jne 0x2c330ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2c330f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2c330e1
sub eax, ebx
mov ebx, 1
jne 0x2c33128
mov ecx, 1
add dl, dl
jne 0x2c3310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2c33119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2c33105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2c33075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2c3313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2c3314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2c33136
cmp eax, 0x7d00
jae 0x2c3316d
cmp eax, 0x500
jb 0x2c33168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2c33075
cmp eax, 0x7f
ja 0x2c33170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2c33075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x2c3319e
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 0x2c33075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4027b5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x9f60fc3
jg 0x4027db
inc esi
cmp esi, 0x1e70dee2
jl 0x4027c1
cmp dword [0x446104], 0x400
jne 0x40280e
push edi
call fcn.00402948
push edi
push edi
call fcn.00402a93
fldz
push ecx
fst qword [esp + 8]
fstp qword [esp]
call fcn.00402870
push edi
fstp st(0)
call fcn.00402b80
add esp, 0x14
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bc6e
jg 0x40282d
inc esi
cmp esi, 0xe52f
jl 0x402810
mov eax, dword [0x43e0c4]
mov dword [0x446104], eax
call fcn.0040252b
mov esi, 0x3078f
cmp dword [0x446104], 0x51f
jne 0x402859
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec esi
jne 0x402841
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4059a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d328]
jne 0x4059b2
repz ret
jmp fcn.00407cbc
Function at 0x406493
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43d328]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403c2c
and dword [ebp - 0x14], 0
cmp dword [0x43fd14], 0
mov dword [ebp - 0x18], eax
jne 0x406546
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4065ee
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4065ee
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43fd14], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43fd18], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43fd1c], eax
call edi
push eax
call esi
mov dword [0x43fd24], eax
test eax, eax
je 0x406546
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43fd20], eax
mov eax, dword [0x43fd20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40659f
cmp dword [0x43fd24], ecx
je 0x40659f
push eax
call esi
push dword [0x43fd24]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40659f
test ebx, ebx
je 0x40659f
call edi
test eax, eax
je 0x406596
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406596
test byte [ebp - 8], 1
jne 0x40659f
or dword [ebp + 0x10], 0x200000
jmp 0x4065d2
mov eax, dword [0x43fd18]
cmp eax, dword [ebp - 0x18]
je 0x4065d2
push eax
call esi
test eax, eax
je 0x4065d2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4065d2
mov eax, dword [0x43fd1c]
cmp eax, dword [ebp - 0x18]
je 0x4065d2
push eax
call esi
test eax, eax
je 0x4065d2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43fd14]
call esi
test eax, eax
je 0x4065ee
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4065f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004059a8
leave
ret

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x1000714a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
je 0x1000716e
cmp dword [ebp + 0x10], ebx
je 0x1000716e
cmp dword [ebp + 0x14], ebx
jbe 0x1000716e
cmp dword [ebp + 8], ebx
jne 0x10007178
mov edi, 0x80000002
jmp 0x100072f5
push esi
push 0xa0
call fcn.10006bae
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x10007194
mov edi, 0x80000009
jmp 0x100072d8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x1000f7c0]
push ebx
push 0x1000f36c
push 2
call dword [eax + 0xa8]
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x100072d8
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
jbe 0x10007212
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push 0x1000f36c
push dword [eax + ecx*4]
mov eax, dword [0x1000f7c0]
call dword [eax + 0x58]
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x100072d8
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
call dword [eax + 0xc]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jge 0x1000720c
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x100071c4
cmp edi, ebx
jne 0x100072d8
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
call dword [eax + 0x10]
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x100072d8
push 8
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
mov eax, dword [0x1000f7c0]
call dword [eax + 0xbc]
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
call dword [eax + 0x14]
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x100072d8
push 8
push dword [ebp + 0xc]
lea eax, [esi + 0x1c]
push eax
mov eax, dword [0x1000f7c0]
call dword [eax + 0xbc]
push 0x10
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x2c]
push eax
mov eax, dword [0x1000f7c0]
call dword [eax + 0xbc]
add esp, 0x18
cmp byte [esi + 0x78], bl
mov byte [esi + 0x18], 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], fcn.1000741b
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x8d], 1
je 0x100072b7
mov byte [esi + 0x78], bl
mov eax, dword [ebp + 8]
mov dword [esi + 0x7c], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [eax], esi
xor esi, esi
cmp dword [ebp - 0xc], ebx
je 0x100072e9
push dword [ebp - 0xc]
mov eax, dword [0x1000f7c0]
call dword [eax + 0x30]
pop ecx
cmp esi, ebx
je 0x100072f4
push esi
call fcn.100072fb
pop ecx
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x446000
Capabilities:
Accept command line arguments
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x401036
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x44602a
mov esi, edi
add esi, dword [esi + 0x3c]
cmp word [esi], 0x4550
jne 0x44602a
jmp 0x44603a
sub edi, 0x10000
cmp edi, 0x70000000
jb 0x44603a
jmp 0x446015
mov dword [ebx + 0x4011d9], edi
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011d9]
lea esi, [ebx + 0x40119e]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x44606e
pop esi
mov edx, esi
pop esi
jmp 0x44607f
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446050
sub esp, 4
jmp 0x446199
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011d9]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011d9]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011d9]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011d9]
lea eax, [ebx + 0x4011ad]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011ba]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
lea ecx, [ebx + 0x4011c3]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011cd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x401204]
push ecx
push ecx
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4011ec]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4011dd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x44616a
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp 0x406e20

Function at 0x44660e
Capabilities:
Parse pe header

Disassembly:
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x446651
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x446651
mov ecx, dword [esp + 4]
add eax, 4
mov dword [ecx], eax
mov ecx, dword [esp + 8]
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x446651
mov ecx, dword [esp + 0xc]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x446653
xor eax, eax
ret 0xc
Function at 0x41fa10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48519b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004798ed
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41fa92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004775a0
mov eax, dword [eax]
push 0x96a234
push eax
call fcn.004698a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00479b78
test bl, bl
je 0x41fa92
push 0x96a234
lea ecx, [esp + 0xc]
call fcn.00479f08
push 0x96dda4
lea ecx, [esp + 0xc]
call fcn.00479f08
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41face
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00479b78
jmp 0x41fb99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41fb52
lea edx, [esp + 0x7c]
push 0x96dda0
push edx
call fcn.004698a4
add esp, 8
test eax, eax
je 0x41fb52
lea eax, [esp + 0x7c]
push 0x96dd9c
push eax
call fcn.004698a4
add esp, 8
test eax, eax
je 0x41fb52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41fae2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00479b78
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x420390
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4203f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x420400
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48521b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x976264]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x420538
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420466
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479b78
xor eax, eax
jmp 0x4205af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00479cb5
push esi
lea ecx, [esp + 0xc]
call fcn.00479f44
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42058d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420390
test eax, eax
jne 0x42058d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00420390
test eax, eax
jne 0x42058d
lea eax, [esp + 0x14]
push 0x96ddb8
push eax
call fcn.0046a9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42056c
lea ecx, [esp + 0x14]
push 0x96ddb4
push ecx
call fcn.0046a930
mov esi, eax
add esp, 8
test esi, esi
jne 0x42056c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42056f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00479c65
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42047e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479b78
xor eax, eax
jmp 0x4205af
mov byte [esi], 0
push 0x96ddb0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00479b78
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4