joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458eac
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x459049
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402af4
cmp word [ebx + 0xa2], 0
je 0x458ef5
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x458f09
lea esi, [ebp - 8]
jmp 0x458f0b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x458f18
xor edi, edi
jmp 0x458f25
mov eax, dword [ebx + 0x80]
call fcn.00404b18
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404b18
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004585e4
mov eax, dword [ebp - 0x14]
call fcn.00404b18
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404b18
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b18
push eax
mov eax, ebx
call fcn.00458718
push eax
mov eax, ebx
call fcn.004586ec
push eax
mov eax, ebx
call fcn.004586a0
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004584b0
mov eax, dword [ebp - 0x18]
call fcn.00404b18
push eax
mov eax, dword [ebx + 8]
call fcn.00404b18
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x458fae
call fcn.0040d558
xor edx, edx
push ebp
push 0x459027
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x458fec
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x458fe2
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45902e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x459058
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x459084
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404b18
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4590a9
call fcn.0040d558
xor eax, eax
push ebp
push 0x4590e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x4590c9
call fcn.0040d558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4590e7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45a910
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45a999
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47cc64
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x45a983
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b764
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x45a9b0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x47bbb0]
mov dl, 1
mov eax, dword [0x459dac]
call fcn.0040c0b0
call fcn.00404018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a9a0
lea eax, [ebp - 0x1c]
call fcn.00404658
ret

Function at 0x45b064
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045af88
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a48
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45b0c8
call fcn.0045a858
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45b0ba
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a48
pop esi
pop ebx
ret

Function at 0x45b0ec
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404b18
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004030e0
test ebx, ebx
je 0x45b137
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x45b214
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45b245
mov ecx, dword [0x47bcac]
mov dl, 1
mov eax, dword [0x459dac]
call fcn.0040c074
call fcn.00404018
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x45b272
mov ecx, dword [0x47ba78]
mov dl, 1
mov eax, dword [0x459dac]
call fcn.0040c074
call fcn.00404018
xor eax, eax
push ebp
push 0x45b2f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403a48
cmp byte [ebp + 8], 0
je 0x45b2cd
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045b17c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045afe4
jmp 0x45b2e9
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045ab44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45b310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45b4f4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045ae0c
xor eax, eax
push ebp
push 0x45b666
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x45b650
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45b53f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45b549
call fcn.004040c4
jmp 0x45b66d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00419ec8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x45b645
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45b5f7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45b5e4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a48
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0045b4ac
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45b678]
cmp dl, byte [eax + 0x28]
je 0x45b64c
call fcn.0040bf5c
jmp 0x45b64c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00419ee8
jmp 0x45b64c
cmp ecx, ebx
jge 0x45b613
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00419ee8
jmp 0x45b549
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00419ec8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00419efc
cmp edx, dword [esp + 4]
jne 0x45b634
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45b549
push ebp
call fcn.0045b4ac
pop ecx
jmp 0x45b64c
push ebp
call fcn.0045b4ac
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b66d
mov eax, dword [ebp - 4]
call fcn.0045ae18
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b67c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b79e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045ae0c
xor eax, eax
push ebp
push 0x45b781
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45b6cc
call fcn.004040c4
jmp 0x45b788
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45b76b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45b76b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a48
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45b76b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b764
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45b7b8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x47bbb0]
mov dl, 1
mov eax, dword [0x459dac]
call fcn.0040c0b0
call fcn.00404018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b788
mov eax, dword [ebp - 4]
call fcn.0045ae18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b7a5
lea eax, [ebp - 0x28]
call fcn.00404658
ret
Function at 0x45b804
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b94e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045ae0c
xor eax, eax
push ebp
push 0x45b931
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45b869
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45b869
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45b91b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45b87c
call fcn.004040c4
jmp 0x45b938
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45b91b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45b91b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a48
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45b91b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b764
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45b968
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x47bbb0]
mov dl, 1
mov eax, dword [0x459dac]
call fcn.0040c0b0
call fcn.00404018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b938
mov eax, dword [ebp - 4]
call fcn.0045ae18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b955
lea eax, [ebp - 0x28]
call fcn.00404658
ret
Function at 0x4606e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x460712
mov eax, ebx
call fcn.0046119c
cmp dword [ebx + 0x3c], 0
je 0x46070b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x460783
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x460775
cmp dword [ebx + 8], 0
je 0x460734
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x460746
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x460775
cmp dword [ebx + 8], 0
je 0x460727
cmp eax, 3
je 0x460759
dec eax
jne 0x460727
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x460727
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x460727
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4607a1
cmp dword [ebx + 0x10], 0xcc
je 0x4607a1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004607ac
pop ebx
ret

Function at 0x4766f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b08
xor eax, eax
push ebp
push 0x476763
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404920
mov esi, eax
test esi, esi
jle 0x476743
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00404b70
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, 0xaa
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x476729
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47676a
lea eax, [ebp - 4]
call fcn.00404658
ret
Function at 0x4782d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404b08
xor eax, eax
push ebp
push 0x47846d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x478484
mov edx, dword [ebp - 4]
call fcn.0040496c
mov eax, dword [ebp - 0x14c]
call fcn.00404b18
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
test ebx, ebx
je 0x47843c
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
jne 0x478382
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004048d0
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 8]
mov edx, 0x478494
call fcn.0040496c
jmp 0x478395
lea eax, [ebp - 8]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004048d0
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x478434
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
jne 0x4783e6
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004048d0
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 8]
mov edx, 0x478494
call fcn.0040496c
jmp 0x4783f9
lea eax, [ebp - 8]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004048d0
mov eax, dword [ebp - 8]
mov edx, 0x4784a0
call fcn.00404a64
je 0x478421
mov eax, dword [ebp - 8]
mov edx, 0x4784ac
call fcn.00404a64
je 0x478421
mov eax, dword [esi]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4783ad
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478474
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.0040467c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040467c
ret
Function at 0x4784b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4786b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4157f4]
call fcn.0040381c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x104]
lea eax, [ebp - 0x144]
mov ecx, 0x4786cc
call fcn.0040496c
mov eax, dword [ebp - 0x144]
call fcn.00408db0
test al, al
je 0x478550
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x104]
lea eax, [ebp - 0x148]
mov ecx, 0x4786cc
call fcn.0040496c
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
mov eax, 2
call fcn.0045d7a8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
call fcn.0045d7c8
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x47867f
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x11c]
call fcn.0040918c
push dword [ebp - 0x14]
push 0x4786e0
mov eax, dword [ebp - 0x138]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x150]
call fcn.00408b44
push dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.004049e0
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x14]
call fcn.00408e74
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x47866b
mov eax, dword [ebp - 0x138]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x47866b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov eax, dword [eax + 0x90]
call fcn.0045bf24
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x47866b
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov eax, dword [eax + 0x90]
mov edx, esi
call fcn.0045bf2c
mov edx, 0x4786ec
call fcn.0045b490
inc esi
dec ebx
jne 0x478647
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
call fcn.0045d7e8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47858c
mov eax, dword [ebp - 0x10]
call fcn.0040384c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4786bc
lea eax, [ebp - 0x154]
mov edx, 5
call fcn.0040467c
lea eax, [ebp - 0x14]
call fcn.00404658
ret
Function at 0x4789b8
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
test cl, cl
je 0x4789e6
push 2
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
movzx esi, ax
shl esi, 8
inc esi
push esi
push 0
push eax
push ebx
call sub.user32.dll_keybd_event
jmp 0x478a57
cmp byte [ebp + 8], 0
je 0x478a29
push 2
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
movzx esi, ax
shl esi, 8
mov ecx, 0x1e
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00478be8
mov ecx, 0x1f
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00478be8
push esi
push 2
push 0
push ebx
call sub.user32.dll_keybd_event
jmp 0x478a57
push 0
push 0
push 0
mov esi, ebx
and esi, 0xff
push esi
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push esi
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x478bf8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404b08
xor eax, eax
push ebp
push 0x478c5b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b18
push eax
call sub.kernel32.dll_OpenFile
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
push ebx
call sub.kernel32.dll__lclose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478c62
lea eax, [ebp - 4]
call fcn.00404658
ret

Function at 0x478c6c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x478d8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1cc]
push eax
push 2
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x478cb8
mov eax, dword [ebp - 4]
mov edx, 0x478da4
call fcn.004046ac
jmp 0x478d6a
xor eax, eax
push ebp
push 0x478d4c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x32
lea eax, [ebp - 0x3a]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
je 0x478cec
mov eax, dword [ebp - 4]
mov edx, 0x478da4
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x478d6a
lea eax, [ebp - 0x3a]
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x478d3d
xor ebx, ebx
push dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + ebx]
lea edx, [ebp - 0x1d0]
call fcn.00408b14
push dword [ebp - 0x1d0]
push 0x478db4
lea eax, [ebp - 8]
mov edx, 3
call fcn.004049e0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004046ac
inc ebx
cmp ebx, 3
jne 0x478cfd
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x478d6a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478d92
lea eax, [ebp - 0x1d0]
call fcn.00404658
lea eax, [ebp - 8]
call fcn.00404658
ret