joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8280
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660c3c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov byte [ebp - 0x219], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.004a7a70
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
lea edx, [ebp - 0x224]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x248]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a846a
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0x104
mov eax, dword [ebp - 0x220]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0062db60
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4a8456
push str.CustomData
lea eax, [ebp - 0x218]
push eax
call fcn.0062e09f
add esp, 8
test eax, eax
je 0x4a841e
push 0x18
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x238], 0
je 0x4a83b4
mov ecx, dword [ebp - 0x238]
call fcn.004aa9a0
mov dword [ebp - 0x234], eax
jmp 0x4a83be
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.0041ac50
mov ecx, dword [ebp - 0x22c]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004a84b0
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004abfe0
mov dword [ebp - 0x220], 0x104
mov edx, dword [ebp - 0x220]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
jmp 0x4a833e
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [ebp - 0x21a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0041a9d0
mov al, byte [ebp - 0x21a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 8
Function at 0x4b2320
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CRLPCU::CMsgUtil.0
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x74], 0
je 0x4b23d8
push 0xbb8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x102
jne 0x4b239e
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4b23c7
push 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x20], eax
jmp 0x4b23ce
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.004071f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.0044d080
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.0041a9d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.004dfb20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004ac090
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004071f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b5270
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662805
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
push str.MU:CTT
lea ecx, [ebp - 0x38]
call fcn.0043f3a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x78], 0
je 0x4b5366
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xbb8
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x78]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x102
jne 0x4b532c
push str.MU:CTT:TT
lea ecx, [ebp - 0x60]
call fcn.0043f3a0
mov byte [ebp - 4], 1
push 0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x78]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0043f460
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
je 0x4b5355
push 1
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x68]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x74], eax
jmp 0x4b535c
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x78], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043f460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x4bd3c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x663678
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0050a9f4
test eax, eax
je 0x4bd402
mov eax, 1
jmp 0x4bd51c
mov dword [ebp - 0x14], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x4bd436
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x74
jne 0x4bd436
mov dword [ebp - 0x14], 1
jmp 0x4bd50c
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x4bd485
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4f
je 0x4bd466
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x50
je 0x4bd466
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x4e
je 0x4bd466
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4c
jne 0x4bd485
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x4bd485
mov dword [ebp - 0x14], 1
jmp 0x4bd50c
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.004bd710
movzx eax, al
test eax, eax
je 0x4bd50c
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.0046af70
push eax
lea ecx, [ebp - 0x1c]
call fcn.004bd5c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0046af70
test eax, eax
je 0x4bd4fd
lea ecx, [ebp - 0x1c]
call fcn.0046af70
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
test eax, eax
jne 0x4bd4f0
mov dword [ebp - 0x24], 1
jmp 0x4bd4f7
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004bd690
cmp dword [ebp - 0x14], 0
je 0x4bd519
mov eax, 1
jmp 0x4bd51c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cbde0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665a11
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0
je 0x4cbe1c
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x20]
call fcn.004ce720
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.00408240
movzx edx, al
test edx, edx
jne 0x4cbe44
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.0046af70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cbe79
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.0046af70
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
call fcn.004ce720
push 0
lea ecx, [ebp - 0x18]
call fcn.004375e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.0046af70
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00469050
lea ecx, [ebp - 0x38]
call fcn.00407400
push 0
lea ecx, [ebp - 0x18]
call fcn.0040cb80
movzx eax, al
test eax, eax
je 0x4cbed7
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00437760
mov al, byte [ebp - 0xd]
jmp 0x4cbf75
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.__nodes
call fcn.0040ca80
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00437a00
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.0040d530
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040cb80
movzx eax, al
test eax, eax
je 0x4cbf47
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00437760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00437760
mov al, byte [ebp - 0xe]
jmp 0x4cbf75
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0044ebf0
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00437760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00437760
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ce750
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6660d5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
jne 0x4ce7aa
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004071f0
jmp 0x4ce831
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
lea ecx, [ebp - 0x10]
call fcn.00406e10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004081a0
test eax, eax
je 0x4ce80a
lea ecx, [ebp + 8]
call fcn.0046af70
push eax
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408770
push 0
lea ecx, [ebp - 0x10]
call fcn.0046af70
push eax
lea ecx, [ebp + 0xc]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004071f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1a00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66656f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4d1a4c
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
je 0x4d1a64
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004d2fb0
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x54], 0
je 0x4d1aa2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4d1a9b
push 1
mov ecx, dword [ebp - 0x14]
call fcn.004d2db0
mov dword [ebp - 0x1c], eax
jmp 0x4d1aa2
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x50], 0
je 0x4d1aca
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00504e94
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004d1790
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004d1790
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004071f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004071f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.004071f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4d34e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x4d34f4
xor eax, eax
jmp 0x4d3546
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 8]
cmp dword [ebp + 0xc], eax
jbe 0x4d3514
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 8]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00635466
add esp, 0x10
imul eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x4db860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 0xc], 0x104
jbe 0x4db913
call fcn.00408f00
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0041ae70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4db913
mov dword [ebp - 8], 0x104
cmp dword [ebp + 8], 0
je 0x4db909
mov eax, dword [ebp - 8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0062db60
add esp, 0xc
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4db909
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jne 0x4db909
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004dba90
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x4e2890
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 4], 0
jmp 0x4e28a9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4e28f1
mov dword [ebp - 8], 0
jmp 0x4e28c1
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jge 0x4e28ef
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x48]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov edx, dword [edx + esi*4 + 0x6ce3e8]
mov dword [eax + ecx*4], edx
jmp 0x4e28b8
jmp 0x4e28a0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x4e290a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x4e2975
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x4e2929
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 4
jge 0x4e295d
mov edx, dword [ebp - 0x18]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
or edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jl 0x4e295b
mov dword [ebp - 8], 0
jmp 0x4e2920
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x6ce3a0]
xor edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
jmp 0x4e2901
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
jmp 0x4e2995
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x4e29ca
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e2a50
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
jmp 0x4e298c
mov dword [ebp - 4], 0
jmp 0x4e29dc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4e2a42
mov dword [ebp - 8], 0
jmp 0x4e29f4
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jge 0x4e2a40
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e2a50
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x48]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
jmp 0x4e29eb
jmp 0x4e29d3
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e4670
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668534
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
push 0x6d08b8
mov ecx, dword [ebp - 0x10]
call fcn.0041aa50
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041a9f0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0041a9f0
mov byte [ebp - 4], 6
lea edx, [ebp + 0x20]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0041a9f0
mov byte [ebp - 4], 7
lea eax, [ebp + 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041a9f0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x38]
mov dword [ecx + 0x3c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.0041a9d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.0041a9d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c]
call fcn.0041a9d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4f64a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669bab
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x359], 0
mov eax, 1
test eax, eax
je 0x4f6639
call fcn.004122d0
movzx ecx, al
test ecx, ecx
je 0x4f6639
mov dword [ebp - 0x360], 0
push 0x44
push 0
lea edx, [ebp - 0x3c4]
push edx
call fcn.0062db60
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x380]
push eax
call fcn.0062db60
add esp, 0xc
mov dword [ebp - 0x3c4], 0x44
lea ecx, [ebp - 0x370]
push ecx
call fcn.004f7410
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x370]
call fcn.0041ae70
push eax
call fcn.0044b4a0
movzx edx, al
test edx, edx
jne 0x4f655c
jmp 0x4f6600
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x3c4]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x370]
call fcn.0041ae90
add eax, 1
push eax
lea ecx, [ebp - 0x370]
call fcn.0041af10
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4f65e6
push 0xffffffffffffffff
mov edx, dword [ebp - 0x380]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x364], 0
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x380]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, 1
jne 0x4f65e6
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x380]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x360], 0
jne 0x4f6612
mov byte [ebp - 0x35a], 0
jmp 0x4f6619
mov byte [ebp - 0x35a], 1
mov dl, byte [ebp - 0x35a]
mov byte [ebp - 0x359], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x370]
call fcn.0041a9d0
jmp 0x4f6677
push 0x348
push 0
lea eax, [ebp - 0x358]
push eax
call fcn.0062db60
add esp, 0xc
push 3
lea ecx, [ebp - 0x358]
push ecx
call fcn.004f6db0
add esp, 8
push 3
lea edx, [ebp - 0x358]
push edx
call fcn.004f7030
add esp, 8
mov byte [ebp - 0x359], al
mov al, byte [ebp - 0x359]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret