joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bd04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47bd3c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47bd1a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47bd29
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47bd38
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x47c5e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4483c4]
call fcn.00403dc0
test al, al
je 0x47c622
mov eax, dword [0x480798]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x47c622
mov edx, dword [0x480798]
xor edx, edx
call fcn.0046567c
push 0
mov eax, dword [0x480798]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x47c6d0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47c6e2
add esp, 0xfffffff0
call fcn.00403fa0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404f44
xor eax, eax
push ebp
push 0x47c79b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403bf8
lea eax, [esi + 0x7c]
mov edx, dword [ebp - 4]
call fcn.00404ae8
mov byte [esi + 0xa0], 0
mov byte [esi + 0xa1], 1
lea eax, [esi + 0x1c]
xor ecx, ecx
mov edx, 0xc
call fcn.00403508
mov dword [esi + 0x1c], 0xc
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0xffffffff
push 0x400
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_CreatePipe
push 0x400
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
push 0x400
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x14]
push eax
call sub.kernel32.dll_CreatePipe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c7a2
lea eax, [ebp - 4]
call fcn.00404a94
ret

Function at 0x47c810
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40c], ebx
mov edi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x47c8bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 4], 0
jbe 0x47c8a4
cmp dword [ebp - 4], 0x400
jbe 0x47c860
mov dword [ebp - 4], 0x400
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x408]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
push edi
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404b84
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 8]
mov edx, 1
call fcn.00404fb4
mov esi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c8c4
lea eax, [ebp - 0x40c]
call fcn.00404a94
ret
Function at 0x47c8d0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x47cabf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xa2], 0
lea eax, [ebx + 0x38]
xor ecx, ecx
mov edx, 0x44
call fcn.00403508
mov dword [ebx + 0x38], 0x44
cmp byte [ebx + 0xa1], 0
je 0x47c914
mov word [ebx + 0x68], 0
jmp 0x47c91a
mov word [ebx + 0x68], 0xa
mov dword [ebx + 0x64], 0x101
mov eax, dword [ebx + 4]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x78], eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x38]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebx + 0x7c]
call fcn.00404f54
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x47caa9
mov byte [ebx + 0xa0], 1
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x2c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x47ca13
cmp byte [ebx + 0xa2], 0
je 0x47c9a3
push 0
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_TerminateProcess
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0xc]
mov eax, ebx
call fcn.0047c810
test eax, eax
jle 0x47c9cf
cmp word [ebx + 0x82], 0
je 0x47c9cf
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x84]
call dword [ebx + 0x80]
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0x14]
mov eax, ebx
call fcn.0047c810
test eax, eax
jle 0x47c9fb
cmp word [ebx + 0x8a], 0
je 0x47c9fb
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x8c]
call dword [ebx + 0x88]
cmp word [ebx + 0x92], 0
je 0x47ca13
mov edx, ebx
mov eax, dword [ebx + 0x94]
call dword [ebx + 0x90]
push 0xa
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x47c98f
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0xc]
mov eax, ebx
call fcn.0047c810
test eax, eax
jle 0x47ca55
cmp word [ebx + 0x82], 0
je 0x47ca55
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x84]
call dword [ebx + 0x80]
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0x14]
mov eax, ebx
call fcn.0047c810
test eax, eax
jle 0x47ca81
cmp word [ebx + 0x8a], 0
je 0x47ca81
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x8c]
call dword [ebx + 0x88]
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebx + 0xa0], 0
cmp word [ebx + 0x9a], 0
je 0x47caa9
mov edx, ebx
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cac6
lea eax, [ebp - 4]
call fcn.00404a94
ret
Function at 0x47d450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47d458
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d66f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
xor edx, edx
call fcn.004313a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x22c]
call fcn.0043a2d4
dec eax
test ax, ax
jl 0x47d5d2
inc eax
mov word [ebp - 0xe], ax
mov word [ebp - 6], 0
movsx ebx, word [ebp - 6]
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x22c]
call fcn.0043a304
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x14]
mov edx, 3
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00408fec
cmp eax, 2
jne 0x47d5c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
add eax, 0x40
mov edx, dword [0x481dac]
call fcn.00404ae8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
add eax, 0x44
mov edx, 0x47d684
call fcn.00404ae8
push dword [0x481db0]
push 0x47d698
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x22c]
call fcn.0043a304
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x20]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404e14
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0047adfc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
add eax, 0x3c
call fcn.00404ae8
xor eax, eax
push ebp
push 0x47d5bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0047cd88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x3c]
call fcn.004094f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d5c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
add eax, 0x44
call fcn.00404a94
ret
inc word [ebp - 6]
dec word [ebp - 0xe]
jne 0x47d4ac
push 0x40
mov ecx, 0x47d69c
mov edx, 0x47d6a4
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046c30c
lea edx, [ebp - 0x28]
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046c83c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00409594
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov ecx, 0x47d6c0
call fcn.00404da0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0047adfc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
call fcn.00404b2c
push 0x1f4
call sub.kernel32.dll_Sleep_1
push 1
mov eax, dword [ebp - 0xc]
call fcn.00404f54
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
call fcn.004689f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d676
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.00404ab8
lea eax, [ebp - 0xc]
call fcn.00404a94
ret
Function at 0x4055b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405616
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403ba0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004028d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405600
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40561d
lea eax, [ebp - 0x10]
call fcn.00403930
ret

Function at 0x406670
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40677a
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4066c3
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403a20
jmp 0x406761
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.00406624
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.00406644
mov ebx, eax
test esi, esi
je 0x4066eb
dec esi
test esi, esi
jl 0x4066eb
cmp edi, ebx
jne 0x4066ca
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00403b28
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403e2c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403bcc
cmp eax, 2
jl 0x406761
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x406761
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403bcc
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x406761
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403bcc
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406781
lea eax, [ebp - 0x110]
call fcn.00403930
ret

Function at 0x406844
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x42a934]
mov byte [eax], 1
mov edx, dword [0x405d30]
xor eax, eax
call fcn.0040864c
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x406834
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x406908
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x406923
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x406932
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x406934
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x408ffc
Capabilities:
Get file attributes

Disassembly:
call fcn.00405fb0
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x409010
dec eax
and al, 0x10
sete al
ret

Function at 0x40a0d8
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x40a0e4
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x40a100
push eax
je 0x40a101
call dword [0x42a12c]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x174], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x42a12c]
ret

Function at 0x40b538
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040b3cc
je 0x40b56a
mov eax, ebx
push edx
call fcn.00407eec
pop edx
cmp eax, edx
je 0x40b56a
test edx, edx
mov eax, ebx
jne 0x40b55c
pop ebx
inc edx
jmp fcn.00407edc
mov byte [ebx + 0x49], dl
xor edx, edx
call fcn.00407edc
xchg ebx, eax
cmp eax, 0
pop ebx
jne fcn.0040b588
ret
Function at 0x40f5a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f5dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a20
jmp 0x40f5e6
mov eax, ebx
mov edx, esi
call fcn.00403984
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f5f0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f611
mov al, byte [esp]
jmp 0x40f613
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40fc98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40fb10
mov eax, dword [0x42aae0]
cmp byte [eax], 0
je 0x40fd14
mov eax, dword [0x42a978]
call fcn.00402834
call fcn.00402698
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040cf64
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40fd5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40fd4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x42a93c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42b668]
call fcn.00404d9c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x410a40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x410aa4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403ba0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040cc2c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410aab
lea eax, [ebp - 0xc]
call fcn.00403930
ret
Function at 0x41b720
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov byte [0x42a738], 1
push esp
xor edx, edx
mov al, 1
call fcn.00405c5c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
add esp, 0x190
ret

Function at 0x41b75c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403dbc
xor eax, eax
push ebp
push 0x41b991
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00408e90
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408e58
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 4]
call fcn.004039c8
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00407648
test eax, eax
jl 0x41b80d
lea ecx, [ebp - 0x110]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.0040773c
cmp dword [ebp - 0x110], 0
je 0x41b80d
mov ecx, esi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.0040773c
jmp 0x41b95b
cmp byte [0x42a738], 0
jne 0x41b822
mov eax, esi
call fcn.00403930
jmp 0x41b95b
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402898
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.00408ef8
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x41b8e1
mov edx, dword [eax + 0xc]
test edx, edx
je 0x41b8d8
mov edi, dword [edx]
test edi, edi
je 0x41b8cf
push esi
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x130]
mov ecx, 3
mov eax, 0x41b9a8
call fcn.00408f90
jmp 0x41b8e8
mov eax, esi
call fcn.00403930
jmp 0x41b8e8
mov eax, esi
call fcn.00403930
jmp 0x41b8e8
mov eax, esi
call fcn.00403930
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00407648
test eax, eax
jl 0x41b906
mov ecx, dword [esi]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.004077e8
jmp 0x41b92e
push dword [ebp - 4]
push 0x41b9bc
push dword [esi]
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00403c8c
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x40]
call fcn.0040adb8
cmp dword [esi], 0
jne 0x41b95b
lea eax, [ebp - 0x138]
mov ecx, 0x41b9c8
mov edx, dword [ebp - 4]
call fcn.00403c18
mov edx, dword [ebp - 0x138]
mov eax, dword [0x42a9bc]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call fcn.0041d34c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b998
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00403954
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00403954
lea eax, [ebp - 4]
call fcn.00403930
ret
Function at 0x438900
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa20b
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.0049c706
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x438982
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049a120
mov eax, dword [eax]
push 0x59a240
push eax
call fcn.0048c284
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049c991
test bl, bl
je 0x438982
push 0x59a240
lea ecx, [esp + 0xc]
call fcn.0049cd6d
push 0x59ddbc
lea ecx, [esp + 0xc]
call fcn.0049cd6d
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 0x4389be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049c991
jmp 0x438a89
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 0x438a42
lea edx, [esp + 0x7c]
push 0x59ddb8
push edx
call fcn.0048c284
add esp, 8
test eax, eax
je 0x438a42
lea eax, [esp + 0x7c]
push 0x59ddb4
push eax
call fcn.0048c284
add esp, 8
test eax, eax
je 0x438a42
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 0x4389d2
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.0049c991
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 0x4392a0
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 0x439302
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 0x439310
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa28b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a6d78]
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 0x439448
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x439376
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049c991
xor eax, eax
jmp 0x4394bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049cb1a
push esi
lea ecx, [esp + 0xc]
call fcn.0049cda9
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 0x43949d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004392a0
test eax, eax
jne 0x43949d
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.004392a0
test eax, eax
jne 0x43949d
lea eax, [esp + 0x14]
push 0x59ddd0
push eax
call fcn.0048d430
mov esi, eax
add esp, 8
test esi, esi
jne 0x43947c
lea ecx, [esp + 0x14]
push 0x59ddcc
push ecx
call fcn.0048d3b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43947c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43947f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049caca
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43938e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049c991
xor eax, eax
jmp 0x4394bf
mov byte [esi], 0
push 0x59ddc8
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.0049c991
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