joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ba80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ca13
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.004605c2
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.00465c5d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467179
test eax, eax
je 0x43bb9c
mov ecx, dword [esp + 0x3c]
call fcn.00465c8a
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 0x43bb60
push edi
mov ecx, esi
call fcn.004632ec
mov ecx, esi
call fcn.0043bd00
cmp dword [esp + 0x38], 1
jne 0x43bb95
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.00463427
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 0x43e5b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e5e3
push esi
call fcn.004416c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e5dc
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 0x43e669
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e652
mov eax, dword [esi + 8]
test eax, eax
je 0x43e607
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 0x43e64e
cmp eax, 2
je 0x43e652
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e5fa
cmp eax, 3
je 0x43e62d
cmp eax, 1
jne 0x43e5fa
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 0x43e5fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e5fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e690
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e678
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e690
add esp, 4
pop esi
ret

Function at 0x449ad0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x449b36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x449b36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x449b17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44a670
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044a7c0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44a690
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44a671
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044a7c0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44a690
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44a6c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44a717
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44a72d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044a750
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44a750
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44a7e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44a829
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44aca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cf40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044a850
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044a8d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044a8d0
lea ecx, [esi + 0xc]
call fcn.0045ef9b
lea ecx, [esi + 0x10]
call fcn.0045ef9b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044d100
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044d100
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044d100
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045f010
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045f010
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44b948
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d168
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44b958
call fcn.0044be70
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44ba3b
cmp byte [edi], 0
je 0x44ba3b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44b97d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044a670
test eax, eax
jne 0x44b99d
push 0x4894b8
lea ecx, [esi + 0x38]
call fcn.0045f14d
jmp 0x44ba3b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044a6c0
test eax, eax
jne 0x44b9cc
mov ecx, esi
call fcn.0044a7c0
push edi
add esi, 0x38
push 0x489494
push esi
call fcn.0045cfe4
add esp, 0xc
jmp 0x44ba3b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044c6f0
test eax, eax
je 0x44ba34
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044bb10
test eax, eax
jne 0x44ba50
push edi
lea eax, [esi + 0x38]
push 0x489470
push eax
call fcn.0045cfe4
add esp, 0xc
mov ecx, esi
call fcn.0044be70
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44baf8
mov ecx, dword [0x489728]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045cfe4
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044a770
test eax, eax
jne 0x44baba
push 0x489454
lea ecx, [esi + 0x38]
call fcn.0045f14d
jmp 0x44baca
push 0xfa
mov ecx, esi
call fcn.0044c6f0
test eax, eax
jne 0x44bae7
mov ecx, esi
call fcn.0044be70
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f010
jmp 0x44ba3b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f010
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4613b7
Capabilities:
Get graphical window text

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

Function at 0x462aa9
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 0x462aeb
call fcn.00468623
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x462aeb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462ae2
xor eax, eax
jmp 0x462af3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462af9
pop edi
pop esi
pop ebx
ret 4

Function at 0x468b53
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 0x468b81
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468b9f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468ab9
jmp 0x468b9f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468b9f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468ab9
test edi, edi
mov eax, edi
jne 0x468b89
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404267
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push 0x44
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00404600
add esp, 0xc
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], 1
push 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00404600
add esp, 0xc
push 0x408a64
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x15c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404357
mov dword [ebp - 0x164], 0x1e
mov dword [ebp - 0x160], 0x102
cmp dword [ebp - 0x160], 0x102
jne 0x404357
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x160], eax
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x180]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x404355
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x180]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x404320
jmp 0x4042fd
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x58]
mov esp, ebp
pop ebp
ret

Function at 0x4127dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x412823
cmp edx, 0x10
jl 0x41280f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x4127fc
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x412823
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x41281b
and edx, 3
cmp edx, 3
jne 0x412837
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x41283c
cmp edx, 2
jne 0x412848
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x41284d
cmp edx, 1
jne 0x412853
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x404a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
or al, 0x8b
push edx
adc al, 0x8b
jb 0x404a90
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x26]
xor edi, edi
lodsb al, byte [esi]
cmp al, 0x61
jl 0x404a75
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x404a6e
push edx
push edi
mov edx, dword [edx + 0x10]
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
jecxz 0x404ad2
add ecx, edx
push ecx
mov ebx, dword [ecx + 0x20]
add ebx, edx
mov ecx, dword [ecx + 0x18]
jecxz 0x404ad1
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor edi, edi
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x404a9f
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x404a95
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop edi
pop edi
pop edx
mov edx, dword [edx]
jmp 0x404a65
Function at 0x409fc3
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, dword [esi + 0x48]
push 0xa
push eax
push ecx
call 0xedb51b
mov dword [esi], edx
dec eax
add eax, 0x7f79c000
mov dword [esi + 0x4c], edx
mov dword [esi + 0x1b], eax
adc edx, 0xffd6a116
mov ecx, 0x20
mov dword [ebx], eax
fisttp qword [ebx - 0x1d21e7fc]
inc eax
mov eax, edx
mov edx, edi
mov dword [esi + 0x44], edi
call 0x46b870
mov dword [ebx], ebx
and ecx, dword [ebx + 0x565140af]
inc esp
mov eax, dword [ebx + 0x5d]
or ebx, dword [eax - 0x75]
outsd dx, dword [esi]
mov dword [esi + 0x40], ecx
mov esp, dword [ecx]
fisub dword [ebx - 0x39]
push edi
mov ebp, dword [edi + 0x6a]
or dl, byte [ecx + 0x52]
mov dword [esi + 0x44], eax
call 0xb55fb590
mov dword [esi - 0x59], edx
mov ecx, dword [esi + 0x59]
mov edx, eax
mov dword [esi + 5], eax
mov eax, dword [ebp + 0x10]
cmp dword [ebp], 0x81b7e1c0
loop 0x40a0bb
mov eax, dword [0x56899cab]
inc eax
mov ebx, edi
inc esp
mov edx, dword [ebx + eax*4 + 9]
mov eax, dword [ebx + eax*4 - 0x67]
xor ebp, edx
or edx, edi
sub ecx, eax
mov eax, dword [ebp - 6]
mov dword [esi + 0x2c], edx
mov edx, 0xab4d
pop ebx
dec esi
sub byte [esi - 0x3e], bl
je 0x40a076
mov ecx, dword [ebx]
mul byte [ebx]
add al, 0x74
or dword [esi + 0x5e], esp
or al, 6
add byte [eax], al
add ah, bl
cmp al, 0x8b
or esi, esi
rcl dword [eax], 0x74
or edi, eax
inc esi
or al, 2
add byte [eax], al
add bl, ch
sub al, 0xf6
rol dword [eax + 0x74], 9
mov ecx, dword [ebx]
test cl, 0x10
je 0x40a086
mov dword [esi + 0xc], 2
jmp 0x40a0b2
test cl, 0x40
je 0x40a094
invalid
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x40a0af
mov ecx, dword [ebx + 0x18]
test dword [edi + 0x6d], ecx
or eax, 0x8b04808b
jle 0x40a0d4
or ecx, edi
jne 0x40a0af
mov ebx, eax
les ecx, [ecx + 0x13840c56]
mov dword [esi + 0xc], edx
test byte [ebx], dl
je 0x40a0bd
mov dword [esi + 8], 0x10000000
add byte [eax], dl
mov ecx, dword [ebp + 0x10]
mov dword [esi + 4], 0x81a9
test ecx, ecx
push edi
add al, 0x85
sal byte [edi + eax - 0x39], 0x46
add al, 0x71
aad 0
add byte [ebx - 0x73a0f3bb], cl
cmp ebx, dword [ebp - 0x6a]
nop
nop
push ebp
mov ebp, ebp
xor ah, ch
xor al, 0xe9
sbb cl, byte [ebx + 0x478a107d]
sub al, 0x84
sal byte [edx + edx*2 + 0x57], 0x30
fcom dword [ecx]
add byte [eax], ch
pop eax
jne 0x419b5b
add byte [eax], al
mov eax, dword [ebp + 0xc]
pop edi
invalid
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x34]
push ebp
xor byte [ebp + 0x19], bl
mov esp, 0x850040c0
sal byte [ebp + 0x1f], 0x8b
xor eax, sym.imp.KERNEL32.dll_GetLastError
mov dh, dl
test eax, eax
je 0xfcc1b8
call esi
pop edi
add eax, 0xff0af980
pop esi
mov esp, ebp
xor eax, 0x8b0042c2
push ebp
mov esi, dword [ebp + 8]
push edx
lea eax, [ebp - 0x34]
invalid
Function at 0x41fb30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x487fab
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.0047c7a3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41fbb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047a6ba
mov eax, dword [eax]
push 0x733204
push eax
call fcn.0046d424
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047ca2e
test bl, bl
je 0x41fbb2
push 0x733204
lea ecx, [esp + 0xc]
call fcn.0047cdbe
push 0x736d7c
lea ecx, [esp + 0xc]
call fcn.0047cdbe
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 0x41fbee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047ca2e
jmp 0x41fcb9
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 0x41fc72
lea edx, [esp + 0x7c]
push 0x736d78
push edx
call fcn.0046d424
add esp, 8
test eax, eax
je 0x41fc72
lea eax, [esp + 0x7c]
push 0x736d74
push eax
call fcn.0046d424
add esp, 8
test eax, eax
je 0x41fc72
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 0x41fc02
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.0047ca2e
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 0x4204b0
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 0x420512
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 0x420520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48802b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x73d3c8]
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 0x420658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047ca2e
xor eax, eax
jmp 0x4206cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047cb6b
push esi
lea ecx, [esp + 0xc]
call fcn.0047cdfa
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 0x4206ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004204b0
test eax, eax
jne 0x4206ad
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 SysReAllocString
mov ecx, edi
call fcn.004204b0
test eax, eax
jne 0x4206ad
lea eax, [esp + 0x14]
push 0x736d90
push eax
call fcn.0046e530
mov esi, eax
add esp, 8
test esi, esi
jne 0x42068c
lea ecx, [esp + 0x14]
push 0x736d8c
push ecx
call fcn.0046e4b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42068c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42068f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047cb1b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42059e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047ca2e
xor eax, eax
jmp 0x4206cf
mov byte [esi], 0
push 0x736d88
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.0047ca2e
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