Function at 0x42aa60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x470278
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0xd8]
lea eax, [edi + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x18]
push edx
xor ebx, ebx
mov dword [esp + 0x4c], ecx
push eax
lea ecx, [esp + 0xac]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00413d40
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xd0], ebx
mov ebx, dword [esp + 0x48]
sub ebp, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x128]
sub ebx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa0]
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
add ecx, ebp
xor ebp, ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x24]
push edx
push 2
mov dword [esp + 0x30], eax
add eax, ebx
push ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push ebp
push eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0xc]
push 3
push ecx
push 0x102c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], 1
cmp ecx, dword [esi + 0x134]
jne 0x42ab87
cmp dword [esi + 0x11c], ebp
je 0x42ab87
mov dword [esp + 0x14], 2
test al, 2
je 0x42ab93
mov dword [esp + 0x14], 0x100
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
sub eax, edx
mov dword [esp + 0x58], edx
push ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xa8]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x64], ebp
call fcn.004292a0
mov ecx, esi
call fcn.00429320
cmp eax, ebp
mov dword [esp + 0x28], eax
jle 0x42ad50
mov ecx, dword [edi + 8]
push 0
push ebp
push ecx
mov ecx, esi
call fcn.0042a8e0
lea edx, [esp + 0x18]
mov ebx, eax
mov eax, dword [edi + 8]
push edx
push eax
push 0x1038
mov ecx, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], 2
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], eax
dec ecx
neg eax
push eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x28]
push 0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x78], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [esi + 0x30], 0
je 0x42acf2
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
call dword [sym.imp.USER32.dll_SetRect]
movzx eax, word [edi + 8]
shl eax, 0x10
movzx ecx, bp
or eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], 1
cmp eax, 1
jne 0x42acc2
mov dword [esp + 0x98], 0x20
jmp 0x42ace6
cmp eax, 2
jne 0x42acd4
mov dword [esp + 0x98], 0x40
jmp 0x42ace6
cmp eax, 0x100
jne 0x42ace6
mov dword [esp + 0x98], 8
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.00416f00
test ebx, ebx
je 0x42ad88
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.004498f0
lea ecx, [esp + 0x6c]
push ecx
push ebx
call fcn.00449930
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xb4]
push edx
push ebx
push eax
call fcn.00449860
add esp, 0x20
cmp dword [esi + 0x30], 0
je 0x42ad45
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov dword [esp + 0x80], 2
call fcn.00416f00
inc ebp
cmp ebp, dword [esp + 0x28]
jl 0x42abea
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
push 0xcc0020
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
sub edx, eax
push edx
mov edx, dword [edi + 0x18]
push ecx
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0xa0]
call fcn.00413da0
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 4