joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5279a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622780
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebp
push esi
push edi
mov eax, dword [0x685e38]
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.00520ec0
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.0052cad0
mov ebp, eax
sub ebp, esi
test ebp, ebp
jle 0x527a87
lea eax, [edi + 8]
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00520ec0
neg esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
call fcn.00521790
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.00520f30
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call fcn.00520f30
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.00520f30
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 0x528f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x622838
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005efd30
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.ZgeoVectorFontData.0
call fcn.005ed1b0
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 0x5299b0
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 0x529a75
cmp ecx, 0x20
jl 0x529a6e
cmp ecx, 0x7f
jg 0x529a6e
test eax, 0x20000
je 0x529a00
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 0x529a43
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 sub.MSVCR90.dll_memcpy
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.00529430
cmp eax, 0xffffffff
jne 0x529a8a
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov edx, dword [esi + 0x20]
and edx, 0xffff
cmp edx, 2
jne 0x529b0e
test eax, eax
jl 0x529a82
mov edx, dword [esi + 0x24]
mov ecx, edx
sar ecx, 2
cmp eax, ecx
jg 0x529a82
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 0x529aea
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 sub.MSVCR90.dll_memcpy
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 0x529fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6228e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005efd30
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.ZgeoVectorFontData.0
call fcn.005ed1b0
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.00529680
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 0x52ffc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x53002e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x53004d
push ecx
push esi
call fcn.0052fea0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret

Function at 0x530310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x53037e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x53039d
push edi
push ecx
call fcn.0052ffc0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret

Function at 0x5303e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x53044e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x53046d
push esi
push ecx
call fcn.0052f510
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret
Function at 0x5304b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x53051e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x53053d
push esi
push ecx
call fcn.0052f630
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret

Function at 0x5305c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x53062e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x53064d
push esi
push ecx
call fcn.0052f3f0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret

Function at 0x530a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x530aee
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x530b0d
push ecx
push esi
call fcn.005307e0
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret
Function at 0x530bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x530c1e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x530c3d
push esi
push ecx
call fcn.0052fc50
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret

Function at 0x530c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x530cce
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x530ced
push esi
push ecx
call fcn.0052fd80
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret

Function at 0x531000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62b748
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00523190
mov ecx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.00523dd0
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.00530d50
add esp, 8
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00523230
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x5312c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62c6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x685e38]
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.00525fc0
push 4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.005284b0
lea edx, [esp + 0x28]
push esi
push edx
mov dword [esp + 0x4c], 0
call fcn.00531080
add esp, 8
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x40
ret

Function at 0x534b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x534bbe
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x534beb
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.00528dc0
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.005fb9ce
add esp, 0x20
ret
Function at 0x535330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
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.005214c0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00520ec0
mov edi, dword [esp + 0x68]
push eax
push edi
mov dword [esp + 0x68], ebx
call fcn.00534f60
add esp, 8
test eax, eax
sete byte [esp + 0x6c]
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], ebp
call fcn.00520f30
cmp byte [esp + 0x6c], bl
je 0x5353e5
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.00520ec0
push eax
push edi
mov dword [esp + 0x68], 1
call fcn.00534f60
add esp, 8
test eax, eax
lea ecx, [esp + 0x14]
sete byte [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.00520f30
cmp byte [esp + 0x6c], bl
jne 0x5353cf
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.0051aeb0
push eax
push edi
mov dword [esp + 0x68], 2
call fcn.00534e50
add esp, 8
test eax, eax
lea ecx, [esp + 0x14]
sete byte [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.0051afa0
cmp byte [esp + 0x6c], bl
jne 0x5353cf
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.0051aeb0
push eax
push edi
mov dword [esp + 0x68], 3
call fcn.00534e50
add esp, 8
test eax, eax
lea ecx, [esp + 0x28]
sete byte [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.0051afa0
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 0x5354d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x685e38]
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.00528470
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00519020
lea ecx, [esp + 0xc]
test eax, eax
jne 0x53553e
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
xor eax, eax
jmp 0x53555d
push ecx
push esi
call fcn.00535240
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00528dc0
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.005fb9ce
add esp, 0x20
ret
Function at 0x542e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6242eb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00552190
lea edi, [esi + 0x14]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x3c], ebp
call fcn.005efd30
mov dword [esi], vtable.ZpatWindow.1.0
mov dword [edi], vtable.ZpatWindow.0
mov eax, dword [0x686bb4]
mov bl, 1
mov byte [esp + 0x3c], bl
cmp eax, ebp
je 0x542eb2
add eax, 0x14
jmp 0x542eb4
xor eax, eax
mov dword [esi + 0x18], eax
push 4
lea ecx, [esp + 0x24]
mov dword [0x686bb4], ebp
call fcn.005521c0
push eax
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00555570
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.00558210
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + 0x10]
mov eax, 0xff
lea ebx, [edi + 0xc]
push ebx
mov word [esi + 8], ax
call fcn.00583a80
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea ebp, [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x18]
push eax
add ecx, 0x10
mov dword [esp + 0x20], edx
call fcn.00583a80
mov ecx, dword [esi + 0x10]
push ebp
add ecx, 0x20
call fcn.00583a80
mov ecx, dword [ebx]
mov edx, dword [edi + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x18]
push eax
add ecx, 0x30
mov dword [esp + 0x20], edx
call fcn.00583a80
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x54fe30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x62f208
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00523190
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.00523dd0
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
push ecx
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0054fcd0
mov edi, dword [edi]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00523230
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0xc
Function at 0x5514e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x625678
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00517a80
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], 0
call fcn.0054b980
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
call fcn.005477e0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005504a0
lea ecx, [esp + 0xc]
test eax, eax
jge 0x551581
call fcn.00517ad0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00405850
or eax, 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
call fcn.00517ad0
mov esi, dword [edi]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00405850
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc

Function at 0x5515b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x625678
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00517a80
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], 0
call fcn.0054b9f0
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
call fcn.005477e0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005504a0
lea ecx, [esp + 0xc]
test eax, eax
jge 0x551651
call fcn.00517ad0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00405850
or eax, 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
call fcn.00517ad0
mov esi, dword [edi]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00405850
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc