Function at 0x570390
Capabilities:
Access peb ldr_data
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5bd870
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x8c]
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047b302
xor ebx, ebx
add esp, 4
mov ebp, eax
xor edx, edx
cmp edi, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], ebx
jle 0x57043e
mov ecx, dword [esp + 0x88]
sub ecx, ebp
mov dword [esp + 0x8c], edi
nop
mov esi, dword [ecx + eax]
cmp dword [esp + 0x94], ebx
jne 0x570428
add edx, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + eax + 4]
add esi, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], esi
mov dword [eax], edx
jmp 0x57042e
mov dword [eax], esi
mov esi, dword [ecx + eax + 4]
mov dword [eax + 4], esi
add eax, 8
sub dword [esp + 0x8c], 1
jne 0x570400
mov esi, dword [esp + 0x80]
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], vtable.CRgn.0
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x7c], ebx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x30]
call fcn.0048640f
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CRgn.0
push 1
push edi
push ebp
mov byte [esp + 0x84], 1
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.0048640f
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00485f1e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.CBitmap.0
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esi + 4]
push ecx
mov byte [esp + 0x84], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x28]
call fcn.0048640f
lea edx, [esp + 0x24]
push edx
push esi
lea ecx, [esp + 0x64]
call fcn.004dc220
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub edi, dword [esp + 0x3c]
mov ecx, dword [ecx + 0xe8]
mov ebp, dword [ecx]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
xor ebx, ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x70]
mov byte [esp + 0x8c], 3
push edx
call eax
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push 0xcc0020
push 0
push 0
mov edi, eax
mov eax, dword [esp + 0x54]
push ebp
sub eax, edx
push eax
sub ecx, ebx
push ecx
mov ecx, dword [esi + 4]
push edx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00485e18
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b2f7
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 2
call fcn.004dc330
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.00407390
mov esi, vtable.CRgn.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0
mov dword [esp + 0x1c], esi
call fcn.00407390
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x2c], esi
call fcn.00407390
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x18