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

Disassembly:
push 0xffffffffffffffff
push 0x6194f1
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x140]
mov esi, ecx
push 0x38e
mov ecx, ebp
mov dword [esp + 0x1c], ebp
call fcn.0056c9f5
test eax, eax
mov dword [esp + 0x2c], eax
je 0x451955
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x173
push eax
call dword [sym.imp.user32.dll_SendMessageA]
push eax
call fcn.0057786b
mov edi, eax
test edi, edi
je 0x451955
lea ecx, [esp + 0x54]
call fcn.00576f1a
lea ecx, [esp + 0x44]
mov dword [esp + 0x138], 0
call fcn.00576f1a
test esi, esi
mov byte [esp + 0x138], 1
jne 0x451540
xor eax, eax
jmp 0x451543
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x58]
call fcn.005775b2
test esi, esi
jne 0x45155e
xor eax, eax
jmp 0x451561
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x48]
call fcn.005775b2
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], vtable.CBitmap.0
push 0x20
mov byte [esp + 0x13c], 2
mov ecx, dword [esi + 4]
push 0x20
push ecx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call fcn.00577879
mov eax, dword [edi + 4]
lea edx, [esp + 0x74]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x58]
push edi
push ecx
call fcn.005778fe
mov edx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.005778fe
mov ecx, dword [esp + 0x48]
push 0x42
push 0x20
push 0x20
push 0
push 0
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.gdi32.dll_PatBlt]
push 3
lea ecx, [esp + 0x58]
call fcn.00576c4b
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
lea edx, [eax - 0x10]
add eax, 0x10
mov dword [esp + 0x1c], edx
lea edx, [ecx - 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
add ecx, 0x10
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.005680c4
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
xor ebp, ebp
xor edi, edi
cmp ecx, eax
jge 0x45164f
sub eax, ecx
mov ebp, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
cmp ecx, eax
jge 0x45165f
sub eax, ecx
mov edi, eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.user32.dll_IntersectRect]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edi
push ebp
push eax
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push 0xcc0020
push 0x20
push 0x20
push 0
push 0
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.gdi32.dll_StretchBlt]
test ebx, ebx
je 0x4516d6
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x58]
push ebx
push edx
call fcn.005778fe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4516ec
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.005778fe
lea ecx, [esp + 0x34]
call fcn.005778cc
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
push 0
push 0
push edx
call dword [sym.imp.user32.dll_InvalidateRect]
mov ebp, dword [esp + 0x18]
push 0x47a
mov ecx, ebp
call fcn.0056c9f5
push 0x479
mov ecx, ebp
mov edi, eax
call fcn.0056c9f5
test edi, edi
mov ebx, eax
je 0x4517e8
test ebx, ebx
je 0x4517e8
cmp dword [esp + 0x144], 4
jne 0x4517d6
push 5
mov ecx, ebx
call fcn.0056cc4d
cmp dword [0x6a6eac], 0
mov ecx, edi
je 0x4517e1
push 5
call fcn.0056cc4d
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x148]
push eax
push ecx
mov edx, esi
call fcn.00451f80
mov ecx, eax
movzx edx, ah
shr eax, 0x10
and eax, 0xff
push eax
and ecx, 0xff
cmp dword [0x6a6eac], 1
push edx
push ecx
jne 0x4517b0
push str.R:_3d_nG:_3d_nB:_3d_n
lea edx, [esp + 0x9c]
push edx
jmp 0x4517bd
push str.R:__02X_nG:__02X_nB:__02X
lea eax, [esp + 0x9c]
push eax
call fcn.005a5a2e
add esp, 0x14
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call fcn.0056cb90
jmp 0x4517e8
push 0
mov ecx, edi
call fcn.0056cc4d
mov ecx, ebx
push 0
call fcn.0056cc4d
push 0x478
mov ecx, ebp
call fcn.0056c9f5
mov esi, eax
push 0x47b
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.0056c9f5
push 0x51d
mov ecx, ebp
mov ebx, eax
call fcn.0056c9f5
test esi, esi
mov dword [esp + 0x14], eax
je 0x451917
test ebx, ebx
je 0x451917
test eax, eax
je 0x451917
mov ecx, ebp
call fcn.00430b30
mov edx, dword [esp + 0x148]
mov edi, eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0x1a28]
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x1a2c]
mov ecx, edi
mov dword [esp + 0x40], edx
call fcn.00430b30
test eax, eax
jne 0x451884
lea esi, [esp + 0x2c]
call fcn.0044c6d0
lea esi, [esp + 0x3c]
call fcn.0044c6d0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x94]
push str.X:__d_nY:__d
push edx
call fcn.005a5a2e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0xf4]
push str.X:__d_nY:__d
push edx
call fcn.005a5a2e
add esp, 0x20
cmp dword [esp + 0x144], 4
jne 0x4518e5
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
call fcn.0056cb90
push 0
mov ecx, ebx
call fcn.0056cc4d
push 0
jmp 0x45190e
lea ecx, [esp + 0xdc]
push ecx
mov ecx, esi
call fcn.0056cb90
lea edx, [esp + 0x8c]
push edx
mov ecx, ebx
call fcn.0056cb90
push 5
mov ecx, ebx
call fcn.0056cc4d
push 5
mov ecx, dword [esp + 0x18]
call fcn.0056cc4d
mov byte [esp + 0x138], 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CBitmap.0
call fcn.00424fa0
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 0
call fcn.0057762c
lea ecx, [esp + 0x54]
mov dword [esp + 0x138], 0xffffffff
call fcn.0057762c
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.005a58d9
add esp, 0x128
ret 0x10