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

Disassembly:
push 0xffffffffffffffff
push 0x577158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0056f819
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004769e0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0056f747
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0056c00b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0056c00b
push 1
push 0
push 0
mov ecx, esi
call fcn.0056bfb3
push 1
push 0
push 1
mov ecx, esi
call fcn.0056bfb3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056f88b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x477200
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x577178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0056f819
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004769e0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0056f747
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4772c4
cmp dword [esp + 0x40], 1
jne 0x4772c2
cmp ecx, eax
jge 0x4772c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4772d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00477080
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056f88b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x477ad0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x577223
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.0056a429
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.0056fac1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00570fdd
test eax, eax
je 0x477bec
mov ecx, dword [esp + 0x3c]
call fcn.0056faee
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 0x477bb0
push edi
mov ecx, esi
call fcn.0056d157
mov ecx, esi
call fcn.00477d90
cmp dword [esp + 0x38], 1
jne 0x477be5
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.0056d292
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 0x479dd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x479e03
push esi
call fcn.00488170
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x479dfc
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 0x479e89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x479e72
mov eax, dword [esi + 8]
test eax, eax
je 0x479e27
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 0x479e6e
cmp eax, 2
je 0x479e72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x479e1a
cmp eax, 3
je 0x479e4d
cmp eax, 1
jne 0x479e1a
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 0x479e1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x479e1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00479eb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x479e98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00479eb0
add esp, 4
pop esi
ret

Function at 0x47a720
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x47a741
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x47a741
mov eax, dword [eax + 0x44]
test eax, eax
je 0x47a741
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 0x4959d0
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 0x495a73
test eax, eax
jbe 0x495a73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x495a73
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 0x495a1e
xor esi, esi
jmp 0x495a24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x495a4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00435a20
add esi, eax
push esi
mov ebx, esi
call fcn.00435a20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x495a30
pop ebp
test edi, edi
pop edi
jne 0x495a73
test ebx, ebx
je 0x495a73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00558c50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x495b95
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 0x495cad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x495cad
mov eax, dword [esi + 0x3c]
push eax
call fcn.0056a87b
mov esi, eax
test esi, esi
je 0x495cad
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 0x495cad
mov ecx, esi
call fcn.00495b20
cmp edi, eax
jge 0x495cad
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 0x495c33
mov dword [esp + 0x34], 1
jmp 0x495c8e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x495cad
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.004950c0
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 0x49fd61
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x49fd83
mov eax, 0xfffffffd
jmp 0x49fe63
mov ebx, dword [0xafe4f6]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x49fe31
mov ebx, dword [0xafe4f6]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x49fdd2
mov ebx, dword [0xafe4f6]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x49fdd2
mov eax, 1
jmp 0x49fdd7
mov eax, 0
test eax, eax
je 0x49fe03
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x49fdec
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 [0xafe4f6]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x49fe59
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x49fe63
mov esp, ebp
pop ebp
ret 4

Function at 0x49ffe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4a0093
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 0x4a05fe
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.0052ed10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a0643
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x832951
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0049a1df
add esp, 8
cmp eax, 0
jne 0x4a06be
call fcn.004a0742
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0xafe4fe]
test ebx, ebx
je 0x4a0681
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [0xafe4fe], eax
mov eax, dword [0xafe4fe]
test eax, eax
je 0x4a06a5
push eax
mov ebx, eax
call fcn.0049a118
inc eax
push eax
call fcn.0052cda3
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 0x4a06b8
push ebx
call fcn.0052cda9
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 0x4a06f9
push 0x202
push 0x4025ae0
push 6
call fcn.0052cdaf
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4a070c
mov eax, 0x832951
push eax
push 1
mov ebx, 0x170
call fcn.0052ed50
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4a072a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a073b
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a0742
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.0052ed10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a0787
push ebx
call fcn.0052cda9
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 0x4a07bc
push 0x36
push 0x4025af6
push 6
call fcn.0052cdaf
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4a07cf
mov eax, 0x832951
push eax
push 1
mov ebx, 0x170
call fcn.0052ed50
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4a07ed
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a07fe
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4a0803
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.0052ed10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a0848
push ebx
call fcn.0052cda9
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 0x4a087d
push 0x36
push 0x4025ae1
push 6
call fcn.0052cdaf
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a0899
push eax
mov ebx, eax
call fcn.0049a118
inc eax
push eax
call fcn.0052cda3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4a089e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a08af
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4a0c17
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.0049ffe0
test eax, eax
je 0x4a0c5a
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4a0c5a
cmp word [eax], 0x5a4d
jne 0x4a0c5a
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4a0c5a
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004a00b2
mov eax, dword [ebp + 8]
jmp 0x4a0c73
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3998
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.0052ed10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a39dd
push ebx
call fcn.0052cda9
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 0x4a3a15
push 0x36
push 0x4010eb0
push 6
call fcn.0052cdaf
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a3a31
push eax
mov ebx, eax
call fcn.0049a118
inc eax
push eax
call fcn.0052cda3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4a3a36
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a3a47
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

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

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

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

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

Function at 0x4a5897
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4a5917
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4a5917
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4a5917
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 0x4a5917
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 0x4a5908
test bl, bl
je 0x4a591b
dec eax
mov eax, edx
jmp 0x4a58f4
inc ebp
test al, al
je 0x4a591b
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 0x4a58ef
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4a58db
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4a5915
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 0x4a596e
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 0x4a59a6
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4a5994
mov al, 1
jmp 0x4a5a05
cmp dword [ebx + 0x54], ecx
jne 0x4a599d
mov al, 2
jmp 0x4a5a05
cmp dword [ebx + 0x7c], ecx
jne 0x4a5a05
mov al, 3
jmp 0x4a5a05
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4a59bb
mov al, 4
jmp 0x4a5a05
cmp ecx, 5
jne 0x4a59db
cmp ebx, 0
jne 0x4a59c9
mov al, 5
jmp 0x4a5a05
cmp ebx, 1
jne 0x4a59d2
mov al, 6
jmp 0x4a5a05
cmp ebx, 2
jne 0x4a59db
mov al, 7
jmp 0x4a5a05
cmp ecx, 6
jne 0x4a5a03
cmp ebx, 0
jne 0x4a59e9
mov al, 8
jmp 0x4a5a05
cmp ebx, 1
jne 0x4a59f0
mov al, 9
cmp ebx, 2
jne 0x4a59f7
mov al, 0xa
cmp ebx, 3
jne 0x4a59fe
mov al, 0xb
cmp ebx, 4
jne 0x4a5a05
mov al, 0xc
pop ebx
leave
ret

Function at 0x4a5a16
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 0x4a5a42
add dword [esp], 5
retf

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

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

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

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

Function at 0x4a6137
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 0x4a6163
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4a6233
add dword [esp], 5
retf
Function at 0x4ab348
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.004ab422
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4ab383
add dword [esp], 5
retf
Function at 0x4ab7c1
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 0x4ab80e
mov al, cl
cmp al, 0x61
jb 0x4ab7e9
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4ab80e
mov al, cl
cmp al, 0x61
jb 0x4ab801
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x4ab7da
cmp edx, dword [esp + 0x18]
je 0x4ab81e
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x4ab7d3
xor eax, eax
jmp 0x4ab821
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x4ab829
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 0x4ab910
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x4ab916
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 0x4ab875
cmp al, 0x61
jb 0x4ab86d
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4ab860
cmp edx, dword [esp + 0x14]
je 0x4ab885
dec ecx
jne 0x4ab855
xor eax, eax
jmp 0x4ab910
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 0x4ab910
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4ab910
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x4ab8c1
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x4ab8d0
jmp 0x4ab8b8
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.004ab7c1
test eax, eax
je 0x4ab910
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4ab90b
cmp al, 0x61
jb 0x4ab903
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4ab8f6
call fcn.004ab829
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x4ab92e
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x4ab92e
sub edx, ecx
mov ecx, edx
jmp 0x4ab885
xor eax, eax
jmp 0x4ab910
Function at 0x4acb78
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 0x4acbb0
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4acb9e
mov al, 1
jmp 0x4acc0f
cmp dword [ebx + 0x54], ecx
jne 0x4acba7
mov al, 2
jmp 0x4acc0f
cmp dword [ebx + 0x7c], ecx
jne 0x4acc0f
mov al, 3
jmp 0x4acc0f
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4acbc5
mov al, 4
jmp 0x4acc0f
cmp ecx, 5
jne 0x4acbe5
cmp ebx, 0
jne 0x4acbd3
mov al, 5
jmp 0x4acc0f
cmp ebx, 1
jne 0x4acbdc
mov al, 6
jmp 0x4acc0f
cmp ebx, 2
jne 0x4acbe5
mov al, 7
jmp 0x4acc0f
cmp ecx, 6
jne 0x4acc0d
cmp ebx, 0
jne 0x4acbf3
mov al, 8
jmp 0x4acc0f
cmp ebx, 1
jne 0x4acbfa
mov al, 9
cmp ebx, 2
jne 0x4acc01
mov al, 0xa
cmp ebx, 3
jne 0x4acc08
mov al, 0xb
cmp ebx, 4
jne 0x4acc0f
mov al, 0xc
pop ebx
leave
ret

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

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

Function at 0x4adc5b
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.0052ed10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4adca0
push ebx
call fcn.0052cda9
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 0x4adcd5
push 0x36
push 0x4012a84
push 6
call fcn.0052cdaf
add esp, 0xc
push 0x832a69
push dword [ebp - 4]
mov ecx, 2
call fcn.0049a183
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4adcf5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4add06
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret