joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ae9b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4ae677
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004072c8
push eax
call sub.kernel32.dll_LoadLibraryExW_1
mov dword [ebp - 0x28], eax
jmp 0x4ae680
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4ae99b
xor eax, eax
push ebp
push 0x4ae7b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
push eax
push 1
push 0x10
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_FindResourceExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4ae6c0
call fcn.00405de4
jmp 0x4ae99b
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4ae6e0
call fcn.00405de4
jmp 0x4ae99b
xor eax, eax
push ebp
push 0x4ae789
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x10
xor ecx, ecx
call fcn.0040706c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406ad8
test eax, eax
jle 0x4ae772
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4ae76b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406ad8
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406b9c
mov edx, eax
mov eax, dword [ebp - 0x34]
pop ecx
call fcn.00404860
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae772
mov eax, dword [ebp - 0x30]
call fcn.0040bd54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae790
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae9c0
lea eax, [ebp - 0x14]
call fcn.004065f8
lea eax, [ebp - 0xc]
call fcn.004065f8
ret
Function at 0x4afb40
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
push 0x40
push 0x1000
push 0x228
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4afca9
lea eax, [ebp - 0x248]
mov edx, 0x228
call fcn.0042a710
mov byte [ebp - 0x248], 0x68
mov eax, dword [ebp - 4]
add eax, 0x1e
mov dword [ebp - 0x247], eax
mov word [ebp - 0x243], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x16
mov dword [ebp - 0x241], eax
mov byte [ebp - 0x23d], 0x68
xor eax, eax
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x1a
mov dword [ebp - 0x236], eax
push 0x4afcb0
mov eax, dword [0x591490]
mov eax, dword [eax]
push eax
call fcn.0040b678
mov dword [ebp - 0x232], eax
push 0x4afccc
mov eax, dword [0x591490]
mov eax, dword [eax]
push eax
call fcn.0040b678
mov dword [ebp - 0x22e], eax
mov eax, dword [ebp - 0xc]
call fcn.00406acc
add eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x4afc2c
mov eax, dword [ebp - 0xc]
call fcn.004072c8
lea edx, [ebp - 0x22a]
mov ecx, dword [ebp - 0x14]
call fcn.00404860
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x228
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4afca9
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4afca9
xor eax, eax
push ebp
push 0x4afca2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afca9
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x4afcf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x4afd82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
jne 0x4afd82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov edx, dword [edx + 8]
add eax, dword [edx + 0x3c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0x4550
jne 0x4afd82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x4afd82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x18], 0x10b
jne 0x4afd82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 4], eax
pop ebp
ret
Function at 0x4c7780
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004066dc
xor eax, eax
push ebp
push 0x4c78cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00428200
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.00406a04
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c78ad
mov eax, dword [ebp - 0x14]
call fcn.0040464c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4c78a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4c7890
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4c78dc
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4c7890
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
shr eax, 0x10
and ax, 0xffff
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
and ax, 0xffff
mov edx, dword [ebp - 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
shr eax, 0x10
and ax, 0xffff
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
and ax, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], ax
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78ad
mov eax, dword [ebp - 0x1c]
call fcn.00404668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78d2
lea eax, [ebp - 0x28]
call fcn.004065f8
lea eax, [ebp - 4]
call fcn.004065f8
ret
Function at 0x4c79d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x590fe0]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xffffffff
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4c7aa7
xor eax, eax
push ebp
push 0x4c7aa0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x4c7a89
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetFileSize
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
lea eax, [ebp - 0x2c]
mov edx, 0x10
call fcn.0042a710
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0040b4e8
test eax, eax
je 0x4c7a89
lea eax, [ebp - 0x2c]
call fcn.004208d4
mov eax, dword [ebp - 8]
fstp qword [eax]
wait
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7aa7
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x4ca250
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
xor ebx, ebx
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x4ca273
call fcn.004ca1b0
jmp 0x4ca2f4
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 1
push 6
mov eax, dword [esi]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4ca29e
call fcn.004ca1b0
mov eax, esi
call fcn.004ca220
jmp 0x4ca2f4
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 8
push 0xffff
mov eax, dword [esi]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4ca2cc
call fcn.004ca1b0
mov eax, esi
call fcn.004ca220
jmp 0x4ca2f4
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [esi]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x4ca2f2
call fcn.004ca1b0
mov eax, esi
call fcn.004ca220
jmp 0x4ca2f4
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret

Function at 0x4ca300
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov edi, edx
mov ebx, eax
lea ebp, [esp + 8]
mov byte [esp], 0
mov eax, ebp
xor ecx, ecx
mov edx, 0x10
call fcn.00404c74
mov word [ebp], 2
push ebx
call sub.wsock32.dll_htons_1
mov word [ebp + 2], ax
push 0x7f000001
call sub.wsock32.dll_htonl
mov dword [ebp + 4], eax
push 0x10
push ebp
mov eax, dword [edi]
push eax
call sub.wsock32.dll_bind
mov esi, eax
inc esi
jne 0x4ca368
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca33e
cmp bl, 1
je 0x4ca368
mov eax, edi
call fcn.004ca220
jmp 0x4ca3ca
mov dword [esp + 4], 0x10
lea eax, [esp + 4]
push eax
push ebp
mov eax, dword [edi]
push eax
call sub.wsock32.dll_getsockname
mov esi, eax
inc esi
jne 0x4ca39d
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca368
cmp bl, 1
je 0x4ca39d
mov eax, edi
call fcn.004ca220
jmp 0x4ca3ca
push 5
mov eax, dword [edi]
push eax
call sub.wsock32.dll_listen
mov esi, eax
inc esi
jne 0x4ca3c6
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca39d
cmp bl, 1
je 0x4ca3c6
mov eax, edi
call fcn.004ca220
jmp 0x4ca3ca
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ca3e0
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffcd4
mov ebp, edx
mov esi, eax
mov byte [esp], 0
lea eax, [esp + 0x10]
xor ecx, ecx
mov edx, 0x104
call fcn.00404c74
lea eax, [esp + 0x114]
xor ecx, ecx
mov edx, 0x104
call fcn.00404c74
lea eax, [esp + 0x218]
xor ecx, ecx
mov edx, 0x104
call fcn.00404c74
lea eax, [esp + 0x10]
call fcn.004c97e8
lea edx, [esp + 0x10]
mov eax, dword [esi]
call fcn.004c97d8
lea eax, [esp + 0x114]
call fcn.004c97e8
lea edx, [esp + 0x114]
mov eax, dword [esi]
call fcn.004c97d8
lea eax, [esp + 0x218]
call fcn.004c97e8
lea edx, [esp + 0x218]
mov eax, dword [esi]
call fcn.004c97d8
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
xor edi, edi
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x120]
push eax
mov eax, dword [esi]
inc eax
push eax
call sub.wsock32.dll_select
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ca4b4
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca47e
test edi, edi
jle 0x4ca50d
cmp dword [esp + 0x218], 0
jle 0x4ca4cb
mov eax, esi
call fcn.004ca220
jmp 0x4ca50d
cmp dword [esp + 0x114], 0
jle 0x4ca50d
mov dword [esp + 0xc], 0x10
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x320]
push eax
mov eax, dword [esi]
push eax
call sub.wsock32.dll_accept
mov dword [ebp], eax
cmp dword [ebp], 0xffffffff
jne 0x4ca509
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca4d5
jmp 0x4ca50d
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x32c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ca520
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef0
mov esi, eax
mov byte [esp], 0
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 8
call fcn.00404c74
lea eax, [esp + 0xc]
xor ecx, ecx
mov edx, 0x104
call fcn.00404c74
lea eax, [esp + 0xc]
call fcn.004c97e8
lea edx, [esp + 0xc]
mov eax, dword [esi]
call fcn.004c97d8
xor edi, edi
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
inc eax
push eax
call sub.wsock32.dll_select
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ca598
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca565
mov eax, esi
call fcn.004ca220
jmp 0x4ca5af
test edi, edi
jle 0x4ca5af
lea edx, [esp + 0xc]
mov eax, dword [esi]
call fcn.004c97c0
test al, al
je 0x4ca5af
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x110
pop edi
pop esi
pop ebx
ret
Function at 0x4ca5c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [esi]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4ca606
call fcn.004ca1b0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 2
je 0x4ca5d0
cmp byte [ebp - 9], 1
je 0x4ca623
mov eax, esi
call fcn.004ca220
jmp 0x4ca623
test ebx, ebx
jg 0x4ca613
mov eax, esi
call fcn.004ca220
jmp 0x4ca623
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
cmp ebx, dword [ebp - 8]
jge 0x4ca5d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ca630
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov ebp, edx
mov edi, eax
or esi, 0xffffffff
push 0
mov eax, dword [esp + 4]
push eax
push ebp
mov eax, dword [edi]
push eax
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ca676
call fcn.004ca1b0
mov ebx, eax
cmp bl, 2
je 0x4ca641
cmp bl, 1
je 0x4ca670
mov eax, edi
call fcn.004ca220
mov dword [esp + 4], esi
jmp 0x4ca67a
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d32e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d3487
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov edx, 0x4d34a0
mov eax, dword [ebp - 8]
call fcn.0044b5a0
call fcn.0044b7a0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409ec8
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x4d34b4
mov eax, dword [ebp - 8]
call fcn.0044b5a0
pop edx
call fcn.0044b6d0
mov edx, 0x4d34c8
mov eax, dword [ebp - 8]
call fcn.0044b5a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.0044b750
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00409ec8
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x4d34e4
mov eax, dword [ebp - 8]
call fcn.0044b5a0
pop edx
call fcn.0044b6d0
mov eax, dword [ebp - 4]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov edx, 0x4d3504
mov eax, dword [ebp - 8]
call fcn.0044b5a0
call fcn.0044b7a0
mov edx, 0x4d3534
mov eax, dword [ebp - 8]
call fcn.0044b5a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
call fcn.0044b6d0
mov edx, 0x4d3550
mov eax, dword [ebp - 8]
call fcn.0044b5a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c]
call fcn.0044b6d0
mov edx, 0x4d3568
mov eax, dword [ebp - 8]
call fcn.0044b5a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.0044b6d0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00409ec8
mov eax, dword [ebp - 0x14]
push eax
mov edx, 0x4d3590
mov eax, dword [ebp - 8]
call fcn.0044b5a0
pop edx
call fcn.0044b6d0
mov edx, 0x4d35ac
mov eax, dword [ebp - 8]
call fcn.0044b5a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
call fcn.0044b6d0
mov eax, dword [ebp - 4]
push dword [eax + 0x44]
push dword [eax + 0x40]
mov edx, 0x4d35d0
mov eax, dword [ebp - 8]
call fcn.0044b5a0
call fcn.0044b7a0
mov eax, dword [ebp - 4]
push dword [eax + 0x4c]
push dword [eax + 0x48]
mov edx, 0x4d3604
mov eax, dword [ebp - 8]
call fcn.0044b5a0
call fcn.0044b7a0
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov edx, 0x4d3658
mov eax, dword [ebp - 8]
call fcn.0044b5a0
call fcn.0044b7a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d348e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406658
ret
Function at 0x4d93e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.0042a710
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004072c8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4d944a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4d9460
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4d958b
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp - 1]
mov byte [ebp - 9], al
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x440680]
call fcn.00440900
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d9569
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.004416e0
mov cl, 1
mov edx, 0x4d95a4
mov eax, dword [ebp - 8]
call fcn.004410e0
test al, al
jne 0x4d94d4
call fcn.00405de4
jmp 0x4d9570
mov edx, 0x4d960c
mov eax, dword [ebp - 8]
call fcn.00440b30
mov edx, 0x4d9634
mov eax, dword [ebp - 8]
call fcn.00440b30
cmp byte [ebp - 9], 0
je 0x4d9535
lea ecx, [ebp - 0x10]
mov edx, 0x4d9664
mov eax, dword [ebp - 8]
call fcn.00441660
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.004d9350
mov edx, dword [ebp - 0x14]
pop eax
call fcn.00407650
je 0x4d9553
lea eax, [ebp - 0x18]
call fcn.004d9350
mov ecx, dword [ebp - 0x18]
mov edx, 0x4d9664
mov eax, dword [ebp - 8]
call fcn.00441740
jmp 0x4d9553
mov edx, 0x4d9664
mov eax, dword [ebp - 8]
call fcn.00441710
test al, al
je 0x4d9553
mov edx, 0x4d9664
mov eax, dword [ebp - 8]
call fcn.00440b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9570
mov eax, dword [ebp - 8]
call fcn.00404fec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9592
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00406658
ret
Function at 0x4de440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 4
jb 0x4de5a7
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406b9c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 2
jne 0x4de5a7
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
add eax, 4
cmp eax, dword [ebp - 8]
jne 0x4de5a7
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
sub al, 1
jb 0x4de498
sub al, 4
jb 0x4de4ed
jmp 0x4de5a7
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
cmp eax, 0x14
jne 0x4de5a7
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406b9c
add eax, 4
mov edx, dword [ebp - 4]
mov esi, eax
lea edi, [edx + 0x4c]
movsd dword es:[edi], dword [esi]
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 eax, dword [ebp - 4]
add eax, 0x4c
push eax
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ddf64]
call fcn.004de230
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4de5a7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00406ad8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [eax + 2]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x44
xor ecx, ecx
call fcn.0040706c
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 0
jbe 0x4de548
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00406b9c
mov edx, dword [ebp - 0x14]
add eax, edx
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406b9c
add eax, 4
mov edx, dword [ebp - 0x10]
movzx ecx, word [edx + 2]
pop edx
call fcn.00404860
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 2
je 0x4de55a
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 4
jne 0x4de5a7
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 2
jne 0x4de569
mov byte [ebp - 0x19], 3
jmp 0x4de56d
mov byte [ebp - 0x19], 2
mov eax, dword [ebp - 4]
add eax, 0x4c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov cl, byte [ebp - 0x19]
mov dl, 1
mov eax, dword [0x4ddf64]
call fcn.004de230
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0x44
xor ecx, ecx
xor edx, edx
call fcn.0040706c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
push fcn.004de130
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00406ad8
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406b9c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
call sub.kernel32.dll_ReadFileEx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4de5ed
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov al, byte [ebp - 9]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4de710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4de7de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0042cac0
test eax, eax
jne 0x4de744
mov byte [ebp - 5], 1
jmp 0x4de7c8
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0042ca90
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0042c940
mov eax, dword [ebp - 0xc]
call fcn.00406ad8
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406b9c
push eax
lea eax, [ebp - 0xc]
call fcn.00406b9c
pop edx
pop ecx
call fcn.00404860
push 0x4de0e0
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406ad8
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406b9c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
call sub.kernel32.dll_WriteFileEx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4de7c8
mov eax, dword [ebp - 4]
mov byte [eax + 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de7e5
lea eax, [ebp - 0xc]
call fcn.0040661c
ret