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

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
mov ebx, ecx
sub esp, 0x8c
mov dword [esp], 0
call dword [0x79922c]
xor eax, eax
xor edx, edx
xor ecx, ecx
mov word [ebx + 0x28], ax
xor eax, eax
sub esp, 4
mov word [ebx + 0x78], ax
xor eax, eax
mov word [ebx + 0x88], ax
xor eax, eax
mov word [ebx + 0x38], dx
xor edx, edx
mov word [ebx + 0x48], cx
xor ecx, ecx
mov word [ebx + 0x58], si
xor esi, esi
mov word [ebx + 0x68], di
xor edi, edi
mov dword [ebx], 0x7076b0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xffff
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xffff
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0xffff
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0xffff
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0xffff
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0xffff
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0xffff
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0xffff
mov dword [ebx + 0x94], 0
mov word [ebx + 0x98], ax
xor eax, eax
mov word [ebx + 0xa8], ax
xor eax, eax
mov word [ebx + 0xb8], ax
xor eax, eax
mov word [ebx + 0xc8], ax
xor eax, eax
mov word [ebx + 0x118], ax
xor eax, eax
mov word [ebx + 0xd8], dx
xor edx, edx
mov word [ebx + 0xe8], cx
xor ecx, ecx
mov word [ebx + 0xf8], si
xor esi, esi
mov word [ebx + 0x108], di
xor edi, edi
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0xffff
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0xffff
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0xffff
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0xffff
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0xffff
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0xffff
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0xffff
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0xffff
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x11c], 0
mov word [ebx + 0x128], ax
xor eax, eax
mov word [ebx + 0x138], ax
xor eax, eax
mov word [ebx + 0x148], ax
xor eax, eax
mov word [ebx + 0x158], ax
xor eax, eax
mov word [ebx + 0x168], ax
xor eax, eax
mov word [ebx + 0x178], dx
mov word [ebx + 0x188], cx
mov dword [ebx + 0x120], 0xffff
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x130], 0xffff
mov dword [ebx + 0x134], 0
mov dword [ebx + 0x13c], 0
mov dword [ebx + 0x140], 0xffff
mov dword [ebx + 0x144], 0
mov dword [ebx + 0x14c], 0
mov dword [ebx + 0x150], 0xffff
mov dword [ebx + 0x154], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0xffff
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x170], 0xffff
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x17c], 0
mov dword [ebx + 0x180], 0xffff
mov dword [ebx + 0x184], 0
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x190], 0xffff
mov dword [ebx + 0x194], 0
mov word [ebx + 0x198], si
mov dword [ebx + 0x19c], 0
mov dword [ebx + 0x1a0], 0xffff
mov word [ebx + 0x1b8], ax
xor eax, eax
mov word [ebx + 0x1c8], ax
xor eax, eax
mov word [ebx + 0x1d8], ax
xor eax, eax
mov word [ebx + 0x1e8], ax
xor eax, eax
xor edx, edx
xor ecx, ecx
mov word [ebx + 0x1f8], ax
xor eax, eax
mov dword [ebx + 0x1a4], 0
mov word [ebx + 0x1a8], di
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x1b0], 0xffff
mov dword [ebx + 0x1b4], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c0], 0xffff
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1d0], 0xffff
mov dword [ebx + 0x1d4], 0
mov dword [ebx + 0x1dc], 0
mov dword [ebx + 0x1e0], 0xffff
mov dword [ebx + 0x1e4], 0
mov dword [ebx + 0x1ec], 0
mov dword [ebx + 0x1f0], 0xffff
mov dword [ebx + 0x1f4], 0
mov dword [ebx + 0x1fc], 0
mov dword [ebx + 0x200], 0xffff
mov dword [ebx + 0x204], 0
mov word [ebx + 0x208], ax
mov dword [ebx + 0x20c], 0
mov dword [ebx + 0x210], 0xffff
mov dword [ebx + 0x214], 0
mov word [ebx + 0x218], dx
mov dword [ebx + 0x21c], 0
mov dword [ebx + 0x220], 0xffff
mov dword [ebx + 0x224], 0
mov word [ebx + 0x228], cx
call dword [0x7994bc]
mov dword [ebx + 0x258], eax
lea esi, [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [0x799224]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.1handleGeometryChanged_QRect_
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.2geometryChanged_QRect_
mov dword [esp], esi
mov dword [ebp - 0x78], eax
call eax
mov ecx, esi
mov edi, dword [0x799084]
call edi
mov eax, dword [ebx + 0x258]
lea ecx, [ebp - 0x58]
mov esi, dword [0x799570]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
sub esp, 4
lea ecx, [ebp - 0x48]
add eax, 1
mov dword [ebx + 0x230], eax
mov eax, dword [ebx + 0x258]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
sub esp, 4
add eax, 1
mov ecx, dword [ebx + 0x258]
mov dword [ebx + 0x234], eax
call dword [0x79956c]
fnstcw word [ebp - 0x6a]
mov byte [ebx + 0x255], 0
mov dword [ebx + 0x250], 0
movzx eax, word [ebp - 0x6a]
or ah, 0xc
cmp byte [ebx + 8], 0
mov word [ebp - 0x6c], ax
fldcw word [ebp - 0x6c]
fistp dword [ebx + 0x22c]
fldcw word [ebp - 0x6a]
je 0x4f5ab0
lea eax, [ebp - 0x5c]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], str.1handleOnCanResizeMainWindow__
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.2canResizeMainWindowChanged__
mov dword [esp + 4], ebx
call eax
lea ecx, [ebp - 0x5c]
call edi
mov eax, dword [ebx + 0x230]
mov ecx, dword [ebx + 0x22c]
cdq
idiv ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x234]
fild dword [ebp - 0x78]
cdq
idiv ecx
mov ecx, dword [ebx + 0x258]
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
mov eax, dword [0x799564]
fmul st(0)
fxch st(1)
mov dword [ebp - 0x78], eax
fmul st(0)
faddp st(1)
fsqrt
fstp dword [ebx + 0x240]
call eax
cmp byte [ebx + 0x255], 0
fstp qword [ebx + 0x248]
mov ecx, dword [ebx + 0x258]
je 0x4f5ae0
mov edi, dword [ebx + 0x234]
mov eax, dword [ebx + 0x230]
mov dword [ebx + 0x238], 0
cmp edi, eax
mov eax, dword [ebp - 0x78]
setg byte [ebx + 0x254]
call eax
fdivr dword [0x6b4abc]
fst qword [ebp - 0x78]
fld qword [ebx + 0x10]
fcompi st(1)
jne 0x4f5b30
fstp st(0)
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ebx + 8], 1
mov ecx, ebx
call fcn.005402a0
mov dword [esp], 1
mov ecx, ebx
call fcn.00540d20
sub esp, 4
mov ecx, ebx
call fcn.00540270
jmp 0x4f59dd
mov dword [esp], ecx
lea ecx, [ebp - 0x38]
call esi
mov edi, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x34]
sub esp, 4
add edi, 1
cmp byte [ebx + 0x255], 0
mov ecx, dword [ebx + 0x258]
jne 0x4f5a6c
mov dword [esp], ecx
lea ecx, [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
sub esp, 4
add eax, 1
mov ecx, dword [ebx + 0x258]
jmp 0x4f5a72
fstp qword [ebx + 0x10]
mov ecx, ebx
call fcn.005402d0
fld qword [ebp - 0x78]
mov ecx, ebx
fstp qword [esp]
call fcn.00540d70
sub esp, 8
mov ecx, ebx
call fcn.00540270
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret