Function at 0x5c62d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x87e48e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0xc]
push edi
mov eax, dword [ebp + 0x18]
push ecx
mov ebx, dword [eax + 0x18]
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [ebx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.008369a6
mov esi, eax
mov ecx, ebx
push esi
mov dword [esp + 0x30], esi
call fcn.005d1440
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
push 6
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.00837c8d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x3c]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
xor edi, edi
mov dword [esp + 0x4c], 0x2bc
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.CFont.0
lea eax, [esp + 0x3c]
mov dword [esp + 0xa0], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x24]
call fcn.00837ca2
cmp dword [ebp + 0xb4], edi
je 0x5c638d
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov edx, dword [ebp]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x5c]
sub ecx, edx
cmp ebp, edi
mov byte [esp + 0xa0], 1
mov dword [esp + 0x18], ecx
jne 0x5c63b7
or eax, 0xffffffff
jmp 0x5c63d0
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x5c63c3
mov ecx, dword [eax + 0x48]
jmp 0x5c63c6
or ecx, 0xffffffff
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x34], ecx
push eax
mov ecx, ebx
call fcn.005d93e0
test al, 2
mov ecx, 0x400
je 0x5c63e8
mov ecx, 0x401
jmp 0x5c63f1
test al, 1
je 0x5c63f1
mov ecx, 0x402
mov edx, dword [ebx + 0x50]
lea esi, [ebx + 0x140]
push edx
push ecx
sub esp, 0x14
mov ecx, 5
mov edi, esp
lea eax, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x44]
push eax
push ecx
push esi
call fcn.005c47b0
mov eax, dword [ebp + 0x5c]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov ebp, dword [ebp + 0x60]
mov edx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
add esp, 0x28
add edi, eax
add edx, ebp
add ecx, ebp
test esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
jne 0x5c6455
xor eax, eax
jmp 0x5c6458
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, esi
mov byte [esp + 0xa0], 0
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x28]
call fcn.00831eeb
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0xa0], 2
call fcn.00837cf9
mov ecx, dword [esp + 0x98]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 4