joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435f80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x477338
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435fb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4360cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435fcd
mov eax, 0xffffffc7
jmp 0x4360ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435fde
cmp dword [esi + 8], eax
jne 0x435fcd
cmp dword [esi + 8], eax
jne 0x435ff7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435ff7
mov eax, 0xffffffc7
jmp 0x4360ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43600b
push eax
mov ecx, ebx
call fcn.004357b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004082b0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43603c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004082d0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434f20
test eax, eax
mov dword [esp + 0x38], eax
je 0x43606f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4957f8
call fcn.004084b0
mov eax, dword [esp + 0x38]
jmp 0x4360ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435de0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4360b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435e00
mov esi, eax
test esi, esi
jne 0x4360e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435de0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x436085
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4957f8
call fcn.004084b0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4957f8
call fcn.004084b0
mov eax, esi
jmp 0x4360ce

Function at 0x439200
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x439260
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x439260
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x439260
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x439260
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4392a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43f3f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x477968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046eb1f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043ed90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046ea4d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046b234
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046b234
push 1
push 0
push 0
mov ecx, esi
call fcn.0046b1dc
push 1
push 0
push 1
mov ecx, esi
call fcn.0046b1dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046eb91
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x477988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046eb1f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043ed90
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046ea4d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f634
cmp dword [esp + 0x40], 1
jne 0x43f632
cmp ecx, eax
jge 0x43f634
mov eax, ecx
cmp eax, 0xc8
jge 0x43f640
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f3f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046eb91
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43fdc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4779f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00469654
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046edc7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047031f
test eax, eax
je 0x43fedc
mov ecx, dword [esp + 0x3c]
call fcn.0046edf4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fea0
push edi
mov ecx, esi
call fcn.0046c3b8
mov ecx, esi
call fcn.00440040
cmp dword [esp + 0x38], 1
jne 0x43fed5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046c522
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4428f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442923
push esi
call fcn.004459e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44291c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4429a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442992
mov eax, dword [esi + 8]
test eax, eax
je 0x442947
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44298e
cmp eax, 2
je 0x442992
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44293a
cmp eax, 3
je 0x44296d
cmp eax, 1
jne 0x44293a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44293a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44293a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004429d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4429b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004429d0
add esp, 4
pop esi
ret

Function at 0x46a44a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a482
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00468501
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004684d9
jmp 0x46a48e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46bb3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46bb7e
call fcn.0047182b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46bb7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46bb75
xor eax, eax
jmp 0x46bb86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046bb8c
pop edi
pop esi
pop ebx
ret 4

Function at 0x471d5b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x471d89
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471da7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00471cc1
jmp 0x471da7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471da7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00471cc1
test edi, edi
mov eax, edi
jne 0x471d91
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x570ac6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x575f6c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], edi
cmp eax, edi
je 0x570b00
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [ebp + 0x10]
lea ecx, [ebx + esi]
push ecx
call dword [eax + 0x1c]
test dword [ebp - 4], 0x101
je 0x570b00
xor eax, eax
inc eax
jmp 0x570b61
jmp 0x570b08
xor edx, edx
cmp dword [ebp + 0x10], edx
jbe 0x570b3e
add esi, ebx
lea eax, [esi + edx]
mov ecx, dword [eax]
add edi, ecx
mov dword [eax], edi
mov edi, ecx
mov ecx, dword [eax]
add ecx, dword [ebp + 0x14]
add edx, 4
xor ecx, dword [ebp - 8]
xor ecx, dword [ebp + 0x18]
add dword [ebp - 8], ecx
ror dword [ebp + 0x14], 1
rol dword [ebp + 0x18], 2
mov dword [eax], ecx
cmp edx, dword [ebp + 0x10]
jb 0x570b11
mov esi, dword [ebp + 0xc]
jmp 0x570b46
mov eax, dword [0x575f6c]
test eax, eax
je 0x570b5f
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
add ebx, esi
push dword [ebp + 0x10]
push ebx
call dword [eax + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x616668
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
inc dword [eax + 0x602f88]
jmp 0x616523
call 0x616497
jmp 0x6164d8
call 0x61649f
jmp 0x616731
push eax
jmp 0x616492
je 0x616487
jmp 0x6164e9
pop eax
sub eax, 0x616497
cmp dword [eax + 0x602f88], 0
jmp 0x6164bb
lea esp, [esp + 8]
jmp 0x616506
popal
jmp 0x616543
push 0xcd204bd4
jmp 0x616589
call 0x606ceb
jmp 0x4917e7
push 0xf0992ec5
jmp 0x61674f
push 0
jmp 0x61654f
add dword [esp], 0x33367fd5
jmp 0x61656c
add dword [esp], 0x773e2719
jmp 0x61669d
popal
jmp 0x616543
add dword [esp], 0x70fb7249
push 0xdf9cf137
add dword [esp], 0x20c34f2a
push 0x89233e94
jmp 0x6165f2
call 0x616668
dec esi
outsd dx, dword [esi]
outsd dx, dword [esi]
bound edi, qword [ecx + 0x50]
jb 0x6166c2
je 0x6166ba
arpl word [eax + 0x53], si
inc ebp
and byte [ecx], dh
aaa
xor byte cs:[eax], ah
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
add bl, ch
or ebp, esp
jg 0x61665c
mov bh, byte [ecx + 0x20]
pop esp
dec edx
jnp 0x6166db
fimul dword [ebp - 0x14fbdb9c]
int 0x3e
and dword [ebx + ecx*4 + 5], 0x30
jmp 0x6166ad
call fcn.0057371d
jmp 0x616600
mov eax, dword [eax + 0xc]
jmp 0x616715
mov eax, dword [eax]
jmp 0x6166f8
and cl, dl
out 0x78, al
out dx, al
mov dword [eax - 1], edi
or byte [ebp + 0x1a9f6c05], dl
cmp dword [ecx + 0x70bb4829], edi
mov eax, dword [0x481ef60]
and al, 0x6c
adc dword [0xe84f683b], edi
add dword [esp], 0x3b3d116c
push 0xe503e84f
add esp, ebp
add dword [esp], 0x1b5c3c2a
push 0x8f64bb4d
jmp 0x61661d
mov eax, dword [eax + 8]
jmp 0x616721
mov eax, dword [eax + 0x1c]
jmp 0x6166b2
push eax
jmp 0x61649a
pop eax
jmp 0x61678e
add dword [esp], 0xfc71a79
push 0xe73ed7c1
add dword [esp], 0x19214f29
push 0xc5245727
jmp 0x6166d1
movzx ebx, word [eax + 0x3c]
jmp 0x616841
xor ax, ax
cmp word [eax], 0x5a4d
je 0x61676c
sub eax, 0x10000
jmp 0x616791
add ebx, eax
cmp word [ebx], 0x4550
je 0x6164b0
jmp 0x616798
Function at 0x4063f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b528
cmp edx, dword [eax]
je 0x406417
add eax, 8
inc ecx
cmp eax, 0x40b5b8
jl 0x406408
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b528]
jne 0x406545
mov eax, dword [0x40ba78]
cmp eax, 1
je 0x40651f
test eax, eax
jne 0x406448
cmp dword [0x40b1d4], 1
je 0x40651f
cmp edx, 0xfc
je 0x406545
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40647f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4064c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004078c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403960
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.00403960
push dword [esi + 0x40b52c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403960
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407836
add esp, 0x2c
pop edi
jmp 0x406545
lea eax, [ebp + 8]
lea esi, [esi + 0x40b52c]
push 0
push eax
push dword [esi]
call fcn.004038d0
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..00cfg
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5f3105fc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x69811e58
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x414b10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4714ab
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.00465db3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414b92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00463cca
mov eax, dword [eax]
push 0x48f1c0
push eax
call fcn.00456a24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046603e
test bl, bl
je 0x414b92
push 0x48f1c0
lea ecx, [esp + 0xc]
call fcn.004663ce
push 0x492d3c
lea ecx, [esp + 0xc]
call fcn.004663ce
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 0x414bce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046603e
jmp 0x414c99
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 0x414c52
lea edx, [esp + 0x7c]
push 0x492d38
push edx
call fcn.00456a24
add esp, 8
test eax, eax
je 0x414c52
lea eax, [esp + 0x7c]
push 0x492d34
push eax
call fcn.00456a24
add esp, 8
test eax, eax
je 0x414c52
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 0x414be2
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.0046603e
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 0x415490
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 0x4154f2
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 0x415500
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47152b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4991e8]
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 0x415638
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x415566
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046603e
xor eax, eax
jmp 0x4156af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046617b
push esi
lea ecx, [esp + 0xc]
call fcn.0046640a
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 0x41568d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00415490
test eax, eax
jne 0x41568d
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 accept
mov ecx, edi
call fcn.00415490
test eax, eax
jne 0x41568d
lea eax, [esp + 0x14]
push 0x492d50
push eax
call fcn.00457a60
mov esi, eax
add esp, 8
test esi, esi
jne 0x41566c
lea ecx, [esp + 0x14]
push 0x492d4c
push ecx
call fcn.004579e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41566c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41566f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046612b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41557e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046603e
xor eax, eax
jmp 0x4156af
mov byte [esi], 0
push 0x492d48
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.0046603e
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