joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4476d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447703
push esi
call fcn.0044a7d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4476fc
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 0x447789
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447772
mov eax, dword [esi + 8]
test eax, eax
je 0x447727
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 0x44776e
cmp eax, 2
je 0x447772
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44771a
cmp eax, 3
je 0x44774d
cmp eax, 1
jne 0x44771a
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 0x44771a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44771a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004477b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447798
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004477b0
add esp, 4
pop esi
ret

Function at 0x4537e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x453883
test eax, eax
jbe 0x453883
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x453883
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45382e
xor esi, esi
jmp 0x453834
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45385f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004570f0
add esi, eax
push esi
mov ebx, esi
call fcn.004570f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x453840
pop ebp
test edi, edi
pop edi
jne 0x453883
test ebx, ebx
je 0x453883
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004656d0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4539c5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x453add
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x453add
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047647c
mov esi, eax
test esi, esi
je 0x453add
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x453add
mov ecx, esi
call fcn.00453930
cmp edi, eax
jge 0x453add
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x453a63
mov dword [esp + 0x34], 1
jmp 0x453abe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x453add
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00452eb0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x45ddf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x45de3c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x45de3c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x45de26
push eax
call ebp
test ax, ax
jl 0x45de34
inc esi
add edi, 4
cmp esi, 6
jb 0x45de18
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0045daf0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x461c40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x461ca0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x461ca0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x461ca0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x461ca0
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 0x461cb0
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 0x476e20
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x476e58
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.00474ed4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474eac
jmp 0x476e64
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x478512
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 0x478554
call fcn.0047e190
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x478554
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47854b
xor eax, eax
jmp 0x47855c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00478562
pop edi
pop esi
pop ebx
ret 4

Function at 0x47e6c0
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 0x47e6ee
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e70c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e626
jmp 0x47e70c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e70c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e626
test edi, edi
mov eax, edi
jne 0x47e6f6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4c4374
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop ecx
jmp 0x4b2d31
pop edx
add edx, 0x24
mov edx, dword [edx]
mov eax, eax
jmp 0x4ccf21
dec ecx
jmp 0x4b1cae
pop eax
push ebp
jmp 0x4c6ce4
add esi, dword [ebp + 8]
nop
push eax
push esi
push ecx
mov edi, edi
pop ecx
jmp 0x4c1856
push ebp
pop esp
jmp 0x4beaff
dec ecx
jmp 0x4c0e69
push eax
pop eax
push edx
push ebx
push ecx
jmp 0x4b6a97
push esi
pop edi
cld
repne scasb al, byte es:[edi]
pop ecx
jmp 0x4c244b
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push ebp
pop ebp
push eax
jmp 0x4aaf92
mov esi, dword [ebp - 0x10]
add esi, 0x20
lodsd eax, dword [esi]
jmp 0x4c1fab
push eax
jmp 0x4c1043
push ebx
xchg esi, esi
dec ecx
push ecx
pop ebx
shl ebx, 1
xchg edi, edi
add edx, ebx
xchg eax, eax
sub ecx, ecx
mov cx, word [edx]
pop ebx
push eax
pop edx
push ebx
pop ebx
xchg ebx, ebx
add edx, 0x1c
mov edx, dword [edx]
xchg eax, eax
jmp 0x4b6db4
lea ebx, [ebp - 0xc8]
jmp 0x4bc9f8
pop edx
push eax
jmp 0x4ad18c
push esi
push edi
mov ebx, dword [ebp + 8]
push ebx
pop esi
add esi, dword [esi + 0x3c]
add esi, 0x78
jmp 0x4bc169
add edx, ebx
jmp 0x4bae9e
push esp
pop ebp
sub esp, 0x100
jmp 0x4af454
ret
shl ecx, 2
add edx, ecx
jmp 0x4c300e
mov esi, dword [esi]
add esi, ebx
mov dword [ebp - 0x10], esi
add esi, 0x18
lodsd eax, dword [esi]
jmp 0x4c68c6
cmp dword [ebx + 8], edx
jne 0x4aef2b
mov edx, dword [ebp + 0x18]
cmp dword [ebx + 0xc], edx
jne 0x4aef2b
jmp 0x4b2444
mov edx, dword [ebp + 0xc]
cmp dword [ebx], edx
jne 0x4aef2b
mov edx, dword [ebp + 0x10]
cmp dword [ebx + 4], edx
jne 0x4aef2b
mov edx, dword [ebp + 0x14]
jmp 0x4bc8fc
pop ebp
jmp 0x4b81c2
push ecx
xchg ebp, ebp
xor eax, eax
sub ecx, ecx
jmp 0x4abd9f
pop ecx
push ebx
jmp 0x4c2872
jne 0x4c1fad
jmp 0x4c5e01
pop eax
pop esi
pop ecx
pop ebx
pop edx
mov eax, 0
jmp 0x4ae8c2
lea edx, [ebp - 0xc8]
push esp
pop esp
push ecx
jmp 0x4bfc17
add eax, ebx
push ecx
pop ebx
jmp 0x4c3f55
sub edi, esi
jmp 0x4c7f07
pop ebx
push edx
jmp 0x4bf452
mov edx, dword [edx]
add edx, ebx
push edx
push ebx
pop ebx
pop eax
pop edi
xchg esp, esp
pop esi
pop ecx
pop ebx
jmp 0x4b61f6
dec ebx
xchg edx, edx
shl ebx, 2
push eax
pop esi
add esi, ebx
mov esi, dword [esi]
jmp 0x4ae4f2
push ebp
jmp 0x4b7e4c
pop edi
jmp 0x4b370b
push eax
jmp 0x4a9e01
pop esp
pop ebp
ret
dec edi
push edi
push esi
call fcn.004cab4b
pop esi
jmp 0x4cb672
pop eax
jmp 0x4b5f5b
add edx, ebx
jmp 0x4b595c
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00404502
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00404502
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00404502
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00404502
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00404502
mov dword [0x41203c], eax
call fcn.00404502
test eax, eax
jge 0x402550
push 8
call fcn.00404502
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00404502
pop ecx
push 1
call fcn.00404502
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00404502
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00404502
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00404502
jmp 0x402495

Function at 0x404502
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x404511
pop dword [ebp - 0x14]
mov eax, 0x404511
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x36cda
push 0
mov eax, 0xa73d9bf6
sub eax, 0xa6fcbb1e
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x3e69
mov ebx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x14]
mov edi, 0xfac736d5
add edi, 0x2b7cfcc8
add dword [ebp - 8], 0xff87d3d2
mov edx, dword [esi]
sub dword [ebp - 4], eax
xor edx, edi
sub dword [ebp - 0xc], ebx
mov dword [ebx], edx
add dword [ebp - 0xc], ecx
add ebx, 0x5627f567
add ebx, 0xa9d80a9d
add esi, 4
loop 0x40455f
add eax, 0xb53635e0
add eax, 0x4acab697
mov ebx, eax
add eax, 0xee379311
add eax, 0x11c86cf4
mov ecx, 0xcda92f70
add ecx, 0x3296d090
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x42a403f2
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5ec00268
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x41452e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422044]
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.0040c88f
and dword [ebp - 0x14], 0
cmp dword [0x4245d8], 0
mov dword [ebp - 0x18], eax
jne 0x4145e1
push 0x41b318
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x414689
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b30c
push ebx
call edi
test eax, eax
je 0x414689
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x41b2fc
push ebx
mov dword [0x4245d8], eax
call edi
push eax
call esi
push 0x41b2e8
push ebx
mov dword [0x4245dc], eax
call edi
push eax
call esi
push 0x41b2cc
push ebx
mov dword [0x4245e0], eax
call edi
push eax
call esi
mov dword [0x4245e8], eax
test eax, eax
je 0x4145e1
push 0x41b2b4
push ebx
call edi
push eax
call esi
mov dword [0x4245e4], eax
mov eax, dword [0x4245e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41463a
cmp dword [0x4245e8], ecx
je 0x41463a
push eax
call esi
push dword [0x4245e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41463a
test ebx, ebx
je 0x41463a
call edi
test eax, eax
je 0x414631
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414631
test byte [ebp - 8], 1
jne 0x41463a
or dword [ebp + 0x10], 0x200000
jmp 0x41466d
mov eax, dword [0x4245dc]
cmp eax, dword [ebp - 0x18]
je 0x41466d
push eax
call esi
test eax, eax
je 0x41466d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41466d
mov eax, dword [0x4245e0]
cmp eax, dword [ebp - 0x18]
je 0x41466d
push eax
call esi
test eax, eax
je 0x41466d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4245d8]
call esi
test eax, eax
je 0x414689
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41468b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a82f
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1d6a71e9
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x2fd76d69
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40c9b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e2ab
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.00480c82
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ca32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047e700
mov eax, dword [eax]
push 0x4af210
push eax
call fcn.00470194
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00480f0d
test bl, bl
je 0x40ca32
push 0x4af210
lea ecx, [esp + 0xc]
call fcn.004812e9
push 0x4b2da0
lea ecx, [esp + 0xc]
call fcn.004812e9
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 0x40ca6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00480f0d
jmp 0x40cb39
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 0x40caf2
lea edx, [esp + 0x7c]
push 0x4b2d9c
push edx
call fcn.00470194
add esp, 8
test eax, eax
je 0x40caf2
lea eax, [esp + 0x7c]
push 0x4b2d98
push eax
call fcn.00470194
add esp, 8
test eax, eax
je 0x40caf2
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 0x40ca82
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.00480f0d
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 0x40dd90
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 0x40ddf2
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 0x40de00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e40b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bc6a8]
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 0x40df38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40de66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480f0d
xor eax, eax
jmp 0x40dfaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00481096
push esi
lea ecx, [esp + 0xc]
call fcn.00481325
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4b2dd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40df8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040dd90
test eax, eax
jne 0x40df8d
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.0040dd90
test eax, eax
jne 0x40df8d
lea eax, [esp + 0x14]
push 0x4b2db4
push eax
call fcn.004712a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40df6c
lea ecx, [esp + 0x14]
push 0x4b2db0
push ecx
call fcn.00471220
mov esi, eax
add esp, 8
test esi, esi
jne 0x40df6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40df6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00481046
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40de7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480f0d
xor eax, eax
jmp 0x40dfaf
mov byte [esi], 0
push 0x4b2dac
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.00480f0d
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