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

Disassembly:
sub esp, 0xcc
lea eax, [esp + 0x18]
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [edi + 0x64]
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
push 0
mov ecx, edi
call fcn.00447fc0
test eax, eax
jne 0x446a0d
push eax
call dword [sym.imp.gdi32.dll_GetStockObject]
mov esi, dword [esp + 0xdc]
lea edx, [esp + 0x20]
push eax
push edx
push esi
call dword [sym.imp.user32.dll_FillRect]
mov ecx, dword [edi + 0x58]
lea eax, [esp + 0x84]
push 0x50
push eax
push 0x3f8
push ecx
call dword [sym.imp.user32.dll_LoadStringA]
lea edx, [esp + 0x20]
push 0x11
push edx
lea eax, [esp + 0x8c]
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.user32.dll_DrawTextA]
pop edi
pop esi
add esp, 0xcc
ret 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0xdc]
push ebx
push ebp
push ecx
push edx
push esi
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov ebp, eax
push esi
mov dword [esp + 0x68], ebp
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ebx, eax
push ebp
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
push 0
mov dword [esp + 0x64], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.user32.dll_FillRect]
fild dword [edi + 0xd4]
fld dword [edi + 0x8c]
fadd dword [edi + 0x88]
mov ebp, dword [edi + 0xcc]
fmul st(1)
call fcn.004c836c
fild dword [edi + 0xd8]
sub ebp, eax
fstp dword [esp + 0x14]
fld dword [edi + 0x94]
fadd dword [edi + 0x90]
fmul dword [esp + 0x14]
call fcn.004c836c
fmul dword [edi + 0x88]
mov esi, dword [edi + 0xd0]
sub esi, eax
call fcn.004c836c
fld dword [esp + 0x14]
fmul dword [edi + 0x90]
mov dword [esp + 0x38], eax
call fcn.004c836c
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
add eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xcc]
push eax
mov eax, dword [esp + 0x34]
lea edx, [ecx + ebp]
mov ebp, dword [sym.imp.kernel32.dll_MulDiv]
push eax
push ecx
mov dword [esp + 0x4c], edx
call ebp
mov ecx, dword [edi + 0xd0]
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call ebp
mov ecx, dword [edi + 0xcc]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
call ebp
mov ecx, dword [edi + 0xd0]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
push ecx
mov eax, dword [esp + 0x48]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
push esi
call dword [sym.imp.gdi32.dll_CreateRectRgn]
push eax
push ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.gdi32.dll_SelectClipRgn]
push 8
push ebx
call dword [sym.imp.gdi32.dll_SetMapMode]
mov eax, dword [edi + 0xd0]
mov ecx, dword [edi + 0xcc]
push 0
push eax
push ecx
push ebx
call dword [sym.imp.gdi32.dll_SetWindowExtEx]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push ebx
call dword [sym.imp.gdi32.dll_SetViewportExtEx]
mov eax, dword [edi + 0x74]
test eax, eax
je 0x446b96
mov ecx, dword [edi + 0xc8]
mov eax, dword [edi + 0xf0]
cmp ecx, eax
jge 0x446f5f
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xf0]
dec eax
cmp eax, ecx
jge 0x446f5f
test eax, eax
jl 0x446f5f
mov edx, dword [edi + 0xec]
mov edx, dword [edx + eax*4]
test edx, edx
mov dword [esp + 0x48], edx
je 0x446f5f
mov eax, dword [edx + 8]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x446ec7
jmp 0x446be3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
cmp ecx, eax
jge 0x446ec7
test ecx, ecx
jl 0x446ec7
mov eax, dword [edx + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x446ec7
cmp dword [esi], 0
je 0x446ec7
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x70], edx
mov eax, dword [esi + 8]
add eax, dword [esi + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x6c]
add ecx, edx
lea edx, [esp + 0x38]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
call dword [sym.imp.user32.dll_UnionRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
jne 0x446c95
push eax
push ebx
call dword [sym.imp.gdi32.dll_SelectClipRgn]
push 0xff
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
lea ecx, [esp + 0x6c]
push eax
push ecx
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.user32.dll_FillRect]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.gdi32.dll_SelectClipRgn]
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
call fcn.00454a80
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x14], eax
call fcn.00454750
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push eax
call fcn.004547c0
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, dword [esi]
call fcn.00454bc0
test eax, eax
je 0x446f21
mov eax, dword [esp + 0x10]
test eax, eax
je 0x446f21
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
jne 0x446d98
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
call fcn.00454890
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00454750
mov ecx, dword [edi + 0x3c]
push eax
push ecx
call ebp
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x28], eax
call fcn.004548f0
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.004547c0
mov ecx, dword [edi + 0x40]
push eax
push ecx
call ebp
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x24], eax
call fcn.00454890
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [edi + 0x44]
sub eax, edx
push eax
push ecx
call ebp
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x1c], eax
call fcn.004548f0
mov edx, dword [edi + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 0x48]
sub eax, edx
push eax
push ecx
call ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.00442da0
add esp, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x10]
mov ebp, eax
push ecx
push ebp
call dword [sym.imp.gdi32.dll_SelectObject]
push 3
push ebx
mov dword [esp + 0x70], eax
call dword [sym.imp.gdi32.dll_SetStretchBltMode]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x24], eax
call fcn.00454a40
test eax, eax
mov dword [esp + 0x24], eax
je 0x446e05
push 0
push eax
push ebx
call dword [sym.imp.gdi32.dll_SelectPalette]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xe4]
push 0
push eax
push ecx
call dword [sym.imp.gdi32.dll_SelectPalette]
mov edx, dword [esp + 0xe4]
push edx
call dword [sym.imp.gdi32.dll_RealizePalette]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
push 0xcc0020
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push 0
push 0
push ebp
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.gdi32.dll_StretchBlt]
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.gdi32.dll_SetStretchBltMode]
mov ecx, dword [esp + 0x68]
push ecx
push ebp
call dword [sym.imp.gdi32.dll_SelectObject]
push ebp
call dword [sym.imp.gdi32.dll_DeleteDC]
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x446e6c
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
jne 0x446e6c
push ebp
call dword [sym.imp.gdi32.dll_DeleteObject]
mov ebp, dword [sym.imp.kernel32.dll_MulDiv]
mov edx, dword [edi + 0x6c]
push edx
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x446e96
mov ecx, dword [esi + 0x40]
lea edx, [esi + 0x18]
push ecx
push edx
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.user32.dll_DrawTextA]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x446eaf
mov ecx, dword [esi + 0x44]
add esi, 0x28
push ecx
push esi
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.user32.dll_DrawTextA]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x446bdb
push 0
push ebx
call dword [sym.imp.gdi32.dll_SelectClipRgn]
push 0x7f7f7f
push 1
push 2
call dword [sym.imp.gdi32.dll_CreatePen]
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
push eax
push ebx
call esi
push 5
mov edi, eax
call dword [sym.imp.gdi32.dll_GetStockObject]
push eax
push ebx
call esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.gdi32.dll_Rectangle]
push edi
push ebx
call esi
mov edi, dword [sym.imp.gdi32.dll_DeleteObject]
push eax
call edi
jmp 0x446f6b
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x50], eax
lea eax, [eax + edx - 1]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x58], eax
push 2
lea eax, [ecx + edx - 1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
lea ecx, [esp + 0x50]
push eax
push ecx
push ebx
call dword [sym.imp.user32.dll_FillRect]
jmp 0x446e72
mov edi, dword [sym.imp.gdi32.dll_DeleteObject]
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
push 1
push ebx
call dword [sym.imp.gdi32.dll_SetMapMode]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xe4]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [esp + 0x60]
push ecx
push ebx
call esi
mov edx, dword [esp + 0x4c]
push edx
call edi
mov eax, dword [esp + 0x64]
push eax
call edi
push ebx
call dword [sym.imp.gdi32.dll_DeleteDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xcc
ret 8