Function at 0x4720a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d4696
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x130]
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
mov esi, ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x472446
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x8c]
push edx
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0049b483
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push ecx
call ebx
mov edx, dword [esi + 0x84]
push edx
push 1
mov ebp, eax
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], ebp
call fcn.00492c83
mov eax, dword [esi + 0x88]
push eax
push 1
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x134], 0
call fcn.00492c83
mov ecx, dword [edi + 8]
push 1
push ecx
mov byte [esp + 0x130], 1
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.00492ae1
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
mov dword [esp + 0x4c], eax
call ebx
push eax
call fcn.00492ae1
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x8c]
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 0x90]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, edi
call edx
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
jle 0x4723e8
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
push 0
push eax
push 0x120f
push ecx
call ebx
mov ecx, dword [esi + 0x20]
mov ebp, eax
lea eax, [esp + 0x94]
push eax
push ebp
push 0x1203
lea edx, [esp + 0xdc]
push ecx
mov dword [esp + 0xa4], 0x37
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], 0x50
call ebx
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x10]
push edx
push ebp
push 0x1207
push eax
call ebx
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x74]
jge 0x472236
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x7c]
jg 0x472393
test dword [esp + 0xa8], 0x8000
je 0x4722ad
mov ecx, esi
mov dword [esp + 0x44], 4
call fcn.004907b8
mov ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], eax
mov eax, dword [esi]
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x13c]
push ecx
mov ecx, esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 1
call edx
jmp 0x472304
mov eax, dword [esi + 0x58]
mov ebp, dword [sym.imp.USER32.dll_InflateRect]
push 0
neg eax
push eax
lea eax, [esp + 0x18]
push eax
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x94]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
call edx
mov eax, dword [esi + 0x58]
push 0
push eax
lea eax, [esp + 0x18]
push eax
call ebp
mov ecx, dword [esp + 0x28]
add ecx, 0xffffffff
cmp dword [esp + 0x20], ecx
jge 0x472393
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call fcn.00492bc7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 2
push eax
add ecx, 0xffffffff
push ecx
lea edx, [esp + 0xc8]
push edx
mov ecx, edi
call fcn.00492531
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0xfffffffe
add ecx, 0xffffffff
push eax
push ecx
mov ecx, edi
call fcn.004921d9
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.00492bc7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 2
push eax
push ecx
lea edx, [esp + 0xd0]
push edx
mov ecx, edi
call fcn.00492531
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0xfffffffe
push eax
push ecx
mov ecx, edi
call fcn.004921d9
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x98]
add dword [esp + 0x24], edx
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jl 0x4721c1
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4723e8
mov ecx, dword [esp + 0x84]
mov edx, dword [esi + 0x88]
add ecx, eax
mov eax, dword [esi + 0x84]
push edx
mov dword [esp + 0x90], ecx
push eax
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call fcn.0049b749
mov edx, dword [edi]
mov eax, dword [esp + 0x40]
mov edx, dword [edx + 0x28]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x3c]
push eax
mov ecx, edi
call fcn.00492bc7
lea ecx, [esp + 0x34]
call fcn.00492b42
lea ecx, [esp + 0x2c]
call fcn.00492b42
mov esi, vtable.CPen.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 0
mov dword [esp + 0x2c], esi
call fcn.00402cb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x128], 0xffffffff
mov dword [esp + 0x34], esi
call fcn.00402cb0
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 4