joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b930
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b0123
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005a2d8a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.005a8420
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005a993c
test eax, eax
je 0x47ba4c
mov ecx, dword [esp + 0x3c]
call fcn.005a844d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA_1]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x47ba10
push edi
mov ecx, esi
call fcn.005a5ab5
mov ecx, esi
call fcn.0047bbf0
cmp dword [esp + 0x38], 1
jne 0x47ba45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005a5bf0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x47dc70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x47dca3
push esi
call fcn.0048c010
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47dc9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x47dd29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x47dd12
mov eax, dword [esi + 8]
test eax, eax
je 0x47dcc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47dd0e
cmp eax, 2
je 0x47dd12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47dcba
cmp eax, 3
je 0x47dced
cmp eax, 1
jne 0x47dcba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47dcba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47dcba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0047dd50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x47dd38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0047dd50
add esp, 4
pop esi
ret

Function at 0x47e5c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x47e5e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x47e5e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x47e5e1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess_1]

Function at 0x49b8b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x49b953
test eax, eax
jbe 0x49b953
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x49b953
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA_1]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x49b8fe
xor esi, esi
jmp 0x49b904
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x49b92f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004a01d0
add esi, eax
push esi
mov ebx, esi
call fcn.004a01d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x49b910
pop ebp
test edi, edi
pop edi
jne 0x49b953
test ebx, ebx
je 0x49b953
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00592000
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x49bcd5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49bded
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49bded
mov eax, dword [esi + 0x3c]
push eax
call fcn.005a31dc
mov esi, eax
test esi, esi
je 0x49bded
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA_1]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49bded
mov ecx, esi
call fcn.0049bb90
cmp edi, eax
jge 0x49bded
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x49bd73
mov dword [esp + 0x34], 1
jmp 0x49bdce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49bded
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen_1]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00499150
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4ae6c6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x4ae6fd
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004d7110
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ae732
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004d7110
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ae76b
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov dword [ebp - 8], eax
call fcn.004ae8a4
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 3
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4ae796
mov eax, 0x5ff93c
push eax
push 2
mov ebx, 0x134
call fcn.004d6b60
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ae7bc
push ebx
call fcn.004d593a
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.004ae9ad
mov dword [ebp - 0x1c], eax
push 0xff
push dword [ebp - 8]
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0xff
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0xff
push dword [ebp - 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ae813
push ebx
call fcn.004d593a
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x4ae845
push 0x80000401
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.004d61f0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x4ae87e
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x4ae87e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ae88f
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ae89f
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4ae8a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004d7110
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ae8f0
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4ae907
mov eax, 0x5ff93c
push eax
push 1
mov ebx, 0x130
call fcn.004d6490
add esp, 0x10
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA_1]
nop
nop
nop
nop
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4ae948
mov eax, 0x5ff93c
push eax
push 2
mov ebx, 0x134
call fcn.004d6b60
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ae972
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ae992
push eax
mov ebx, eax
call fcn.004a0312
inc eax
push eax
call fcn.004d5934
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4ae997
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ae9a8
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4b063e
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
jmp 0x4b0660
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x184
call fcn.004d7110
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b0695
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b06ac
mov eax, 0x5ff93c
push eax
push 1
mov ebx, 0x130
call fcn.004d6490
add esp, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b0701
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b06fc
push eax
mov ebx, eax
call fcn.004a0312
inc eax
push eax
call fcn.004d5934
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4b073a
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4b073a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b074b
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4b2036
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread_1]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
mov eax, 0
setne al
jmp 0x4b2065
mov esp, ebp
pop ebp
ret 4
Function at 0x4b20cb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread_1]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x4b211e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
nop
nop
nop
nop
jmp 0x4b2126
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x4b2137
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4b8306
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 0xc
call fcn.004d5934
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x4b834e
mov ebx, dword [ebp + 8]
push dword [ebx]
push 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
push 0x64
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject_1]
nop
nop
nop
nop
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x102
jne 0x4b83ae
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
nop
nop
nop
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
nop
nop
nop
nop
push 0
call fcn.004d595e
add esp, 4
jmp 0x4b83be
mov ebx, dword [ebp - 8]
push ebx
call fcn.004d593a
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7ba0
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret

Function at 0x4d7c10
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA_1]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4d7c79
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize_1]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004d5b60
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile_1]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x4d7c80
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA_1]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4d7d12
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4d7d04
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile_1]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4d7cfc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4d7cc5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4d7d90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4d7dae
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4d7da3
pop esi
ret
Function at 0x4d8290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x4d82b1
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x4d830b
inc edi
cmp edi, esi
jl 0x4d82a5
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x4d8340
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x4d82fa
cmp byte [eax], bl
je 0x4d8315
cmp byte [eax + 1], bl
je 0x4d831e
cmp byte [eax + 2], bl
je 0x4d8328
cmp byte [eax + 3], bl
je 0x4d8334
add eax, 4
cmp eax, edi
jb 0x4d82d1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x4e408d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4e4097
add dword [esp], 5
retf

Function at 0x4e4255
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4e425f
add dword [esp], 5
retf

Function at 0x4e42ea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4e436a
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4e436a
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4e436a
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x4e436a
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x4e435b
test bl, bl
je 0x4e436e
dec eax
mov eax, edx
jmp 0x4e4347
inc ebp
test al, al
je 0x4e436e
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x4e4342
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4e432e
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4e4368
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x4e43db
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4e43e5
add dword [esp], 5
retf
Function at 0x4e93ed
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4e940f
mov eax, 0xfffffffd
jmp 0x4e94ef
mov ebx, dword [0xdc1e7f]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4e94bd
mov ebx, dword [0xdc1e7f]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x4e945e
mov ebx, dword [0xdc1e7f]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x4e945e
mov eax, 1
jmp 0x4e9463
mov eax, 0
test eax, eax
je 0x4e948f
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4e9478
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0xdc1e7f]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4e94e5
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4e94ef
mov esp, ebp
pop ebp
ret 4

Function at 0x4e966c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4e971f
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x4e9c8a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0057e970
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e9ccf
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x611cd5
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004e8a7e
add esp, 8
cmp eax, 0
jne 0x4e9d4a
call fcn.004e9dce
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0xdc1e87]
test ebx, ebx
je 0x4e9d0d
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [0xdc1e87], eax
mov eax, dword [0xdc1e87]
test eax, eax
je 0x4e9d31
push eax
mov ebx, eax
call fcn.004e5458
inc eax
push eax
call fcn.0057c976
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e9d44
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4e9d85
push 0x202
push 0x402beab
push 6
call fcn.0057c982
add esp, 0xc
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4e9d98
mov eax, 0x611cd5
push eax
push 1
mov ebx, 0x170
call fcn.0057e9b0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4e9db6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e9dc7
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4e9dce
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0057e970
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e9e13
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4e9e48
push 0x36
push 0x402bec1
push 6
call fcn.0057c982
add esp, 0xc
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4e9e5b
mov eax, 0x611cd5
push eax
push 1
mov ebx, 0x170
call fcn.0057e9b0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4e9e79
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e9e8a
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4e9e8f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0057e970
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e9ed4
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4e9f09
push 0x36
push 0x402beac
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e9f25
push eax
mov ebx, eax
call fcn.004e5458
inc eax
push eax
call fcn.0057c976
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4e9f2a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e9f3b
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4ea2a3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004e966c
test eax, eax
je 0x4ea2e6
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4ea2e6
cmp word [eax], 0x5a4d
jne 0x4ea2e6
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4ea2e6
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004e973e
mov eax, dword [ebp + 8]
jmp 0x4ea2ff
mov esp, ebp
pop ebp
ret 4