joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dbf50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4dbf5b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4dc05e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xae218c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xae218c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xae218c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xae218c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xae218c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xae218c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xae218c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xae218c]
xor eax, edx
inc ecx
dec edi
jne 0x4dbf76
pop edi
test esi, esi
je 0x4dc080
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xae218c]
xor eax, edx
inc ecx
dec esi
jne 0x4dc062
pop esi
pop ebx
not eax
ret

Function at 0x4dca20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x4dca61
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4dca56
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x4dca74
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x4dd9b0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x4dda65
cmp dword [ebp + 4], 0xffffffff
jne 0x4dda65
push ebx
lea ebx, [ebp + 0x138]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0xb016ac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x4dda2d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4dda2d
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edi
call fcn.004dc7b0
add esp, 0x10
test eax, eax
jne 0x4dda50
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.004dccf0
add esp, 4
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x4ddec0
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x208
test ecx, ecx
je 0x4ddf88
mov al, byte [ecx]
test al, al
je 0x4ddf88
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ecx
cmp al, 0x2f
je 0x4ddeeb
cmp al, 0x5c
jne 0x4ddeed
mov ebx, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4ddee3
mov edi, dword [esp + 0x218]
cmp ebx, ecx
je 0x4ddf24
mov esi, ebx
lea eax, [esp + 0xc]
sub esi, ecx
push esi
push ecx
push eax
call fcn.004f4be1
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x18], 0
push ecx
push edi
call fcn.004ddec0
add esp, 0x14
inc ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x4e0200
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 0x4e0266
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 0x4e0266
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4e0247
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e05f0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4e0628
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4e1250
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 0x4e1299
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 0x4e1710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51def0
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.004e12c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004e1340
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004e1340
lea ecx, [esi + 0xc]
call fcn.0050e2c1
lea ecx, [esi + 0x10]
call fcn.0050e2c1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004e28d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004e28d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004e28d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0050e336
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0050e336
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e4790
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 0x4e4833
test eax, eax
jbe 0x4e4833
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4e4833
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 0x4e47de
xor esi, esi
jmp 0x4e47e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4e480f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004915c0
add esi, eax
push esi
mov ebx, esi
call fcn.004915c0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4e47f0
pop ebp
test edi, edi
pop edi
jne 0x4e4833
test ebx, ebx
je 0x4e4833
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004f2d30
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4e4975
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 0x4e4a8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e4a8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0050fe4c
mov esi, eax
test esi, esi
je 0x4e4a8d
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 0x4e4a8d
mov ecx, esi
call fcn.004e48e0
cmp edi, eax
jge 0x4e4a8d
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 0x4e4a13
mov dword [esp + 0x34], 1
jmp 0x4e4a6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4e4a8d
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.004e3140
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 0x4f4a1d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4f4a4e
call fcn.004f80de
mov dword [eax], esi
call fcn.004f80cb
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004fdee0
add esp, 0x14
push 0x16
pop eax
jmp 0x4f4aa3
test dword [ebp + 0xc], 0xfffffff9
jne 0x4f4a2a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4f4a7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f80f1
pop ecx
call fcn.004f80cb
mov eax, dword [eax]
jmp 0x4f4aa3
test al, 0x10
jne 0x4f4aa1
test al, 1
je 0x4f4aa1
test byte [ebp + 0xc], 2
je 0x4f4aa1
call fcn.004f80de
mov dword [eax], 5
call fcn.004f80cb
mov dword [eax], 0xd
jmp 0x4f4a72
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4ff3ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xb0472c]
jne 0x4ff3c4
repz ret
jmp fcn.00508002

Function at 0x506fce
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004f9941
and dword [ebp - 4], 0
cmp dword [0xb39778], 0
mov ebx, eax
jne 0x50707f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x507130
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xaeaa70
push edi
call esi
test eax, eax
je 0x507130
push eax
call fcn.004f98cf
mov dword [esp], 0xaeaa60
push edi
mov dword [0xb39778], eax
call esi
push eax
call fcn.004f98cf
mov dword [esp], 0xaeaa4c
push edi
mov dword [0xb3977c], eax
call esi
push eax
call fcn.004f98cf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0xb39780], eax
call esi
push eax
call fcn.004f98cf
pop ecx
mov dword [0xb39788], eax
test eax, eax
je 0x50707f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f98cf
pop ecx
mov dword [0xb39784], eax
mov eax, dword [0xb39784]
cmp eax, ebx
je 0x5070d7
cmp dword [0xb39788], ebx
je 0x5070d7
push eax
call fcn.004f994a
push dword [0xb39788]
mov esi, eax
call fcn.004f994a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5070d7
test edi, edi
je 0x5070d7
call esi
test eax, eax
je 0x5070ce
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5070ce
test byte [ebp - 0xc], 1
jne 0x5070d7
or dword [ebp + 0x10], 0x200000
jmp 0x507110
mov eax, dword [0xb3977c]
cmp eax, ebx
je 0x507110
push eax
call fcn.004f994a
pop ecx
test eax, eax
je 0x507110
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x507110
mov eax, dword [0xb39780]
cmp eax, ebx
je 0x507110
push eax
call fcn.004f994a
pop ecx
test eax, eax
je 0x507110
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xb39778]
call fcn.004f994a
pop ecx
test eax, eax
je 0x507130
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x507132
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5107f0
Capabilities:
Get graphical window text

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

Function at 0x511ee5
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 0x511f27
call fcn.00517e88
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x511f27
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x511f1e
xor eax, eax
jmp 0x511f2f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00511f35
pop edi
pop esi
pop ebx
ret 4

Function at 0x5183b8
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 0x5183e6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x518404
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051831e
jmp 0x518404
mov eax, dword [esi + 0x14]
test eax, eax
je 0x518404
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051831e
test edi, edi
mov eax, edi
jne 0x5183ee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401290
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00401790
call sym.___main
mov dword [esp], section..rdata
call sym._printf
mov dword [esp], 0x403004
call sym._printf
mov dword [esp], str.Lab5_5.
call sym._printf
mov dword [esp], 0x403082
call sym._printf
mov dword [esp], 0x403093
call sym._printf
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], str._f__f__f
call sym._scanf
fld dword [ebp - 4]
fld dword [0x4030c8]
fmulp st(1)
fld dword [ebp - 8]
fadd st(0)
faddp st(1)
fsub dword [ebp - 0xc]
fstp qword [esp + 4]
mov dword [esp], str.3x__2y___z___f__n_n_n
call sym._printf
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov eax, 0
leave
ret

Function at 0x401950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x425b50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5bdb
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.004aa10f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x425bd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a7dfd
mov eax, dword [eax]
push 0x7e5cec
push eax
call fcn.0048f034
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aa39a
test bl, bl
je 0x425bd2
push 0x7e5cec
lea ecx, [esp + 0xc]
call fcn.004aa72a
push 0x7e5cf8
lea ecx, [esp + 0xc]
call fcn.004aa72a
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 0x425c0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aa39a
jmp 0x425cd9
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 0x425c92
lea edx, [esp + 0x7c]
push 0x7e5cf4
push edx
call fcn.0048f034
add esp, 8
test eax, eax
je 0x425c92
lea eax, [esp + 0x7c]
push 0x7e5cf0
push eax
call fcn.0048f034
add esp, 8
test eax, eax
je 0x425c92
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 0x425c22
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.004aa39a
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 0x4264d0
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 0x426532
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 0x426540
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7f6008]
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 0x426678
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4265a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aa39a
xor eax, eax
jmp 0x4266ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aa4d7
push esi
lea ecx, [esp + 0xc]
call fcn.004aa766
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 0x4266cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004264d0
test eax, eax
jne 0x4266cd
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.004264d0
test eax, eax
jne 0x4266cd
lea eax, [esp + 0x14]
push 0x7e5d08
push eax
call fcn.004900b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4266ac
lea ecx, [esp + 0x14]
push 0x7e5d04
push ecx
call fcn.00490030
mov esi, eax
add esp, 8
test esi, esi
jne 0x4266ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4266af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aa487
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4265be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aa39a
xor eax, eax
jmp 0x4266ef
mov byte [esi], 0
push 0x7e5d00
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.004aa39a
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

Function at 0x42fca6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x42fcce
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret