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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
mov dword [esp + 0xec], esi
call fcn.00443740
test eax, eax
je 0x444bb0
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x444183
mov edi, 1
mov eax, esi
call fcn.00443740
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [ebp + 8]
mov esi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], ecx
fst qword [esp + 0x30]
lea edx, [esp + 0x88]
fstp qword [esp + 0xa8]
push edx
fild dword [esp + 0x18]
push eax
mov dword [esp + 0x40], esi
fst qword [esp + 0xf8]
fstp qword [esp + 0xb8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 8]
push eax
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
fild dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], edx
fidiv dword [esp + 0x88]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x20]
test eax, eax
fstp qword [esp + 0x88]
jne 0x444240
mov cx, word [esi + 0xe]
cmp cx, 8
ja 0x444240
mov eax, 1
shl eax, cl
mov ecx, dword [esi]
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add esi, edx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edx
call dword [eax + 0x58]
mov edx, dword [ebx + 8]
push edx
mov dword [esp + 0xec], 0
call dword [sym.imp.GDI32.dll_GetMapMode]
cmp eax, 1
je 0x44432b
mov ecx, dword [ebx + 8]
mov esi, dword [sym.imp.GDI32.dll_LPtoDP]
push 2
lea eax, [esp + 0x40]
push eax
push ecx
call esi
mov eax, dword [ebx + 8]
push 2
lea edx, [esp + 0x7c]
push edx
push eax
call esi
fld qword [esp + 0xa8]
fmul qword [esp + 0x88]
mov edx, dword [ebx]
mov ecx, ebx
fstp qword [esp + 0xa8]
fld qword [esp + 0xb0]
fmul qword [esp + 0x88]
fstp qword [esp + 0xb0]
call dword [edx + 0x24]
mov dword [esp + 0xe8], eax
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x3c]
mov edx, dword [ebx]
push 0
push 0
lea eax, [esp + 0x90]
push eax
mov ecx, ebx
call dword [edx + 0x40]
push 0
push 0
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebx
call sub.MFC71.DLL_CDC::SetWindowOrg
mov eax, dword [ebx + 8]
push 2
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
inc edx
inc ecx
push 1
mov dword [esp + 0x4c], ecx
push 1
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x50], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov al, byte [0x5c6404]
test al, al
je 0x444364
mov eax, dword [ebx + 0xc]
test eax, eax
mov byte [esp + 0xf], 1
je 0x444369
mov byte [esp + 0xf], 0
mov al, byte [esp + 0xf]
xor esi, esi
test al, al
mov dword [esp + 0x24], esi
mov dword [esp + 0x74], esi
je 0x4443cc
call sub.MSVFW32.dll_DrawDibOpen
mov edx, dword [ebx + 4]
push 0x26
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x4443cc
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_WindowFromDC]
test eax, eax
jne 0x4443cc
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
cmp eax, esi
mov dword [esp + 0x74], eax
je 0x4443cc
mov esi, dword [esp + 0x24]
push eax
push esi
call sub.MSVFW32.dll_DrawDibSetPalette
mov eax, dword [ebx + 4]
push 1
push eax
push esi
call sub.MSVFW32.dll_DrawDibRealize
cmp edi, 4
jne 0x4445e2
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x7c]
push edx
mov eax, edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x44441d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
fld qword [esp + 0xb0]
sub esp, 8
fadd qword [0x594dc8]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
call fcn.00549400
fld qword [esp + 0xb0]
fadd qword [0x594dc8]
mov edi, eax
mov dword [esp + 0x38], edi
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
add esp, 8
call fcn.00549400
mov ecx, eax
mov al, byte [esp + 0xf]
test al, al
mov dword [esp + 0x28], ecx
je 0x4444b9
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x444487
mov ecx, dword [0x68c9b4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
jne 0x444487
xor eax, eax
jmp 0x44448c
mov eax, 0x1000
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
or eax, 0x208
push eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x34]
push edx
push edi
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVFW32.dll_DrawDibBegin
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
sub eax, edx
cdq
idiv ecx
mov esi, eax
mov eax, dword [esp + 0x3c]
imul esi, ecx
mov ecx, dword [esp + 0x40]
add esi, eax
mov eax, dword [esp + 0x7c]
sub eax, ecx
cdq
idiv edi
mov dword [esp + 0x18], esi
mov edi, eax
imul edi, dword [esp + 0x30]
mov eax, dword [esp + 0x84]
add edi, ecx
cmp edi, eax
jge 0x444b6d
mov eax, dword [esp + 0x80]
cmp esi, eax
jge 0x4445c4
lea esp, [esp]
mov al, byte [esp + 0xf]
test al, al
je 0x444571
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x444532
mov ecx, dword [0x68c9b4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
test al, al
jne 0x444532
xor eax, eax
jmp 0x444537
mov eax, 0x1000
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
or eax, 0x208
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
push 0
push 0
push eax
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push edx
push edi
push esi
push ecx
push eax
call sub.MSVFW32.dll_DrawDibDraw
jmp 0x4445af
push 4
mov ecx, ebx
call sub.MFC71.DLL_CDC::SetStretchBltMode
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
push 0xcc0020
mov eax, dword [ebx + 4]
push 0
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x40]
push 0
push 0
push ecx
push edx
push edi
push esi
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
add esi, edx
cmp esi, eax
jl 0x444510
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
add edi, edx
cmp edi, ecx
jl 0x444501
jmp 0x444b6d
cmp edi, 2
fld qword [0x594cf8]
fstp qword [esp + 0xc8]
fld qword [0x594cf8]
fstp qword [esp + 0xd0]
fld qword [esp + 0x30]
fstp qword [esp + 0xd8]
fld qword [esp + 0xf0]
fstp qword [esp + 0xe0]
fild dword [esp + 0x3c]
fstp qword [esp + 0x50]
fild dword [esp + 0x40]
fstp qword [esp + 0x58]
fild dword [esp + 0x44]
fstp qword [esp + 0x60]
fild dword [esp + 0x48]
fstp qword [esp + 0x68]
je 0x4446fc
cmp edi, 3
je 0x4446fc
cmp edi, 5
jne 0x444861
fld qword [esp + 0x60]
fsub qword [esp + 0x50]
fmul qword [0x594dc8]
fadd qword [esp + 0x50]
call fcn.00549400
fld qword [esp + 0x68]
fsub qword [esp + 0x58]
mov dword [esp + 0x88], eax
fmul qword [0x594dc8]
fadd qword [esp + 0x58]
call fcn.00549400
fild dword [esp + 0x88]
mov dword [esp + 0x8c], eax
sub esp, 0x10
fst qword [esp + 0x100]
mov ecx, 8
fild dword [esp + 0x9c]
lea esi, [esp + 0x100]
lea edi, [esp + 0x60]
lea eax, [esp + 0x60]
fst qword [esp + 0x108]
fxch st(1)
fstp qword [esp + 0x110]
fstp qword [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xc0]
fmul qword [0x594dc8]
fstp qword [esp + 8]
fld qword [esp + 0xb8]
fmul qword [0x594dc8]
fstp qword [esp]
call fcn.004465f0
jmp 0x444861
fld qword [esp + 0x60]
fsub qword [esp + 0x50]
fstp qword [esp + 0x10]
fld qword [0x594cf8]
fld qword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444861
fld qword [esp + 0x68]
fsub qword [esp + 0x58]
fstp qword [esp + 0x30]
fld qword [0x594cf8]
fld qword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444861
fld qword [esp + 0xd8]
fstp qword [esp + 0x28]
fld qword [0x594cf8]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444861
fld qword [esp + 0xe0]
fstp qword [esp + 0x18]
fld qword [0x594cf8]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444861
cmp edi, 3
fld qword [esp + 0x28]
fdiv qword [esp + 0x18]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fdiv qword [esp + 0x30]
jne 0x444804
fld qword [0x594cf8]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444804
fcom qword [esp + 0x88]
sub esp, 0x10
fnstsw ax
test ah, 5
lea eax, [esp + 0xd8]
jp 0x4447ec
fld qword [0x594cf8]
fstp qword [esp + 8]
fld qword [esp + 0x28]
fmul st(1)
fsubr qword [esp + 0x38]
fmul qword [0x594dc8]
fstp qword [esp]
fstp st(0)
jmp 0x44485c
fld qword [esp + 0x38]
fdiv st(1)
fsubr qword [esp + 0x28]
fmul qword [0x594dc8]
fstp qword [esp + 8]
fstp st(0)
jmp 0x444853
fcomp qword [esp + 0x88]
sub esp, 0x10
fnstsw ax
test ah, 0x41
lea eax, [esp + 0x60]
jne 0x44483a
fld qword [0x594cf8]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fmul qword [esp + 0x98]
fsubr qword [esp + 0x20]
fmul qword [0x594dc8]
jmp 0x444859
fld qword [esp + 0x20]
fdiv qword [esp + 0x98]
fsubr qword [esp + 0x40]
fmul qword [0x594dc8]
fstp qword [esp + 8]
fld qword [0x594cf8]
fstp qword [esp]
call fcn.00446620
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4449fd
mov al, byte [esp + 0xf]
test al, al
je 0x4449fd
fld qword [esp + 0x60]
fsub qword [esp + 0x50]
fst qword [esp + 0x10]
fcomp qword [0x594cf8]
fnstsw ax
test ah, 0x41
jne 0x4449fd
fld qword [esp + 0x68]
fsub qword [esp + 0x58]
fst qword [esp + 0x30]
fcomp qword [0x594cf8]
fnstsw ax
test ah, 0x41
jne 0x4449fd
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x11
call esi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push 0x10
fstp qword [esp + 0xf4]
fld qword [0x594cf8]
fstp qword [esp + 0x8c]
fld qword [0x594cf8]
fstp qword [esp + 0x94]
call esi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
lea edx, [esp + 0x88]
lea ecx, [esp + 0xa8]
fstp qword [esp + 0x98]
fld qword [esp + 0xf0]
fstp qword [esp + 0xa0]
call fcn.00446530
lea ecx, [esp + 0xa8]
call fcn.00436990
test al, al
jne 0x4449eb
lea ecx, [esp + 0x50]
lea edx, [esp + 0xa8]
call fcn.004464d0
test al, al
je 0x4449eb
fld qword [esp + 0xd8]
fsub qword [esp + 0xc8]
fdiv qword [esp + 0x10]
fld qword [esp + 0xe0]
fsub qword [esp + 0xd0]
fdiv qword [esp + 0x30]
fld qword [esp + 0xa8]
fsub qword [esp + 0x50]
fmul st(2)
fadd qword [esp + 0xc8]
fstp qword [esp + 0xc8]
fld qword [esp + 0xb0]
fsub qword [esp + 0x58]
fmul st(1)
fadd qword [esp + 0xd0]
fstp qword [esp + 0xd0]
fld qword [esp + 0xb8]
fsub qword [esp + 0x60]
fmul st(2)
fadd qword [esp + 0xd8]
fstp qword [esp + 0xd8]
fld qword [esp + 0xc0]
fsub qword [esp + 0x68]
fmul st(1)
fadd qword [esp + 0xe0]
fstp qword [esp + 0xe0]
fstp st(0)
fstp st(0)
mov ecx, 8
lea esi, [esp + 0xa8]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x60]
fld qword [esp + 0x50]
fucompp
fnstsw ax
test ah, 0x44
jp 0x444a23
fld qword [esp + 0x68]
fld qword [esp + 0x58]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444b6d
fld qword [esp + 0xd8]
fsub qword [esp + 0xc8]
fcomp qword [0x594cf8]
fnstsw ax
test ah, 0x41
jne 0x444b6d
fld qword [esp + 0xe0]
fsub qword [esp + 0xd0]
fcomp qword [0x594cf8]
fnstsw ax
test ah, 0x41
jne 0x444b6d
lea esi, [esp + 0xf0]
lea edi, [esp + 0x50]
call fcn.004368c0
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
lea esi, [esp + 0xa8]
lea edi, [esp + 0xc8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
call fcn.004368c0
mov dl, byte [esp + 0xf]
test dl, dl
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
je 0x444b0f
push 0x1200
mov edx, dword [ebx + 4]
sub esi, eax
sub edi, ecx
push edi
push esi
mov esi, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x110]
sub eax, ecx
push eax
mov eax, dword [esp + 0x110]
sub esi, eax
push esi
push ecx
push eax
push edx
mov edx, dword [esp + 0x54]
push edx
call sub.MSVFW32.dll_DrawDibDraw
jmp 0x444b6d
push 4
mov ecx, ebx
call sub.MFC71.DLL_CDC::SetStretchBltMode
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
push 0
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xbc]
mov edx, dword [ebx + 4]
sub esi, eax
sub edi, ecx
push edi
push esi
mov esi, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x110]
push eax
mov eax, dword [esp + 0xb4]
sub eax, ecx
push eax
mov eax, dword [esp + 0x114]
sub esi, eax
push esi
push ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x444b7b
push eax
call sub.MSVFW32.dll_DrawDibClose
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x444b8e
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x28]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x444b9d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xec]
call fcn.00443740
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc