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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x101e5a90]
push eax
mov dword [ebp - 0x10], edi
call fcn.10046a10
fldz
mov esi, eax
add esp, 4
test esi, esi
sete al
test al, al
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x41], al
je 0x1004f20e
cmp dword [edi + 0x1a38], 0
je 0x1004f1e7
fstp st(0)
lea eax, [edi + 0x1a60]
jmp 0x1004f1f0
fst dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
fstp dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push ebx
push ecx
push edx
push eax
call fcn.1004b9c0
add esp, 0x10
mov dword [ebp - 0x70], eax
mov esi, eax
jmp 0x1004f213
mov ebx, dword [ebp + 0x10]
fstp st(0)
mov ecx, ebx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1004f229
or ebx, 6
mov dword [ebp + 0x10], ebx
mov ecx, dword [edi + 0x1948]
cmp dword [esi + 0x21c], ecx
mov dword [ebp - 0x84], ecx
setne al
test al, al
mov byte [ebp - 0x2e], al
je 0x1004f24a
mov dword [esi + 8], ebx
jmp 0x1004f252
mov edx, dword [esi + 8]
mov dword [ebp + 0x10], edx
mov ebx, edx
cmp dword [edi + 0x1978], 0
jne 0x1004f25f
xor edx, edx
jmp 0x1004f272
mov eax, dword [edi + 0x1978]
mov edx, dword [edi + 0x1980]
mov edx, dword [edx + eax*4 - 4]
mov al, byte [ebp - 0x2e]
test al, al
je 0x1004f285
mov eax, ebx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, edx
jmp 0x1004f28b
mov eax, dword [esi + 0x2ec]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x78], eax
setne dl
add ecx, 0xffffffff
mov byte [esi + 0x82], dl
cmp dword [esi + 0x21c], ecx
mov eax, ebx
setl cl
cmp dword [esi + 0xa8], 0
mov byte [ebp - 0x6c], cl
setg byte [ebp - 9]
and eax, 0x4000000
mov dword [ebp - 0x48], eax
je 0x1004f2ec
mov eax, dword [edi + 0x1a28]
mov edx, dword [edi + 0x1a24]
mov ebx, dword [esi + 0x8c]
lea eax, [eax + eax*8]
cmp esi, dword [edx + eax*4 + 4]
lea eax, [edx + eax*4]
setne dl
cmp ebx, dword [eax]
setne al
or dl, al
or cl, dl
mov byte [ebp - 0x6c], cl
test cl, cl
jne 0x1004f2f9
cmp byte [ebp - 9], cl
jne 0x1004f2f9
xor eax, eax
jmp 0x1004f2fe
mov eax, 1
test al, al
mov byte [esi + 0x80], al
je 0x1004f316
mov bl, 1
mov ecx, 8
mov eax, esi
call fcn.10040f60
mov eax, dword [edi + 0x1978]
mov ecx, dword [edi + 0x197c]
cmp eax, ecx
lea ebx, [edi + 0x1978]
jne 0x1004f357
test ecx, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x54], edx
je 0x1004f344
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x54]
sar eax, 1
add eax, ecx
jmp 0x1004f349
mov eax, 8
cmp eax, edx
jg 0x1004f34f
mov eax, edx
push eax
mov ecx, ebx
call fcn.100438b0
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
mov dword [edx + ecx*4], esi
add dword [ebx], 1
mov ecx, esi
call fcn.1003fea0
mov cl, 1
mov edx, esi
call fcn.10040ef0
cmp dword [ebp - 0x48], 0
je 0x1004f3a1
mov eax, dword [edi + 0x1a28]
mov edx, dword [edi + 0x1a24]
lea ecx, [edi + 0x1a28]
lea eax, [eax + eax*8]
lea ebx, [edx + eax*4]
push ebx
mov dword [ebx + 4], esi
call fcn.10049cd0
mov eax, dword [ebx]
mov dword [esi + 0x8c], eax
cmp byte [ebp - 9], 0
mov ebx, dword [ebp + 0x10]
je 0x1004f3bc
test ebx, 0x1000000
jne 0x1004f3bc
mov dword [esi + 0x300], 0
mov ecx, dword [edi + 0x1a34]
test ecx, ecx
mov byte [ebp - 1], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
je 0x1004f459
test dword [esi + 0xac], ecx
setne al
test al, al
mov byte [ebp - 1], al
je 0x1004f446
fld dword [edi + 0x1a5c]
fld dword [edi + 0x1a58]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [ebp - 0x54]
fld dword [ebp - 0x54]
fcomp dword [0x101a38e0]
fnstsw ax
test ah, 0x41
jne 0x1004f446
mov ecx, dword [edi + 0x1a50]
mov dword [esi + 0xb8], ecx
mov edx, dword [edi + 0x1a54]
mov dword [esi + 0xbc], edx
mov eax, dword [edi + 0x1a58]
mov dword [esi + 0xc0], eax
mov ecx, dword [edi + 0x1a5c]
mov dword [esi + 0xc4], ecx
and dword [esi + 0xac], 0xfffffff1
jmp 0x1004f459
add edi, 0x1a50
mov eax, ecx
call fcn.100417b0
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x1a38]
test ecx, ecx
je 0x1004f4b2
mov edx, dword [esi + 0xb0]
and edx, ecx
je 0x1004f480
fldz
mov byte [ebp - 0x12], 1
fcomp dword [edi + 0x1a60]
fnstsw ax
test ah, 5
jnp 0x1004f484
mov byte [ebp - 0x12], 0
test edx, edx
je 0x1004f49b
fldz
mov byte [ebp - 0x11], 1
fcomp dword [edi + 0x1a64]
fnstsw ax
test ah, 5
jnp 0x1004f49f
mov byte [ebp - 0x11], 0
add edi, 0x1a60
mov eax, ecx
call fcn.100418e0
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x10]
cmp dword [edi + 0x1a3c], 0
je 0x1004f4f5
mov edx, dword [edi + 0x1a68]
fldz
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x1a6c]
mov dword [esi + 0x38], eax
fcomp dword [esi + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x1004f51b
mov ecx, esi
call fcn.1003e3c0
fstp dword [ebp - 0x54]
mov ecx, esi
call fcn.1003e300
fadd dword [ebp - 0x54]
fadd dword [esi + 0x38]
fstp dword [esi + 0x38]
jmp 0x1004f51b
cmp byte [ebp - 0x2e], 0
je 0x1004f51b
fldz
fst dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc0]
fstp dword [ebp - 0xbc]
mov edx, dword [ebp - 0xbc]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
mov ecx, dword [edi + 0x1a40]
test ecx, ecx
je 0x1004f537
movzx eax, byte [edi + 0x1a70]
push eax
mov eax, esi
call fcn.10041990
add esp, 4
cmp dword [edi + 0x1a48], 0
je 0x1004f549
push esi
call fcn.10047200
add esp, 4
cmp byte [esi + 0x80], 0
je 0x1004f563
xor bl, bl
mov ecx, 8
mov eax, esi
call fcn.10040f60
mov ebx, dword [ebp + 0x10]
cmp byte [ebp - 0x2e], 0
je 0x10051397
mov eax, ebx
and eax, 0x1000000
mov dword [ebp - 0x74], eax
je 0x1004f585
test ebx, 0x2000000
mov byte [ebp - 0x2d], 1
jne 0x1004f589
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebp - 0x78]
push ecx
push ebx
push esi
call fcn.100411b0
fld dword [0x101a3380]
mov byte [esi + 0x7a], 1
fst dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
fstp dword [ebp - 0x3c]
fld dword [0x101a34a8]
xor eax, eax
mov word [esi + 0x86], ax
fst dword [ebp - 0x38]
mov dx, word [edi + 0x1990]
fstp dword [ebp - 0x34]
mov word [esi + 0x88], dx
add dword [edi + 0x1990], 1
mov edx, dword [ebp - 0x3c]
mov word [esi + 0x84], ax
lea eax, [esi + 0x1cc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
lea ebx, [esi + 0x1c0]
mov dword [esi + 0x21c], eax
mov ecx, dword [ebx + 4]
add esp, 0xc
cmp ecx, 1
jge 0x1004f634
test ecx, ecx
je 0x1004f680
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, 1
jg 0x1004f62c
mov eax, 1
push eax
mov ecx, ebx
call fcn.10044640
mov dword [ebx], 1
cmp dword [edi + 0x1ae4], 0
je 0x1004f6af
test dword [esi + 8], 0x80000
jne 0x1004f6af
cmp byte [ebp - 0x41], 0
jne 0x1004f6af
mov edi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004f687
test dl, dl
je 0x1004f67c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004f687
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004f660
xor eax, eax
jmp 0x1004f68c
mov eax, 8
jmp 0x1004f62c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004f6af
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
push edx
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x2c], ecx
call fcn.100454c0
mov ecx, dword [ebp - 0x2c]
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 0x4c], ecx
lea edi, [ebp - 0x38]
call fcn.10040fe0
mov ebx, dword [ebp - 0x70]
mov edx, dword [eax]
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0xa4], 0
jle 0x1004f6d5
add dword [ebx + 0xa4], 0xffffffff
cmp dword [ebx + 0xa8], 0
jle 0x1004f6e5
add dword [ebx + 0xa8], 0xffffffff
cmp byte [ebp - 0x41], 0
je 0x1004f701
cmp byte [ebp - 0x12], 0
je 0x1004f6f7
cmp byte [ebp - 0x11], 0
jne 0x1004f701
mov dword [ebx + 0xa8], 1
cmp byte [ebp - 0x6c], 0
je 0x1004f74b
mov eax, dword [ebp + 0x10]
test eax, 0x6000000
je 0x1004f74b
test al, 0x40
mov dword [ebx + 0xa8], 1
je 0x1004f74b
cmp byte [ebp - 0x12], 0
fldz
jne 0x1004f72d
fst dword [ebx + 0x1c]
fst dword [ebx + 0x14]
cmp byte [ebp - 0x11], 0
jne 0x1004f739
fst dword [ebx + 0x20]
fst dword [ebx + 0x18]
fst dword [ebp - 0x50]
mov ecx, dword [ebp - 0x50]
fstp dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], edx
mov ecx, ebx
call fcn.1003fea0
mov eax, dword [ebp - 0x74]
test eax, eax
mov ecx, dword [ebp + 0x10]
je 0x1004f767
mov esi, dword [ebp - 0x10]
fld dword [esi + 0x1538]
jmp 0x1004f78d
test ecx, 0x6000000
je 0x1004f782
test ecx, 0x8000000
jne 0x1004f782
mov edx, dword [ebp - 0x10]
fld dword [edx + 0x1540]
jmp 0x1004f78b
mov edx, dword [ebp - 0x10]
fld dword [edx + 0x1520]
mov esi, edx
test eax, eax
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [ebx + 0x48]
mov edx, dword [esi + 0x1514]
mov dword [ebx + 0x3c], edx
mov edx, dword [esi + 0x1518]
mov dword [ebx + 0x40], edx
je 0x1004f7ef
test ecx, 0x4010000
jne 0x1004f7ef
fldz
fcom dword [ebx + 0x48]
fnstsw ax
test ah, 0x44
jp 0x1004f7ed
test ecx, 0x400
je 0x1004f7d3
fld dword [esi + 0x1518]
fstp dword [ebp - 0x2c]
jmp 0x1004f7d6
fst dword [ebp - 0x2c]
fstp dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
fld dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
fstp dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 0x40], edx
jmp 0x1004f7ef
fstp st(0)
fld dword [ebx + 0x3c]
fstp dword [ebp - 0x54]
fld dword [esi + 0x1554]
fstp dword [ebp - 0x84]
fld dword [ebp - 0x54]
fld dword [ebp - 0x84]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1004f817
fstp st(0)
jmp 0x1004f819
fstp st(1)
fstp dword [ebp - 0x2c]
fld dword [esi + 0x1a90]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x2c]
fld dword [ebp - 0x54]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1004f838
fstp st(0)
jmp 0x1004f83a
fstp st(1)
fstp dword [ebp - 0x2c]
mov eax, ecx
fld dword [ebp - 0x2c]
and eax, 1
fstp dword [ebx + 0x148]
mov dword [ebp - 0x2c], eax
fld dword [esi + 0x1a94]
fstp dword [ebx + 0x14c]
jne 0x1004f8d3
test cl, 0x20
jne 0x1004f8d3
lea eax, [ebp - 0xd8]
push eax
mov ecx, ebx
call fcn.1003e350
cmp dword [esi + 0x1998], ebx
jne 0x1004f8b2
cmp dword [esi + 0x19a0], 0
jne 0x1004f8b2
cmp dword [esi + 0x19a8], 0
jne 0x1004f8b2
push 1
lea ecx, [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.10040600
add esp, 0xc
test al, al
je 0x1004f8b2
cmp byte [esi + 0x3e5], 0
je 0x1004f8b2
mov byte [ebx + 0x7e], 1
cmp byte [ebx + 0x7e], 0
je 0x1004f8d7
cmp byte [ebx + 0x7d], 0
push ebx
sete al
mov byte [ebx + 0x7d], al
call fcn.10043050
push ebx
call fcn.10047200
add esp, 8
jmp 0x1004f8d7
mov byte [ebx + 0x7d], 0
lea eax, [ebx + 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov eax, ebx
mov byte [ebx + 0x7e], 0
call fcn.10046c20
fld dword [0x101a34a8]
mov eax, dword [ebp + 0x10]
fst dword [ebp - 0x24]
add esp, 8
fstp dword [ebp - 0x20]
and eax, 0x40
mov dword [ebp - 0x44], eax
je 0x1004f931
cmp byte [ebx + 0x7d], 0
jne 0x1004f931
cmp byte [ebp - 0x12], 0
jne 0x1004f919
fld dword [ebp - 0x64]
fst dword [ebp - 0x24]
fstp dword [ebx + 0x1c]
cmp byte [ebp - 0x11], 0
jne 0x1004f9c0
fld dword [ebp - 0x60]
fst dword [ebp - 0x20]
fstp dword [ebx + 0x20]
jmp 0x1004f9c0
mov eax, dword [ebx + 0x90]
test eax, eax
jg 0x1004f944
cmp dword [ebx + 0x94], 0
jle 0x1004f9c0
cmp byte [ebp - 0x12], 0
jne 0x1004f978
test eax, eax
jle 0x1004f978
cmp byte [ebx + 0x98], 0
fld dword [ebp - 0x64]
je 0x1004f96f
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1c]
fstp dword [esp]
call fcn.10044830
add esp, 8
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [ebx + 0x1c]
cmp byte [ebp - 0x11], 0
jne 0x1004f9b1
cmp dword [ebx + 0x94], 0
jle 0x1004f9b1
cmp byte [ebx + 0x98], 0
fld dword [ebp - 0x60]
je 0x1004f9a8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x20]
fstp dword [esp]
call fcn.10044830
add esp, 8
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fstp dword [ebx + 0x20]
cmp byte [ebx + 0x7d], 0
jne 0x1004f9c0
push ebx
call fcn.10043050
add esp, 4
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x1c]
push edx
push eax
lea ecx, [ebp - 0x38]
push ecx
mov edi, ebx
mov dword [ebp - 0x4c], esi
call fcn.10046a30
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [eax + 4]
add esp, 0xc
mov dword [esi + 4], eax
cmp byte [ebx + 0x7d], 0
je 0x1004fa16
cmp dword [ebp - 0x74], 0
jne 0x1004fa16
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, ebx
call fcn.1003e350
fld dword [eax + 8]
fsub dword [eax]
fstp dword [ebp - 0x1c]
fld dword [eax + 0xc]
fsub dword [eax + 4]
lea eax, [ebp - 0x1c]
fstp dword [ebp - 0x18]
jmp 0x1004fa18
mov eax, esi
mov edx, dword [eax]
fld qword [0x101a38b0]
lea ecx, [ebx + 0x14]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
cmp byte [ebx + 0x7d], 0
mov dword [ebp - 0x68], ecx
jne 0x1004fb4d
fld dword [ebp - 0x24]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x1004fa48
fld dword [esi]
jmp 0x1004fa4b
fld dword [ebx + 0x24]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x20]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1004fa5f
fld dword [ebx + 0x20]
jmp 0x1004fa62
fld dword [ebx + 0x28]
mov ecx, dword [ebp + 0x10]
fstp dword [ebp - 8]
test ecx, 0x4000
fld dword [ebp - 8]
jne 0x1004fa88
fld dword [ebx + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1004fa84
test cl, 8
je 0x1004fa88
xor eax, eax
jmp 0x1004fa8d
mov eax, 1
test ecx, 0x8000
mov edi, dword [ebp - 0x10]
mov byte [ebx + 0x79], al
jne 0x1004facf
test al, al
je 0x1004faa7
fld dword [edi + 0x1574]
jmp 0x1004faa9
fldz
fstp dword [ebp - 8]
fld dword [ebx + 0x2c]
fld dword [ebp - 0x28]
fsub dword [ebp - 8]
fcompp
fnstsw ax
test ah, 5
jp 0x1004facb
test cl, 8
jne 0x1004facb
test ecx, 0x800
jne 0x1004facf
xor eax, eax
jmp 0x1004fad4
mov eax, 1
test al, al
mov byte [ebx + 0x78], al
je 0x1004fb0b
cmp byte [ebx + 0x79], 0
jne 0x1004fb0b
fld dword [ebx + 0x30]
fld dword [edi + 0x1574]
fsubp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1004fb04
test cl, 8
jne 0x1004fb04
mov eax, 1
mov byte [ebx + 0x79], al
jmp 0x1004fb0d
xor eax, eax
mov byte [ebx + 0x79], al
jmp 0x1004fb0d
fstp st(0)
cmp byte [ebx + 0x78], 0
je 0x1004fb1b
fld dword [edi + 0x1574]
jmp 0x1004fb1d
fldz
cmp byte [ebx + 0x79], 0
fstp dword [ebp - 0x28]
je 0x1004fb2e
fld dword [edi + 0x1574]
jmp 0x1004fb30
fldz
fstp dword [ebp - 8]
fld dword [ebp - 8]
fstp dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
fld dword [ebp - 0x28]
mov dword [ebx + 0x70], ecx
fstp dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebx + 0x74], edx
jmp 0x1004fb52
mov edi, dword [ebp - 0x10]
fstp st(0)
cmp byte [ebp - 0x6c], 0
je 0x1004fb8b
cmp dword [ebp - 0x48], 0
mov dword [ebx + 0xa0], 0xffffffff
je 0x1004fb8b
cmp byte [ebp - 1], 0
jne 0x1004fb8b
mov eax, dword [edi + 0x1a28]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x1a30]
mov edx, dword [eax + ecx*4 - 0x10]
mov dword [ebx + 0xc], edx
mov eax, dword [eax + ecx*4 - 0xc]
mov dword [ebx + 0x10], eax
cmp dword [ebp - 0x74], 0
je 0x1004fbd8
mov edi, dword [ebp - 0x78]
mov dx, word [edi + 0x150]
lea ecx, [edi + 0x150]
lea eax, [ebp - 0x70]
push eax
mov word [ebx + 0x86], dx
call fcn.10049b50
cmp dword [ebp - 0x48], 0
jne 0x1004fbd5
cmp byte [ebp - 1], 0
jne 0x1004fbd5
cmp byte [ebp - 0x2d], 0
jne 0x1004fbd5
mov ecx, dword [edi + 0xc8]
mov dword [ebx + 0xc], ecx
mov edx, dword [edi + 0xcc]
mov dword [ebx + 0x10], edx
mov edi, dword [ebp - 0x10]
fld dword [ebx + 0xb8]
fcomp qword [0x101a38b0]
fnstsw ax
test ah, 0x44
jnp 0x1004fc47
cmp dword [ebx + 0xa8], 0
jne 0x1004fc47
fld dword [ebx + 0xc0]
mov edx, dword [ebp - 0x10]
fmul dword [esi]
add edx, 0x159c
lea ecx, [ebp - 0x1c]
fstp dword [ebp - 0x24]
fld dword [ebx + 0xc4]
fmul dword [esi + 4]
lea esi, [ebp - 0x38]
fstp dword [ebp - 0x20]
fld dword [ebx + 0xb8]
fsub dword [ebp - 0x24]
fstp dword [ebp - 0x1c]
fld dword [ebx + 0xbc]
fsub dword [ebp - 0x20]
fstp dword [ebp - 0x18]
call fcn.1003d9b0
mov edi, eax
xor eax, eax
mov esi, ebx
call fcn.100417b0
mov edi, dword [ebp - 0x10]
jmp 0x1004fc8e
mov eax, dword [ebp + 0x10]
test eax, 0x10000000
jne 0x1004fc76
cmp dword [ebp - 0x48], 0
je 0x1004fc63
cmp byte [ebp - 1], 0
jne 0x1004fc63
cmp byte [ebp - 9], 0
jne 0x1004fc76
test eax, 0x2000000
je 0x1004fc8e
cmp byte [ebp - 1], 0
jne 0x1004fc8e
cmp byte [ebp - 0x2d], 0
jne 0x1004fc8e
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.1004c900
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebx + 0x10], edx
cmp dword [ebp - 0x74], 0
jne 0x1004fda0
cmp byte [ebp - 1], 0
jne 0x1004fda0
cmp dword [ebx + 0x90], 0
jg 0x1004fda0
cmp dword [ebx + 0x94], 0
jg 0x1004fda0
fldz
fcom dword [edi + 0x10]
fnstsw ax
test ah, 5
jp 0x1004fd9e
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 5
jp 0x1004fda0
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x159c]
lea edx, [edi + 0x1594]
lea esi, [ebp - 0x88]
call fcn.1003d9b0
cmp byte [edi + 0xc0], 0
je 0x1004fd1a
test byte [ebx + 8], 1
jne 0x1004fd1a
mov eax, dword [ebp - 0x68]
fld dword [eax]
mov ecx, ebx
fstp dword [ebp - 0x1c]
call fcn.1003e300
fstp dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
jmp 0x1004fd1d
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
fld dword [ebx + 0xc]
mov edx, dword [eax + 4]
lea edi, [ebx + 0xc]
mov dword [ebp - 0x24], ecx
fadd dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x88]
fstp dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
fld dword [edi + 4]
lea esi, [ebp - 0x38]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x18]
call fcn.1003d9b0
fld dword [eax]
mov edx, edi
fsub dword [ebp - 0x24]
lea esi, [ebp - 0x38]
fstp dword [ebp - 0x58]
fld dword [eax + 4]
mov eax, dword [ebp - 0x58]
fsub dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
fstp dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov dword [edi + 4], ecx
fld dword [eax + 0x10]
fsub dword [ebp - 0x88]
lea ecx, [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [eax + 0x14]
fsub dword [ebp - 0x84]
fstp dword [ebp - 0x18]
call fcn.1003d950
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp 0x1004fda0
fstp st(0)
fld dword [ebx + 0xc]
lea edi, [ebx + 0xc]
mov dword [ebp - 0x5c], edi
call fcn.10115450
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fstp dword [ebp - 0x24]
fld dword [edi + 4]
call fcn.10115450
cmp dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
mov dword [edi], ecx
fstp dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [edi + 4], edx
je 0x1004fde4
mov eax, dword [ebp - 0x10]
fld dword [eax + 0x1534]
jmp 0x1004fe07
cmp dword [ebp - 0x48], 0
je 0x1004fdfe
test dword [ebp + 0x10], 0x8000000
jne 0x1004fdfe
mov ecx, dword [ebp - 0x10]
fld dword [ecx + 0x153c]
jmp 0x1004fe07
mov edx, dword [ebp - 0x10]
fld dword [edx + 0x151c]
fstp dword [ebp - 8]
mov edi, 0x7fffffff
fld dword [ebp - 8]
or esi, 0xffffffff
fstp dword [ebx + 0x44]
mov eax, dword [ebx + 0x338]
cmp eax, edi
je 0x1004fe3c
cmp dword [ebx + 0x328], esi
je 0x1004fe3c
mov ecx, dword [ebx + 0x328]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1004fe3e
mov edx, edi
mov dword [ebx + 0x330], edx
mov eax, dword [ebx + 0x33c]
cmp eax, edi
je 0x1004fe68
cmp dword [ebx + 0x32c], esi
je 0x1004fe68
mov ecx, dword [ebx + 0x32c]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1004fe6a
mov edx, edi
mov dword [ebx + 0x334], edx
mov dword [ebx + 0x32c], esi
mov dword [ebx + 0x328], esi
mov dword [ebx + 0x33c], edi
mov dword [ebx + 0x338], edi
mov edi, ebx
push 1
lea ebx, [ebp - 0x38]
call fcn.10046e00
fld dword [0x101a34a8]
mov ecx, dword [eax]
fst dword [ebp - 0x24]
mov edi, dword [ebp - 0x70]
fstp dword [ebp - 0x20]
mov dword [edi + 0x58], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x5c], edx
add esp, 4
cmp byte [ebp - 0x6c], 0
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], ecx
mov byte [ebp - 1], 0
je 0x1004fee2
mov eax, dword [ebp + 0x10]
test eax, 0x1000
jne 0x1004fee2
test eax, 0x3000000
je 0x1004fede
cmp dword [ebp - 0x48], 0
je 0x1004fee2
mov byte [ebp - 1], 1
mov ebx, dword [ebp - 0x10]
fld dword [ebx + 0x18b4]
xor eax, eax
fmul qword [0x101a3a28]
xor edx, edx
cmp byte [ebx + 0xbf], dl
mov dword [ebp - 0xd8], eax
fstp dword [ebp - 8]
setne dl
fld dword [edi + 0x44]
mov dword [ebp - 0xd4], eax
fadd qword [0x101a1c40]
mov dword [ebp - 0xd0], eax
fld dword [ebx + 0x18b4]
mov dword [ebp - 0xcc], eax
fmul qword [0x101a34e0]
mov dword [ebp - 0x54], 0xffffffff
faddp st(1)
add edx, 1
mov esi, edx
mov dword [ebp - 0x84], esi
fstp dword [ebp - 0x28]
fld dword [ebp - 8]
fld dword [ebp - 0x28]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1004ff58
fstp st(0)
jmp 0x1004ff5a
fstp st(1)
fstp dword [ebp - 8]
fld dword [ebp - 8]
call fcn.10115450
cmp byte [edi + 0x7d], 0
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp dword [ebp - 8]
jne 0x1004ff8e
lea eax, [ebp - 0xd8]
push eax
push esi
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x64]
push edx
mov eax, edi
call fcn.1004ea80
add esp, 0x10
fldz
mov ecx, dword [ebp - 0x68]
fcomp dword [ecx]
fnstsw ax
test ah, 5
jp 0x1004ffc0
test dword [ebp + 0x10], 0x2000000
jne 0x1004ffc0
cmp dword [ebp - 0x44], 0
jne 0x1004ffc0
fld dword [ecx]
fmul qword [0x101a3900]
call fcn.10115450
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
jmp 0x1004ffd7
fld dword [ebx + 0x18b4]
fmul qword [0x101a19f0]
call fcn.10115450
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
mov ecx, dword [edi + 0x274]
fstp dword [edi + 0x220]
call fcn.100799e0
mov al, byte [ebx + 0x15a9]
mov edx, dword [edi + 0x274]
neg al
sbb eax, eax
xor ecx, ecx
and eax, 2
cmp byte [ebx + 0x15a8], cl
setne cl
or eax, ecx
mov dword [edx + 0x24], eax
mov eax, dword [ebx + 0x18b0]
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 8]
mov ecx, dword [edi + 0x274]
push edx
call fcn.1007a070
lea edx, [ebp - 0x100]
call fcn.10040e60
cmp dword [ebp - 0x74], 0
je 0x10050053
cmp dword [ebp - 0x48], 0
jne 0x10050053
cmp byte [ebp - 0x2d], 0
jne 0x10050053
mov eax, dword [ebp - 0x78]
lea ecx, [eax + 0x1d4]
push 1
push ecx
add eax, 0x1cc
jmp 0x10050062
push 1
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.10046570
add esp, 0xc
test dword [ebp + 0x10], 0x8000000
je 0x1005008a
call fcn.10042400
cmp edi, eax
jne 0x1005008a
cmp dword [edi + 0xa8], 0
jg 0x1005008a
mov al, 1
jmp 0x1005008c
xor al, al
mov ecx, dword [ebx + 0x1ae0]
test ecx, ecx
je 0x100500a2
cmp edi, dword [ecx + 0x2f0]
jne 0x100500a2
mov cl, 1
jmp 0x100500a4
xor cl, cl
test al, al
mov byte [ebp - 0x41], cl
jne 0x100500b3
test cl, cl
je 0x10050198
fldz
push 0xf
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1bd8]
xor ecx, ecx
test al, al
fstp dword [esp]
setne cl
add ecx, 0x2e
push ecx
call fcn.1003f760
mov ecx, dword [edi + 0x274]
add esp, 8
push eax
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.1007d7a0
cmp byte [ebp - 0x41], 0
je 0x10050198
cmp edi, dword [ebx + 0x1ae0]
jne 0x10050198
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call fcn.1003e2a0
fld dword [ebx + 0x18b4]
fstp dword [ebp - 0x28]
lea edx, [ebp - 0x100]
fld dword [ebp - 0x40]
push edx
fld dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fsub st(1)
fstp dword [ebp - 0x3c]
fld dword [ebp - 0x38]
fadd st(1)
fstp dword [ebp - 0x38]
fadd dword [ebp - 0x34]
fstp dword [ebp - 0x34]
call fcn.1003dd30
test al, al
jne 0x10050198
fld dword [ebx + 0x151c]
push 0xf
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1aec]
fmul qword [0x101a38d0]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp]
push 0x2d
call fcn.1003f760
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [edi + 0x274]
call fcn.1007d7a0
fld dword [edi + 0x44]
mov eax, dword [ebx + 0x1adc]
test eax, eax
fstp dword [ebp - 0x48]
fld dword [edi + 0x48]
fstp dword [ebp - 0x28]
jne 0x100501b4
mov eax, dword [ebx + 0x1aa0]
cmp byte [ebp - 1], 0
jne 0x100501d2
test eax, eax
je 0x100501cc
mov edx, dword [edi + 0x2f4]
cmp edx, dword [eax + 0x2f4]
je 0x100501d2
mov byte [ebp - 9], 0
jmp 0x100501d6
mov byte [ebp - 9], 1
lea eax, [ebp - 0x98]
push eax
mov ecx, edi
call fcn.1003e350
cmp byte [edi + 0x7d], 0
je 0x10050263
cmp byte [ebp - 9], 0
fld dword [ebx + 0x1550]
fstp dword [ebp - 0x54]
fld dword [edi + 0x48]
fstp dword [ebx + 0x1550]
je 0x10050210
cmp byte [ebx + 0x1afe], 0
mov eax, 0xb
je 0x10050215
mov eax, 0xc
fld dword [ebp - 0x48]
push ecx
fstp dword [esp]
push 1
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003f760
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
add esp, 8
push eax
mov eax, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x98]
push edx
push eax
push ecx
call fcn.1003f930
fld dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
fstp dword [ebx + 0x1550]
add esp, 0x1c
jmp 0x10050812
mov eax, dword [ebp + 0x10]
and eax, 0x80
mov dword [ebp - 0x20], eax
jne 0x10050352
fld1
mov eax, dword [ebp + 0x10]
push ecx
fstp dword [esp]
call fcn.100410a0
push eax
call fcn.1003f760
add esp, 8
cmp dword [ebx + 0x1a4c], 0
mov esi, eax
je 0x100502e0
fld dword [ebx + 0x1a8c]
push ecx
fstp dword [esp]
call fcn.1003dab0
fmul qword [0x1019ed60]
and esi, 0xffffff
fnstcw word [ebp - 0x42]
add esp, 4
movzx eax, word [ebp - 0x42]
fadd qword [0x1019fe10]
or eax, 0xc00
mov dword [ebp - 0x60], eax
fldcw word [ebp - 0x60]
fistp qword [ebp - 0xa0]
mov edx, dword [ebp - 0xa0]
shl edx, 0x18
or esi, edx
fldcw word [ebp - 0x42]
mov eax, dword [ebp - 0x5c]
fld dword [eax + 4]
mov ecx, dword [ebp - 0x68]
fadd dword [ecx + 4]
fstp dword [ebp - 0x60]
fld dword [eax]
fadd dword [ecx]
mov ecx, edi
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x60]
fstp dword [ebp - 0x18]
call fcn.1003e300
mov eax, dword [ebp - 0x5c]
fstp dword [ebp - 0x9c]
fld dword [eax + 4]
lea edx, [ebp - 0x80]
fadd dword [ebp - 0x9c]
fstp dword [ebp - 0x60]
fld dword [eax]
mov eax, dword [ebp - 0x2c]
fadd qword [0x1019e7b0]
neg eax
sbb eax, eax
and eax, 3
fstp dword [ebp - 0x80]
add eax, 0xc
fld dword [ebp - 0x60]
push eax
push ecx
fstp dword [ebp - 0x7c]
fld dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
fstp dword [esp]
push esi
push ecx
mov ecx, dword [edi + 0x274]
push edx
call fcn.1007d7a0
mov esi, dword [ebp - 0x2c]
test esi, esi
mov dword [ebx + 0x1a4c], 0
jne 0x100503ad
cmp byte [edi + 0x7d], 0
je 0x1005036e
lea eax, [esi + 0xc]
jmp 0x10050379
xor eax, eax
cmp byte [ebp - 9], al
setne al
add eax, 0xa
fld dword [ebp - 0x48]
push 3
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push eax
call fcn.1003f760
add esp, 8
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [edi + 0x274]
call fcn.1007d7a0
test dword [ebp + 0x10], 0x400
je 0x10050485
lea edx, [ebp - 0x40]
push edx
mov ecx, edi
call fcn.1003e410
lea eax, [ebp - 0xa8]
push eax
mov ecx, edi
call fcn.1003e2a0
push eax
lea ecx, [ebp - 0x40]
call fcn.1003df60
test esi, esi
je 0x100503e5
fld dword [ebp - 0x48]
jmp 0x100503e7
fldz
fstp dword [ebp - 0x44]
push 3
fld dword [ebp - 0x44]
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 0xd
call fcn.1003f760
add esp, 8
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [edi + 0x274]
lea edx, [ebp - 0x40]
push edx
call fcn.1007d7a0
fldz
fcom dword [ebx + 0x1550]
fnstsw ax
test ah, 5
jp 0x10050487
fld dword [ebp - 0x34]
fld dword [edi + 0x18]
fadd dword [edi + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100504e1
mov eax, dword [ebp - 0x38]
fstp st(1)
fld dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
fstp dword [ebp - 0x80]
sub esp, 8
mov dword [ebp - 0x1c], eax
fstp dword [ebp - 0x7c]
mov dword [ebp - 0x18], ecx
fld dword [ebx + 0x1550]
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 5
call fcn.1003f760
mov ecx, dword [edi + 0x274]
add esp, 8
push eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.1007d640
fldz
cmp byte [edi + 0x78], 0
je 0x1005049b
push 0
fstp st(0)
call fcn.1005a870
fldz
add esp, 4
cmp byte [edi + 0x79], 0
je 0x100504af
push 1
fstp st(0)
call fcn.1005a870
fldz
add esp, 4
test byte [ebp + 0x10], 2
fld dword [ebp - 0x28]
jne 0x1005068f
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0x44], 0
jle 0x1005068f
fstp st(1)
mov esi, 0x101d7bf8
fld st(0)
fadd dword [ebp - 0x48]
fstp qword [ebp - 0x38]
jmp 0x100504e8
fstp st(0)
jmp 0x10050487
fld dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
fld dword [ecx]
mov ebx, dword [ebp - 0x44]
and ebx, 1
fadd dword [eax]
fstp dword [ebp - 0xf0]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [ebp - 0xec]
fld dword [ebp - 0xf0]
fsub dword [eax]
fmul dword [esi - 8]
fadd dword [eax]
fstp dword [ebp - 0x64]
fld dword [ebp - 0xec]
fsub dword [eax + 4]
fmul dword [esi - 4]
fadd dword [eax + 4]
fstp dword [ebp - 0x60]
je 0x10050545
fstp dword [ebp - 0x108]
lea eax, [ebp - 0x108]
fld dword [ebp - 8]
fstp dword [ebp - 0x104]
jmp 0x1005055a
fld dword [ebp - 8]
lea eax, [ebp - 0x118]
fstp dword [ebp - 0x118]
fstp dword [ebp - 0x114]
fld dword [esi]
lea ecx, [ebp - 0x110]
fmul dword [eax]
push ecx
mov ecx, dword [edi + 0x274]
add ecx, 0x54
fstp dword [ebp - 0x80]
fld dword [eax + 4]
fmul dword [esi + 4]
fstp dword [ebp - 0x7c]
fld dword [ebp - 0x64]
fadd dword [ebp - 0x80]
fstp dword [ebp - 0x110]
fld dword [ebp - 0x60]
fadd dword [ebp - 0x7c]
fstp dword [ebp - 0x10c]
call fcn.10049810
test ebx, ebx
je 0x100505b5
fld dword [ebp - 8]
lea eax, [ebp - 0xe0]
fstp dword [ebp - 0xe0]
fld dword [ebp - 0x28]
fstp dword [ebp - 0xdc]
jmp 0x100505cd
fld dword [ebp - 0x28]
lea eax, [ebp - 0xb0]
fstp dword [ebp - 0xb0]
fld dword [ebp - 8]
fstp dword [ebp - 0xac]
fld dword [esi]
mov ecx, dword [edi + 0x274]
fmul dword [eax]
lea edx, [ebp - 0xc8]
push edx
add ecx, 0x54
fstp dword [ebp - 0x1c]
fld dword [eax + 4]
fmul dword [esi + 4]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x64]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0xc8]
fld dword [ebp - 0x60]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0xc4]
call fcn.10049810
fld dword [esi]
mov eax, dword [esi + 0xc]
fld qword [ebp - 0x38]
mov ecx, dword [esi + 8]
fmul st(1), st(0)
push eax
fld dword [ebp - 0x64]
push ecx
push ecx
faddp st(2)
lea edx, [ebp - 0xa0]
fxch st(1)
fstp dword [ebp - 0xa0]
fmul dword [esi + 4]
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x9c]
mov ecx, dword [edi + 0x274]
fld dword [ebp - 0x48]
fstp dword [esp]
push edx
call fcn.1007b580
mov ebx, dword [edi + 0x274]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + eax*4 - 0xd8]
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x5c]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.1007b1e0
mov eax, dword [ebp - 0x44]
add eax, 1
add esi, 0x18
cmp eax, dword [ebp - 0x84]
mov dword [ebx + 0x54], 0
mov dword [ebp - 0x44], eax
jl 0x100504e5
fldz
fld dword [ebp - 0x28]
mov esi, dword [ebp - 0x5c]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x100506f9
cmp dword [ebp - 0x20], 0
jne 0x100506f9
mov eax, dword [ebp - 0x68]
fstp st(1)
fld dword [esi + 4]
push ecx
fadd dword [eax + 4]
fstp dword [ebp - 0x20]
fld dword [esi]
fadd dword [eax]
fstp dword [ebp - 0xa0]
fld dword [ebp - 0x20]
fstp dword [ebp - 0x9c]
fstp dword [esp]
push 0xf
fld dword [ebp - 0x48]
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 5
call fcn.1003f760
add esp, 8
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [edi + 0x274]
push esi
call fcn.1007d6d0
fldz
jmp 0x100506fb
fstp st(0)
mov edx, dword [ebp - 0x54]
cmp edx, 0xffffffff
je 0x1005076c
sub esp, 8
fstp dword [esp + 4]
mov eax, edi
fld dword [ebp - 8]
lea ecx, [ebp - 0xd8]
fstp dword [esp]
call fcn.100410c0
fld dword [ebp - 0x28]
add esp, 8
fcom qword [0x101a1c40]
fnstsw ax
test ah, 0x41
jp 0x10050734
fstp st(0)
fld1
fstp dword [ebp - 0x54]
sub esp, 8
fld dword [ebp - 0x54]
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 0x1d
call fcn.1003f760
mov ecx, dword [edi + 0x274]
add esp, 8
push eax
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.1007d640
fldz
mov ebx, dword [ebp - 0x10]
fcom dword [ebx + 0x1550]
fnstsw ax
test ah, 5
jp 0x10050814
cmp dword [ebp - 0x2c], 0
jne 0x10050814
fstp st(0)
sub esp, 8
fld dword [ebx + 0x1520]
fchs
fstp dword [ebp - 0x38]
fld dword [ebp - 0x90]
fadd dword [ebp - 0x38]
fstp dword [ebp - 0xa0]
fld dword [ebp - 0x8c]
fsub qword [0x101a1c40]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fst dword [ebp - 0x9c]
fld dword [ebx + 0x1520]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
fadd dword [ebp - 0x98]
fstp dword [ebp - 0xc8]
fstp dword [ebp - 0xc4]
fld dword [ebx + 0x1550]
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 5
call fcn.1003f760
add esp, 8
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [edi + 0x274]
lea edx, [ebp - 0xc8]
push edx
call fcn.1007d640
fldz
cmp dword [ebx + 0x1ae0], edi
jne 0x10050929
fstp st(0)
fld dword [edi + 0x44]
fstp dword [ebp - 0x20]
fld dword [ebx + 0x151c]
fstp dword [ebp - 0x60]
fld dword [ebp - 0x20]
fld dword [ebp - 0x60]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x10050844
fstp st(0)
jmp 0x10050846
fstp st(1)
mov eax, dword [ebp - 0x68]
fstp dword [ebp - 8]
fld dword [edi + 0x10]
lea ecx, [ebp - 0x100]
fstp dword [ebp - 0x60]
push ecx
fld dword [eax]
lea ecx, [ebp - 0x40]
fadd dword [esi]
fstp dword [ebp - 0x54]
fld dword [edi + 0x18]
fadd dword [edi + 0x10]
fstp dword [ebp - 0x84]
fld dword [esi]
fstp dword [ebp - 0x40]
fld dword [ebx + 0x18b4]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x40]
fld dword [ebp - 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x40]
fld dword [ebp - 0x60]
fsub st(1)
fstp dword [ebp - 0x3c]
fld dword [ebp - 0x54]
fadd st(1)
fstp dword [ebp - 0x38]
fadd dword [ebp - 0x84]
fstp dword [ebp - 0x34]
call fcn.1003dd30
test al, al
je 0x100508ea
fld dword [ebx + 0x18b4]
fchs
fsub qword [0x101a1c40]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x40]
fld dword [ebp - 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fsub st(1)
fstp dword [ebp - 0x3c]
fld dword [ebp - 0x38]
fadd st(1)
fstp dword [ebp - 0x38]
fadd dword [ebp - 0x34]
fstp dword [ebp - 0x34]
fld dword [edi + 0x44]
fstp dword [ebp - 8]
fld dword [0x1019feb0]
push ecx
fstp dword [esp]
push 0xffffffffffffffff
fld dword [ebp - 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1aec]
fstp dword [esp]
push 0x2d
call fcn.1003f760
mov ecx, dword [edi + 0x274]
add esp, 8
push eax
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.1007d6d0
fldz
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [edi + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x28], edx
fld dword [esi]
fsub dword [edi + 0x58]
fadd dword [edi + 0x3c]
fstp dword [edi + 0x20c]
mov eax, dword [edi + 8]
test al, 1
fld qword [0x101a1a28]
mov ecx, dword [0x101e5a90]
je 0x1005095e
fldz
fld st(0)
jmp 0x1005097e
fld dword [ecx + 0x18b8]
fmul dword [edi + 0x26c]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fld dword [ecx + 0x1548]
fmul st(2)
faddp st(1)
fldz
fxch st(1)
test eax, 0x400
je 0x100509a9
fld dword [ecx + 0x18b8]
fmul dword [edi + 0x26c]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fadd dword [edi + 0x14c]
fld dword [ecx + 0x1548]
fmul st(4)
faddp st(1)
jmp 0x100509ab
fld st(1)
fld dword [edi + 0x10]
fsub dword [edi + 0x5c]
fadd dword [edi + 0x40]
fxch st(2)
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
faddp st(2)
fstp dword [ebp - 0x4c]
fadd dword [ebp - 0x4c]
fstp dword [edi + 0x210]
fld st(2)
fcomp dword [edi + 0x34]
fnstsw ax
test ah, 0x44
jnp 0x100509db
fld dword [edi + 0x34]
jmp 0x100509e3
mov eax, dword [ebp - 0x68]
fld dword [eax]
fsub dword [edi + 0x70]
fld dword [esi]
fsub dword [edi + 0x58]
fsub dword [edi + 0x3c]
faddp st(1)
fstp dword [edi + 0x214]
fld st(2)
fcomp dword [edi + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x10050a04
fld dword [edi + 0x38]
jmp 0x10050a0a
fld dword [edi + 0x18]
fsub dword [edi + 0x74]
fld dword [edi + 0x10]
fsub dword [edi + 0x5c]
fsub dword [edi + 0x40]
faddp st(1)
fstp dword [edi + 0x218]
fld dword [edi + 0x3c]
fadd st(1)
fsub dword [edi + 0x58]
fstp dword [edi + 0x1b0]
fxch st(2)
fst dword [edi + 0x1b4]
fst dword [edi + 0x1b8]
mov eax, dword [edi + 8]
test al, 1
mov ecx, dword [0x101e5a90]
je 0x10050a48
fld st(2)
jmp 0x10050a64
fld dword [ecx + 0x18b8]
fmul dword [edi + 0x26c]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fld dword [ecx + 0x1548]
fmul st(3)
faddp st(1)
test eax, 0x400
je 0x10050a8f
fld dword [ecx + 0x18b8]
fmul dword [edi + 0x26c]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fadd dword [edi + 0x14c]
fld dword [ecx + 0x1548]
fmulp st(4)
faddp st(3)
jmp 0x10050a95
fstp st(2)
fld st(2)
fxch st(2)
fld dword [edi + 0x1b0]
push edi
faddp st(4)
fxch st(3)
fstp dword [ebp - 0x1c]
fxch st(1)
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fxch st(2)
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
faddp st(2)
fld dword [edi + 0x40]
faddp st(2)
fld dword [edi + 0x5c]
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x18]
fld dword [esi]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
fld dword [esi + 4]
mov dword [edi + 0xd8], eax
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
mov dword [edi + 0xdc], ecx
mov dword [edi + 0xc8], eax
fst dword [ebp - 0x1c]
mov dword [edi + 0xcc], ecx
fst dword [ebp - 0x18]
mov dword [edi + 0xd0], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xd4], ecx
mov ecx, dword [edi + 0xd8]
mov dword [edi + 0xe0], ecx
mov edx, dword [edi + 0xdc]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0xe4], edx
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], ecx
fst dword [edi + 0xfc]
fstp dword [edi + 0xf0]
mov byte [edi + 0x144], 0
call fcn.10046dd0
fcomp dword [0x1019e784]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x10050b6a
mov eax, 1
jmp 0x10050b6c
xor eax, eax
mov byte [edi + 0x145], al
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
mov byte [edi + 0x146], 0
fld dword [edi + 0xcc]
fsub qword [0x101a38e8]
lea esi, [edi + 0x150]
fstp dword [edi + 0x100]
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x10050bc5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10050bbd
xor eax, eax
push eax
mov ecx, esi
call fcn.100438b0
mov ecx, dword [ebp - 0x78]
test ecx, ecx
mov eax, 1
mov dword [esi], 0
mov dword [edi + 0x160], eax
je 0x10050be3
mov eax, dword [ecx + 0x160]
test ecx, ecx
mov dword [edi + 0x164], eax
je 0x10050bf5
mov eax, dword [ecx + 0x168]
jmp 0x10050bf7
xor eax, eax
mov dword [edi + 0x168], eax
fld dword [edi + 0x220]
fstp dword [edi + 0x16c]
lea ebx, [edi + 0x174]
fld dword [0x1019ed2c]
fstp dword [edi + 0x170]
mov ecx, dword [ebx + 4]
test ecx, ecx
jge 0x10050c39
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10050c31
xor eax, eax
push eax
mov ecx, ebx
call fcn.10043fe0
lea esi, [edi + 0x180]
mov dword [ebx], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x10050c63
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10050c5b
xor eax, eax
push eax
mov ecx, esi
call fcn.100440e0
mov dword [esi], 0
mov ecx, dword [edi + 0x190]
test ecx, ecx
lea esi, [edi + 0x18c]
jge 0x10050c90
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10050c88
xor eax, eax
push eax
mov ecx, esi
call fcn.100440e0
xor eax, eax
mov dword [esi], eax
mov dword [edi + 0x1bc], eax
mov dword [edi + 0x104], eax
lea ecx, [edi + 0x254]
mov dword [edi + 0x108], eax
lea esi, [edi + 0x198]
mov dword [edi + 0x15c], ecx
mov ecx, dword [esi + 4]
cmp ecx, eax
jge 0x10050cd6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10050cce
xor eax, eax
push eax
mov ecx, esi
call fcn.100445b0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
push edx
push ecx
mov dword [esi], 0
fld dword [eax + 0x1554]
fstp dword [esp]
push 3
lea ecx, [edi + 0x224]
call fcn.10058d50
cmp dword [ebp - 0x74], 0
je 0x10050d21
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x168]
cmp dword [edi + 0x168], eax
lea ecx, [edi + 0x168]
je 0x10050d21
mov dword [ecx], eax
push ecx
mov ecx, ebx
call fcn.100498b0
cmp dword [edi + 0x90], 0
jle 0x10050d31
add dword [edi + 0x90], 0xffffffff
cmp dword [edi + 0x94], 0
jle 0x10050d41
add dword [edi + 0x94], 0xffffffff
cmp byte [ebp - 1], 0
je 0x10050d58
push edi
call fcn.10047200
push 0
push edi
call fcn.10042680
add esp, 0xc
cmp dword [ebp - 0x2c], 0
jne 0x10051127
mov esi, dword [edi + 0x168]
mov ebx, dword [ebp + 0x10]
mov edx, esi
or edx, 0x10
and ebx, 0x20
mov dword [edi + 0x168], edx
mov dword [edi + 0x134], 1
mov dword [edi + 0x138], 2
jne 0x10050db1
mov eax, dword [ebp - 0x5c]
push eax
push ebx
push str.COLLAPSE
mov ecx, edi
call fcn.10045a20
push eax
call fcn.10057690
add esp, 8
test al, al
je 0x10050db1
mov byte [edi + 0x7e], 1
cmp dword [ebp + 0xc], 0
je 0x10050e61
mov eax, dword [ebp - 0x10]
fld dword [eax + 0x1548]
mov ecx, dword [ebp - 0x68]
fstp dword [ebp - 0x4c]
mov edx, dword [ebp - 0x5c]
fld dword [eax + 0x18b4]
push ecx
fmul qword [0x1019fe10]
lea eax, [ebp - 0xa0]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x4c]
fld st(0)
fchs
fld dword [ebp - 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 0x18]
fld dword [edi + 0x10]
fstp dword [ebp - 0xd4]
fld dword [ecx]
mov ecx, edi
fadd dword [edx]
fstp dword [ebp - 0xd0]
fld dword [ebp - 0xd0]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0xa0]
fld dword [ebp - 0xd4]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x9c]
fadd qword [0x101a1c40]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fstp dword [esp]
push eax
push 0
push str.CLOSE
call fcn.10045a20
push eax
call fcn.1005a680
add esp, 0xc
test al, al
je 0x10050e61
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov dword [edi + 0x168], esi
mov esi, dword [ebp + 0x10]
and esi, 0x100000
je 0x10050ea9
fld dword [0x1019ed2c]
push ecx
fstp dword [esp]
push 0
push 0
lea edx, [ebp - 0x38]
push 0x101a3a30
push edx
call fcn.10040540
fld dword [eax]
add esp, 0x14
jmp 0x10050eab
fldz
mov eax, dword [ebp + 8]
fstp dword [ebp - 8]
fld dword [0x1019ed2c]
push ecx
fstp dword [esp]
push 1
push 0
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.10040540
fld dword [ebp - 8]
fadd dword [eax]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
add esp, 0x14
fstp dword [ebp - 0x1c]
mov dword [ebp - 0xb8], edx
fld dword [eax + 4]
mov eax, dword [ebp - 0x90]
fadd qword [0x1019e7b0]
mov edx, dword [ebp - 0x8c]
test ebx, ebx
mov ebx, dword [ebp - 0x10]
fstp dword [ebp - 0x18]
mov dword [ebp - 0xb4], ecx
fld dword [ebx + 0x1544]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jne 0x10050f29
fadd dword [ebx + 0x18b4]
fadd dword [ebx + 0x155c]
cmp dword [ebp + 0xc], 0
fstp dword [ebp - 0x4c]
fld dword [ebx + 0x1544]
je 0x10050f44
fadd dword [ebx + 0x18b4]
fadd dword [ebx + 0x155c]
fstp dword [ebp - 0x6c]
fldz
fcomp dword [ebx + 0x152c]
fnstsw ax
fld dword [ebp - 0x4c]
test ah, 5
jp 0x10050f6f
fld st(0)
fld dword [ebp - 0x6c]
fld st(0)
fsubp st(2)
fld dword [ebx + 0x152c]
fmulp st(2)
faddp st(1)
fstp dword [ebp - 0x6c]
cmp dword [ebp + 0xc], 0
fadd dword [ebp - 0x98]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xdc], edx
fstp dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb8]
fld dword [ebp - 0xb0]
mov dword [ebp - 0xe8], eax
fsub dword [ebp - 0x6c]
fstp dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], ecx
je 0x10050fce
fld dword [ebp - 0x8c]
fsub dword [ebp - 0x94]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fsub qword [0x1019fe08]
jmp 0x10050fd4
fld dword [ebx + 0x1544]
mov edx, dword [ebp - 0x68]
fld dword [edx]
mov eax, dword [ebp - 0x5c]
fadd dword [eax]
lea ecx, [ebp - 0xe8]
push ecx
lea eax, [ebx + 0x152c]
push eax
fsubrp st(1)
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
fstp dword [ebp - 0xe0]
push 0
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.1004e680
add esp, 0x1c
test esi, esi
je 0x10051127
fld dword [ebp - 8]
fsubr qword [0x101a1a28]
fstp dword [ebp - 0xa0]
fld dword [ebp - 0xb0]
fld st(0)
fld dword [ebp - 0xb8]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fld dword [ebp - 0x1c]
fld st(0)
fsubp st(2)
fld dword [ebx + 0x152c]
fmulp st(2)
fld st(2)
faddp st(2)
fxch st(1)
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x1005106d
fstp st(0)
jmp 0x1005106f
fstp st(2)
fxch st(1)
fstp dword [ebp + 0xc]
fadd dword [ebp + 0xc]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
fadd dword [ebp - 0xa0]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0xb4]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x18]
fld dword [ebx + 0x18b4]
fchs
fmul qword [0x101a38d0]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa0]
fstp dword [ebp - 0x34]
push ecx
fldz
push 0
fstp dword [ebp - 0xa0]
push 0
fld dword [ebx + 0x1530]
push 0x101a3a30
fstp dword [ebp - 0x9c]
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb0]
fadd st(1), st(0)
push eax
fxch st(1)
fstp dword [ebp - 0xc8]
fld dword [ebp - 0xac]
fld dword [ebp - 0x34]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 0xc4]
fld dword [ebp - 0x1c]
faddp st(2)
fxch st(1)
fstp dword [ebp - 0xb0]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0xac]
call fcn.1004e680
add esp, 0x1c
mov eax, dword [ebp - 0x5c]
fld dword [eax]
mov ebx, dword [ebp - 0x68]
fstp dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
fld dword [edi + 0x10]
lea edx, [edi + 0x1dc]
fstp dword [ebp - 0x3c]
lea esi, [ebp - 0x38]
fld dword [ebx]
fadd dword [eax]
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x38]
fld dword [edi + 0x18]
fadd dword [edi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], eax
fstp dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xbc]
mov dword [edx + 0xc], eax
call fcn.1003d9b0
mov esi, dword [eax]
mov dword [edx], esi
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
add edx, 8
add ecx, 8
lea esi, [ebp - 0x38]
call fcn.1003d950
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
fld dword [edi + 0x48]
fadd dword [ebp - 0x98]
mov eax, 0x400
test dword [ebp + 0x10], eax
fstp dword [edi + 0x1ec]
jne 0x100511b9
cmp dword [ebp - 0x2c], 0
je 0x100511b9
fld dword [edi + 0x48]
jmp 0x100511c2
mov ecx, dword [ebp - 0x10]
fld dword [ecx + 0x1550]
test dword [edi + 8], eax
fstp dword [ebp + 0xc]
je 0x100511fb
mov eax, dword [0x101e5a90]
fld dword [eax + 0x18b8]
fmul dword [edi + 0x26c]
fstp dword [ebp - 0xbc]
fld dword [ebp - 0xbc]
fadd dword [edi + 0x14c]
fld dword [eax + 0x1548]
fadd st(0), st(0)
faddp st(1)
fldz
jmp 0x10051201
fldz
fld st(0)
fxch st(1)
mov edx, dword [ebp - 0x5c]
fxch st(1)
fstp dword [ebp - 0xbc]
fld dword [ebp - 0xbc]
fadd dword [ebp - 0x8c]
fadd dword [ebp + 0xc]
fstp dword [edi + 0x1f0]
fld dword [ebx]
fadd dword [edx]
fsub dword [edi + 0x70]
fsub dword [edi + 0x48]
fstp dword [edi + 0x1f4]
fld dword [edi + 0x18]
fadd dword [edi + 0x10]
fsub dword [edi + 0x74]
fsub dword [edi + 0x48]
fstp dword [edi + 0x1f8]
fld dword [edi + 0x3c]
fld qword [0x1019fe10]
fmul st(1), st(0)
fld dword [edi + 0x48]
fsubp st(2)
fxch st(1)
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x10051279
fstp st(0)
fldz
fstp dword [ebp + 0xc]
fld dword [edi + 0x1ec]
fadd st(1)
fadd dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [edi + 0x1fc]
fld dword [edi + 0x1f0]
fadd st(1)
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [edi + 0x200]
fld dword [edi + 0x3c]
fmul st(1)
fsub dword [edi + 0x48]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jp 0x100512ed
fstp st(1)
fldz
jmp 0x100512ef
fxch st(1)
fstp dword [ebp + 0xc]
fld dword [edi + 0x1f4]
fadd st(1)
fsub dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [edi + 0x204]
fadd dword [edi + 0x1f8]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.10115450
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x90]
push ecx
fstp dword [edi + 0x208]
mov eax, dword [edi + 0x50]
lea edx, [ebp - 0x98]
push edx
mov dword [edi + 0x10c], eax
call fcn.10040600
mov esi, dword [ebp - 0x70]
mov ebx, dword [ebp + 0x10]
add esp, 0xc
neg al
sbb eax, eax
neg eax
mov dword [edi + 0x110], eax
mov eax, dword [ebp - 0x98]
mov dword [edi + 0x114], eax
mov ecx, dword [ebp - 0x94]
mov dword [edi + 0x118], ecx
mov edx, dword [ebp - 0x90]
mov dword [edi + 0x11c], edx
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x120], eax
mov edi, dword [ebp - 0x10]
push 1
lea ecx, [esi + 0x204]
push ecx
lea edx, [esi + 0x1fc]
push edx
call fcn.10046570
add esp, 0xc
cmp byte [ebp - 0x2e], 0
je 0x100513b9
mov byte [esi + 0x7c], 0
xor ecx, ecx
mov edx, 1
add word [esi + 0x84], dx
test ebx, 0x1000000
mov dword [edi + 0x1a4c], ecx
mov dword [edi + 0x1a48], ecx
mov dword [edi + 0x1a44], ecx
mov dword [edi + 0x1a40], ecx
mov dword [edi + 0x1a3c], ecx
mov dword [edi + 0x1a38], ecx
mov dword [edi + 0x1a34], ecx
je 0x1005145a
test bl, 0x40
jne 0x1005143e
cmp dword [esi + 0x90], ecx
jg 0x1005143e
cmp dword [esi + 0x94], ecx
jg 0x1005143e
fld dword [esi + 0x1dc]
fld dword [esi + 0x1e4]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x10051438
fld dword [esi + 0x1e0]
fld dword [esi + 0x1e8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005143e
mov dword [esi + 0xa4], edx
mov eax, dword [ebp - 0x78]
cmp eax, ecx
je 0x1005145a
cmp byte [eax + 0x7d], 0
jne 0x10051454
cmp byte [eax + 0x81], 0
je 0x1005145a
mov dword [esi + 0xa4], edx
fldz
fcomp dword [edi + 0x1510]
fnstsw ax
test ah, 1
jne 0x1005146f
mov dword [esi + 0xa4], edx
cmp dword [esi + 0xa4], ecx
jg 0x10051483
cmp dword [esi + 0xa8], ecx
jg 0x10051483
xor eax, eax
jmp 0x10051485
mov eax, edx
mov byte [esi + 0x81], al
cmp byte [esi + 0x7d], 0
jne 0x1005149b
cmp byte [esi + 0x7a], 0
je 0x1005149b
test al, al
je 0x100514c8
cmp dword [esi + 0x90], ecx
jg 0x100514c8
cmp dword [esi + 0x94], ecx
jg 0x100514c8
cmp dword [esi + 0xa8], ecx
jg 0x100514c8
mov eax, edx
xor ecx, ecx
test al, al
pop edi
mov byte [esi + 0x7f], al
sete cl
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor ecx, ecx
test al, al
pop edi
mov byte [esi + 0x7f], al
sete cl
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret