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

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, dword [0x101e7a68]
push edi
mov edi, dword [esp + 0x114]
push edi
mov dword [esp + 0x40], esi
call fcn.10046710
fldz
mov ebp, eax
add esp, 4
test ebp, ebp
sete al
test al, al
mov dword [esp + 0x18], ebp
mov byte [esp + 0x6c], al
je 0x1004f427
cmp dword [esi + 0x1a38], 0
je 0x1004f3fb
fstp st(0)
lea eax, [esi + 0x1a60]
jmp 0x1004f407
fst dword [esp + 0x2c]
lea eax, [esp + 0x2c]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x11c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push edi
call fcn.1004b910
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x1004f429
fstp st(0)
mov edx, dword [esp + 0x11c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1004f44a
or edx, 6
mov dword [esp + 0x11c], edx
mov eax, dword [esi + 0x1948]
cmp dword [ebp + 0x21c], eax
mov dword [esp + 0x28], eax
setne cl
test cl, cl
mov byte [esp + 0x5f], cl
je 0x1004f46a
mov dword [ebp + 8], edx
jmp 0x1004f474
mov edx, dword [ebp + 8]
mov dword [esp + 0x11c], edx
cmp dword [esi + 0x1978], 0
lea edi, [esi + 0x1978]
jne 0x1004f487
xor eax, eax
jmp 0x1004f490
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4 - 4]
test cl, cl
push ebx
je 0x1004f4ae
mov ebx, dword [esp + 0x120]
and ebx, 0x5000000
neg ebx
sbb ebx, ebx
and ebx, eax
mov dword [esp + 0x64], ebx
jmp 0x1004f4ba
mov eax, dword [ebp + 0x2ec]
mov dword [esp + 0x64], eax
mov ebx, eax
cmp dword [esp + 0x11c], 0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x120]
setne cl
add edx, 0xffffffff
mov byte [ebp + 0x82], cl
cmp dword [ebp + 0x21c], edx
setl byte [esp + 0x78]
cmp dword [ebp + 0xa8], 0
setg byte [esp + 0x23]
and eax, 0x4000000
mov dword [esp + 0x58], eax
je 0x1004f525
mov eax, dword [esi + 0x1a28]
mov ecx, dword [esi + 0x1a24]
lea eax, [eax + eax*8]
cmp ebp, dword [ecx + eax*4 + 4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0x8c]
setne dl
cmp ecx, dword [eax]
setne al
or dl, al
or byte [esp + 0x78], dl
cmp byte [esp + 0x78], 0
jne 0x1004f537
cmp byte [esp + 0x23], 0
jne 0x1004f537
xor eax, eax
jmp 0x1004f53c
mov eax, 1
test al, al
mov byte [ebp + 0x80], al
je 0x1004f558
mov bl, 1
mov ecx, 8
mov eax, ebp
call fcn.10040ba0
mov ebx, dword [esp + 0x64]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jne 0x1004f58a
test ecx, ecx
lea ebx, [eax + 1]
je 0x1004f573
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004f578
mov eax, 8
cmp eax, ebx
jg 0x1004f57e
mov eax, ebx
push eax
mov ecx, edi
call fcn.10043500
mov ebx, dword [esp + 0x64]
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov dword [edx + ecx*4], ebp
add dword [edi], 1
mov ecx, ebp
call fcn.1003fa30
mov cl, 1
mov edx, ebp
call fcn.10040b30
cmp dword [esp + 0x58], 0
je 0x1004f5d9
mov eax, dword [esi + 0x1a28]
mov edx, dword [esi + 0x1a24]
lea ecx, [esi + 0x1a28]
lea eax, [eax + eax*8]
lea edi, [edx + eax*4]
push edi
mov dword [edi + 4], ebp
call fcn.10049b50
mov eax, dword [edi]
mov ebx, dword [esp + 0x64]
mov dword [ebp + 0x8c], eax
xor edi, edi
cmp byte [esp + 0x23], 0
je 0x1004f5f5
test dword [esp + 0x120], 0x1000000
jne 0x1004f5f5
mov dword [ebp + 0x300], edi
mov ecx, dword [esi + 0x1a34]
cmp ecx, edi
mov byte [esp + 0x1b], 0
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2a], 0
je 0x1004f6a0
test dword [ebp + 0xac], ecx
setne al
test al, al
mov byte [esp + 0x1b], al
je 0x1004f685
fld dword [esi + 0x1a5c]
fld dword [esi + 0x1a58]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fcomp dword [0x101a57d8]
fnstsw ax
test ah, 0x41
jne 0x1004f685
mov ecx, dword [esi + 0x1a50]
mov dword [ebp + 0xb8], ecx
mov edx, dword [esi + 0x1a54]
mov dword [ebp + 0xbc], edx
mov eax, dword [esi + 0x1a58]
mov dword [ebp + 0xc0], eax
mov ecx, dword [esi + 0x1a5c]
mov dword [ebp + 0xc4], ecx
and dword [ebp + 0xac], 0xfffffff1
jmp 0x1004f6a0
mov edi, esi
add edi, 0x1a50
mov eax, ecx
mov esi, ebp
call fcn.100413d0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x64]
xor edi, edi
mov ecx, dword [esi + 0x1a38]
cmp ecx, edi
je 0x1004f707
mov edx, dword [ebp + 0xb0]
and edx, ecx
je 0x1004f6c8
fldz
mov byte [esp + 0x2b], 1
fcomp dword [esi + 0x1a60]
fnstsw ax
test ah, 5
jnp 0x1004f6cd
mov byte [esp + 0x2b], 0
cmp edx, edi
je 0x1004f6e5
fldz
mov byte [esp + 0x2a], 1
fcomp dword [esi + 0x1a64]
fnstsw ax
test ah, 5
jnp 0x1004f6ea
mov byte [esp + 0x2a], 0
mov edi, dword [esp + 0x40]
add edi, 0x1a60
mov eax, ecx
mov esi, ebp
call fcn.10041510
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x64]
xor edi, edi
cmp dword [esi + 0x1a3c], edi
je 0x1004f74b
mov edx, dword [esi + 0x1a68]
fldz
mov dword [ebp + 0x34], edx
mov eax, dword [esi + 0x1a6c]
mov dword [ebp + 0x38], eax
fcomp dword [ebp + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x1004f76a
mov ecx, ebp
call fcn.1003ddf0
fstp dword [esp + 0x38]
mov ecx, ebp
call fcn.1003dd40
fadd dword [esp + 0x38]
fadd dword [ebp + 0x38]
fstp dword [ebp + 0x38]
jmp 0x1004f76a
cmp byte [esp + 0x63], 0
je 0x1004f76a
fldz
fst dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x38], edx
mov ecx, dword [esi + 0x1a40]
cmp ecx, edi
je 0x1004f786
movzx eax, byte [esi + 0x1a70]
push eax
mov eax, ebp
call fcn.100415c0
add esp, 4
cmp dword [esi + 0x1a48], edi
je 0x1004f797
push ebp
call fcn.10046fe0
add esp, 4
cmp byte [ebp + 0x80], 0
je 0x1004f7b4
xor bl, bl
mov ecx, 8
mov eax, ebp
call fcn.10040ba0
mov ebx, dword [esp + 0x64]
xor edi, edi
cmp byte [esp + 0x63], 0
je 0x1005193f
mov ecx, dword [esp + 0x120]
mov eax, ecx
and eax, 0x1000000
mov dword [esp + 0x74], eax
je 0x1004f7e0
test ecx, 0x2000000
mov byte [esp + 0x47], 1
jne 0x1004f7e5
mov byte [esp + 0x47], 0
mov ecx, dword [esp + 0x120]
push ebx
push ecx
push ebp
call fcn.10040e20
fld dword [0x101a5278]
mov byte [ebp + 0x7a], 1
fst dword [esp + 0x54]
xor eax, eax
fstp dword [esp + 0x58]
fld dword [0x101a53a0]
mov ecx, dword [esp + 0x58]
mov word [ebp + 0x86], ax
fst dword [esp + 0x5c]
mov dx, word [esi + 0x1990]
fstp dword [esp + 0x60]
mov word [ebp + 0x88], dx
add dword [esi + 0x1990], 1
mov edx, dword [esp + 0x5c]
mov word [ebp + 0x84], ax
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x1cc], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x1d0], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x1d4], edx
mov dword [ebp + 0x1d8], eax
lea edi, [ebp + 0x1c0]
mov dword [ebp + 0x21c], ecx
mov ecx, dword [edi + 4]
add esp, 0xc
cmp ecx, 1
jge 0x1004f89b
test ecx, ecx
je 0x1004f8e8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, 1
jg 0x1004f893
mov eax, 1
push eax
mov ecx, edi
call fcn.100441f0
mov dword [edi], 1
cmp dword [esi + 0x1ae4], 0
je 0x1004f918
test dword [ebp + 8], 0x80000
jne 0x1004f918
cmp byte [esp + 0x70], 0
jne 0x1004f918
mov esi, dword [ebp]
mov edi, dword [esp + 0x118]
mov ecx, esi
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004f8ef
test dl, dl
je 0x1004f8e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004f8ef
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004f8c8
xor eax, eax
jmp 0x1004f8f4
mov eax, 8
jmp 0x1004f893
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004f918
mov edx, dword [ebp + 0x4c]
push edi
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], edx
call fcn.100450b0
mov ecx, dword [esp + 0x38]
mov dword [ebp], eax
add esp, 0xc
mov dword [ebp + 0x4c], ecx
mov esi, ebp
lea edi, [esp + 0x48]
call fcn.10040c20
mov edx, dword [eax]
mov dword [ebp + 0x2c], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x30], eax
cmp dword [ebp + 0xa4], 0
jle 0x1004f93e
add dword [ebp + 0xa4], 0xffffffff
cmp dword [ebp + 0xa8], 0
jle 0x1004f94e
add dword [ebp + 0xa8], 0xffffffff
cmp byte [esp + 0x70], 0
je 0x1004f96d
cmp byte [esp + 0x2b], 0
je 0x1004f963
cmp byte [esp + 0x2a], 0
jne 0x1004f96d
mov dword [ebp + 0xa8], 1
cmp byte [esp + 0x78], 0
mov ebx, dword [esp + 0x120]
je 0x1004f9c4
test ebx, 0x6000000
je 0x1004f9c4
test bl, 0x40
mov dword [ebp + 0xa8], 1
je 0x1004f9c4
cmp byte [esp + 0x2b], 0
fldz
jne 0x1004f9a1
fst dword [ebp + 0x1c]
fst dword [ebp + 0x14]
cmp byte [esp + 0x2a], 0
jne 0x1004f9ae
fst dword [ebp + 0x20]
fst dword [ebp + 0x18]
fst dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x30], edx
mov ecx, ebp
call fcn.1003fa30
cmp dword [esp + 0x74], 0
je 0x1004f9de
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1538]
jmp 0x1004fa04
test ebx, 0x6000000
je 0x1004f9fa
test ebx, 0x8000000
jne 0x1004f9fa
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1540]
jmp 0x1004fa04
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1520]
cmp dword [esp + 0x74], 0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [ebp + 0x48]
mov eax, dword [ebx + 0x1514]
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebx + 0x1518]
mov dword [ebp + 0x40], ecx
mov ecx, dword [esp + 0x120]
je 0x1004fa79
test ecx, 0x4010000
jne 0x1004fa79
fldz
fcom dword [ebp + 0x48]
fnstsw ax
test ah, 0x44
jp 0x1004fa77
test ecx, 0x400
je 0x1004fa57
fld dword [ebx + 0x1518]
fstp dword [esp + 0x2c]
jmp 0x1004fa5b
fst dword [esp + 0x2c]
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
fld dword [esp + 0x2c]
mov dword [ebp + 0x3c], edx
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x40], eax
jmp 0x1004fa79
fstp st(0)
fld dword [ebp + 0x3c]
fstp dword [esp + 0x38]
fld dword [ebx + 0x1554]
fstp dword [esp + 0x94]
fld dword [esp + 0x38]
fld dword [esp + 0x94]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1004faa5
fstp st(0)
jmp 0x1004faa7
fstp st(1)
fstp dword [esp + 0x2c]
fld dword [ebx + 0x1a90]
fstp dword [esp + 0x38]
fld dword [esp + 0x2c]
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1004faca
fstp st(0)
jmp 0x1004facc
fstp st(1)
fstp dword [esp + 0x2c]
mov eax, ecx
fld dword [esp + 0x2c]
and eax, 1
fstp dword [ebp + 0x148]
mov dword [esp + 0x2c], eax
fld dword [ebx + 0x1a94]
fstp dword [ebp + 0x14c]
jne 0x1004fb6b
test cl, 0x20
jne 0x1004fb6b
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebp
call fcn.1003dd80
cmp dword [ebx + 0x1998], ebp
jne 0x1004fb4a
cmp dword [ebx + 0x19a0], 0
jne 0x1004fb4a
cmp dword [ebx + 0x19a8], 0
jne 0x1004fb4a
push 1
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xcc]
push eax
call fcn.10040200
add esp, 0xc
test al, al
je 0x1004fb4a
cmp byte [ebx + 0x3e5], 0
je 0x1004fb4a
mov byte [ebp + 0x7e], 1
cmp byte [ebp + 0x7e], 0
je 0x1004fb6f
cmp byte [ebp + 0x7d], 0
push ebp
sete cl
mov byte [ebp + 0x7d], cl
call fcn.10042ca0
push ebp
call fcn.10046fe0
add esp, 8
jmp 0x1004fb6f
mov byte [ebp + 0x7d], 0
lea eax, [ebp + 0x2c]
push eax
lea edx, [esp + 0x6c]
push edx
mov eax, ebp
mov byte [ebp + 0x7e], 0
call fcn.10046980
fld dword [0x101a53a0]
mov eax, dword [esp + 0x128]
fst dword [esp + 0x18]
add esp, 8
fstp dword [esp + 0x14]
and eax, 0x40
mov dword [esp + 0x70], eax
je 0x1004fbd7
cmp byte [ebp + 0x7d], 0
jne 0x1004fbd7
cmp byte [esp + 0x2b], 0
jne 0x1004fbbc
fld dword [esp + 0x68]
fst dword [esp + 0x10]
fstp dword [ebp + 0x1c]
cmp byte [esp + 0x2a], 0
jne 0x1004fc72
fld dword [esp + 0x6c]
fst dword [esp + 0x14]
fstp dword [ebp + 0x20]
jmp 0x1004fc72
mov eax, dword [ebp + 0x90]
test eax, eax
jg 0x1004fbee
cmp dword [ebp + 0x94], 0
jle 0x1004fc72
cmp byte [esp + 0x2b], 0
jne 0x1004fc26
test eax, eax
jle 0x1004fc26
cmp byte [ebp + 0x98], 0
fld dword [esp + 0x68]
je 0x1004fc1b
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x1c]
fstp dword [esp]
call fcn.100443d0
add esp, 8
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ebp + 0x1c]
cmp byte [esp + 0x2a], 0
jne 0x1004fc63
cmp dword [ebp + 0x94], 0
jle 0x1004fc63
cmp byte [ebp + 0x98], 0
fld dword [esp + 0x6c]
je 0x1004fc58
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.100443d0
add esp, 8
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x20]
cmp byte [ebp + 0x7d], 0
jne 0x1004fc72
push ebp
call fcn.10042ca0
add esp, 4
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
lea esi, [ebp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x50]
push edx
mov edi, ebp
call fcn.10046730
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esi + 4], edx
cmp byte [ebp + 0x7d], 0
je 0x1004fccb
cmp dword [esp + 0x74], 0
jne 0x1004fccb
lea eax, [esp + 0xc4]
push eax
mov ecx, ebp
call fcn.1003dd80
fld dword [eax + 8]
fsub dword [eax]
fstp dword [esp + 0x30]
fld dword [eax + 0xc]
fsub dword [eax + 4]
lea eax, [esp + 0x30]
fstp dword [esp + 0x34]
jmp 0x1004fccd
mov eax, esi
mov ecx, dword [eax]
fld qword [0x101a57a8]
mov dword [ebp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x18], edx
cmp byte [ebp + 0x7d], 0
jne 0x1004fe0e
fld dword [esp + 0x10]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x1004fcf9
fld dword [esi]
jmp 0x1004fcfc
fld dword [ebp + 0x24]
fstp dword [esp + 0x5c]
fld dword [esp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1004fd12
fld dword [ebp + 0x20]
jmp 0x1004fd15
fld dword [ebp + 0x28]
mov edx, dword [esp + 0x120]
fstp dword [esp + 0x24]
test edx, 0x4000
fld dword [esp + 0x24]
jne 0x1004fd41
fld dword [ebp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1004fd3d
test dl, 8
je 0x1004fd41
xor eax, eax
jmp 0x1004fd46
mov eax, 1
test edx, 0x8000
mov byte [ebp + 0x79], al
jne 0x1004fd88
test al, al
je 0x1004fd5d
fld dword [ebx + 0x1574]
jmp 0x1004fd5f
fldz
fstp dword [esp + 0x24]
fld dword [ebp + 0x2c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 5
jp 0x1004fd84
test dl, 8
jne 0x1004fd84
test edx, 0x800
jne 0x1004fd88
xor eax, eax
jmp 0x1004fd8d
mov eax, 1
test al, al
mov byte [ebp + 0x78], al
je 0x1004fdc4
cmp byte [ebp + 0x79], 0
jne 0x1004fdc4
fld dword [ebp + 0x30]
fld dword [ebx + 0x1574]
fsubp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1004fdbd
test dl, 8
jne 0x1004fdbd
mov eax, 1
mov byte [ebp + 0x79], al
jmp 0x1004fdc6
xor eax, eax
mov byte [ebp + 0x79], al
jmp 0x1004fdc6
fstp st(0)
cmp byte [ebp + 0x78], 0
je 0x1004fdd4
fld dword [ebx + 0x1574]
jmp 0x1004fdd6
fldz
cmp byte [ebp + 0x79], 0
fstp dword [esp + 0x5c]
je 0x1004fde8
fld dword [ebx + 0x1574]
jmp 0x1004fdea
fldz
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fld dword [esp + 0x5c]
mov dword [ebp + 0x70], eax
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x74], ecx
jmp 0x1004fe17
mov edx, dword [esp + 0x120]
fstp st(0)
cmp byte [esp + 0x78], 0
je 0x1004fe53
cmp dword [esp + 0x58], 0
mov dword [ebp + 0xa0], 0xffffffff
je 0x1004fe53
cmp byte [esp + 0x1b], 0
jne 0x1004fe53
mov eax, dword [ebx + 0x1a28]
lea ecx, [eax + eax*8]
mov eax, dword [ebx + 0x1a30]
mov edi, dword [eax + ecx*4 - 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [eax + ecx*4 - 0xc]
mov dword [ebp + 0x10], eax
cmp dword [esp + 0x74], 0
je 0x1004feaa
mov edi, dword [esp + 0x64]
mov dx, word [edi + 0x150]
lea ecx, [edi + 0x150]
lea eax, [esp + 0x1c]
push eax
mov word [ebp + 0x86], dx
call fcn.100499d0
cmp dword [esp + 0x58], 0
jne 0x1004fea3
cmp byte [esp + 0x1b], 0
jne 0x1004fea3
cmp byte [esp + 0x47], 0
jne 0x1004fea3
mov ecx, dword [edi + 0xc8]
mov dword [ebp + 0xc], ecx
mov edx, dword [edi + 0xcc]
mov dword [ebp + 0x10], edx
mov edx, dword [esp + 0x120]
fld dword [ebp + 0xb8]
fcomp qword [0x101a57a8]
fnstsw ax
test ah, 0x44
jnp 0x1004ff1b
cmp dword [ebp + 0xa8], 0
jne 0x1004ff1b
fld dword [ebp + 0xc0]
lea edx, [ebx + 0x159c]
fmul dword [esi]
lea ecx, [esp + 0x30]
fstp dword [esp + 0x10]
fld dword [ebp + 0xc4]
fmul dword [esi + 4]
lea esi, [esp + 0x48]
fstp dword [esp + 0x14]
fld dword [ebp + 0xb8]
fsub dword [esp + 0x10]
fstp dword [esp + 0x30]
fld dword [ebp + 0xbc]
fsub dword [esp + 0x14]
fstp dword [esp + 0x34]
call fcn.1003d3e0
mov edi, eax
xor eax, eax
mov esi, ebp
call fcn.100413d0
jmp 0x1004ff67
test edx, 0x10000000
jne 0x1004ff4e
cmp dword [esp + 0x58], 0
je 0x1004ff38
cmp byte [esp + 0x1b], 0
jne 0x1004ff38
cmp byte [esp + 0x23], 0
jne 0x1004ff4e
test edx, 0x2000000
je 0x1004ff67
cmp byte [esp + 0x1b], 0
jne 0x1004ff67
cmp byte [esp + 0x47], 0
jne 0x1004ff67
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.1004c8e0
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebp + 0x10], edx
cmp dword [esp + 0x74], 0
jne 0x1005008c
cmp byte [esp + 0x1b], 0
jne 0x1005008c
cmp dword [ebp + 0x90], 0
jg 0x1005008c
cmp dword [ebp + 0x94], 0
jg 0x1005008c
fldz
fcom dword [ebx + 0x10]
fnstsw ax
test ah, 5
jp 0x1005008a
fcomp dword [ebx + 0x14]
fnstsw ax
test ah, 5
jp 0x1005008c
lea ecx, [ebx + 0x159c]
lea edx, [ebx + 0x1594]
lea esi, [esp + 0x94]
call fcn.1003d3e0
cmp byte [ebx + 0xc0], 0
je 0x1004fff4
test byte [ebp + 8], 1
jne 0x1004fff4
fld dword [ebp + 0x14]
mov ecx, ebp
fstp dword [esp + 0x30]
call fcn.1003dd40
fstp dword [esp + 0x34]
lea eax, [esp + 0x30]
jmp 0x1004fff7
lea eax, [ebp + 0x14]
mov ecx, dword [eax]
fld dword [ebp + 0xc]
mov edx, dword [eax + 4]
lea edi, [ebp + 0xc]
mov dword [esp + 0x10], ecx
fadd dword [esp + 0x10]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x94]
fstp dword [esp + 0x30]
lea edx, [esp + 0x30]
fld dword [edi + 4]
lea esi, [esp + 0x48]
fadd dword [esp + 0x14]
fstp dword [esp + 0x34]
call fcn.1003d3e0
fld dword [eax]
mov edx, edi
fsub dword [esp + 0x10]
lea esi, [esp + 0x48]
fstp dword [esp + 0x38]
fld dword [eax + 4]
mov eax, dword [esp + 0x38]
fsub dword [esp + 0x14]
mov dword [edi], eax
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
fld dword [ebx + 0x10]
fsub dword [esp + 0x94]
lea ecx, [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [ebx + 0x14]
fsub dword [esp + 0x98]
fstp dword [esp + 0x34]
call fcn.1003d380
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp 0x1005008c
fstp st(0)
fld dword [ebp + 0xc]
call fcn.10118910
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x10]
fld dword [ebp + 0x10]
call fcn.10118910
cmp dword [esp + 0x74], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
mov dword [ebp + 0xc], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x10], edx
je 0x100500d1
fld dword [ebx + 0x1534]
jmp 0x100500f3
cmp dword [esp + 0x58], 0
je 0x100500ed
test dword [esp + 0x120], 0x8000000
jne 0x100500ed
fld dword [ebx + 0x153c]
jmp 0x100500f3
fld dword [ebx + 0x151c]
fstp dword [esp + 0x24]
mov edi, 0x7fffffff
fld dword [esp + 0x24]
or esi, 0xffffffff
fstp dword [ebp + 0x44]
mov eax, dword [ebp + 0x338]
cmp eax, edi
je 0x1005012a
cmp dword [ebp + 0x328], esi
je 0x1005012a
mov ecx, dword [ebp + 0x328]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1005012c
mov edx, edi
mov dword [ebp + 0x330], edx
mov eax, dword [ebp + 0x33c]
cmp eax, edi
je 0x10050156
cmp dword [ebp + 0x32c], esi
je 0x10050156
mov ecx, dword [ebp + 0x32c]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x10050158
mov edx, edi
mov dword [ebp + 0x334], edx
mov dword [ebp + 0x32c], esi
mov dword [ebp + 0x328], esi
mov dword [ebp + 0x33c], edi
mov dword [ebp + 0x338], edi
push 1
mov edi, ebp
lea edx, [esp + 0x4c]
call fcn.10046bb0
fld dword [0x101a53a0]
mov ecx, dword [eax]
fst dword [esp + 0x14]
mov dword [ebp + 0x58], ecx
fstp dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x5c], edx
add esp, 4
cmp byte [esp + 0x78], 0
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], ecx
mov byte [esp + 0x1b], 0
je 0x100501da
mov eax, dword [esp + 0x120]
test eax, 0x1000
jne 0x100501da
test eax, 0x3000000
je 0x100501d5
cmp dword [esp + 0x58], 0
je 0x100501da
mov byte [esp + 0x1b], 1
fld dword [ebx + 0x18b4]
xor eax, eax
fmul qword [0x101a5920]
xor edx, edx
cmp byte [ebx + 0xbf], dl
mov dword [esp + 0xc4], eax
fstp dword [esp + 0x1c]
setne dl
fld dword [ebp + 0x44]
mov dword [esp + 0xc8], eax
fadd qword [0x101a3b50]
mov dword [esp + 0xcc], eax
fld dword [ebx + 0x18b4]
mov dword [esp + 0xd0], eax
fmul qword [0x101a53d8]
mov dword [esp + 0x38], esi
faddp st(1)
add edx, 1
mov edi, edx
mov dword [esp + 0x94], edi
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x10050253
fstp st(0)
jmp 0x10050255
fstp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.10118910
cmp byte [ebp + 0x7d], 0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x5c]
jne 0x10050291
lea eax, [esp + 0xc4]
push eax
push edi
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x74]
push edx
mov eax, ebp
call fcn.1004ebe0
add esp, 0x10
fldz
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 5
jp 0x100502c9
test dword [esp + 0x120], 0x2000000
jne 0x100502c9
cmp dword [esp + 0x70], 0
jne 0x100502c9
fld dword [ebp + 0x14]
fmul qword [0x101a57f8]
call fcn.10118910
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jmp 0x100502e2
fld dword [ebx + 0x18b4]
fmul qword [0x101a3900]
call fcn.10118910
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov ecx, dword [ebp + 0x274]
fstp dword [ebp + 0x220]
call fcn.1007c610
mov al, byte [ebx + 0x15a9]
mov edx, dword [ebp + 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 [ebp + 0x274]
push edx
call fcn.1007cd00
lea edx, [esp + 0xe4]
call fcn.10040aa0
cmp dword [esp + 0x74], 0
je 0x10050363
cmp dword [esp + 0x58], 0
jne 0x10050363
cmp byte [esp + 0x47], 0
jne 0x10050363
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0x1d4]
push 1
push ecx
add eax, 0x1cc
jmp 0x10050374
push 1
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.10046210
add esp, 0xc
test dword [esp + 0x120], 0x8000000
je 0x100503a0
call fcn.10042020
cmp ebp, eax
jne 0x100503a0
cmp dword [ebp + 0xa8], 0
jg 0x100503a0
mov al, 1
jmp 0x100503a2
xor al, al
mov ecx, dword [ebx + 0x1ae0]
test ecx, ecx
je 0x100503b8
cmp ebp, dword [ecx + 0x2f0]
jne 0x100503b8
mov cl, 1
jmp 0x100503ba
xor cl, cl
test al, al
mov byte [esp + 0x70], cl
jne 0x100503ca
test cl, cl
je 0x100504c3
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.1003f260
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0xf4]
push eax
call fcn.10080710
cmp byte [esp + 0x70], 0
je 0x100504c3
cmp ebp, dword [ebx + 0x1ae0]
jne 0x100504c3
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.1003dce0
fld dword [ebx + 0x18b4]
fstp dword [esp + 0x1c]
lea edx, [esp + 0xe4]
fld dword [esp + 0x48]
push edx
fld dword [esp + 0x20]
lea ecx, [esp + 0x4c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fsub st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd st(1)
fstp dword [esp + 0x54]
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
call fcn.1003d740
test al, al
jne 0x100504c3
fld dword [ebx + 0x151c]
push 0xf
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1aec]
fmul qword [0x101a57c8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
push 0x2d
call fcn.1003f260
add esp, 8
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.10080710
fld dword [ebp + 0x44]
mov eax, dword [ebx + 0x1adc]
test eax, eax
fstp dword [esp + 0x58]
fld dword [ebp + 0x48]
fstp dword [esp + 0x24]
jne 0x100504e1
mov eax, dword [ebx + 0x1aa0]
cmp byte [esp + 0x1b], 0
jne 0x10050501
test eax, eax
je 0x100504fa
mov edx, dword [ebp + 0x2f4]
cmp edx, dword [eax + 0x2f4]
je 0x10050501
mov byte [esp + 0x23], 0
jmp 0x10050506
mov byte [esp + 0x23], 1
lea eax, [esp + 0x84]
push eax
mov ecx, ebp
call fcn.1003dd80
cmp byte [ebp + 0x7d], 0
je 0x100505a1
cmp byte [esp + 0x23], 0
fld dword [ebx + 0x1550]
fstp dword [esp + 0x38]
fld dword [ebp + 0x48]
fstp dword [ebx + 0x1550]
je 0x10050547
cmp byte [ebx + 0x1afe], 0
mov eax, 0xb
je 0x1005054c
mov eax, 0xc
fld dword [esp + 0x58]
push ecx
fstp dword [esp]
push 1
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003f260
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
add esp, 8
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
push eax
push ecx
call fcn.1003f430
fld dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
fstp dword [ebx + 0x1550]
add esp, 0x1c
jmp 0x10050c8c
mov eax, dword [esp + 0x120]
and eax, 0x80
mov dword [esp + 0x10], eax
jne 0x100506b1
fld1
mov eax, dword [esp + 0x120]
push ecx
fstp dword [esp]
call fcn.10040ce0
push eax
call fcn.1003f260
add esp, 8
cmp dword [ebx + 0x1a4c], 0
mov esi, eax
je 0x1005062e
fld dword [ebx + 0x1a8c]
push ecx
fstp dword [esp]
call fcn.1003d4e0
fmul qword [0x101a1c18]
and esi, 0xffffff
fnstcw word [esp + 0x74]
add esp, 4
movzx eax, word [esp + 0x70]
fadd qword [0x101a2a60]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
shl edx, 0x18
or esi, edx
fldcw word [esp + 0x70]
fld dword [ebp + 0x10]
mov ecx, ebp
fadd dword [ebp + 0x18]
fstp dword [esp + 0x1c]
fld dword [ebp + 0xc]
fadd dword [ebp + 0x14]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fstp dword [esp + 0x34]
call fcn.1003dd40
mov eax, dword [esp + 0x2c]
fstp dword [esp + 0xa0]
fld dword [ebp + 0x10]
neg eax
fadd dword [esp + 0xa0]
sbb eax, eax
and eax, 3
add eax, 0xc
fstp dword [esp + 0x1c]
push eax
fld dword [ebp + 0xc]
push ecx
fadd qword [0x101a1668]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [esp + 0x24]
fstp dword [esp + 0x88]
fld dword [esp + 0x60]
fstp dword [esp]
push esi
push ecx
mov ecx, dword [ebp + 0x274]
push edx
call fcn.10080710
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [ebx + 0x1a4c], 0
jne 0x10050713
cmp byte [ebp + 0x7d], 0
je 0x100506d0
mov eax, 0xc
jmp 0x100506dc
xor eax, eax
cmp byte [esp + 0x23], al
setne al
add eax, 0xa
fld dword [esp + 0x58]
push 3
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push eax
call fcn.1003f260
add esp, 8
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.10080710
test dword [esp + 0x120], 0x400
je 0x10050807
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.1003de40
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call fcn.1003dce0
push eax
lea ecx, [esp + 0x4c]
call fcn.1003d970
test esi, esi
je 0x10050753
fld dword [esp + 0x58]
jmp 0x10050755
fldz
fstp dword [esp + 0x1c]
push 3
fld dword [esp + 0x20]
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 0xd
call fcn.1003f260
add esp, 8
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x274]
lea edx, [esp + 0x58]
push edx
call fcn.10080710
fldz
fcom dword [ebx + 0x1550]
fnstsw ax
test ah, 5
jp 0x10050809
fld dword [esp + 0x54]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100508cf
mov eax, dword [esp + 0x50]
fstp st(1)
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x7c]
sub esp, 8
mov dword [esp + 0x38], eax
fstp dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
fld dword [ebx + 0x1550]
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 5
call fcn.1003f260
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.10080520
fldz
cmp byte [ebp + 0x78], 0
je 0x1005081d
push 0
fstp st(0)
call fcn.1005b0a0
fldz
add esp, 4
cmp byte [ebp + 0x79], 0
je 0x10050831
push 1
fstp st(0)
call fcn.1005b0a0
fldz
add esp, 4
test byte [esp + 0x120], 2
fld dword [esp + 0x5c]
fld dword [esp + 0x24]
jne 0x10050ad9
xor ebx, ebx
cmp dword [esp + 0x94], ebx
jle 0x10050ad9
fstp st(2)
mov esi, 0x101d9b50
fld st(1)
fadd dword [esp + 0x58]
fstp qword [esp + 0x48]
fld dword [ebp + 0x14]
mov eax, ebx
fadd dword [ebp + 0xc]
and eax, 1
mov dword [esp + 0x70], eax
fstp dword [esp + 0x104]
fld dword [ebp + 0x10]
fadd dword [ebp + 0x18]
fstp dword [esp + 0x108]
fld dword [esp + 0x104]
fsub dword [ebp + 0xc]
fmul dword [esi - 8]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x68]
fld dword [esp + 0x108]
fsub dword [ebp + 0x10]
fmul dword [esi - 4]
fadd dword [ebp + 0x10]
fstp dword [esp + 0x6c]
je 0x100508d6
fxch st(1)
lea eax, [esp + 0x10c]
fst dword [esp + 0x10c]
fxch st(1)
fst dword [esp + 0x110]
jmp 0x100508ef
fstp st(0)
jmp 0x10050809
fst dword [esp + 0xd4]
lea eax, [esp + 0xd4]
fxch st(1)
fst dword [esp + 0xd8]
fxch st(1)
fld dword [esi]
mov edi, dword [ebp + 0x274]
fmul dword [eax]
mov ecx, dword [edi + 0x58]
add edi, 0x54
fstp dword [esp + 0xfc]
fld dword [eax + 4]
mov eax, dword [edi]
cmp eax, ecx
fmul dword [esi + 4]
fstp dword [esp + 0x100]
fld dword [esp + 0x68]
fadd dword [esp + 0xfc]
fstp dword [esp + 0xf4]
fld dword [esp + 0x6c]
fadd dword [esp + 0x100]
fstp dword [esp + 0xf8]
jne 0x10050976
test ecx, ecx
fstp st(1)
lea edx, [eax + 1]
fstp st(0)
mov dword [esp + 0x1c], edx
je 0x1005095b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x10050960
mov eax, 8
cmp eax, edx
jg 0x10050966
mov eax, edx
push eax
mov ecx, edi
call fcn.10043b50
fld dword [esp + 0x24]
fld dword [esp + 0x5c]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0xf4]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0xf8]
mov dword [eax + ecx*8 + 4], edx
add dword [edi], 1
cmp dword [esp + 0x70], 0
je 0x100509b1
fstp dword [esp + 0xac]
lea eax, [esp + 0xac]
fstp dword [esp + 0xb0]
jmp 0x100509c8
fxch st(1)
lea eax, [esp + 0xbc]
fstp dword [esp + 0xbc]
fstp dword [esp + 0xc0]
fld dword [esi]
mov edi, dword [ebp + 0x274]
fmul dword [eax]
mov ecx, dword [edi + 0x58]
add edi, 0x54
fstp dword [esp + 0x7c]
fld dword [eax + 4]
mov eax, dword [edi]
cmp eax, ecx
fmul dword [esi + 4]
fstp dword [esp + 0x80]
fld dword [esp + 0x68]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x30]
fld dword [esp + 0x6c]
fadd dword [esp + 0x80]
fstp dword [esp + 0x34]
jne 0x10050a37
test ecx, ecx
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
je 0x10050a24
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x10050a29
mov eax, 8
cmp eax, edx
jg 0x10050a2f
mov eax, edx
push eax
mov ecx, edi
call fcn.10043b50
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*8 + 4], edx
add dword [edi], 1
fld dword [esi]
fld qword [esp + 0x48]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
fmul st(1), st(0)
fld dword [esp + 0x68]
push eax
push ecx
faddp st(2)
push ecx
fxch st(1)
lea edx, [esp + 0xa8]
fstp dword [esp + 0xa8]
fmul dword [esi + 4]
fadd dword [esp + 0x78]
fstp dword [esp + 0xac]
mov ecx, dword [ebp + 0x274]
fld dword [esp + 0x64]
fstp dword [esp]
push edx
call fcn.1007e200
mov edi, dword [ebp + 0x274]
mov eax, dword [esp + ebx*4 + 0xc4]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x5c]
push eax
push ecx
push edx
mov ecx, edi
call fcn.1007de50
fld dword [esp + 0x24]
fld dword [esp + 0x5c]
add ebx, 1
add esi, 0x18
cmp ebx, dword [esp + 0x94]
mov dword [edi + 0x54], 0
jl 0x10050867
fldz
fxch st(2)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x10050bcf
cmp dword [esp + 0x10], 0
jne 0x10050bcf
fstp st(2)
lea esi, [ebp + 0xc]
fstp st(0)
push ecx
fld dword [esi + 4]
fadd dword [ebp + 0x18]
fstp dword [esp + 0x14]
fld dword [esi]
fadd dword [ebp + 0x14]
fstp dword [esp + 0xa0]
fld dword [esp + 0x14]
fstp dword [esp + 0xa4]
fstp dword [esp]
push 0xf
fld dword [esp + 0x60]
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 5
call fcn.1003f260
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea eax, [esp + 0xac]
push eax
push esi
call fcn.10080630
fld dword [esp + 0x5c]
fldz
fxch st(1)
mov edx, dword [esp + 0x38]
cmp edx, 0xffffffff
je 0x10050bd3
sub esp, 8
fxch st(1)
fstp dword [esp + 4]
mov eax, ebp
lea ecx, [esp + 0xcc]
fstp dword [esp]
call fcn.10040d00
fld dword [esp + 0x2c]
add esp, 8
fcom qword [0x101a3b50]
fnstsw ax
test ah, 0x41
jp 0x10050b91
fstp st(0)
fld1
fstp dword [esp + 0x38]
sub esp, 8
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 0x1d
call fcn.1003f260
add esp, 8
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [ebp + 0x274]
lea edx, [esp + 0xd0]
push edx
call fcn.10080520
fldz
jmp 0x10050bd5
fstp st(0)
jmp 0x10050b56
fstp st(0)
mov esi, dword [esp + 0x40]
fcom dword [esi + 0x1550]
fnstsw ax
test ah, 5
jp 0x10050c8e
cmp dword [esp + 0x2c], 0
jne 0x10050c8e
fstp st(0)
sub esp, 8
fld dword [esi + 0x1520]
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x94]
fadd dword [esp + 0x50]
fstp dword [esp + 0xa4]
fld dword [esp + 0x98]
fsub qword [0x101a3b50]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0xa8]
fld dword [esi + 0x1520]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fadd dword [esp + 0x8c]
fstp dword [esp + 0xc4]
fstp dword [esp + 0xc8]
fld dword [esi + 0x1550]
fstp dword [esp + 4]
fld1
fstp dword [esp]
push 5
call fcn.1003f260
add esp, 8
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.10080520
fldz
cmp dword [esi + 0x1ae0], ebp
jne 0x10050e0d
fstp st(0)
fld dword [ebp + 0x44]
fstp dword [esp + 0x10]
fld dword [esi + 0x151c]
fstp dword [esp + 0x38]
fld dword [esp + 0x10]
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x10050cc2
fstp st(0)
jmp 0x10050cc4
fstp st(1)
fstp dword [esp + 0x24]
fld dword [ebp + 0x10]
fstp dword [esp + 0x38]
fld dword [ebp + 0x14]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x94]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x10]
fstp dword [esp + 0x1c]
fld dword [ebp + 0xc]
fstp dword [esp + 0x48]
fld dword [esi + 0x18b4]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x38]
fsub st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x94]
fadd st(1)
fstp dword [esp + 0x50]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x54]
fld dword [esp + 0xe4]
fld dword [esp + 0x48]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x10050dc9
fld dword [esp + 0xe8]
fld dword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x10050dc7
fld dword [esp + 0xec]
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x10050dc5
fld dword [esp + 0xf0]
fld dword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x10050dc3
fld dword [esi + 0x18b4]
fchs
fsub qword [0x101a3b50]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fsubp st(5)
fxch st(4)
fstp dword [esp + 0x48]
fld st(3)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x4c]
fadd st(2)
fstp dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x54]
fld dword [ebp + 0x44]
fstp dword [esp + 0x24]
jmp 0x10050dcb
fstp st(3)
fstp st(2)
fstp st(1)
fstp st(0)
fld dword [0x101a2bf0]
push ecx
fstp dword [esp]
push 0xffffffffffffffff
fld dword [esp + 0x2c]
sub esp, 8
fstp dword [esp + 4]
fld dword [esi + 0x1aec]
fstp dword [esp]
push 0x2d
call fcn.1003f260
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.10080630
fldz
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x24], ecx
mov edx, dword [ebp + 0x20]
mov dword [ebp + 0x28], edx
fld dword [ebp + 0xc]
fsub dword [ebp + 0x58]
fadd dword [ebp + 0x3c]
fstp dword [ebp + 0x20c]
mov eax, dword [ebp + 8]
test al, 1
fld qword [0x101a3938]
mov ecx, dword [0x101e7a68]
je 0x10050e41
fldz
fld st(0)
jmp 0x10050e63
fld dword [ecx + 0x18b8]
fmul dword [ebp + 0x26c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [ecx + 0x1548]
fmul st(2)
faddp st(1)
fldz
fxch st(1)
test eax, 0x400
je 0x10050e90
fld dword [ecx + 0x18b8]
fmul dword [ebp + 0x26c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x14c]
fld dword [ecx + 0x1548]
fmul st(4)
faddp st(1)
jmp 0x10050e92
fld st(1)
fld dword [ebp + 0x10]
fsub dword [ebp + 0x5c]
fadd dword [ebp + 0x40]
fxch st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
faddp st(2)
fstp dword [esp + 0x10]
fadd dword [esp + 0x10]
fstp dword [ebp + 0x210]
fld st(2)
fcomp dword [ebp + 0x34]
fnstsw ax
test ah, 0x44
jnp 0x10050ec6
fld dword [ebp + 0x34]
jmp 0x10050ecc
fld dword [ebp + 0x14]
fsub dword [ebp + 0x70]
fld dword [ebp + 0xc]
fsub dword [ebp + 0x58]
fsub dword [ebp + 0x3c]
faddp st(1)
fstp dword [ebp + 0x214]
fld st(2)
fcomp dword [ebp + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x10050eee
fld dword [ebp + 0x38]
jmp 0x10050ef4
fld dword [ebp + 0x18]
fsub dword [ebp + 0x74]
fld dword [ebp + 0x10]
fsub dword [ebp + 0x5c]
fsub dword [ebp + 0x40]
faddp st(1)
fstp dword [ebp + 0x218]
fld dword [ebp + 0x3c]
fadd st(1)
fsub dword [ebp + 0x58]
fstp dword [ebp + 0x1b0]
fxch st(2)
fst dword [ebp + 0x1b4]
fst dword [ebp + 0x1b8]
mov eax, dword [ebp + 8]
test al, 1
mov ecx, dword [0x101e7a68]
je 0x10050f32
fld st(2)
jmp 0x10050f50
fld dword [ecx + 0x18b8]
fmul dword [ebp + 0x26c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [ecx + 0x1548]
fmul st(3)
faddp st(1)
test eax, 0x400
je 0x10050f7d
fld dword [ecx + 0x18b8]
fmul dword [ebp + 0x26c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x14c]
fld dword [ecx + 0x1548]
fmulp st(4)
faddp st(3)
jmp 0x10050f83
fstp st(2)
fld st(2)
fxch st(2)
fld dword [ebp + 0x1b0]
push ebp
faddp st(4)
fxch st(3)
fstp dword [esp + 0x34]
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fxch st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
faddp st(2)
fld dword [ebp + 0x40]
faddp st(2)
fld dword [ebp + 0x5c]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x80]
mov eax, dword [esp + 0x80]
fld dword [ebp + 0x10]
mov dword [ebp + 0xd8], eax
fadd dword [esp + 0x38]
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0xdc], ecx
mov dword [ebp + 0xc8], eax
fst dword [esp + 0x34]
mov dword [ebp + 0xcc], ecx
fst dword [esp + 0x38]
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0xd4], ecx
mov eax, dword [ebp + 0xd8]
mov dword [ebp + 0xe0], eax
mov ecx, dword [ebp + 0xdc]
mov eax, dword [esp + 0x34]
mov dword [ebp + 0xe4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0xf4], eax
mov dword [ebp + 0xf8], ecx
mov dword [ebp + 0xe8], eax
mov dword [ebp + 0xec], ecx
fst dword [ebp + 0xfc]
fstp dword [ebp + 0xf0]
mov byte [ebp + 0x144], 0
call fcn.10046b70
fcomp dword [0x101a163c]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x10051075
mov eax, 1
jmp 0x10051077
xor eax, eax
mov byte [ebp + 0x145], al
mov edx, dword [ebp + 0x140]
mov dword [ebp + 0x13c], edx
mov dword [ebp + 0x140], 0
mov byte [ebp + 0x146], 0
fld dword [ebp + 0xcc]
fsub qword [0x101a57e0]
lea esi, [ebp + 0x150]
fstp dword [ebp + 0x100]
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x100510d0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x100510c8
xor eax, eax
push eax
mov ecx, esi
call fcn.10043500
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov eax, 1
mov dword [esi], 0
mov dword [ebp + 0x160], eax
je 0x100510ef
mov eax, dword [ecx + 0x160]
test ecx, ecx
mov dword [ebp + 0x164], eax
je 0x10051101
mov eax, dword [ecx + 0x168]
jmp 0x10051103
xor eax, eax
mov dword [ebp + 0x168], eax
fld dword [ebp + 0x220]
lea ebx, [ebp + 0x168]
fstp dword [ebp + 0x16c]
fld dword [0x101a1be4]
lea edi, [ebp + 0x174]
fstp dword [ebp + 0x170]
mov ecx, dword [edi + 4]
test ecx, ecx
jge 0x1005114b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10051143
xor eax, eax
push eax
mov ecx, edi
call fcn.10043bd0
lea esi, [ebp + 0x180]
mov dword [edi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x10051175
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1005116d
xor eax, eax
push eax
mov ecx, esi
call fcn.10043cd0
mov dword [esi], 0
mov ecx, dword [ebp + 0x190]
test ecx, ecx
lea esi, [ebp + 0x18c]
jge 0x100511a2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1005119a
xor eax, eax
push eax
mov ecx, esi
call fcn.10043cd0
xor eax, eax
mov dword [esi], eax
mov dword [ebp + 0x1bc], eax
mov dword [ebp + 0x104], eax
lea ecx, [ebp + 0x254]
mov dword [ebp + 0x108], eax
lea esi, [ebp + 0x198]
mov dword [ebp + 0x15c], ecx
mov ecx, dword [esi + 4]
cmp ecx, eax
jge 0x100511e8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x100511e0
xor eax, eax
push eax
mov ecx, esi
call fcn.10044170
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x40]
push edx
push ecx
mov dword [esi], 0
fld dword [eax + 0x1554]
fstp dword [esp]
push 3
lea ecx, [ebp + 0x224]
call fcn.10059440
cmp dword [esp + 0x74], 0
je 0x1005122d
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x168]
cmp dword [ebx], eax
je 0x1005122d
push ebx
mov ecx, edi
mov dword [ebx], eax
call fcn.10049730
cmp dword [ebp + 0x90], 0
jle 0x1005123d
add dword [ebp + 0x90], 0xffffffff
cmp dword [ebp + 0x94], 0
jle 0x1005124d
add dword [ebp + 0x94], 0xffffffff
cmp byte [esp + 0x1b], 0
je 0x10051265
push ebp
call fcn.10046fe0
push 0
push ebp
call fcn.100422a0
add esp, 0xc
cmp dword [esp + 0x2c], 0
jne 0x100516a0
mov esi, dword [ebp + 0x168]
mov ebx, dword [esp + 0x120]
mov edx, esi
or edx, 0x10
mov dword [ebp + 0x168], edx
mov edi, ebx
and edi, 0x20
mov dword [ebp + 0x134], 1
mov dword [ebp + 0x138], 2
jne 0x100512c6
lea eax, [ebp + 0xc]
push eax
push 0
push str.COLLAPSE
mov ecx, ebp
call fcn.10045640
push eax
call fcn.10057cd0
add esp, 8
test al, al
je 0x100512c6
mov byte [ebp + 0x7e], 1
cmp dword [esp + 0x11c], 0
je 0x1005138c
mov eax, dword [esp + 0x40]
fld dword [eax + 0x1548]
push ecx
fstp dword [esp + 0x14]
mov ecx, ebp
fld dword [eax + 0x18b4]
lea eax, [esp + 0xa0]
fmul qword [0x101a2a60]
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fchs
fld dword [esp + 0x3c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [ebp + 0x10]
fstp dword [esp + 0xcc]
fld dword [ebp + 0x14]
fadd dword [ebp + 0xc]
fstp dword [esp + 0xd0]
fld dword [esp + 0xd0]
fadd dword [esp + 0x34]
fstp dword [esp + 0xa0]
fld dword [esp + 0xcc]
fadd dword [esp + 0x38]
fstp dword [esp + 0xa4]
fadd qword [0x101a3b50]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
push eax
push 0
push str.CLOSE
call fcn.10045640
push eax
call fcn.1005ae70
add esp, 0xc
test al, al
je 0x1005138c
mov ecx, dword [esp + 0x11c]
mov byte [ecx], 0
mov dword [ebp + 0x134], 0
mov dword [ebp + 0x138], 1
mov dword [ebp + 0x168], esi
mov esi, ebx
and esi, 0x100000
je 0x100513d4
fld dword [0x101a1be4]
push ecx
fstp dword [esp]
push 0
push 0
lea edx, [esp + 0x54]
push 0x101a5928
push edx
call fcn.10040120
fld dword [eax]
add esp, 0x14
jmp 0x100513d6
fldz
mov ebx, dword [esp + 0x118]
fstp dword [esp + 0x5c]
fld dword [0x101a1be4]
push ecx
fstp dword [esp]
push 1
push 0
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.10040120
fld dword [esp + 0x70]
fadd dword [eax]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x9c]
fstp dword [esp + 0x44]
fld dword [eax + 4]
mov eax, dword [esp + 0x54]
fadd qword [0x101a1668]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0xa4]
add esp, 0x14
test edi, edi
fstp dword [esp + 0x34]
fld dword [eax + 0x1544]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], edx
jne 0x10051466
fadd dword [eax + 0x18b4]
fadd dword [eax + 0x155c]
cmp dword [esp + 0x11c], 0
fstp dword [esp + 0x10]
fld dword [eax + 0x1544]
je 0x10051486
fadd dword [eax + 0x18b4]
fadd dword [eax + 0x155c]
mov edi, dword [esp + 0x40]
fstp dword [esp + 0x24]
fldz
add edi, 0x152c
fcomp dword [edi]
fnstsw ax
fld dword [esp + 0x10]
test ah, 5
jp 0x100514b7
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [edi]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x24]
cmp dword [esp + 0x11c], 0
fadd dword [esp + 0x84]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe0], edx
fstp dword [esp + 0xac]
mov eax, dword [esp + 0xac]
fld dword [esp + 0xb4]
mov dword [esp + 0xd4], eax
fsub dword [esp + 0x24]
fstp dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xdc], ecx
je 0x10051529
fld dword [esp + 0x90]
fsub dword [esp + 0x88]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsub qword [0x101a2a58]
jmp 0x10051533
mov edx, dword [esp + 0x40]
fld dword [edx + 0x1544]
fld dword [ebp + 0x14]
lea eax, [esp + 0xd4]
fadd dword [ebp + 0xc]
push eax
push edi
lea ecx, [esp + 0x38]
push ecx
fsubrp st(1)
push 0
push ebx
lea edx, [esp + 0xc8]
fstp dword [esp + 0xf0]
push edx
lea eax, [esp + 0xc4]
push eax
call fcn.1004e790
add esp, 0x1c
test esi, esi
je 0x100516a0
fld dword [esp + 0x5c]
fsubr qword [0x101a3938]
fstp dword [esp + 0x9c]
fld dword [esp + 0xb4]
fld st(0)
fld dword [esp + 0xac]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x30]
fld st(0)
fsubp st(2)
fld dword [edi]
fmulp st(2)
fld st(2)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x100515c9
fstp st(0)
jmp 0x100515cb
fstp st(2)
mov esi, dword [esp + 0x40]
fxch st(1)
fstp dword [esp + 0x38]
fadd dword [esp + 0x38]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x30]
fld dword [esp + 0xb0]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esi + 0x18b4]
fchs
fmul qword [0x101a57c8]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
lea ecx, [esp + 0xd4]
push ecx
fstp dword [esp + 0x50]
lea edx, [esp + 0xa0]
fldz
push edx
fstp dword [esp + 0xa4]
push 0
fld dword [esi + 0x1530]
push 0
fstp dword [esp + 0xb0]
push 0x101a5928
lea eax, [esp + 0xd0]
push eax
fadd st(1), st(0)
lea ecx, [esp + 0xc4]
fxch st(1)
push ecx
fstp dword [esp + 0xd8]
fld dword [esp + 0xd4]
fld dword [esp + 0x68]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0xdc]
fld dword [esp + 0x4c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0xc8]
fadd dword [esp + 0x50]
fstp dword [esp + 0xcc]
call fcn.1004e790
add esp, 0x1c
fld dword [ebp + 0xc]
lea edx, [ebp + 0x1dc]
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [ebp + 0x10]
lea esi, [esp + 0x48]
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fld dword [ebp + 0x14]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x50]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], ecx
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [ebp + 0x1cc]
call fcn.1003d3e0
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, [esp + 0x48]
call fcn.1003d380
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
fld dword [ebp + 0x48]
fadd dword [esp + 0x84]
mov eax, 0x400
test dword [esp + 0x120], eax
fstp dword [ebp + 0x1ec]
jne 0x1005173f
cmp dword [esp + 0x2c], 0
je 0x1005173f
fld dword [ebp + 0x48]
jmp 0x10051749
mov ecx, dword [esp + 0x40]
fld dword [ecx + 0x1550]
test dword [ebp + 8], eax
fstp dword [esp + 0x38]
je 0x1005177f
mov eax, dword [0x101e7a68]
fld dword [eax + 0x18b8]
fmul dword [ebp + 0x26c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x14c]
fld dword [eax + 0x1548]
fadd st(0), st(0)
faddp st(1)
fldz
jmp 0x10051785
fldz
fld st(0)
fxch st(1)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [esp + 0x90]
fadd dword [esp + 0x38]
fstp dword [ebp + 0x1f0]
fld dword [ebp + 0x14]
fadd dword [ebp + 0xc]
fsub dword [ebp + 0x70]
fsub dword [ebp + 0x48]
fstp dword [ebp + 0x1f4]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x10]
fsub dword [ebp + 0x74]
fsub dword [ebp + 0x48]
fstp dword [ebp + 0x1f8]
fld dword [ebp + 0x3c]
fld qword [0x101a2a60]
fmul st(1), st(0)
fld dword [ebp + 0x48]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x10051800
fstp st(0)
fldz
fstp dword [esp + 0x38]
fld dword [ebp + 0x1ec]
fadd st(1)
fadd dword [esp + 0x38]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [ebp + 0x1fc]
fld dword [ebp + 0x1f0]
fadd st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [ebp + 0x200]
fld dword [ebp + 0x3c]
fmul st(1)
fsub dword [ebp + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jp 0x10051884
fstp st(1)
fldz
jmp 0x10051886
fxch st(1)
fstp dword [esp + 0x38]
fld dword [ebp + 0x1f4]
fadd st(1)
fsub dword [esp + 0x38]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [ebp + 0x204]
fadd dword [ebp + 0x1f8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.10118910
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
push 0
lea eax, [esp + 0x90]
fstp dword [ebp + 0x208]
mov edx, dword [ebp + 0x50]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov dword [ebp + 0x10c], edx
call fcn.10040200
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x70]
add esp, 0xc
neg al
sbb eax, eax
neg eax
mov dword [ebp + 0x110], eax
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x114], edx
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x118], eax
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 0x11c], ecx
mov edx, dword [esp + 0x90]
mov dword [ebp + 0x120], edx
xor edi, edi
push 1
lea eax, [ebp + 0x204]
push eax
lea ecx, [ebp + 0x1fc]
push ecx
call fcn.10046210
add esp, 0xc
cmp byte [esp + 0x63], 0
je 0x10051962
mov byte [ebp + 0x7c], 0
mov eax, dword [esp + 0x120]
mov ecx, 1
add word [ebp + 0x84], cx
test eax, 0x1000000
mov dword [esi + 0x1a4c], edi
mov dword [esi + 0x1a48], edi
mov dword [esi + 0x1a44], edi
mov dword [esi + 0x1a40], edi
mov dword [esi + 0x1a3c], edi
mov dword [esi + 0x1a38], edi
mov dword [esi + 0x1a34], edi
je 0x10051a03
test al, 0x40
jne 0x100519ea
cmp dword [ebp + 0x90], edi
jg 0x100519ea
cmp dword [ebp + 0x94], edi
jg 0x100519ea
fld dword [ebp + 0x1dc]
fld dword [ebp + 0x1e4]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x100519e4
fld dword [ebp + 0x1e0]
fld dword [ebp + 0x1e8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x100519ea
mov dword [ebp + 0xa4], ecx
cmp ebx, edi
je 0x10051a03
cmp byte [ebx + 0x7d], 0
jne 0x100519fd
cmp byte [ebx + 0x81], 0
je 0x10051a03
mov dword [ebp + 0xa4], ecx
fldz
pop ebx
fcomp dword [esi + 0x1510]
fnstsw ax
test ah, 1
jne 0x10051a19
mov dword [ebp + 0xa4], ecx
cmp dword [ebp + 0xa4], edi
jg 0x10051a2d
cmp dword [ebp + 0xa8], edi
jg 0x10051a2d
xor eax, eax
jmp 0x10051a2f
mov eax, ecx
mov byte [ebp + 0x81], al
cmp byte [ebp + 0x7d], 0
jne 0x10051a45
cmp byte [ebp + 0x7a], 0
je 0x10051a45
test al, al
je 0x10051a61
cmp dword [ebp + 0x90], edi
jg 0x10051a61
cmp dword [ebp + 0x94], edi
jg 0x10051a61
cmp dword [ebp + 0xa8], edi
jg 0x10051a61
mov eax, ecx
jmp 0x10051a63
xor eax, eax
xor edx, edx
test al, al
pop edi
mov byte [ebp + 0x7f], al
sete dl
pop esi
mov al, dl
pop ebp
add esp, 0x104
ret