joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fcd90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ded98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
fld qword [0x5fcf90]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
fstp qword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jle 0x4fce22
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push esi
call fcn.005ba770
fild dword [edi + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x4fce57
fsubrp st(1)
fcom qword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x4fce17
mov ecx, dword [esi]
fstp qword [esp + 0x1c]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jmp 0x4fce19
fstp st(0)
inc ebx
add esi, 8
cmp ebx, dword [ebp + 0xc]
jl 0x4fcde1
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0xc]
fstp st(1)
mov ecx, dword [esp + 0x10]
fstp st(0)
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004f6030
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], 0
call fcn.004fb370
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004f6120
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4fd0f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dedd0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
inc esi
push eax
lea ecx, [esp + 0x30]
sar esi, 1
call fcn.004f71b0
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push edi
push ecx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0
call fcn.00505770
mov ebp, eax
sub ebp, esi
test ebp, ebp
jle 0x4fd1d7
lea eax, [edi + 8]
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.004f71b0
neg esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
call fcn.004f7ab0
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x3c]
mov dword [edi + 4], eax
mov byte [esp + 0x58], 0
call fcn.004f7220
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call fcn.004f7220
mov eax, ebp
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov eax, dword [edi + 8]
mov dword [edi], eax
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x28]
mov dword [edi + 4], eax
mov dword [esp + 0x58], 0xffffffff
call fcn.004f7220
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x4fd300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5dee11
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x14], 0
cmp dword [esi], 1
mov dword [esp + 0x20], ebx
jne 0x4fd3a3
cmp dword [esi + 4], 0
jne 0x4fd3a3
cmp dword [esi + 8], 1
jne 0x4fd3a3
cmp dword [esi + 0xc], 0
jne 0x4fd3a3
fldz
sub esp, 8
mov eax, esp
fstp qword [eax]
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], esp
call fcn.005ba610
test eax, eax
je 0x4fd3a3
push 1
lea ecx, [esp + 0x1c]
call fcn.00507ac0
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x1c]
imul ecx, dword [esi + 0x18]
imul edx, dword [eax]
cmp ecx, edx
jne 0x4fd3a3
push edi
mov ecx, ebx
call fcn.004f29d0
jmp 0x4fd48c
mov eax, dword [esi + 8]
imul eax, dword [esi]
test eax, eax
movzx eax, word [edi + 0x20]
jge 0x4fd3be
mov ecx, eax
xor ecx, 1
and ecx, 0xfffffff9
movzx ebp, cx
jmp 0x4fd3c6
mov edx, eax
and edx, 0xfffffff9
movzx ebp, dx
test al, 2
je 0x4fd3d1
mov eax, 2
jmp 0x4fd3d5
cwde
and eax, 0xfffffffb
test al, 2
je 0x4fd3dc
or ebp, 2
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004fba90
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004fba90
push eax
lea ecx, [edi + 4]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.004fba90
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.004f2510
movzx eax, word [edi + 0x20]
mov esi, 1
mov dword [esp + 0x6c], esi
test al, 2
jne 0x4fd46e
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x4fd46e
test byte [esp + 0x5c], 2
jne 0x4fd454
movsx eax, word [esp + 0x5c]
and eax, 0xfffffffb
cmp ax, 2
jne 0x4fd46e
mov ecx, edi
call fcn.004f2e40
fcomp qword [0x5eedc8]
fnstsw ax
test ah, 5
jp 0x4fd46e
and word [esp + 0x5c], 0xfffd
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.004f29d0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], esi
mov byte [esp + 0x6c], 0
call fcn.004f08d0
mov eax, ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005bf276
add esp, 0x5c
ret
Function at 0x5030e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x50314e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x50316d
push ecx
push esi
call fcn.00502fc0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret

Function at 0x503430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x50349e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x5034bd
push edi
push ecx
call fcn.005030e0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret

Function at 0x503500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x50356e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x50358d
push esi
push ecx
call fcn.00502630
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret
Function at 0x5035d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x50363e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x50365d
push esi
push ecx
call fcn.00502750
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret

Function at 0x5036e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x50374e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x50376d
push esi
push ecx
call fcn.00502510
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret

Function at 0x503ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x503c0e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x503c2d
push ecx
push esi
call fcn.00503900
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret
Function at 0x503cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x503d3e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x503d5d
push esi
push ecx
call fcn.00502d70
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret

Function at 0x503d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x503dee
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x503e0d
push esi
push ecx
call fcn.00502ea0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret

Function at 0x504120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e6018
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.004f8b80
mov ecx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.004f6c80
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.00503e70
add esp, 8
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004f8c20
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x5043e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
lea eax, [esp + 8]
push eax
call fcn.004f5140
push 4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.004fdad0
lea edx, [esp + 0x28]
push esi
push edx
mov dword [esp + 0x4c], 0
call fcn.005041a0
add esp, 8
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005bf276
add esp, 0x40
ret
Function at 0x505f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5df138
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005ba1c0
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.ZgeoVectorFontData.0
call fcn.005b8eb0
mov dword [esi + 0x10], edi
mov dword [esi + 0x2c], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x506920
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov ecx, eax
and ecx, 0xffff
push edi
xor edi, edi
cmp ecx, 1
mov ecx, dword [esp + 0xc]
jne 0x5069e5
cmp ecx, 0x20
jl 0x5069de
cmp ecx, 0x7f
jg 0x5069de
test eax, 0x20000
je 0x506970
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call edx
pop edi
pop esi
ret 8
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + ecx*4]
mov eax, ecx
sar eax, 8
and ecx, 0xff
and eax, 0xffffff
cmp dword [esi + 0x10], 1
mov edi, ecx
jne 0x5069b3
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x24]
push edi
lea edx, [ecx + eax - 0xa0]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.005bf848
add esp, 0xc
mov eax, edi
pop edi
sar eax, 1
pop esi
ret 8
mov ecx, dword [esi + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_fseek]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push edi
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x1c
mov eax, edi
pop edi
sar eax, 1
pop esi
ret 8
pop edi
xor eax, eax
pop esi
ret 8
push ecx
mov ecx, esi
call fcn.005063a0
cmp eax, 0xffffffff
jne 0x5069fa
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov edx, dword [esi + 0x20]
and edx, 0xffff
cmp edx, 2
jne 0x506a7e
test eax, eax
jl 0x5069f2
mov edx, dword [esi + 0x24]
mov ecx, edx
sar ecx, 2
cmp eax, ecx
jg 0x5069f2
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + eax*4]
mov eax, ecx
sar eax, 8
and ecx, 0xff
and eax, 0xffffff
cmp dword [esi + 0x10], 1
mov edi, ecx
jne 0x506a5a
mov ecx, dword [esi + 0x1c]
sub ecx, edx
lea edx, [ecx + eax - 0xa0]
mov eax, dword [esp + 0x10]
push edi
push edx
push eax
call fcn.005bf848
add esp, 0xc
sar edi, 1
mov eax, edi
pop edi
pop esi
ret 8
mov ecx, dword [esi + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_fseek]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push edi
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x1c
sar edi, 1
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x506f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5df1e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005ba1c0
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.ZgeoVectorFontData.0
call fcn.005b8eb0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x2c], ecx
push edx
mov ecx, esi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.005065f0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x509b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x509b7e
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x509bab
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x70]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
push ecx
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret
Function at 0x50a5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df570
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 0x14]
xor ebx, ebx
lea ecx, [esp + 0x38]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.004f77d0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f71b0
mov edi, dword [esp + 0x68]
push eax
push edi
mov dword [esp + 0x68], ebx
call fcn.0050a200
add esp, 8
test eax, eax
sete byte [esp + 0x6c]
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], ebp
call fcn.004f7220
cmp byte [esp + 0x6c], bl
je 0x50a685
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004f71b0
push eax
push edi
mov dword [esp + 0x68], 1
call fcn.0050a200
add esp, 8
test eax, eax
lea ecx, [esp + 0x14]
sete byte [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.004f7220
cmp byte [esp + 0x6c], bl
jne 0x50a66f
mov eax, dword [esi + 0x14]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f6030
push eax
push edi
mov dword [esp + 0x68], 2
call fcn.0050a0f0
add esp, 8
test eax, eax
lea ecx, [esp + 0x14]
sete byte [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.004f6120
cmp byte [esp + 0x6c], bl
jne 0x50a66f
mov eax, dword [esi + 0x14]
cdq
sub eax, edx
sar eax, 1
push eax
add esi, 0xc
push esi
lea ecx, [esp + 0x30]
call fcn.004f6030
push eax
push edi
mov dword [esp + 0x68], 3
call fcn.0050a0f0
add esp, 8
test eax, eax
lea ecx, [esp + 0x28]
sete byte [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.004f6120
xor eax, eax
cmp byte [esp + 0x6c], bl
sete al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret

Function at 0x50a770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004fda90
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004fa700
lea ecx, [esp + 0xc]
test eax, eax
jne 0x50a7de
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
xor eax, eax
jmp 0x50a7fd
push ecx
push esi
call fcn.0050a4e0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005bf276
add esp, 0x20
ret