joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a817f
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa4bee8]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4a81ba
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa4bee8]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4a8c68
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa4bee8]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4b1fd7
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa4bee8]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4b2100
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa4bee8]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4b2275
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa4bee8]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4b27a9
add dword [esp], 5
retf

Function at 0x4b565c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004c19e0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b56a1
push ebx
call fcn.004c0f2f
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 0x4b56d6
push 0x36
push 0x4010a57
push 6
call fcn.004c0f35
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b56f2
push eax
mov ebx, eax
call fcn.00495d22
inc eax
push eax
call fcn.004c0f29
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4b56f7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b5708
push ebx
call fcn.004c0f2f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4c24e0
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.004c1210
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x4c2537
push ebx
push edi
call fcn.004c1320
push esi
mov ebx, esi
call fcn.004c1210
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x4c250e
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4c2f40
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]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4c2fd2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4c2fc4
mov ebp, dword [sym.imp.kernel32.dll_WriteFile]
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 0x4c2fbc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4c2f85
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
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]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4c2fe0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
ret
Function at 0x4dc36b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4dc38d
mov eax, 0xfffffffd
jmp 0x4dc46d
mov ebx, dword [0xd2b45e]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4dc43b
mov ebx, dword [0xd2b45e]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x4dc3dc
mov ebx, dword [0xd2b45e]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x4dc3dc
mov eax, 1
jmp 0x4dc3e1
mov eax, 0
test eax, eax
je 0x4dc40d
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4dc3f6
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 [0xd2b45e]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4dc463
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4dc46d
mov esp, ebp
pop ebp
ret 4

Function at 0x4dc5ea
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4dc69d
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 0x4dcc08
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.0056b31a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dcc4d
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xa5f8b9
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004d67e9
add esp, 8
cmp eax, 0
jne 0x4dccc8
call fcn.004dcd4c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0xd2b466]
test ebx, ebx
je 0x4dcc8b
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov dword [0xd2b466], eax
mov eax, dword [0xd2b466]
test eax, eax
je 0x4dccaf
push eax
mov ebx, eax
call fcn.004d6722
inc eax
push eax
call fcn.005693ad
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 0x4dccc2
push ebx
call fcn.005693b3
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 0x4dcd03
push 0x202
push 0x4025ae0
push 6
call fcn.005693b9
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4dcd16
mov eax, 0xa5f8b9
push eax
push 1
mov ebx, 0x170
call fcn.0056b35a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4dcd34
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dcd45
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4dcd4c
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.0056b31a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dcd91
push ebx
call fcn.005693b3
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 0x4dcdc6
push 0x36
push 0x4025af6
push 6
call fcn.005693b9
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4dcdd9
mov eax, 0xa5f8b9
push eax
push 1
mov ebx, 0x170
call fcn.0056b35a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4dcdf7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dce08
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4dce0d
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.0056b31a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dce52
push ebx
call fcn.005693b3
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 0x4dce87
push 0x36
push 0x4025ae1
push 6
call fcn.005693b9
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4dcea3
push eax
mov ebx, eax
call fcn.004d6722
inc eax
push eax
call fcn.005693ad
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4dcea8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dceb9
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4dd221
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.004dc5ea
test eax, eax
je 0x4dd264
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4dd264
cmp word [eax], 0x5a4d
jne 0x4dd264
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4dd264
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004dc6bc
mov eax, dword [ebp + 8]
jmp 0x4dd27d
mov esp, ebp
pop ebp
ret 4
Function at 0x4dffa2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0056b31a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4dffe7
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4e001f
push 0x36
push 0x4010eb0
push 6
call fcn.005693b9
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e003b
push eax
mov ebx, eax
call fcn.004d6722
inc eax
push eax
call fcn.005693ad
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4e0040
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e0051
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

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

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

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

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

Function at 0x4e1ea1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4e1f21
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4e1f21
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4e1f21
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 0x4e1f21
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 0x4e1f12
test bl, bl
je 0x4e1f25
dec eax
mov eax, edx
jmp 0x4e1efe
inc ebp
test al, al
je 0x4e1f25
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 0x4e1ef9
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4e1ee5
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4e1f1f
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 0x4e1f78
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4e1fb0
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4e1f9e
mov al, 1
jmp 0x4e200f
cmp dword [ebx + 0x54], ecx
jne 0x4e1fa7
mov al, 2
jmp 0x4e200f
cmp dword [ebx + 0x7c], ecx
jne 0x4e200f
mov al, 3
jmp 0x4e200f
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4e1fc5
mov al, 4
jmp 0x4e200f
cmp ecx, 5
jne 0x4e1fe5
cmp ebx, 0
jne 0x4e1fd3
mov al, 5
jmp 0x4e200f
cmp ebx, 1
jne 0x4e1fdc
mov al, 6
jmp 0x4e200f
cmp ebx, 2
jne 0x4e1fe5
mov al, 7
jmp 0x4e200f
cmp ecx, 6
jne 0x4e200d
cmp ebx, 0
jne 0x4e1ff3
mov al, 8
jmp 0x4e200f
cmp ebx, 1
jne 0x4e1ffa
mov al, 9
cmp ebx, 2
jne 0x4e2001
mov al, 0xa
cmp ebx, 3
jne 0x4e2008
mov al, 0xb
cmp ebx, 4
jne 0x4e200f
mov al, 0xc
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4e204c
add dword [esp], 5
retf

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

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

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

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4e276d
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4e283d
add dword [esp], 5
retf
Function at 0x4e7952
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004e7a2c
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4e798d
add dword [esp], 5
retf
Function at 0x4e7dcb
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x4e7e18
mov al, cl
cmp al, 0x61
jb 0x4e7df3
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4e7e18
mov al, cl
cmp al, 0x61
jb 0x4e7e0b
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x4e7de4
cmp edx, dword [esp + 0x18]
je 0x4e7e28
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x4e7ddd
xor eax, eax
jmp 0x4e7e2b
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x4e7e33
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x4e7f1a
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x4e7f20
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4e7e7f
cmp al, 0x61
jb 0x4e7e77
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4e7e6a
cmp edx, dword [esp + 0x14]
je 0x4e7e8f
dec ecx
jne 0x4e7e5f
xor eax, eax
jmp 0x4e7f1a
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x4e7f1a
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4e7f1a
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x4e7ecb
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x4e7eda
jmp 0x4e7ec2
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.004e7dcb
test eax, eax
je 0x4e7f1a
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4e7f15
cmp al, 0x61
jb 0x4e7f0d
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4e7f00
call fcn.004e7e33
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x4e7f38
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x4e7f38
sub edx, ecx
mov ecx, edx
jmp 0x4e7e8f
xor eax, eax
jmp 0x4e7f1a
Function at 0x4e9182
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4e91ba
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4e91a8
mov al, 1
jmp 0x4e9219
cmp dword [ebx + 0x54], ecx
jne 0x4e91b1
mov al, 2
jmp 0x4e9219
cmp dword [ebx + 0x7c], ecx
jne 0x4e9219
mov al, 3
jmp 0x4e9219
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4e91cf
mov al, 4
jmp 0x4e9219
cmp ecx, 5
jne 0x4e91ef
cmp ebx, 0
jne 0x4e91dd
mov al, 5
jmp 0x4e9219
cmp ebx, 1
jne 0x4e91e6
mov al, 6
jmp 0x4e9219
cmp ebx, 2
jne 0x4e91ef
mov al, 7
jmp 0x4e9219
cmp ecx, 6
jne 0x4e9217
cmp ebx, 0
jne 0x4e91fd
mov al, 8
jmp 0x4e9219
cmp ebx, 1
jne 0x4e9204
mov al, 9
cmp ebx, 2
jne 0x4e920b
mov al, 0xa
cmp ebx, 3
jne 0x4e9212
mov al, 0xb
cmp ebx, 4
jne 0x4e9219
mov al, 0xc
pop ebx
leave
ret

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

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

Function at 0x4ea265
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.0056b31a
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ea2aa
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4ea2df
push 0x36
push 0x4012a84
push 6
call fcn.005693b9
add esp, 0xc
push 0xa5f9d1
push dword [ebp - 4]
mov ecx, 2
call fcn.004d678d
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4ea2ff
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ea310
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4ec1c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], esp
mov eax, dword [0xd2b4d2]
push eax
push 0x24
call fcn.005693ad
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4ec275
push 0
push 0x4010cd5
push 6
call fcn.005693b9
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [ebp - 0xc]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.005693b3
add esp, 4
mov ebx, dword [0xd2b4d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp word [ebx], 6
je 0x4ec330
mov ebx, dword [0xd2b4d2]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 9
je 0x4ec330
mov ebx, dword [0xd2b4d2]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 0xa
je 0x4ec330
xor eax, eax
jmp 0x4ec335
mov eax, 1
mov dword [0xd2b4d6], eax
mov eax, dword [0xd2b4d6]
jmp 0x4ec344
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4f331b
add dword [esp], 5
retf
Function at 0x4f5dad
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4f5e06
push 0x19
push 0x401472c
push 6
call fcn.005693b9
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x1f4
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4f5e3a
push 0x5d
push 0x401472c
push 6
call fcn.005693b9
add esp, 0xc
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4f5e66
push 0x80
push 0x401472c
push 6
call fcn.005693b9
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x4f5e6e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f6fbc
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CheckRemoteDebuggerPresent]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4f6ffc
push 0
push 0x402542d
push 6
call fcn.005693b9
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x4f7004
mov esp, ebp
pop ebp
ret 4
Function at 0x4fc5a3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4fc5db
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4fc5c9
mov al, 1
jmp 0x4fc63a
cmp dword [ebx + 0x54], ecx
jne 0x4fc5d2
mov al, 2
jmp 0x4fc63a
cmp dword [ebx + 0x7c], ecx
jne 0x4fc63a
mov al, 3
jmp 0x4fc63a
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4fc5f0
mov al, 4
jmp 0x4fc63a
cmp ecx, 5
jne 0x4fc610
cmp ebx, 0
jne 0x4fc5fe
mov al, 5
jmp 0x4fc63a
cmp ebx, 1
jne 0x4fc607
mov al, 6
jmp 0x4fc63a
cmp ebx, 2
jne 0x4fc610
mov al, 7
jmp 0x4fc63a
cmp ecx, 6
jne 0x4fc638
cmp ebx, 0
jne 0x4fc61e
mov al, 8
jmp 0x4fc63a
cmp ebx, 1
jne 0x4fc625
mov al, 9
cmp ebx, 2
jne 0x4fc62c
mov al, 0xa
cmp ebx, 3
jne 0x4fc633
mov al, 0xb
cmp ebx, 4
jne 0x4fc63a
mov al, 0xc
pop ebx
leave
ret