joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448495
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 0x4485ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4485ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.004614b3
mov esi, eax
test esi, esi
je 0x4485ad
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 0x4485ad
mov ecx, esi
call fcn.00448420
cmp edi, eax
jge 0x4485ad
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 0x448533
mov dword [esp + 0x34], 1
jmp 0x44858e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4485ad
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.004479f0
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 0x44a480
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 0x44a4e6
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 0x44a4e6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44a4c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44b020
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044b170
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44b040
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 0x44b021
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044b170
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44b040
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 0x44b070
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 0x44b0c7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44b0dd
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.0044b100
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 0x44b100
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 0x44b190
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 0x44b1d9
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 0x44b650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46df50
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.0044b200
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044b280
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044b280
lea ecx, [esi + 0xc]
call fcn.0045fa3e
lea ecx, [esi + 0x10]
call fcn.0045fa3e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044dab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044dab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044dab0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045fab3
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fab3
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44c2f8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e178
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 0x44c308
call fcn.0044c820
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44c3eb
cmp byte [edi], 0
je 0x44c3eb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44c32d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044b020
test eax, eax
jne 0x44c34d
push 0x48e480
lea ecx, [esi + 0x38]
call fcn.0045fbf0
jmp 0x44c3eb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044b070
test eax, eax
jne 0x44c37c
mov ecx, esi
call fcn.0044b170
push edi
add esi, 0x38
push 0x48e45c
push esi
call fcn.0045d8b7
add esp, 0xc
jmp 0x44c3eb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044d0a0
test eax, eax
je 0x44c3e4
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.0044c4c0
test eax, eax
jne 0x44c400
push edi
lea eax, [esi + 0x38]
push 0x48e438
push eax
call fcn.0045d8b7
add esp, 0xc
mov ecx, esi
call fcn.0044c820
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 0x44c4a8
mov ecx, dword [0x48e6f0]
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.0045d8b7
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.0044b120
test eax, eax
jne 0x44c46a
push 0x48e41c
lea ecx, [esi + 0x38]
call fcn.0045fbf0
jmp 0x44c47a
push 0xfa
mov ecx, esi
call fcn.0044d0a0
test eax, eax
jne 0x44c497
mov ecx, esi
call fcn.0044c820
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fab3
jmp 0x44c3eb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fab3
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x461e57
Capabilities:
Get graphical window text

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

Function at 0x46354c
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 0x46358e
call fcn.004690c1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46358e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463585
xor eax, eax
jmp 0x463596
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046359c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4695f1
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 0x46961f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46963d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469557
jmp 0x46963d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46963d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469557
test edi, edi
mov eax, edi
jne 0x469627
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x408a51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x408a60
pop dword [ebp - 0x48]
mov eax, 0x94161c27
sub eax, 0x93d591c7
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x1f8429bc
add dword [ebp - 0x58], 0x2ece1b8f
mov dword [ebp - 0x54], 0xaea99b2c
add dword [ebp - 0x54], 0x8389b119
mov dword [ebp - 0x50], 0x57fbf3f
add dword [ebp - 0x50], 0x46cc84ef
mov dword [ebp - 0x4c], 0xaea1901c
add dword [ebp - 0x4c], 0x515e6fe4
lea eax, [ebp - 0x58]
push eax
mov eax, 0xcb3db055
sub eax, 0xcafce001
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x10b65881
add dword [ebp - 0x58], 0x63bc10d5
mov dword [ebp - 0x54], 0xbc3b5f3e
add dword [ebp - 0x54], 0x85310237
mov dword [ebp - 0x50], 0xae0a8e26
add dword [ebp - 0x50], 0xb564de46
mov dword [ebp - 0x4c], 0x4a989e7f
sub dword [ebp - 0x4c], 0x4a989e7f
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x781308dd
sub eax, 0x77d23891
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b343
push 0
call eax
mov ecx, 0x4ec2
mov edx, eax
mov esi, 0xe7c680a7
add esi, 0x187b2f59
add esi, dword [ebp - 0x48]
mov ebx, 0x3bf0a7bf
sub ebx, 0x43bf9c32
add dword [ebp - 0x1c], 0x5761fc14
mov edi, dword [esi]
add dword [ebp - 0x34], ebx
sub edi, ebx
mov dword [edx], edi
xor dword [ebp - 8], 0x4dd24511
add edx, 0x40753dc4
sub edx, 0x40753dc0
add esi, 0xec4c2a27
add esi, 0x13b3d5dd
loop 0x408b7c
add eax, 0x3bd05798
add eax, 0xc430d643
xor ebx, ebx
add ebx, eax
add eax, 0x50751c3e
sub eax, 0x50751c39
mov ecx, 0x44c8b20
sub ecx, 0x40c8b20
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x404740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407adf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov edi, 1
push 0x40c0a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [str.amp_]
push esi
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Find
mov ebp, eax
cmp ebp, esi
jge 0x4047ac
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00406f72
mov dword [esp + 0x10], edi
jmp 0x404892
push ebx
mov bl, 3
cmp ebp, esi
jle 0x404805
mov edx, ebp
lea eax, [esp + 0x1c]
sub edx, esi
lea ecx, [esp + 0x34]
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push 0x40bd7c
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [str.amp_]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x34]
add esi, ebp
push esi
push edx
call sub.MFC42.DLL_CString::Find
mov ebp, eax
test ebp, ebp
jge 0x4047af
mov edx, dword [esp + 0x34]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop ebx
cmp esi, ecx
jge 0x40487a
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x18]
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00406f72
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x405900
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov ebp, 0x1000
xor ebx, ebx
mov edi, 0x7a
test edi, edi
je 0x405995
cmp edi, 0x7a
je 0x40594d
cmp edi, 0x103
je 0x40593b
mov dword [esp + 0x14], 1
jmp 0x4059f4
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x4059f4
push esi
call sub.MFC42.DLL_operatordelete
push ebp
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 8
test ebx, ebx
mov dword [esi], ebp
mov dword [esp + 0x10], ebp
jne 0x405980
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x40598d
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x4059dc
xor edi, edi
jmp 0x4059e8
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x4059b0
test eax, eax
je 0x4059aa
test dword [esi + 0xc], eax
je 0x4059c3
mov edx, dword [esi + 4]
push edx
jmp 0x4059bd
test eax, eax
je 0x4059b9
test dword [esi + 0xc], eax
jne 0x4059c3
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x4059dc
xor edi, edi
jmp 0x4059e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40591d
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
je 0x405a08
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40591d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x406080
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407dc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x13fc
call fcn.00407210
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
mov edi, 1
mov dword [ebp - 4], edi
cmp dword [eax - 8], ebx
jle 0x4061e3
mov ecx, 0x4f9
xor eax, eax
lea edi, [ebp - 0x140b]
mov byte [ebp - 0x140c], bl
rep stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov dword [ebp - 0x1c], ebx
stosb byte es:[edi], al
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x24], esi
jne 0x406117
mov esi, dword [ebp + 8]
push 0x40c0a0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x14], 1
jmp 0x4061f5
mov edi, str.Accept:___r_n_r_n
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x84000100
push ecx
mov ecx, dword [ebp + 0xc]
push str.Accept:___r_n_r_n
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x40616e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp + 8]
push 0x40c0a0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x14], 1
jmp 0x4061f5
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x140c]
push edx
push 0x13e8
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x40618f
cmp esi, ebx
mov dword [ebp - 4], 1
je 0x4061a1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp edi, ebx
je 0x4061ac
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x140c]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x18]
push edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00406f72
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
or al, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CString::CString
jmp 0x4061f5
mov esi, dword [ebp + 8]
push 0x40c0a0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x14], edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f140
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4daa1b
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.004cccb5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43f1c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ca423
mov eax, dword [eax]
push 0x5dd264
push eax
call fcn.004bb914
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ccf40
test bl, bl
je 0x43f1c2
push 0x5dd264
lea ecx, [esp + 0xc]
call fcn.004cd31c
push 0x5e0de4
lea ecx, [esp + 0xc]
call fcn.004cd31c
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 0x43f1fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ccf40
jmp 0x43f2c9
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 0x43f282
lea edx, [esp + 0x7c]
push 0x5e0de0
push edx
call fcn.004bb914
add esp, 8
test eax, eax
je 0x43f282
lea eax, [esp + 0x7c]
push 0x5e0ddc
push eax
call fcn.004bb914
add esp, 8
test eax, eax
je 0x43f282
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 0x43f212
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.004ccf40
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 0x43fac0
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 0x43fb22
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 0x43fb30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4daa9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5f3f68]
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 0x43fc68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43fb96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ccf40
xor eax, eax
jmp 0x43fcdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004cd0c9
push esi
lea ecx, [esp + 0xc]
call fcn.004cd358
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5e0e1c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43fcbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x5e0e14
push accept
call fcn.0043fac0
test eax, eax
jne 0x43fcbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x5e0e00
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0043fac0
test eax, eax
jne 0x43fcbd
lea eax, [esp + 0x14]
push 0x5e0df8
push eax
call fcn.004bc9f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43fc9c
lea ecx, [esp + 0x14]
push 0x5e0df4
push ecx
call fcn.004bc970
mov esi, eax
add esp, 8
test esi, esi
jne 0x43fc9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43fc9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004cd079
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43fbae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ccf40
xor eax, eax
jmp 0x43fcdf
mov byte [esi], 0
push 0x5e0df0
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.004ccf40
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