Function at 0x4fdfe0
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 + 0x3b4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esi + 0x37c]
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 0x4fe054
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x4fe064
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esi + 0x3b0]
call fcn.004f7e30
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 + 0x54]
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 [0x542eb0]
fstp qword [esp + 0x80]
fstp qword [esp + 0x38]
fild dword [esp + 0x10]
fild dword [esi + 0x58]
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 [0x547570]
mov edx, dword [0x554e0c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmulp st(1)
fdiv st(1)
fstp qword [esp + 0x30]
fld st(0)
fmul qword [0x542ea8]
fdivr st(2)
fmul qword [0x541f88]
fstp qword [esp + 0x58]
fld st(2)
fmul qword [0x542ea8]
fdivr qword [esp + 0x18]
fmul qword [0x541f88]
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.005332c8
fstp st(0)
fmul qword [esp + 0x38]
push eax
call fcn.005332c8
fld qword [esp + 0x34]
fmul qword [0x542eb0]
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 [0x541f88]
push eax
lea ecx, [esp + 0xa0]
sub esp, 8
fstp qword [esp]
fld qword [esp + 0xa0]
fmul qword [0x541f88]
sub esp, 8
fstp qword [esp]
push str._.2f_x__.2f_cm___.2f_x__.2f_inch___d_x__d_pix
push ecx
call fcn.00532b29
mov eax, dword [esi + 0x134]
add esp, 0x30
xor ecx, ecx
test eax, eax
jle 0x4fe228
mov edx, dword [esi + 0x138]
cmp dword [edx], 1
je 0x4fe208
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4fe1f9
jmp 0x4fe228
cmp ecx, 0xffffffff
je 0x4fe228
mov eax, dword [esi + 0x118]
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.004fca60
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.00532b29
mov eax, dword [esp + 0x3c]
mov edx, dword [0x547574]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x2c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4fe2aa
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4fe2aa
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov edx, dword [esi + 0x134]
xor eax, eax
test edx, edx
jle 0x4fe2eb
mov ecx, dword [esi + 0x138]
cmp dword [ecx], 2
je 0x4fe2cb
inc eax
add ecx, 4
cmp eax, edx
jl 0x4fe2bc
jmp 0x4fe2eb
cmp eax, 0xffffffff
je 0x4fe2eb
mov edx, dword [esi + 0x118]
lea ecx, [esp + 0x88]
push ecx
push eax
push 0x40b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x547574]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x4fe30b
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x4fe30b
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8