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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x87c
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x5c]
push edi
push eax
mov ecx, dword [esi + 0x274]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esi + 0x23c]
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x6c]
push 0xfffffffffffffff6
lea edx, [esp + 0x24]
push 0xfffffffffffffff6
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x44d584
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x44d594
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esi + 0x270]
call fcn.004467d0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, eax
mov edi, dword [esp + 0x78]
sub ecx, edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x70]
fild dword [esp + 0x10]
sub edi, ecx
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 8]
fstp qword [esp + 0x18]
fild dword [esi + 0x50]
fild dword [esp + 0x10]
sub edi, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edi
mov edi, ecx
fdivr qword [esp + 0x18]
sub edi, ebx
mov ebx, dword [esp + 0x7c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x74]
fmulp st(1)
sub ebx, edi
fdiv st(1)
fld st(0)
fmul qword [0x466e58]
fstp qword [esp + 0x80]
fstp qword [esp + 0x38]
fild dword [esp + 0x10]
fild dword [esi + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 0xc]
fild dword [esp + 0x10]
sub ebx, edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
sub ecx, edi
fdivr st(2)
sub eax, edx
mov ebx, dword [0x46b21c]
mov edx, dword [0x4837e4]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmulp st(1)
fdiv st(1)
fstp qword [esp + 0x30]
fld st(0)
fmul qword [0x466e50]
fdivr st(2)
fmul qword [0x466890]
fstp qword [esp + 0x58]
fld st(2)
fmul qword [0x466e50]
fdivr qword [esp + 0x18]
fmul qword [0x466890]
fstp qword [esp + 0x40]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fdiv st(3)
fstp qword [esp + 0x18]
fild dword [esp + 0x10]
fdiv st(1)
fstp qword [esp + 0x10]
fmul qword [esp + 0x30]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x8c]
mov dword [esp + 0x88], edx
rep stosd dword es:[edi], eax
call fcn.0045a190
fstp st(0)
fmul qword [esp + 0x38]
push eax
call fcn.0045a190
fld qword [esp + 0x34]
fmul qword [0x466e58]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
fmul qword [0x466890]
push eax
lea ecx, [esp + 0xa0]
sub esp, 8
fstp qword [esp]
fld qword [esp + 0xa0]
fmul qword [0x466890]
sub esp, 8
fstp qword [esp]
push str._.2f_x__.2f_cm___.2f_x__.2f_inch___d_x__d_pix
push ecx
call fcn.0045a6e2
mov eax, dword [esi + 0x130]
add esp, 0x30
xor ecx, ecx
test eax, eax
jle 0x44d758
mov edx, dword [esi + 0x134]
cmp dword [edx], 1
je 0x44d738
inc ecx
add edx, 4
cmp ecx, eax
jl 0x44d729
jmp 0x44d758
cmp ecx, 0xffffffff
je 0x44d758
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x88]
push edx
push ecx
push 0x40b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push 0xf0
push eax
mov ecx, esi
call fcn.0044b960
mov ecx, dword [eax]
lea edx, [esp + 0xa8]
push ecx
push str._s__.2f_x__.2f_cm____.2f_x__.2f_inch
push edx
call fcn.0045a6e2
mov eax, dword [esp + 0x3c]
mov edx, dword [0x46b220]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x2c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44d7da
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x44d7da
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
mov edx, dword [esi + 0x130]
xor eax, eax
test edx, edx
jle 0x44d81b
mov ecx, dword [esi + 0x134]
cmp dword [ecx], 2
je 0x44d7fb
inc eax
add ecx, 4
cmp eax, edx
jl 0x44d7ec
jmp 0x44d81b
cmp eax, 0xffffffff
je 0x44d81b
mov edx, dword [esi + 0x114]
lea ecx, [esp + 0x88]
push ecx
push eax
push 0x40b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x46b220]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x44d83b
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x44d83b
push esi
call fcn.00459de2
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8