Function at 0x5456a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 8
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x3c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x34]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0xc], ecx
call fcn.0046b360
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x4c]
push eax
call fcn.00545010
add esp, 0x14
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x30], 0
je 0x54578c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x545785
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
push 1
mov ecx, dword [ebp - 0x14]
call dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jmp 0x54578c
mov dword [ebp - 0x28], 0
push 0x10
call fcn.004870a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x5457bc
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00543fb0
mov dword [ebp - 0x20], eax
jmp 0x5457c3
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x10]
cvttss2si eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x10]
cvttss2si edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret