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

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, dword [0x101e9b30]
push edi
mov edi, dword [esp + 0x114]
push edi
mov dword [esp + 0x40], esi
call fcn.10045c20
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 0x1004e937
cmp dword [esi + 0x1a38], 0
je 0x1004e90b
fstp st(0)
lea eax, [esi + 0x1a60]
jmp 0x1004e917
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.1004ae20
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x1004e939
fstp st(0)
mov edx, dword [esp + 0x11c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1004e95a
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 0x1004e97a
mov dword [ebp + 8], edx
jmp 0x1004e984
mov edx, dword [ebp + 8]
mov dword [esp + 0x11c], edx
cmp dword [esi + 0x1978], 0
lea edi, [esi + 0x1978]
jne 0x1004e997
xor eax, eax
jmp 0x1004e9a0
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4 - 4]
test cl, cl
push ebx
je 0x1004e9be
mov ebx, dword [esp + 0x120]
and ebx, 0x5000000
neg ebx
sbb ebx, ebx
and ebx, eax
mov dword [esp + 0x64], ebx
jmp 0x1004e9ca
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 0x1004ea35
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 0x1004ea47
cmp byte [esp + 0x23], 0
jne 0x1004ea47
xor eax, eax
jmp 0x1004ea4c
mov eax, 1
test al, al
mov byte [ebp + 0x80], al
je 0x1004ea68
mov bl, 1
mov ecx, 8
mov eax, ebp
call fcn.100400b0
mov ebx, dword [esp + 0x64]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jne 0x1004ea9a
test ecx, ecx
lea ebx, [eax + 1]
je 0x1004ea83
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004ea88
mov eax, 8
cmp eax, ebx
jg 0x1004ea8e
mov eax, ebx
push eax
mov ecx, edi
call fcn.10042a10
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.1003ef40
mov cl, 1
mov edx, ebp
call fcn.10040040
cmp dword [esp + 0x58], 0
je 0x1004eae9
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.10049060
mov eax, dword [edi]
mov ebx, dword [esp + 0x64]
mov dword [ebp + 0x8c], eax
xor edi, edi
cmp byte [esp + 0x23], 0
je 0x1004eb05
test dword [esp + 0x120], 0x1000000
jne 0x1004eb05
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 0x1004ebb0
test dword [ebp + 0xac], ecx
setne al
test al, al
mov byte [esp + 0x1b], al
je 0x1004eb95
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 [0x101a6ea0]
fnstsw ax
test ah, 0x41
jne 0x1004eb95
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 0x1004ebb0
mov edi, esi
add edi, 0x1a50
mov eax, ecx
mov esi, ebp
call fcn.100408e0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x64]
xor edi, edi
mov ecx, dword [esi + 0x1a38]
cmp ecx, edi
je 0x1004ec17
mov edx, dword [ebp + 0xb0]
and edx, ecx
je 0x1004ebd8
fldz
mov byte [esp + 0x2b], 1
fcomp dword [esi + 0x1a60]
fnstsw ax
test ah, 5
jnp 0x1004ebdd
mov byte [esp + 0x2b], 0
cmp edx, edi
je 0x1004ebf5
fldz
mov byte [esp + 0x2a], 1
fcomp dword [esi + 0x1a64]
fnstsw ax
test ah, 5
jnp 0x1004ebfa
mov byte [esp + 0x2a], 0
mov edi, dword [esp + 0x40]
add edi, 0x1a60
mov eax, ecx
mov esi, ebp
call fcn.10040a20
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x64]
xor edi, edi
cmp dword [esi + 0x1a3c], edi
je 0x1004ec5b
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 0x1004ec7a
mov ecx, ebp
call fcn.1003d300
fstp dword [esp + 0x38]
mov ecx, ebp
call fcn.1003d250
fadd dword [esp + 0x38]
fadd dword [ebp + 0x38]
fstp dword [ebp + 0x38]
jmp 0x1004ec7a
cmp byte [esp + 0x63], 0
je 0x1004ec7a
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 0x1004ec96
movzx eax, byte [esi + 0x1a70]
push eax
mov eax, ebp
call fcn.10040ad0
add esp, 4
cmp dword [esi + 0x1a48], edi
je 0x1004eca7
push ebp
call fcn.100464f0
add esp, 4
cmp byte [ebp + 0x80], 0
je 0x1004ecc4
xor bl, bl
mov ecx, 8
mov eax, ebp
call fcn.100400b0
mov ebx, dword [esp + 0x64]
xor edi, edi
cmp byte [esp + 0x63], 0
je 0x10050e4f
mov ecx, dword [esp + 0x120]
mov eax, ecx
and eax, 0x1000000
mov dword [esp + 0x74], eax
je 0x1004ecf0
test ecx, 0x2000000
mov byte [esp + 0x47], 1
jne 0x1004ecf5
mov byte [esp + 0x47], 0
mov ecx, dword [esp + 0x120]
push ebx
push ecx
push ebp
call fcn.10040330
fld dword [0x101a6940]
mov byte [ebp + 0x7a], 1
fst dword [esp + 0x54]
xor eax, eax
fstp dword [esp + 0x58]
fld dword [0x101a6a68]
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 0x1004edab
test ecx, ecx
je 0x1004edf8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, 1
jg 0x1004eda3
mov eax, 1
push eax
mov ecx, edi
call fcn.10043700
mov dword [edi], 1
cmp dword [esi + 0x1ae4], 0
je 0x1004ee28
test dword [ebp + 8], 0x80000
jne 0x1004ee28
cmp byte [esp + 0x70], 0
jne 0x1004ee28
mov esi, dword [ebp]
mov edi, dword [esp + 0x118]
mov ecx, esi
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004edff
test dl, dl
je 0x1004edf4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004edff
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004edd8
xor eax, eax
jmp 0x1004ee04
mov eax, 8
jmp 0x1004eda3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004ee28
mov edx, dword [ebp + 0x4c]
push edi
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], edx
call fcn.100445c0
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.10040130
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 0x1004ee4e
add dword [ebp + 0xa4], 0xffffffff
cmp dword [ebp + 0xa8], 0
jle 0x1004ee5e
add dword [ebp + 0xa8], 0xffffffff
cmp byte [esp + 0x70], 0
je 0x1004ee7d
cmp byte [esp + 0x2b], 0
je 0x1004ee73
cmp byte [esp + 0x2a], 0
jne 0x1004ee7d
mov dword [ebp + 0xa8], 1
cmp byte [esp + 0x78], 0
mov ebx, dword [esp + 0x120]
je 0x1004eed4
test ebx, 0x6000000
je 0x1004eed4
test bl, 0x40
mov dword [ebp + 0xa8], 1
je 0x1004eed4
cmp byte [esp + 0x2b], 0
fldz
jne 0x1004eeb1
fst dword [ebp + 0x1c]
fst dword [ebp + 0x14]
cmp byte [esp + 0x2a], 0
jne 0x1004eebe
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.1003ef40
cmp dword [esp + 0x74], 0
je 0x1004eeee
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1538]
jmp 0x1004ef14
test ebx, 0x6000000
je 0x1004ef0a
test ebx, 0x8000000
jne 0x1004ef0a
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1540]
jmp 0x1004ef14
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 0x1004ef89
test ecx, 0x4010000
jne 0x1004ef89
fldz
fcom dword [ebp + 0x48]
fnstsw ax
test ah, 0x44
jp 0x1004ef87
test ecx, 0x400
je 0x1004ef67
fld dword [ebx + 0x1518]
fstp dword [esp + 0x2c]
jmp 0x1004ef6b
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 0x1004ef89
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 0x1004efb5
fstp st(0)
jmp 0x1004efb7
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 0x1004efda
fstp st(0)
jmp 0x1004efdc
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 0x1004f07b
test cl, 0x20
jne 0x1004f07b
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebp
call fcn.1003d290
cmp dword [ebx + 0x1998], ebp
jne 0x1004f05a
cmp dword [ebx + 0x19a0], 0
jne 0x1004f05a
cmp dword [ebx + 0x19a8], 0
jne 0x1004f05a
push 1
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xcc]
push eax
call fcn.1003f710
add esp, 0xc
test al, al
je 0x1004f05a
cmp byte [ebx + 0x3e5], 0
je 0x1004f05a
mov byte [ebp + 0x7e], 1
cmp byte [ebp + 0x7e], 0
je 0x1004f07f
cmp byte [ebp + 0x7d], 0
push ebp
sete cl
mov byte [ebp + 0x7d], cl
call fcn.100421b0
push ebp
call fcn.100464f0
add esp, 8
jmp 0x1004f07f
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.10045e90
fld dword [0x101a6a68]
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 0x1004f0e7
cmp byte [ebp + 0x7d], 0
jne 0x1004f0e7
cmp byte [esp + 0x2b], 0
jne 0x1004f0cc
fld dword [esp + 0x68]
fst dword [esp + 0x10]
fstp dword [ebp + 0x1c]
cmp byte [esp + 0x2a], 0
jne 0x1004f182
fld dword [esp + 0x6c]
fst dword [esp + 0x14]
fstp dword [ebp + 0x20]
jmp 0x1004f182
mov eax, dword [ebp + 0x90]
test eax, eax
jg 0x1004f0fe
cmp dword [ebp + 0x94], 0
jle 0x1004f182
cmp byte [esp + 0x2b], 0
jne 0x1004f136
test eax, eax
jle 0x1004f136
cmp byte [ebp + 0x98], 0
fld dword [esp + 0x68]
je 0x1004f12b
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x1c]
fstp dword [esp]
call fcn.100438e0
add esp, 8
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ebp + 0x1c]
cmp byte [esp + 0x2a], 0
jne 0x1004f173
cmp dword [ebp + 0x94], 0
jle 0x1004f173
cmp byte [ebp + 0x98], 0
fld dword [esp + 0x6c]
je 0x1004f168
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.100438e0
add esp, 8
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x20]
cmp byte [ebp + 0x7d], 0
jne 0x1004f182
push ebp
call fcn.100421b0
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.10045c40
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 0x1004f1db
cmp dword [esp + 0x74], 0
jne 0x1004f1db
lea eax, [esp + 0xc4]
push eax
mov ecx, ebp
call fcn.1003d290
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 0x1004f1dd
mov eax, esi
mov ecx, dword [eax]
fld qword [0x101a6e70]
mov dword [ebp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x18], edx
cmp byte [ebp + 0x7d], 0
jne 0x1004f31e
fld dword [esp + 0x10]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x1004f209
fld dword [esi]
jmp 0x1004f20c
fld dword [ebp + 0x24]
fstp dword [esp + 0x5c]
fld dword [esp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1004f222
fld dword [ebp + 0x20]
jmp 0x1004f225
fld dword [ebp + 0x28]
mov edx, dword [esp + 0x120]
fstp dword [esp + 0x24]
test edx, 0x4000
fld dword [esp + 0x24]
jne 0x1004f251
fld dword [ebp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1004f24d
test dl, 8
je 0x1004f251
xor eax, eax
jmp 0x1004f256
mov eax, 1
test edx, 0x8000
mov byte [ebp + 0x79], al
jne 0x1004f298
test al, al
je 0x1004f26d
fld dword [ebx + 0x1574]
jmp 0x1004f26f
fldz
fstp dword [esp + 0x24]
fld dword [ebp + 0x2c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 5
jp 0x1004f294
test dl, 8
jne 0x1004f294
test edx, 0x800
jne 0x1004f298
xor eax, eax
jmp 0x1004f29d
mov eax, 1
test al, al
mov byte [ebp + 0x78], al
je 0x1004f2d4
cmp byte [ebp + 0x79], 0
jne 0x1004f2d4
fld dword [ebp + 0x30]
fld dword [ebx + 0x1574]
fsubp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1004f2cd
test dl, 8
jne 0x1004f2cd
mov eax, 1
mov byte [ebp + 0x79], al
jmp 0x1004f2d6
xor eax, eax
mov byte [ebp + 0x79], al
jmp 0x1004f2d6
fstp st(0)
cmp byte [ebp + 0x78], 0
je 0x1004f2e4
fld dword [ebx + 0x1574]
jmp 0x1004f2e6
fldz
cmp byte [ebp + 0x79], 0
fstp dword [esp + 0x5c]
je 0x1004f2f8
fld dword [ebx + 0x1574]
jmp 0x1004f2fa
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 0x1004f327
mov edx, dword [esp + 0x120]
fstp st(0)
cmp byte [esp + 0x78], 0
je 0x1004f363
cmp dword [esp + 0x58], 0
mov dword [ebp + 0xa0], 0xffffffff
je 0x1004f363
cmp byte [esp + 0x1b], 0
jne 0x1004f363
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 0x1004f3ba
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.10048ee0
cmp dword [esp + 0x58], 0
jne 0x1004f3b3
cmp byte [esp + 0x1b], 0
jne 0x1004f3b3
cmp byte [esp + 0x47], 0
jne 0x1004f3b3
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 [0x101a6e70]
fnstsw ax
test ah, 0x44
jnp 0x1004f42b
cmp dword [ebp + 0xa8], 0
jne 0x1004f42b
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.1003c8f0
mov edi, eax
xor eax, eax
mov esi, ebp
call fcn.100408e0
jmp 0x1004f477
test edx, 0x10000000
jne 0x1004f45e
cmp dword [esp + 0x58], 0
je 0x1004f448
cmp byte [esp + 0x1b], 0
jne 0x1004f448
cmp byte [esp + 0x23], 0
jne 0x1004f45e
test edx, 0x2000000
je 0x1004f477
cmp byte [esp + 0x1b], 0
jne 0x1004f477
cmp byte [esp + 0x47], 0
jne 0x1004f477
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.1004bdf0
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 0x1004f59c
cmp byte [esp + 0x1b], 0
jne 0x1004f59c
cmp dword [ebp + 0x90], 0
jg 0x1004f59c
cmp dword [ebp + 0x94], 0
jg 0x1004f59c
fldz
fcom dword [ebx + 0x10]
fnstsw ax
test ah, 5
jp 0x1004f59a
fcomp dword [ebx + 0x14]
fnstsw ax
test ah, 5
jp 0x1004f59c
lea ecx, [ebx + 0x159c]
lea edx, [ebx + 0x1594]
lea esi, [esp + 0x94]
call fcn.1003c8f0
cmp byte [ebx + 0xc0], 0
je 0x1004f504
test byte [ebp + 8], 1
jne 0x1004f504
fld dword [ebp + 0x14]
mov ecx, ebp
fstp dword [esp + 0x30]
call fcn.1003d250
fstp dword [esp + 0x34]
lea eax, [esp + 0x30]
jmp 0x1004f507
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.1003c8f0
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.1003c890
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp 0x1004f59c
fstp st(0)
fld dword [ebp + 0xc]
call fcn.101185e0
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x10]
fld dword [ebp + 0x10]
call fcn.101185e0
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 0x1004f5e1
fld dword [ebx + 0x1534]
jmp 0x1004f603
cmp dword [esp + 0x58], 0
je 0x1004f5fd
test dword [esp + 0x120], 0x8000000
jne 0x1004f5fd
fld dword [ebx + 0x153c]
jmp 0x1004f603
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 0x1004f63a
cmp dword [ebp + 0x328], esi
je 0x1004f63a
mov ecx, dword [ebp + 0x328]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1004f63c
mov edx, edi
mov dword [ebp + 0x330], edx
mov eax, dword [ebp + 0x33c]
cmp eax, edi
je 0x1004f666
cmp dword [ebp + 0x32c], esi
je 0x1004f666
mov ecx, dword [ebp + 0x32c]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1004f668
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.100460c0
fld dword [0x101a6a68]
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 0x1004f6ea
mov eax, dword [esp + 0x120]
test eax, 0x1000
jne 0x1004f6ea
test eax, 0x3000000
je 0x1004f6e5
cmp dword [esp + 0x58], 0
je 0x1004f6ea
mov byte [esp + 0x1b], 1
fld dword [ebx + 0x18b4]
xor eax, eax
fmul qword [0x101a6fe8]
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 [0x101a5210]
mov dword [esp + 0xcc], eax
fld dword [ebx + 0x18b4]
mov dword [esp + 0xd0], eax
fmul qword [0x101a6aa0]
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 0x1004f763
fstp st(0)
jmp 0x1004f765
fstp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.101185e0
cmp byte [ebp + 0x7d], 0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x5c]
jne 0x1004f7a1
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.1004e0f0
add esp, 0x10
fldz
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 5
jp 0x1004f7d9
test dword [esp + 0x120], 0x2000000
jne 0x1004f7d9
cmp dword [esp + 0x70], 0
jne 0x1004f7d9
fld dword [ebp + 0x14]
fmul qword [0x101a6ec0]
call fcn.101185e0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jmp 0x1004f7f2
fld dword [ebx + 0x18b4]
fmul qword [0x101a4fc0]
call fcn.101185e0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov ecx, dword [ebp + 0x274]
fstp dword [ebp + 0x220]
call fcn.1007bb20
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.1007c210
lea edx, [esp + 0xe4]
call fcn.1003ffb0
cmp dword [esp + 0x74], 0
je 0x1004f873
cmp dword [esp + 0x58], 0
jne 0x1004f873
cmp byte [esp + 0x47], 0
jne 0x1004f873
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0x1d4]
push 1
push ecx
add eax, 0x1cc
jmp 0x1004f884
push 1
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.10045720
add esp, 0xc
test dword [esp + 0x120], 0x8000000
je 0x1004f8b0
call fcn.10041530
cmp ebp, eax
jne 0x1004f8b0
cmp dword [ebp + 0xa8], 0
jg 0x1004f8b0
mov al, 1
jmp 0x1004f8b2
xor al, al
mov ecx, dword [ebx + 0x1ae0]
test ecx, ecx
je 0x1004f8c8
cmp ebp, dword [ecx + 0x2f0]
jne 0x1004f8c8
mov cl, 1
jmp 0x1004f8ca
xor cl, cl
test al, al
mov byte [esp + 0x70], cl
jne 0x1004f8da
test cl, cl
je 0x1004f9d3
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.1003e770
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0xf4]
push eax
call fcn.1007fc20
cmp byte [esp + 0x70], 0
je 0x1004f9d3
cmp ebp, dword [ebx + 0x1ae0]
jne 0x1004f9d3
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.1003d1f0
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.1003cc50
test al, al
jne 0x1004f9d3
fld dword [ebx + 0x151c]
push 0xf
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1aec]
fmul qword [0x101a6e90]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
push 0x2d
call fcn.1003e770
add esp, 8
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.1007fc20
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 0x1004f9f1
mov eax, dword [ebx + 0x1aa0]
cmp byte [esp + 0x1b], 0
jne 0x1004fa11
test eax, eax
je 0x1004fa0a
mov edx, dword [ebp + 0x2f4]
cmp edx, dword [eax + 0x2f4]
je 0x1004fa11
mov byte [esp + 0x23], 0
jmp 0x1004fa16
mov byte [esp + 0x23], 1
lea eax, [esp + 0x84]
push eax
mov ecx, ebp
call fcn.1003d290
cmp byte [ebp + 0x7d], 0
je 0x1004fab1
cmp byte [esp + 0x23], 0
fld dword [ebx + 0x1550]
fstp dword [esp + 0x38]
fld dword [ebp + 0x48]
fstp dword [ebx + 0x1550]
je 0x1004fa57
cmp byte [ebx + 0x1afe], 0
mov eax, 0xb
je 0x1004fa5c
mov eax, 0xc
fld dword [esp + 0x58]
push ecx
fstp dword [esp]
push 1
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003e770
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.1003e940
fld dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
fstp dword [ebx + 0x1550]
add esp, 0x1c
jmp 0x1005019c
mov eax, dword [esp + 0x120]
and eax, 0x80
mov dword [esp + 0x10], eax
jne 0x1004fbc1
fld1
mov eax, dword [esp + 0x120]
push ecx
fstp dword [esp]
call fcn.100401f0
push eax
call fcn.1003e770
add esp, 8
cmp dword [ebx + 0x1a4c], 0
mov esi, eax
je 0x1004fb3e
fld dword [ebx + 0x1a8c]
push ecx
fstp dword [esp]
call fcn.1003c9f0
fmul qword [0x101a2f70]
and esi, 0xffffff
fnstcw word [esp + 0x74]
add esp, 4
movzx eax, word [esp + 0x70]
fadd qword [0x101a4158]
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.1003d250
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 [0x101a29c0]
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.1007fc20
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [ebx + 0x1a4c], 0
jne 0x1004fc23
cmp byte [ebp + 0x7d], 0
je 0x1004fbe0
mov eax, 0xc
jmp 0x1004fbec
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.1003e770
add esp, 8
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.1007fc20
test dword [esp + 0x120], 0x400
je 0x1004fd17
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.1003d350
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call fcn.1003d1f0
push eax
lea ecx, [esp + 0x4c]
call fcn.1003ce80
test esi, esi
je 0x1004fc63
fld dword [esp + 0x58]
jmp 0x1004fc65
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.1003e770
add esp, 8
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x274]
lea edx, [esp + 0x58]
push edx
call fcn.1007fc20
fldz
fcom dword [ebx + 0x1550]
fnstsw ax
test ah, 5
jp 0x1004fd19
fld dword [esp + 0x54]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1004fddf
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.1003e770
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.1007fa30
fldz
cmp byte [ebp + 0x78], 0
je 0x1004fd2d
push 0
fstp st(0)
call fcn.1005a5b0
fldz
add esp, 4
cmp byte [ebp + 0x79], 0
je 0x1004fd41
push 1
fstp st(0)
call fcn.1005a5b0
fldz
add esp, 4
test byte [esp + 0x120], 2
fld dword [esp + 0x5c]
fld dword [esp + 0x24]
jne 0x1004ffe9
xor ebx, ebx
cmp dword [esp + 0x94], ebx
jle 0x1004ffe9
fstp st(2)
mov esi, 0x101dbc08
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 0x1004fde6
fxch st(1)
lea eax, [esp + 0x10c]
fst dword [esp + 0x10c]
fxch st(1)
fst dword [esp + 0x110]
jmp 0x1004fdff
fstp st(0)
jmp 0x1004fd19
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 0x1004fe86
test ecx, ecx
fstp st(1)
lea edx, [eax + 1]
fstp st(0)
mov dword [esp + 0x1c], edx
je 0x1004fe6b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004fe70
mov eax, 8
cmp eax, edx
jg 0x1004fe76
mov eax, edx
push eax
mov ecx, edi
call fcn.10043060
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 0x1004fec1
fstp dword [esp + 0xac]
lea eax, [esp + 0xac]
fstp dword [esp + 0xb0]
jmp 0x1004fed8
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 0x1004ff47
test ecx, ecx
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
je 0x1004ff34
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004ff39
mov eax, 8
cmp eax, edx
jg 0x1004ff3f
mov eax, edx
push eax
mov ecx, edi
call fcn.10043060
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.1007d710
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.1007d360
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 0x1004fd77
fldz
fxch st(2)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100500df
cmp dword [esp + 0x10], 0
jne 0x100500df
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.1003e770
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea eax, [esp + 0xac]
push eax
push esi
call fcn.1007fb40
fld dword [esp + 0x5c]
fldz
fxch st(1)
mov edx, dword [esp + 0x38]
cmp edx, 0xffffffff
je 0x100500e3
sub esp, 8
fxch st(1)
fstp dword [esp + 4]
mov eax, ebp
lea ecx, [esp + 0xcc]
fstp dword [esp]
call fcn.10040210
fld dword [esp + 0x2c]
add esp, 8
fcom qword [0x101a5210]
fnstsw ax
test ah, 0x41
jp 0x100500a1
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.1003e770
add esp, 8
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [ebp + 0x274]
lea edx, [esp + 0xd0]
push edx
call fcn.1007fa30
fldz
jmp 0x100500e5
fstp st(0)
jmp 0x10050066
fstp st(0)
mov esi, dword [esp + 0x40]
fcom dword [esi + 0x1550]
fnstsw ax
test ah, 5
jp 0x1005019e
cmp dword [esp + 0x2c], 0
jne 0x1005019e
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 [0x101a5210]
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.1003e770
add esp, 8
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.1007fa30
fldz
cmp dword [esi + 0x1ae0], ebp
jne 0x1005031d
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 0x100501d2
fstp st(0)
jmp 0x100501d4
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 0x100502d9
fld dword [esp + 0xe8]
fld dword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x100502d7
fld dword [esp + 0xec]
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x100502d5
fld dword [esp + 0xf0]
fld dword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x100502d3
fld dword [esi + 0x18b4]
fchs
fsub qword [0x101a5210]
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 0x100502db
fstp st(3)
fstp st(2)
fstp st(1)
fstp st(0)
fld dword [0x101a42f0]
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.1003e770
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1007fb40
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 [0x101a4ff8]
mov ecx, dword [0x101e9b30]
je 0x10050351
fldz
fld st(0)
jmp 0x10050373
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 0x100503a0
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 0x100503a2
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 0x100503d6
fld dword [ebp + 0x34]
jmp 0x100503dc
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 0x100503fe
fld dword [ebp + 0x38]
jmp 0x10050404
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 [0x101e9b30]
je 0x10050442
fld st(2)
jmp 0x10050460
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 0x1005048d
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 0x10050493
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.10046080
fcomp dword [0x101a2994]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x10050585
mov eax, 1
jmp 0x10050587
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 [0x101a6ea8]
lea esi, [ebp + 0x150]
fstp dword [ebp + 0x100]
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x100505e0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x100505d8
xor eax, eax
push eax
mov ecx, esi
call fcn.10042a10
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov eax, 1
mov dword [esi], 0
mov dword [ebp + 0x160], eax
je 0x100505ff
mov eax, dword [ecx + 0x160]
test ecx, ecx
mov dword [ebp + 0x164], eax
je 0x10050611
mov eax, dword [ecx + 0x168]
jmp 0x10050613
xor eax, eax
mov dword [ebp + 0x168], eax
fld dword [ebp + 0x220]
lea ebx, [ebp + 0x168]
fstp dword [ebp + 0x16c]
fld dword [0x101a2f3c]
lea edi, [ebp + 0x174]
fstp dword [ebp + 0x170]
mov ecx, dword [edi + 4]
test ecx, ecx
jge 0x1005065b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x10050653
xor eax, eax
push eax
mov ecx, edi
call fcn.100430e0
lea esi, [ebp + 0x180]
mov dword [edi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x10050685
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1005067d
xor eax, eax
push eax
mov ecx, esi
call fcn.100431e0
mov dword [esi], 0
mov ecx, dword [ebp + 0x190]
test ecx, ecx
lea esi, [ebp + 0x18c]
jge 0x100506b2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x100506aa
xor eax, eax
push eax
mov ecx, esi
call fcn.100431e0
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 0x100506f8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x100506f0
xor eax, eax
push eax
mov ecx, esi
call fcn.10043680
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.10058950
cmp dword [esp + 0x74], 0
je 0x1005073d
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x168]
cmp dword [ebx], eax
je 0x1005073d
push ebx
mov ecx, edi
mov dword [ebx], eax
call fcn.10048c40
cmp dword [ebp + 0x90], 0
jle 0x1005074d
add dword [ebp + 0x90], 0xffffffff
cmp dword [ebp + 0x94], 0
jle 0x1005075d
add dword [ebp + 0x94], 0xffffffff
cmp byte [esp + 0x1b], 0
je 0x10050775
push ebp
call fcn.100464f0
push 0
push ebp
call fcn.100417b0
add esp, 0xc
cmp dword [esp + 0x2c], 0
jne 0x10050bb0
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 0x100507d6
lea eax, [ebp + 0xc]
push eax
push 0
push str.COLLAPSE
mov ecx, ebp
call fcn.10044b50
push eax
call fcn.100571e0
add esp, 8
test al, al
je 0x100507d6
mov byte [ebp + 0x7e], 1
cmp dword [esp + 0x11c], 0
je 0x1005089c
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 [0x101a4158]
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 [0x101a5210]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
push eax
push 0
push str.CLOSE
call fcn.10044b50
push eax
call fcn.1005a380
add esp, 0xc
test al, al
je 0x1005089c
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 0x100508e4
fld dword [0x101a2f3c]
push ecx
fstp dword [esp]
push 0
push 0
lea edx, [esp + 0x54]
push 0x101a6ff0
push edx
call fcn.1003f630
fld dword [eax]
add esp, 0x14
jmp 0x100508e6
fldz
mov ebx, dword [esp + 0x118]
fstp dword [esp + 0x5c]
fld dword [0x101a2f3c]
push ecx
fstp dword [esp]
push 1
push 0
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.1003f630
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 [0x101a29c0]
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 0x10050976
fadd dword [eax + 0x18b4]
fadd dword [eax + 0x155c]
cmp dword [esp + 0x11c], 0
fstp dword [esp + 0x10]
fld dword [eax + 0x1544]
je 0x10050996
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 0x100509c7
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 0x10050a39
fld dword [esp + 0x90]
fsub dword [esp + 0x88]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsub qword [0x101a4150]
jmp 0x10050a43
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.1004dca0
add esp, 0x1c
test esi, esi
je 0x10050bb0
fld dword [esp + 0x5c]
fsubr qword [0x101a4ff8]
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 0x10050ad9
fstp st(0)
jmp 0x10050adb
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 [0x101a6e90]
call fcn.101185e0
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 0x101a6ff0
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.1004dca0
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.1003c8f0
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.1003c890
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 0x10050c4f
cmp dword [esp + 0x2c], 0
je 0x10050c4f
fld dword [ebp + 0x48]
jmp 0x10050c59
mov ecx, dword [esp + 0x40]
fld dword [ecx + 0x1550]
test dword [ebp + 8], eax
fstp dword [esp + 0x38]
je 0x10050c8f
mov eax, dword [0x101e9b30]
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 0x10050c95
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 [0x101a4158]
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.101185e0
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 0x10050d10
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.101185e0
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.101185e0
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.101185e0
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 0x10050d94
fstp st(1)
fldz
jmp 0x10050d96
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.101185e0
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.101185e0
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.1003f710
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.10045720
add esp, 0xc
cmp byte [esp + 0x63], 0
je 0x10050e72
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 0x10050f13
test al, 0x40
jne 0x10050efa
cmp dword [ebp + 0x90], edi
jg 0x10050efa
cmp dword [ebp + 0x94], edi
jg 0x10050efa
fld dword [ebp + 0x1dc]
fld dword [ebp + 0x1e4]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x10050ef4
fld dword [ebp + 0x1e0]
fld dword [ebp + 0x1e8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x10050efa
mov dword [ebp + 0xa4], ecx
cmp ebx, edi
je 0x10050f13
cmp byte [ebx + 0x7d], 0
jne 0x10050f0d
cmp byte [ebx + 0x81], 0
je 0x10050f13
mov dword [ebp + 0xa4], ecx
fldz
pop ebx
fcomp dword [esi + 0x1510]
fnstsw ax
test ah, 1
jne 0x10050f29
mov dword [ebp + 0xa4], ecx
cmp dword [ebp + 0xa4], edi
jg 0x10050f3d
cmp dword [ebp + 0xa8], edi
jg 0x10050f3d
xor eax, eax
jmp 0x10050f3f
mov eax, ecx
mov byte [ebp + 0x81], al
cmp byte [ebp + 0x7d], 0
jne 0x10050f55
cmp byte [ebp + 0x7a], 0
je 0x10050f55
test al, al
je 0x10050f71
cmp dword [ebp + 0x90], edi
jg 0x10050f71
cmp dword [ebp + 0x94], edi
jg 0x10050f71
cmp dword [ebp + 0xa8], edi
jg 0x10050f71
mov eax, ecx
jmp 0x10050f73
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