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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push ebp
xor ebp, ebp
push esi
push edi
push ebp
push ebp
mov edi, ecx
mov eax, dword [edi + 0x20]
push 0xb
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0046eb40
cmp dword [edi + 0x9c], ebp
mov dword [edi + 0x118], ebp
mov dword [edi + 0x318], ebp
mov dword [edi + 0x31c], ebp
jne 0x4ef654
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xa0]
cmp dword [ecx + 4], ebp
je 0x4ef64a
cmp dword [ecx + 8], ebp
fld qword [0x5ae4c0]
fld qword [0x5853d0]
jle 0x4ef7d4
add ecx, 0xb0
mov bl, byte [ecx + 1]
cmp bl, 7
je 0x4ef7b1
cmp bl, 8
je 0x4ef7b1
mov edx, dword [ecx]
mov eax, edx
and eax, 0xff
cmp eax, 6
jae 0x4ef6dd
mov esi, dword [ecx - 0x7c]
and esi, 0xf000
cmp esi, 0x1000
jne 0x4ef6dd
cmp bl, 4
je 0x4ef6dd
mov esi, dword [edi + 0xa0]
cmp dword [esi + 0x1c], ebp
je 0x4ef6dd
cmp dword [esi + 0x14], ebp
je 0x4ef6dd
test dl, 1
mov edx, 1
jne 0x4ef6d3
mov dword [esp + 0x28], edx
jmp 0x4ef6e2
mov dword [esp + 0x24], 1
jmp 0x4ef6e2
mov edx, 1
test eax, eax
jne 0x4ef700
mov eax, dword [ecx - 0x7c]
and eax, 0xf000
cmp eax, 0x2000
jne 0x4ef700
cmp bl, 4
je 0x4ef700
mov dword [edi + 0x318], edx
movzx eax, byte [ecx]
cmp eax, 3
jae 0x4ef721
mov eax, dword [ecx - 0x7c]
and eax, 0xf000
cmp eax, 0x2000
jne 0x4ef721
cmp byte [ecx + 1], 4
je 0x4ef727
mov dword [esp + 0x2c], edx
cmp byte [ecx + 1], 4
jne 0x4ef731
mov dword [esp + 0x2c], edx
mov dword [edi + 0x118], edx
mov esi, dword [ecx]
and esi, 0xff
cmp esi, 7
je 0x4ef743
cmp esi, 8
jne 0x4ef791
cmp byte [ecx + 1], 0
jne 0x4ef791
mov eax, dword [ecx - 0x7c]
mov ebx, eax
and ebx, 0x30000
cmp ebx, 0x10000
jne 0x4ef769
mov ebx, eax
and ebx, 0xf0
cmp bl, 0x60
jne 0x4ef791
shr eax, 8
and eax, 0xf
cmp eax, 4
mov dword [esp + 0x30], edx
je 0x4ef77d
cmp eax, 0xc
jne 0x4ef791
cmp esi, 7
jne 0x4ef788
add dword [esp + 0x34], edx
jmp 0x4ef791
cmp esi, 8
jne 0x4ef791
add dword [esp + 0x38], edx
cmp byte [ecx + 1], 0xa
jne 0x4ef79b
mov dword [esp + 0x30], edx
mov eax, dword [edi + 0xa0]
cmp dword [eax + 0x1c], ebp
je 0x4ef7ab
cmp dword [eax + 0x14], ebp
jne 0x4ef7b6
mov dword [esp + 0x30], edx
jmp 0x4ef7b6
mov edx, 1
add ebp, edx
mov edx, dword [edi + 0xa0]
add ecx, 0xa4
cmp ebp, dword [edx + 8]
jl 0x4ef67a
cmp dword [esp + 0x2c], 0
jne 0x4ef7f2
fld st(1)
fmul st(1)
call fcn.005261c0
fld st(1)
fmul qword [0x585078]
mov esi, eax
call fcn.005261c0
sub esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x28], 0
je 0x4ef800
cmp dword [esp + 0x24], 0
jne 0x4ef80a
mov dword [edi + 0x31c], 1
mov eax, dword [edi + 0xa0]
xor ebp, ebp
cmp dword [eax + 8], ebp
jle 0x4f0287
mov dword [esp + 0x20], ebp
jmp 0x4ef827
fld qword [0x5853d0]
mov ebx, dword [edi + 0xa0]
fld qword [0x5853c8]
mov eax, dword [esp + 0x20]
fld qword [0x584ed0]
mov dl, byte [ebx + eax + 0xb1]
fld qword [0x584f80]
cmp dl, 7
fld qword [0x585198]
mov byte [esp + 0x16], dl
je 0x4f0261
cmp dl, 8
je 0x4f0261
mov ecx, dword [ebx + eax + 0xb0]
and ecx, 0xff
cmp ecx, 6
mov dword [esp + 0x24], ecx
jae 0x4efa2c
mov esi, dword [ebx + eax + 0x34]
mov edx, esi
and edx, 0xf000
cmp edx, 0x1000
mov dl, byte [esp + 0x16]
jne 0x4efa2c
cmp dl, 4
je 0x4efa2c
cmp dword [ebx + 0x1c], ebp
fstp st(4)
je 0x4ef97b
cmp dword [ebx + 0x14], ebp
je 0x4ef97b
fstp st(2)
mov eax, esi
fstp st(2)
and al, 0xf0
cmp al, 0x40
fstp st(0)
fstp st(0)
jne 0x4efbc4
mov edx, dword [edi + 0x9c]
test dword [edx + 0x28], 0x800
jne 0x4efbc4
fld qword [0x5ae4b8]
fmul qword [0x584f78]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x40]
mov edx, dword [esp + 0x40]
fldcw word [esp + 0x16]
fld qword [0x584dc0]
fnstcw word [esp + 0x16]
fmul st(1)
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x40]
mov esi, dword [esp + 0x40]
sub esi, edx
fldcw word [esp + 0x16]
imul esi, ecx
fmul qword [0x5853c0]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
sub eax, esi
push eax
push ebp
fldcw word [esp + 0x1e]
mov eax, edi
call fcn.004f0f20
fld qword [0x5ae4c0]
jmp 0x4f026b
fld st(4)
fmulp st(3)
fxch st(2)
call fcn.005261c0
mov edx, dword [esp + 0x1c]
neg edx
sub edx, eax
cmp dword [ebx + 0x1c], ebp
mov dword [esp + 0x28], edx
jne 0x4ef9b4
fmul st(3)
call fcn.005261c0
fmul st(2)
mov esi, eax
call fcn.005261c0
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x20]
sub esi, eax
add edx, esi
jmp 0x4ef9bb
mov ecx, dword [ebx + 0x18]
fstp st(1)
fstp st(0)
cmp ecx, 0xffffffff
je 0x4f0269
mov eax, dword [edi + 0x9c]
test dword [eax + 0x28], 0x800
jne 0x4f0269
fnstcw word [esp + 0x16]
push ebp
movzx eax, word [esp + 0x1a]
fstp st(1)
fmul qword [0x5ae4b8]
or eax, 0xc00
mov dword [esp + 0x2c], eax
push edx
fldcw word [esp + 0x30]
fistp qword [esp + 0x48]
mov edx, dword [esp + 0x48]
fldcw word [esp + 0x1e]
imul ecx, ecx, 0xa4
push edx
mov edx, dword [ecx + ebx + 0x34]
and edx, 0xf
xor ebx, ebx
call fcn.004f1100
test eax, eax
je 0x4efa21
call fcn.0046df90
fld qword [0x5ae4c0]
jmp 0x4f026b
cmp ecx, 3
jae 0x4efbb5
mov eax, dword [ebx + eax + 0x34]
mov esi, eax
and esi, 0xf000
cmp esi, 0x2000
jne 0x4efbb5
cmp dl, 4
je 0x4efbb5
mov esi, dword [ebx + 0x1c]
fstp st(4)
cmp esi, ebp
je 0x4efb29
cmp dword [ebx + 0x14], ebp
je 0x4efb29
and al, 0xf0
fstp st(2)
cmp al, 0x40
fstp st(2)
jne 0x4efbc0
mov eax, dword [edi + 0x9c]
test dword [eax + 0x28], 0x800
jne 0x4efbc0
fmul qword [0x5ae4b8]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x40]
mov edx, dword [esp + 0x40]
fldcw word [esp + 0x16]
fnstcw word [esp + 0x16]
fmul st(1)
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x28], eax
xor eax, eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x40]
mov esi, dword [esp + 0x40]
sub esi, edx
cmp dword [edi + 0x318], eax
fldcw word [esp + 0x16]
sete al
fmul qword [0x585078]
imul esi, eax
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x28], eax
mov eax, edi
fldcw word [esp + 0x28]
fistp qword [esp + 0x40]
mov edx, dword [esp + 0x40]
sub edx, esi
add edx, ecx
push edx
fldcw word [esp + 0x1a]
push ebp
call fcn.004f0f20
fld qword [0x5ae4c0]
jmp 0x4f026b
fld st(4)
fmulp st(3)
fxch st(2)
call fcn.005261c0
mov edx, dword [esp + 0x1c]
neg edx
sub edx, eax
cmp esi, ebp
mov dword [esp + 0x28], edx
jne 0x4efb61
fmul st(3)
call fcn.005261c0
fmul st(2)
mov esi, eax
call fcn.005261c0
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x20]
sub esi, eax
add edx, esi
jmp 0x4efb68
mov ecx, dword [ebx + 0x18]
fstp st(1)
fstp st(0)
cmp ecx, 0xffffffff
je 0x4f0269
mov eax, dword [edi + 0x9c]
test dword [eax + 0x28], 0x800
jne 0x4f0269
fnstcw word [esp + 0x16]
push ebp
movzx eax, word [esp + 0x1a]
fstp st(1)
fmul qword [0x5ae4b8]
or eax, 0xc00
mov dword [esp + 0x2c], eax
push edx
fldcw word [esp + 0x30]
fistp qword [esp + 0x48]
mov edx, dword [esp + 0x48]
fldcw word [esp + 0x1e]
jmp 0x4efa03
cmp dl, 4
fstp st(3)
jne 0x4efbd8
fstp st(4)
fstp st(1)
fstp st(2)
fstp st(1)
push ebp
fstp st(0)
push edi
call fcn.004f0860
fld qword [0x5ae4c0]
jmp 0x4f026b
cmp ecx, 7
je 0x4efbe6
cmp ecx, 8
jne 0x4f0263
test dl, dl
je 0x4efbf3
cmp dl, 0xa
jne 0x4f0263
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + eax + 0x34]
mov eax, esi
shr eax, 0x10
and eax, 3
cmp eax, 1
mov dword [esp + 0x40], eax
jne 0x4efc1d
mov ecx, esi
and ecx, 0xf0
cmp cl, 0x60
jne 0x4f0263
fld qword [0x5ae4b8]
fld st(0)
fmulp st(4)
fld st(3)
call fcn.005261c0
cmp dword [esp + 0x24], 7
mov dword [esp + 0x18], eax
jne 0x4efc40
cmp dword [esp + 0x34], 1
ja 0x4efc56
cmp dword [esp + 0x24], 8
jne 0x4efd10
cmp dword [esp + 0x38], 1
jbe 0x4efd10
cmp dword [ebx + 8], 0
mov dword [esp + 0x28], 0
jle 0x4efc9c
mov ecx, esi
shr ecx, 8
and ecx, 0xf
mov dword [esp + 0x3c], ecx
lea eax, [ebx + 0x34]
jmp 0x4efc79
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
shr edx, 8
and edx, 0xf
cmp edx, ecx
je 0x4efc9c
mov ecx, dword [esp + 0x28]
add ecx, 1
mov edx, ebx
add eax, 0xa4
cmp ecx, dword [edx + 8]
mov dword [esp + 0x28], ecx
jl 0x4efc75
fld qword [0x584f70]
fmul st(1)
call fcn.005261c0
mov ecx, dword [esp + 0x18]
sub ecx, eax
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x28], ecx
je 0x4efcc8
fld st(0)
fmul st(2)
call fcn.005261c0
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + edx + 0xac]
and ecx, 0xf
je 0x4efd10
mov eax, esi
shr eax, 4
and eax, 0xf
cmp eax, 5
je 0x4efcee
cmp eax, 4
jne 0x4efd10
cmp ecx, 1
jne 0x4efcfd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jmp 0x4efd10
fld st(0)
fmul st(2)
call fcn.005261c0
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov eax, esi
shr eax, 4
and eax, 0xf
cmp eax, 5
jne 0x4efdbd
fstp st(3)
push ebp
fnstcw word [esp + 0x1a]
mov ebx, 2
movzx eax, word [esp + 0x1a]
fstp st(2)
or eax, 0xc00
fld st(3)
mov dword [esp + 0x40], eax
fmulp st(2)
fxch st(1)
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fldcw word [esp + 0x1a]
fnstcw word [esp + 0x1a]
fmul st(2)
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff9
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov edx, dword [esp + 0x44]
sub ecx, edx
fldcw word [esp + 0x1a]
imul ecx, eax
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov edx, dword [esp + 0x44]
sub edx, ecx
sub edx, dword [esp + 0x20]
fldcw word [esp + 0x1a]
push edx
mov edx, esi
push eax
and edx, 0xf
jmp 0x4efa13
cmp eax, 4
jne 0x4efe75
mov ecx, dword [edi + 0x9c]
test dword [ecx + 0x28], 0x800
jne 0x4efe75
fstp st(3)
mov ecx, dword [esp + 0x24]
fnstcw word [esp + 0x16]
add ecx, 0xfffffff9
movzx eax, word [esp + 0x16]
fstp st(2)
or eax, 0xc00
fld st(3)
mov dword [esp + 0x3c], eax
fmulp st(2)
fxch st(1)
push ebp
fldcw word [esp + 0x40]
mov ebx, 1
fistp qword [esp + 0x44]
mov edx, dword [esp + 0x44]
fldcw word [esp + 0x1a]
fnstcw word [esp + 0x1a]
fmul st(2)
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub edx, eax
fldcw word [esp + 0x1a]
imul edx, ecx
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fmulp st(1)
mov ecx, dword [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub eax, edx
sub eax, dword [esp + 0x20]
mov edx, esi
fldcw word [esp + 0x1a]
push eax
push ecx
and edx, 0xf
jmp 0x4efa13
cmp eax, 0xb
jne 0x4f00d8
mov edx, dword [esp + 0x20]
mov ebx, dword [ebx + edx + 0xac]
and ebx, 0xf
je 0x4efe92
mov edx, ebx
jmp 0x4efe97
and esi, 0xf
mov edx, esi
fnstcw word [esp + 0x16]
mov esi, dword [esp + 0x1c]
movzx eax, word [esp + 0x16]
fld st(5)
or eax, 0xc00
fmulp st(2)
mov dword [esp + 0x3c], eax
fxch st(1)
push ebp
mov ebx, 1
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fldcw word [esp + 0x1a]
fnstcw word [esp + 0x1a]
fld st(4)
movzx eax, word [esp + 0x1a]
fmulp st(2)
or eax, 0xc00
fxch st(1)
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff9
fldcw word [esp + 0x1a]
imul ecx, eax
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fxch st(3)
fmulp st(2)
or eax, 0xc00
fxch st(1)
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub eax, ecx
sub eax, esi
push eax
fldcw word [esp + 0x1e]
fnstcw word [esp + 0x1e]
fxch st(1)
movzx eax, word [esp + 0x1e]
fmul qword [0x584f70]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fldcw word [esp + 0x1e]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub eax, ecx
push eax
fldcw word [esp + 0x22]
call fcn.004f1100
test eax, eax
je 0x4efa21
call fcn.0046df90
mov ecx, dword [edi + 0xa0]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + edx + 0xac]
add ecx, edx
shr eax, 4
and eax, 0xf
je 0x4effaa
mov edx, eax
jmp 0x4effb0
mov edx, dword [ecx + 0x34]
and edx, 0xf
fld qword [0x5ae4c0]
movzx ecx, byte [ecx + 0xb0]
fld qword [0x584f80]
sub ecx, 7
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x3c], eax
push ebp
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov ebx, dword [esp + 0x44]
fldcw word [esp + 0x1a]
fld qword [0x584ed0]
fnstcw word [esp + 0x1a]
fmul st(1)
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub ebx, eax
fldcw word [esp + 0x1a]
imul ebx, ecx
fmul qword [0x5853d0]
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub eax, ebx
sub eax, esi
push eax
fldcw word [esp + 0x1e]
mov ebx, 2
fld qword [0x5ae4b8]
fld qword [0x584f78]
fnstcw word [esp + 0x1e]
fmul st(1)
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fldcw word [esp + 0x1e]
fld qword [0x584f70]
fnstcw word [esp + 0x1e]
fmul st(1)
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub ecx, eax
fldcw word [esp + 0x1e]
fmul qword [0x585230]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub ecx, eax
push ecx
fldcw word [esp + 0x22]
jmp 0x4efa13
cmp eax, 6
fstp st(3)
fstp st(2)
jne 0x4f01ab
cmp dword [esp + 0x40], 1
jne 0x4f01ab
mov ecx, esi
and ecx, 0xf000
cmp ecx, 0x8000
jne 0x4f01ab
mov edx, dword [edi + 0x9c]
test dword [edx + 0x48], 0x4000000
jne 0x4f01ab
fnstcw word [esp + 0x16]
push ebp
movzx eax, word [esp + 0x1a]
fstp st(0)
or eax, 0xc00
fmul st(2)
mov dword [esp + 0x44], eax
mov ebx, 4
fldcw word [esp + 0x44]
fistp qword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fldcw word [esp + 0x1a]
fnstcw word [esp + 0x1a]
fld st(1)
movzx eax, word [esp + 0x1a]
fmul qword [0x584dc0]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x44]
mov edx, dword [esp + 0x44]
add ecx, edx
add ecx, ecx
mov edx, esi
fldcw word [esp + 0x1a]
fnstcw word [esp + 0x1a]
fmulp st(1)
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub eax, ecx
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
fldcw word [esp + 0x1a]
push eax
push ecx
and edx, 0xf
jmp 0x4efa13
cmp byte [esp + 0x16], 0xa
jne 0x4f0265
mov edx, dword [edi + 0x9c]
test dword [edx + 0x48], 0x4000000
jne 0x4f0265
fnstcw word [esp + 0x16]
push ebp
movzx eax, word [esp + 0x1a]
fld st(3)
or eax, 0xc00
fmulp st(2)
mov dword [esp + 0x44], eax
fxch st(1)
fldcw word [esp + 0x44]
mov ebx, 4
fistp qword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fldcw word [esp + 0x1a]
fnstcw word [esp + 0x1a]
fmul st(2)
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
fldcw word [esp + 0x44]
add eax, 0xfffffff9
fistp qword [esp + 0x44]
mov edx, dword [esp + 0x44]
sub ecx, edx
fldcw word [esp + 0x1a]
imul ecx, eax
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
fldcw word [esp + 0x44]
fistp qword [esp + 0x44]
mov edx, dword [esp + 0x44]
sub edx, ecx
sub edx, dword [esp + 0x20]
fldcw word [esp + 0x1a]
push edx
mov edx, esi
push eax
and edx, 0xf
jmp 0x4efa13
fstp st(3)
fstp st(2)
fstp st(1)
fstp st(0)
fstp st(0)
mov ecx, dword [edi + 0xa0]
add dword [esp + 0x20], 0xa4
add ebp, 1
cmp ebp, dword [ecx + 8]
jl 0x4ef821
jmp 0x4f0289
fstp st(0)
lea eax, [edi + 0x1c4]
test eax, eax
je 0x4f02b6
mov eax, dword [eax + 0x20]
fstp st(0)
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.005039ae
fld qword [0x5ae4c0]
mov esi, dword [esp + 0x2c]
test esi, esi
mov ebx, dword [esp + 0x44]
mov ebp, ebx
je 0x4f02e4
fld qword [0x5853d0]
fmul st(1)
call fcn.005261c0
fmul qword [0x585078]
mov ebp, eax
call fcn.005261c0
sub ebp, eax
add ebp, ebx
jmp 0x4f02e6
fstp st(0)
mov edx, dword [esp + 0x40]
push 1
push 0
push 0
push ebp
push edx
lea ebx, [edi + 0x218]
push 0x5b5a10
mov ecx, ebx
call fcn.00501b56
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax + 4]
and cl, 0x10
neg cl
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 5
push ecx
lea ecx, [edi + 0x11c]
call fcn.00501947
neg esi
sbb esi, esi
and esi, 5
push esi
lea ecx, [edi + 0x1c4]
call fcn.00501947
mov eax, dword [esp + 0x30]
neg eax
sbb eax, eax
and eax, 5
push eax
mov ecx, ebx
call fcn.00501947
mov edx, dword [edi + 0x9c]
test dword [edx + 0x24], 0x400
je 0x4f0368
push 0
lea ecx, [edi + 0x170]
call fcn.00501947
mov eax, dword [edi + 0x9c]
test dword [eax + 0x24], 0x200
je 0x4f0396
cmp dword [edi + 0x118], 0
je 0x4f0389
test dword [eax + 0x48], 0x40000
je 0x4f0396
push 0
lea ecx, [edi + 0x1c4]
call fcn.00501947
mov eax, dword [edi + 0x9c]
test byte [eax + 0x48], 4
je 0x4f03ab
push 0
mov ecx, ebx
call fcn.00501947
mov ecx, dword [edi + 0x78]
mov edx, dword [ecx]
lea eax, [edi + 0x78]
push 1
push eax
call edx
mov eax, dword [edi + 0x20]
push 0
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret