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

Disassembly:
push 0xffffffffffffffff
push 0x552e43
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.005461cb
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x5a94d8
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], 0x5a9420
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.0054b864
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0054cd80
test eax, eax
je 0x48283c
mov ecx, dword [esp + 0x3c]
call fcn.0054b891
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.user32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x482800
push edi
mov ecx, esi
call fcn.00548efb
mov ecx, esi
call fcn.004829e0
cmp dword [esp + 0x38], 1
jne 0x482835
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.00549036
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 0x484a20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x484a53
push esi
call fcn.00492dd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x484a4c
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 0x484ad9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x484ac2
mov eax, dword [esi + 8]
test eax, eax
je 0x484a77
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 0x484abe
cmp eax, 2
je 0x484ac2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x484a6a
cmp eax, 3
je 0x484a9d
cmp eax, 1
jne 0x484a6a
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 0x484a6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x484a6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00484b00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x484ae8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00484b00
add esp, 4
pop esi
ret
Function at 0x485380
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4853a1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4853a1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4853a1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x4a1775
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 0x4a17ad
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4a179b
mov al, 1
jmp 0x4a180c
cmp dword [ebx + 0x54], ecx
jne 0x4a17a4
mov al, 2
jmp 0x4a180c
cmp dword [ebx + 0x7c], ecx
jne 0x4a180c
mov al, 3
jmp 0x4a180c
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4a17c2
mov al, 4
jmp 0x4a180c
cmp ecx, 5
jne 0x4a17e2
cmp ebx, 0
jne 0x4a17d0
mov al, 5
jmp 0x4a180c
cmp ebx, 1
jne 0x4a17d9
mov al, 6
jmp 0x4a180c
cmp ebx, 2
jne 0x4a17e2
mov al, 7
jmp 0x4a180c
cmp ecx, 6
jne 0x4a180a
cmp ebx, 0
jne 0x4a17f0
mov al, 8
jmp 0x4a180c
cmp ebx, 1
jne 0x4a17f7
mov al, 9
cmp ebx, 2
jne 0x4a17fe
mov al, 0xa
cmp ebx, 3
jne 0x4a1805
mov al, 0xb
cmp ebx, 4
jne 0x4a180c
mov al, 0xc
pop ebx
leave
ret

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

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

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

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

Function at 0x4a22ee
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4a236e
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4a236e
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4a236e
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 0x4a236e
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 0x4a235f
test bl, bl
je 0x4a2372
dec eax
mov eax, edx
jmp 0x4a234b
inc ebp
test al, al
je 0x4a2372
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 0x4a2346
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4a2332
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4a236c
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 0x4a23c5
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4a23cf
add dword [esp], 5
retf
Function at 0x4a418a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], esp
mov eax, dword [0x7355a6]
push eax
push 0x24
call fcn.00520a28
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 0x4a423f
push 0
push 0x4010cd5
push 6
call fcn.00520a34
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.00520a2e
add esp, 4
mov ebx, dword [0x7355a6]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp word [ebx], 6
je 0x4a42fa
mov ebx, dword [0x7355a6]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 9
je 0x4a42fa
mov ebx, dword [0x7355a6]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 0xa
je 0x4a42fa
xor eax, eax
jmp 0x4a42ff
mov eax, 1
mov dword [0x7355aa], eax
mov eax, dword [0x7355aa]
jmp 0x4a430e
mov esp, ebp
pop ebp
ret

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4a5ef8
add dword [esp], 5
retf
Function at 0x4a5f83
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4a6003
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4a6003
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4a6003
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 0x4a6003
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 0x4a5ff4
test bl, bl
je 0x4a6007
dec eax
mov eax, edx
jmp 0x4a5fe0
inc ebp
test al, al
je 0x4a6007
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 0x4a5fdb
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4a5fc7
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4a6001
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 0x4a6086
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 0x4a60b2
add dword [esp], 5
retf

Function at 0x4a66bf
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 0x4a66f7
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4a66e5
mov al, 1
jmp 0x4a6756
cmp dword [ebx + 0x54], ecx
jne 0x4a66ee
mov al, 2
jmp 0x4a6756
cmp dword [ebx + 0x7c], ecx
jne 0x4a6756
mov al, 3
jmp 0x4a6756
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4a670c
mov al, 4
jmp 0x4a6756
cmp ecx, 5
jne 0x4a672c
cmp ebx, 0
jne 0x4a671a
mov al, 5
jmp 0x4a6756
cmp ebx, 1
jne 0x4a6723
mov al, 6
jmp 0x4a6756
cmp ebx, 2
jne 0x4a672c
mov al, 7
jmp 0x4a6756
cmp ecx, 6
jne 0x4a6754
cmp ebx, 0
jne 0x4a673a
mov al, 8
jmp 0x4a6756
cmp ebx, 1
jne 0x4a6741
mov al, 9
cmp ebx, 2
jne 0x4a6748
mov al, 0xa
cmp ebx, 3
jne 0x4a674f
mov al, 0xb
cmp ebx, 4
jne 0x4a6756
mov al, 0xc
pop ebx
leave
ret

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

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4ae451
add dword [esp], 5
retf
Function at 0x4afb7e
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 0x4afbb6
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4afba4
mov al, 1
jmp 0x4afc15
cmp dword [ebx + 0x54], ecx
jne 0x4afbad
mov al, 2
jmp 0x4afc15
cmp dword [ebx + 0x7c], ecx
jne 0x4afc15
mov al, 3
jmp 0x4afc15
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4afbcb
mov al, 4
jmp 0x4afc15
cmp ecx, 5
jne 0x4afbeb
cmp ebx, 0
jne 0x4afbd9
mov al, 5
jmp 0x4afc15
cmp ebx, 1
jne 0x4afbe2
mov al, 6
jmp 0x4afc15
cmp ebx, 2
jne 0x4afbeb
mov al, 7
jmp 0x4afc15
cmp ecx, 6
jne 0x4afc13
cmp ebx, 0
jne 0x4afbf9
mov al, 8
jmp 0x4afc15
cmp ebx, 1
jne 0x4afc00
mov al, 9
cmp ebx, 2
jne 0x4afc07
mov al, 0xa
cmp ebx, 3
jne 0x4afc0e
mov al, 0xb
cmp ebx, 4
jne 0x4afc15
mov al, 0xc
pop ebx
leave
ret

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

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4b576d
mov eax, 0xfffffffd
jmp 0x4b584d
mov ebx, dword [0x7355f2]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4b581b
mov ebx, dword [0x7355f2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x4b57bc
mov ebx, dword [0x7355f2]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x4b57bc
mov eax, 1
jmp 0x4b57c1
mov eax, 0
test eax, eax
je 0x4b57ed
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4b57d6
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 [0x7355f2]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4b5843
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4b584d
mov esp, ebp
pop ebp
ret 4

Function at 0x4b59ca
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4b5a7d
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 0x4b5fe8
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.00522751
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b602d
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x5ca528
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004a2baf
add esp, 8
cmp eax, 0
jne 0x4b60a8
call fcn.004b612c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x7355fa]
test ebx, ebx
je 0x4b606b
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov dword [0x7355fa], eax
mov eax, dword [0x7355fa]
test eax, eax
je 0x4b608f
push eax
mov ebx, eax
call fcn.004a05af
inc eax
push eax
call fcn.00520a28
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 0x4b60a2
push ebx
call fcn.00520a2e
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 0x4b60e3
push 0x202
push 0x40203bb
push 6
call fcn.00520a34
add esp, 0xc
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b60f6
mov eax, 0x5ca528
push eax
push 1
mov ebx, 0x170
call fcn.00523761
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4b6114
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b6125
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4b612c
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.00522751
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b6171
push ebx
call fcn.00520a2e
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 0x4b61a6
push 0x36
push 0x40203d1
push 6
call fcn.00520a34
add esp, 0xc
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b61b9
mov eax, 0x5ca528
push eax
push 1
mov ebx, 0x170
call fcn.00523761
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4b61d7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b61e8
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4b61ed
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.00522751
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b6232
push ebx
call fcn.00520a2e
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 0x4b6267
push 0x36
push 0x40203bc
push 6
call fcn.00520a34
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b6283
push eax
mov ebx, eax
call fcn.004a05af
inc eax
push eax
call fcn.00520a28
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4b6288
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b6299
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4b6601
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.004b59ca
test eax, eax
je 0x4b6644
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4b6644
cmp word [eax], 0x5a4d
jne 0x4b6644
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4b6644
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004b5a9c
mov eax, dword [ebp + 8]
jmp 0x4b665d
mov esp, ebp
pop ebp
ret 4
Function at 0x4b9368
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.00522751
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b93ad
push ebx
call fcn.00520a2e
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_1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4b93e5
push 0x36
push 0x4010eb0
push 6
call fcn.00520a34
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b9401
push eax
mov ebx, eax
call fcn.004a05af
inc eax
push eax
call fcn.00520a28
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4b9406
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9417
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4b9d59
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.00522751
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9d9e
push ebx
call fcn.00520a2e
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 0x4b9dd3
push 0x36
push 0x4012a84
push 6
call fcn.00520a34
add esp, 0xc
push 0x5ca5b2
push dword [ebp - 4]
mov ecx, 2
call fcn.004a2b53
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4b9df3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9e04
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4bd0ff
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4bd140
push 0x2b
push 0x4014fb9
push 6
call fcn.00520a34
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CloseHandle_1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4bd17e
push 0x59
push 0x4014fb9
push 6
call fcn.00520a34
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x4bd186
mov esp, ebp
pop ebp
ret 4

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4be261
add dword [esp], 5
retf
Function at 0x4cdd47
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
inc eax
push dword [eax]
pop word [ebp - 4]
cmp dword [ebp - 4], 0xc25e
je 0x4cdd7c
cmp dword [ebp - 4], 0xc35e
je 0x4cdd7c
jmp 0x4cdd7f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cdd61
cmp dword [ebp - 4], 0xc25e
jne 0x4cde1f
push eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [ebp - 8]
push 0xffffffff
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4cddd2
push 0x1c8
push 0x40104c6
push 6
call fcn.00520a34
add esp, 0xc
pop eax
push 0x9090c35e
pop dword [eax]
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push 4
push dword [ebp - 8]
push 0xffffffff
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4cde1f
push 0x261
push 0x40104c6
push 6
call fcn.00520a34
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4c27
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.004d4d01
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4d4c62
add dword [esp], 5
retf