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

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, dword [0x101e25f0]
push edi
mov edi, dword [esp + 0x114]
push edi
mov dword [esp + 0x40], esi
call fcn.10041ee0
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 0x1004abf7
cmp dword [esi + 0x1a38], 0
je 0x1004abcb
fstp st(0)
lea eax, [esi + 0x1a60]
jmp 0x1004abd7
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.100470e0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x1004abf9
fstp st(0)
mov edx, dword [esp + 0x11c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1004ac1a
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 0x1004ac3a
mov dword [ebp + 8], edx
jmp 0x1004ac44
mov edx, dword [ebp + 8]
mov dword [esp + 0x11c], edx
cmp dword [esi + 0x1978], 0
lea edi, [esi + 0x1978]
jne 0x1004ac57
xor eax, eax
jmp 0x1004ac60
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4 - 4]
test cl, cl
push ebx
je 0x1004ac7e
mov ebx, dword [esp + 0x120]
and ebx, 0x5000000
neg ebx
sbb ebx, ebx
and ebx, eax
mov dword [esp + 0x64], ebx
jmp 0x1004ac8a
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 0x1004acf5
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 0x1004ad07
cmp byte [esp + 0x23], 0
jne 0x1004ad07
xor eax, eax
jmp 0x1004ad0c
mov eax, 1
test al, al
mov byte [ebp + 0x80], al
je 0x1004ad28
mov bl, 1
mov ecx, 8
mov eax, ebp
call fcn.1003c370
mov ebx, dword [esp + 0x64]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jne 0x1004ad5a
test ecx, ecx
lea ebx, [eax + 1]
je 0x1004ad43
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004ad48
mov eax, 8
cmp eax, ebx
jg 0x1004ad4e
mov eax, ebx
push eax
mov ecx, edi
call fcn.1003ecd0
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.1003b200
mov cl, 1
mov edx, ebp
call fcn.1003c300
cmp dword [esp + 0x58], 0
je 0x1004ada9
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.10045320
mov eax, dword [edi]
mov ebx, dword [esp + 0x64]
mov dword [ebp + 0x8c], eax
xor edi, edi
cmp byte [esp + 0x23], 0
je 0x1004adc5
test dword [esp + 0x120], 0x1000000
jne 0x1004adc5
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 0x1004ae70
test dword [ebp + 0xac], ecx
setne al
test al, al
mov byte [esp + 0x1b], al
je 0x1004ae55
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 [0x101a0bd8]
fnstsw ax
test ah, 0x41
jne 0x1004ae55
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 0x1004ae70
mov edi, esi
add edi, 0x1a50
mov eax, ecx
mov esi, ebp
call fcn.1003cba0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x64]
xor edi, edi
mov ecx, dword [esi + 0x1a38]
cmp ecx, edi
je 0x1004aed7
mov edx, dword [ebp + 0xb0]
and edx, ecx
je 0x1004ae98
fldz
mov byte [esp + 0x2b], 1
fcomp dword [esi + 0x1a60]
fnstsw ax
test ah, 5
jnp 0x1004ae9d
mov byte [esp + 0x2b], 0
cmp edx, edi
je 0x1004aeb5
fldz
mov byte [esp + 0x2a], 1
fcomp dword [esi + 0x1a64]
fnstsw ax
test ah, 5
jnp 0x1004aeba
mov byte [esp + 0x2a], 0
mov edi, dword [esp + 0x40]
add edi, 0x1a60
mov eax, ecx
mov esi, ebp
call fcn.1003cce0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x64]
xor edi, edi
cmp dword [esi + 0x1a3c], edi
je 0x1004af1b
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 0x1004af3a
mov ecx, ebp
call fcn.100395c0
fstp dword [esp + 0x38]
mov ecx, ebp
call fcn.10039510
fadd dword [esp + 0x38]
fadd dword [ebp + 0x38]
fstp dword [ebp + 0x38]
jmp 0x1004af3a
cmp byte [esp + 0x63], 0
je 0x1004af3a
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 0x1004af56
movzx eax, byte [esi + 0x1a70]
push eax
mov eax, ebp
call fcn.1003cd90
add esp, 4
cmp dword [esi + 0x1a48], edi
je 0x1004af67
push ebp
call fcn.100427b0
add esp, 4
cmp byte [ebp + 0x80], 0
je 0x1004af84
xor bl, bl
mov ecx, 8
mov eax, ebp
call fcn.1003c370
mov ebx, dword [esp + 0x64]
xor edi, edi
cmp byte [esp + 0x63], 0
je 0x1004d10f
mov ecx, dword [esp + 0x120]
mov eax, ecx
and eax, 0x1000000
mov dword [esp + 0x74], eax
je 0x1004afb0
test ecx, 0x2000000
mov byte [esp + 0x47], 1
jne 0x1004afb5
mov byte [esp + 0x47], 0
mov ecx, dword [esp + 0x120]
push ebx
push ecx
push ebp
call fcn.1003c5f0
fld dword [0x101a0678]
mov byte [ebp + 0x7a], 1
fst dword [esp + 0x54]
xor eax, eax
fstp dword [esp + 0x58]
fld dword [0x101a07a0]
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 0x1004b06b
test ecx, ecx
je 0x1004b0b8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, 1
jg 0x1004b063
mov eax, 1
push eax
mov ecx, edi
call fcn.1003f9c0
mov dword [edi], 1
cmp dword [esi + 0x1ae4], 0
je 0x1004b0e8
test dword [ebp + 8], 0x80000
jne 0x1004b0e8
cmp byte [esp + 0x70], 0
jne 0x1004b0e8
mov esi, dword [ebp]
mov edi, dword [esp + 0x118]
mov ecx, esi
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004b0bf
test dl, dl
je 0x1004b0b4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004b0bf
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004b098
xor eax, eax
jmp 0x1004b0c4
mov eax, 8
jmp 0x1004b063
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004b0e8
mov edx, dword [ebp + 0x4c]
push edi
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], edx
call fcn.10040880
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.1003c3f0
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 0x1004b10e
add dword [ebp + 0xa4], 0xffffffff
cmp dword [ebp + 0xa8], 0
jle 0x1004b11e
add dword [ebp + 0xa8], 0xffffffff
cmp byte [esp + 0x70], 0
je 0x1004b13d
cmp byte [esp + 0x2b], 0
je 0x1004b133
cmp byte [esp + 0x2a], 0
jne 0x1004b13d
mov dword [ebp + 0xa8], 1
cmp byte [esp + 0x78], 0
mov ebx, dword [esp + 0x120]
je 0x1004b194
test ebx, 0x6000000
je 0x1004b194
test bl, 0x40
mov dword [ebp + 0xa8], 1
je 0x1004b194
cmp byte [esp + 0x2b], 0
fldz
jne 0x1004b171
fst dword [ebp + 0x1c]
fst dword [ebp + 0x14]
cmp byte [esp + 0x2a], 0
jne 0x1004b17e
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.1003b200
cmp dword [esp + 0x74], 0
je 0x1004b1ae
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1538]
jmp 0x1004b1d4
test ebx, 0x6000000
je 0x1004b1ca
test ebx, 0x8000000
jne 0x1004b1ca
mov ebx, dword [esp + 0x40]
fld dword [ebx + 0x1540]
jmp 0x1004b1d4
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 0x1004b249
test ecx, 0x4010000
jne 0x1004b249
fldz
fcom dword [ebp + 0x48]
fnstsw ax
test ah, 0x44
jp 0x1004b247
test ecx, 0x400
je 0x1004b227
fld dword [ebx + 0x1518]
fstp dword [esp + 0x2c]
jmp 0x1004b22b
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 0x1004b249
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 0x1004b275
fstp st(0)
jmp 0x1004b277
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 0x1004b29a
fstp st(0)
jmp 0x1004b29c
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 0x1004b33b
test cl, 0x20
jne 0x1004b33b
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebp
call fcn.10039550
cmp dword [ebx + 0x1998], ebp
jne 0x1004b31a
cmp dword [ebx + 0x19a0], 0
jne 0x1004b31a
cmp dword [ebx + 0x19a8], 0
jne 0x1004b31a
push 1
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xcc]
push eax
call fcn.1003b9d0
add esp, 0xc
test al, al
je 0x1004b31a
cmp byte [ebx + 0x3e5], 0
je 0x1004b31a
mov byte [ebp + 0x7e], 1
cmp byte [ebp + 0x7e], 0
je 0x1004b33f
cmp byte [ebp + 0x7d], 0
push ebp
sete cl
mov byte [ebp + 0x7d], cl
call fcn.1003e470
push ebp
call fcn.100427b0
add esp, 8
jmp 0x1004b33f
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.10042150
fld dword [0x101a07a0]
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 0x1004b3a7
cmp byte [ebp + 0x7d], 0
jne 0x1004b3a7
cmp byte [esp + 0x2b], 0
jne 0x1004b38c
fld dword [esp + 0x68]
fst dword [esp + 0x10]
fstp dword [ebp + 0x1c]
cmp byte [esp + 0x2a], 0
jne 0x1004b442
fld dword [esp + 0x6c]
fst dword [esp + 0x14]
fstp dword [ebp + 0x20]
jmp 0x1004b442
mov eax, dword [ebp + 0x90]
test eax, eax
jg 0x1004b3be
cmp dword [ebp + 0x94], 0
jle 0x1004b442
cmp byte [esp + 0x2b], 0
jne 0x1004b3f6
test eax, eax
jle 0x1004b3f6
cmp byte [ebp + 0x98], 0
fld dword [esp + 0x68]
je 0x1004b3eb
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x1c]
fstp dword [esp]
call fcn.1003fba0
add esp, 8
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ebp + 0x1c]
cmp byte [esp + 0x2a], 0
jne 0x1004b433
cmp dword [ebp + 0x94], 0
jle 0x1004b433
cmp byte [ebp + 0x98], 0
fld dword [esp + 0x6c]
je 0x1004b428
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.1003fba0
add esp, 8
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x20]
cmp byte [ebp + 0x7d], 0
jne 0x1004b442
push ebp
call fcn.1003e470
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.10041f00
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 0x1004b49b
cmp dword [esp + 0x74], 0
jne 0x1004b49b
lea eax, [esp + 0xc4]
push eax
mov ecx, ebp
call fcn.10039550
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 0x1004b49d
mov eax, esi
mov ecx, dword [eax]
fld qword [0x101a0ba8]
mov dword [ebp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x18], edx
cmp byte [ebp + 0x7d], 0
jne 0x1004b5de
fld dword [esp + 0x10]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x1004b4c9
fld dword [esi]
jmp 0x1004b4cc
fld dword [ebp + 0x24]
fstp dword [esp + 0x5c]
fld dword [esp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1004b4e2
fld dword [ebp + 0x20]
jmp 0x1004b4e5
fld dword [ebp + 0x28]
mov edx, dword [esp + 0x120]
fstp dword [esp + 0x24]
test edx, 0x4000
fld dword [esp + 0x24]
jne 0x1004b511
fld dword [ebp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1004b50d
test dl, 8
je 0x1004b511
xor eax, eax
jmp 0x1004b516
mov eax, 1
test edx, 0x8000
mov byte [ebp + 0x79], al
jne 0x1004b558
test al, al
je 0x1004b52d
fld dword [ebx + 0x1574]
jmp 0x1004b52f
fldz
fstp dword [esp + 0x24]
fld dword [ebp + 0x2c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 5
jp 0x1004b554
test dl, 8
jne 0x1004b554
test edx, 0x800
jne 0x1004b558
xor eax, eax
jmp 0x1004b55d
mov eax, 1
test al, al
mov byte [ebp + 0x78], al
je 0x1004b594
cmp byte [ebp + 0x79], 0
jne 0x1004b594
fld dword [ebp + 0x30]
fld dword [ebx + 0x1574]
fsubp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1004b58d
test dl, 8
jne 0x1004b58d
mov eax, 1
mov byte [ebp + 0x79], al
jmp 0x1004b596
xor eax, eax
mov byte [ebp + 0x79], al
jmp 0x1004b596
fstp st(0)
cmp byte [ebp + 0x78], 0
je 0x1004b5a4
fld dword [ebx + 0x1574]
jmp 0x1004b5a6
fldz
cmp byte [ebp + 0x79], 0
fstp dword [esp + 0x5c]
je 0x1004b5b8
fld dword [ebx + 0x1574]
jmp 0x1004b5ba
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 0x1004b5e7
mov edx, dword [esp + 0x120]
fstp st(0)
cmp byte [esp + 0x78], 0
je 0x1004b623
cmp dword [esp + 0x58], 0
mov dword [ebp + 0xa0], 0xffffffff
je 0x1004b623
cmp byte [esp + 0x1b], 0
jne 0x1004b623
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 0x1004b67a
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.100451a0
cmp dword [esp + 0x58], 0
jne 0x1004b673
cmp byte [esp + 0x1b], 0
jne 0x1004b673
cmp byte [esp + 0x47], 0
jne 0x1004b673
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 [0x101a0ba8]
fnstsw ax
test ah, 0x44
jnp 0x1004b6eb
cmp dword [ebp + 0xa8], 0
jne 0x1004b6eb
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.10038bb0
mov edi, eax
xor eax, eax
mov esi, ebp
call fcn.1003cba0
jmp 0x1004b737
test edx, 0x10000000
jne 0x1004b71e
cmp dword [esp + 0x58], 0
je 0x1004b708
cmp byte [esp + 0x1b], 0
jne 0x1004b708
cmp byte [esp + 0x23], 0
jne 0x1004b71e
test edx, 0x2000000
je 0x1004b737
cmp byte [esp + 0x1b], 0
jne 0x1004b737
cmp byte [esp + 0x47], 0
jne 0x1004b737
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.100480b0
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 0x1004b85c
cmp byte [esp + 0x1b], 0
jne 0x1004b85c
cmp dword [ebp + 0x90], 0
jg 0x1004b85c
cmp dword [ebp + 0x94], 0
jg 0x1004b85c
fldz
fcom dword [ebx + 0x10]
fnstsw ax
test ah, 5
jp 0x1004b85a
fcomp dword [ebx + 0x14]
fnstsw ax
test ah, 5
jp 0x1004b85c
lea ecx, [ebx + 0x159c]
lea edx, [ebx + 0x1594]
lea esi, [esp + 0x94]
call fcn.10038bb0
cmp byte [ebx + 0xc0], 0
je 0x1004b7c4
test byte [ebp + 8], 1
jne 0x1004b7c4
fld dword [ebp + 0x14]
mov ecx, ebp
fstp dword [esp + 0x30]
call fcn.10039510
fstp dword [esp + 0x34]
lea eax, [esp + 0x30]
jmp 0x1004b7c7
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.10038bb0
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.10038b50
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp 0x1004b85c
fstp st(0)
fld dword [ebp + 0xc]
call fcn.10114560
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x10]
fld dword [ebp + 0x10]
call fcn.10114560
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 0x1004b8a1
fld dword [ebx + 0x1534]
jmp 0x1004b8c3
cmp dword [esp + 0x58], 0
je 0x1004b8bd
test dword [esp + 0x120], 0x8000000
jne 0x1004b8bd
fld dword [ebx + 0x153c]
jmp 0x1004b8c3
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 0x1004b8fa
cmp dword [ebp + 0x328], esi
je 0x1004b8fa
mov ecx, dword [ebp + 0x328]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1004b8fc
mov edx, edi
mov dword [ebp + 0x330], edx
mov eax, dword [ebp + 0x33c]
cmp eax, edi
je 0x1004b926
cmp dword [ebp + 0x32c], esi
je 0x1004b926
mov ecx, dword [ebp + 0x32c]
lea eax, [ecx + eax + 1]
cdq
add ecx, 1
idiv ecx
jmp 0x1004b928
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.10042380
fld dword [0x101a07a0]
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 0x1004b9aa
mov eax, dword [esp + 0x120]
test eax, 0x1000
jne 0x1004b9aa
test eax, 0x3000000
je 0x1004b9a5
cmp dword [esp + 0x58], 0
je 0x1004b9aa
mov byte [esp + 0x1b], 1
fld dword [ebx + 0x18b4]
xor eax, eax
fmul qword [0x101a0d20]
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 [0x1019f150]
mov dword [esp + 0xcc], eax
fld dword [ebx + 0x18b4]
mov dword [esp + 0xd0], eax
fmul qword [0x101a07d8]
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 0x1004ba23
fstp st(0)
jmp 0x1004ba25
fstp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.10114560
cmp byte [ebp + 0x7d], 0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x5c]
jne 0x1004ba61
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.1004a3b0
add esp, 0x10
fldz
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 5
jp 0x1004ba99
test dword [esp + 0x120], 0x2000000
jne 0x1004ba99
cmp dword [esp + 0x70], 0
jne 0x1004ba99
fld dword [ebp + 0x14]
fmul qword [0x101a0bf8]
call fcn.10114560
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jmp 0x1004bab2
fld dword [ebx + 0x18b4]
fmul qword [0x1019ef00]
call fcn.10114560
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov ecx, dword [ebp + 0x274]
fstp dword [ebp + 0x220]
call fcn.10077de0
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.100784d0
lea edx, [esp + 0xe4]
call fcn.1003c270
cmp dword [esp + 0x74], 0
je 0x1004bb33
cmp dword [esp + 0x58], 0
jne 0x1004bb33
cmp byte [esp + 0x47], 0
jne 0x1004bb33
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0x1d4]
push 1
push ecx
add eax, 0x1cc
jmp 0x1004bb44
push 1
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.100419e0
add esp, 0xc
test dword [esp + 0x120], 0x8000000
je 0x1004bb70
call fcn.1003d7f0
cmp ebp, eax
jne 0x1004bb70
cmp dword [ebp + 0xa8], 0
jg 0x1004bb70
mov al, 1
jmp 0x1004bb72
xor al, al
mov ecx, dword [ebx + 0x1ae0]
test ecx, ecx
je 0x1004bb88
cmp ebp, dword [ecx + 0x2f0]
jne 0x1004bb88
mov cl, 1
jmp 0x1004bb8a
xor cl, cl
test al, al
mov byte [esp + 0x70], cl
jne 0x1004bb9a
test cl, cl
je 0x1004bc93
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.1003aa30
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0xf4]
push eax
call fcn.1007bee0
cmp byte [esp + 0x70], 0
je 0x1004bc93
cmp ebp, dword [ebx + 0x1ae0]
jne 0x1004bc93
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.100394b0
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.10038f10
test al, al
jne 0x1004bc93
fld dword [ebx + 0x151c]
push 0xf
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x1aec]
fmul qword [0x101a0bc8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
push 0x2d
call fcn.1003aa30
add esp, 8
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.1007bee0
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 0x1004bcb1
mov eax, dword [ebx + 0x1aa0]
cmp byte [esp + 0x1b], 0
jne 0x1004bcd1
test eax, eax
je 0x1004bcca
mov edx, dword [ebp + 0x2f4]
cmp edx, dword [eax + 0x2f4]
je 0x1004bcd1
mov byte [esp + 0x23], 0
jmp 0x1004bcd6
mov byte [esp + 0x23], 1
lea eax, [esp + 0x84]
push eax
mov ecx, ebp
call fcn.10039550
cmp byte [ebp + 0x7d], 0
je 0x1004bd71
cmp byte [esp + 0x23], 0
fld dword [ebx + 0x1550]
fstp dword [esp + 0x38]
fld dword [ebp + 0x48]
fstp dword [ebx + 0x1550]
je 0x1004bd17
cmp byte [ebx + 0x1afe], 0
mov eax, 0xb
je 0x1004bd1c
mov eax, 0xc
fld dword [esp + 0x58]
push ecx
fstp dword [esp]
push 1
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003aa30
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.1003ac00
fld dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
fstp dword [ebx + 0x1550]
add esp, 0x1c
jmp 0x1004c45c
mov eax, dword [esp + 0x120]
and eax, 0x80
mov dword [esp + 0x10], eax
jne 0x1004be81
fld1
mov eax, dword [esp + 0x120]
push ecx
fstp dword [esp]
call fcn.1003c4b0
push eax
call fcn.1003aa30
add esp, 8
cmp dword [ebx + 0x1a4c], 0
mov esi, eax
je 0x1004bdfe
fld dword [ebx + 0x1a8c]
push ecx
fstp dword [esp]
call fcn.10038cb0
fmul qword [0x1019cf80]
and esi, 0xffffff
fnstcw word [esp + 0x74]
add esp, 4
movzx eax, word [esp + 0x70]
fadd qword [0x1019e130]
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.10039510
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 [0x1019c9d0]
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.1007bee0
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [ebx + 0x1a4c], 0
jne 0x1004bee3
cmp byte [ebp + 0x7d], 0
je 0x1004bea0
mov eax, 0xc
jmp 0x1004beac
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.1003aa30
add esp, 8
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.1007bee0
test dword [esp + 0x120], 0x400
je 0x1004bfd7
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.10039610
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call fcn.100394b0
push eax
lea ecx, [esp + 0x4c]
call fcn.10039140
test esi, esi
je 0x1004bf23
fld dword [esp + 0x58]
jmp 0x1004bf25
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.1003aa30
add esp, 8
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x274]
lea edx, [esp + 0x58]
push edx
call fcn.1007bee0
fldz
fcom dword [ebx + 0x1550]
fnstsw ax
test ah, 5
jp 0x1004bfd9
fld dword [esp + 0x54]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1004c09f
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.1003aa30
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.1007bcf0
fldz
cmp byte [ebp + 0x78], 0
je 0x1004bfed
push 0
fstp st(0)
call fcn.10056870
fldz
add esp, 4
cmp byte [ebp + 0x79], 0
je 0x1004c001
push 1
fstp st(0)
call fcn.10056870
fldz
add esp, 4
test byte [esp + 0x120], 2
fld dword [esp + 0x5c]
fld dword [esp + 0x24]
jne 0x1004c2a9
xor ebx, ebx
cmp dword [esp + 0x94], ebx
jle 0x1004c2a9
fstp st(2)
mov esi, 0x101d49b8
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 0x1004c0a6
fxch st(1)
lea eax, [esp + 0x10c]
fst dword [esp + 0x10c]
fxch st(1)
fst dword [esp + 0x110]
jmp 0x1004c0bf
fstp st(0)
jmp 0x1004bfd9
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 0x1004c146
test ecx, ecx
fstp st(1)
lea edx, [eax + 1]
fstp st(0)
mov dword [esp + 0x1c], edx
je 0x1004c12b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004c130
mov eax, 8
cmp eax, edx
jg 0x1004c136
mov eax, edx
push eax
mov ecx, edi
call fcn.1003f320
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 0x1004c181
fstp dword [esp + 0xac]
lea eax, [esp + 0xac]
fstp dword [esp + 0xb0]
jmp 0x1004c198
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 0x1004c207
test ecx, ecx
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
je 0x1004c1f4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004c1f9
mov eax, 8
cmp eax, edx
jg 0x1004c1ff
mov eax, edx
push eax
mov ecx, edi
call fcn.1003f320
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.100799d0
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.10079620
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 0x1004c037
fldz
fxch st(2)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x1004c39f
cmp dword [esp + 0x10], 0
jne 0x1004c39f
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.1003aa30
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea eax, [esp + 0xac]
push eax
push esi
call fcn.1007be00
fld dword [esp + 0x5c]
fldz
fxch st(1)
mov edx, dword [esp + 0x38]
cmp edx, 0xffffffff
je 0x1004c3a3
sub esp, 8
fxch st(1)
fstp dword [esp + 4]
mov eax, ebp
lea ecx, [esp + 0xcc]
fstp dword [esp]
call fcn.1003c4d0
fld dword [esp + 0x2c]
add esp, 8
fcom qword [0x1019f150]
fnstsw ax
test ah, 0x41
jp 0x1004c361
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.1003aa30
add esp, 8
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [ebp + 0x274]
lea edx, [esp + 0xd0]
push edx
call fcn.1007bcf0
fldz
jmp 0x1004c3a5
fstp st(0)
jmp 0x1004c326
fstp st(0)
mov esi, dword [esp + 0x40]
fcom dword [esi + 0x1550]
fnstsw ax
test ah, 5
jp 0x1004c45e
cmp dword [esp + 0x2c], 0
jne 0x1004c45e
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 [0x1019f150]
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.1003aa30
add esp, 8
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [ebp + 0x274]
call fcn.1007bcf0
fldz
cmp dword [esi + 0x1ae0], ebp
jne 0x1004c5dd
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 0x1004c492
fstp st(0)
jmp 0x1004c494
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 0x1004c599
fld dword [esp + 0xe8]
fld dword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1004c597
fld dword [esp + 0xec]
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1004c595
fld dword [esp + 0xf0]
fld dword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1004c593
fld dword [esi + 0x18b4]
fchs
fsub qword [0x1019f150]
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 0x1004c59b
fstp st(3)
fstp st(2)
fstp st(1)
fstp st(0)
fld dword [0x1019e278]
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.1003aa30
mov ecx, dword [ebp + 0x274]
add esp, 8
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1007be00
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 [0x1019ef38]
mov ecx, dword [0x101e25f0]
je 0x1004c611
fldz
fld st(0)
jmp 0x1004c633
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 0x1004c660
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 0x1004c662
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 0x1004c696
fld dword [ebp + 0x34]
jmp 0x1004c69c
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 0x1004c6be
fld dword [ebp + 0x38]
jmp 0x1004c6c4
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 [0x101e25f0]
je 0x1004c702
fld st(2)
jmp 0x1004c720
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 0x1004c74d
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 0x1004c753
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.10042340
fcomp dword [0x1019c9a4]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x1004c845
mov eax, 1
jmp 0x1004c847
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 [0x101a0be0]
lea esi, [ebp + 0x150]
fstp dword [ebp + 0x100]
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x1004c8a0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1004c898
xor eax, eax
push eax
mov ecx, esi
call fcn.1003ecd0
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov eax, 1
mov dword [esi], 0
mov dword [ebp + 0x160], eax
je 0x1004c8bf
mov eax, dword [ecx + 0x160]
test ecx, ecx
mov dword [ebp + 0x164], eax
je 0x1004c8d1
mov eax, dword [ecx + 0x168]
jmp 0x1004c8d3
xor eax, eax
mov dword [ebp + 0x168], eax
fld dword [ebp + 0x220]
lea ebx, [ebp + 0x168]
fstp dword [ebp + 0x16c]
fld dword [0x1019cf4c]
lea edi, [ebp + 0x174]
fstp dword [ebp + 0x170]
mov ecx, dword [edi + 4]
test ecx, ecx
jge 0x1004c91b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1004c913
xor eax, eax
push eax
mov ecx, edi
call fcn.1003f3a0
lea esi, [ebp + 0x180]
mov dword [edi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jge 0x1004c945
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1004c93d
xor eax, eax
push eax
mov ecx, esi
call fcn.1003f4a0
mov dword [esi], 0
mov ecx, dword [ebp + 0x190]
test ecx, ecx
lea esi, [ebp + 0x18c]
jge 0x1004c972
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1004c96a
xor eax, eax
push eax
mov ecx, esi
call fcn.1003f4a0
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 0x1004c9b8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
jg 0x1004c9b0
xor eax, eax
push eax
mov ecx, esi
call fcn.1003f940
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.10054c10
cmp dword [esp + 0x74], 0
je 0x1004c9fd
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x168]
cmp dword [ebx], eax
je 0x1004c9fd
push ebx
mov ecx, edi
mov dword [ebx], eax
call fcn.10044f00
cmp dword [ebp + 0x90], 0
jle 0x1004ca0d
add dword [ebp + 0x90], 0xffffffff
cmp dword [ebp + 0x94], 0
jle 0x1004ca1d
add dword [ebp + 0x94], 0xffffffff
cmp byte [esp + 0x1b], 0
je 0x1004ca35
push ebp
call fcn.100427b0
push 0
push ebp
call fcn.1003da70
add esp, 0xc
cmp dword [esp + 0x2c], 0
jne 0x1004ce70
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 0x1004ca96
lea eax, [ebp + 0xc]
push eax
push 0
push str.COLLAPSE
mov ecx, ebp
call fcn.10040e10
push eax
call fcn.100534a0
add esp, 8
test al, al
je 0x1004ca96
mov byte [ebp + 0x7e], 1
cmp dword [esp + 0x11c], 0
je 0x1004cb5c
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 [0x1019e130]
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 [0x1019f150]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
push eax
push 0
push str.CLOSE
call fcn.10040e10
push eax
call fcn.10056640
add esp, 0xc
test al, al
je 0x1004cb5c
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 0x1004cba4
fld dword [0x1019cf4c]
push ecx
fstp dword [esp]
push 0
push 0
lea edx, [esp + 0x54]
push 0x101a0d28
push edx
call fcn.1003b8f0
fld dword [eax]
add esp, 0x14
jmp 0x1004cba6
fldz
mov ebx, dword [esp + 0x118]
fstp dword [esp + 0x5c]
fld dword [0x1019cf4c]
push ecx
fstp dword [esp]
push 1
push 0
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.1003b8f0
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 [0x1019c9d0]
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 0x1004cc36
fadd dword [eax + 0x18b4]
fadd dword [eax + 0x155c]
cmp dword [esp + 0x11c], 0
fstp dword [esp + 0x10]
fld dword [eax + 0x1544]
je 0x1004cc56
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 0x1004cc87
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 0x1004ccf9
fld dword [esp + 0x90]
fsub dword [esp + 0x88]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsub qword [0x1019e128]
jmp 0x1004cd03
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.10049f60
add esp, 0x1c
test esi, esi
je 0x1004ce70
fld dword [esp + 0x5c]
fsubr qword [0x1019ef38]
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 0x1004cd99
fstp st(0)
jmp 0x1004cd9b
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 [0x101a0bc8]
call fcn.10114560
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 0x101a0d28
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.10049f60
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.10038bb0
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.10038b50
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 0x1004cf0f
cmp dword [esp + 0x2c], 0
je 0x1004cf0f
fld dword [ebp + 0x48]
jmp 0x1004cf19
mov ecx, dword [esp + 0x40]
fld dword [ecx + 0x1550]
test dword [ebp + 8], eax
fstp dword [esp + 0x38]
je 0x1004cf4f
mov eax, dword [0x101e25f0]
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 0x1004cf55
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 [0x1019e130]
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.10114560
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 0x1004cfd0
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.10114560
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.10114560
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.10114560
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 0x1004d054
fstp st(1)
fldz
jmp 0x1004d056
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.10114560
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.10114560
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.1003b9d0
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.100419e0
add esp, 0xc
cmp byte [esp + 0x63], 0
je 0x1004d132
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 0x1004d1d3
test al, 0x40
jne 0x1004d1ba
cmp dword [ebp + 0x90], edi
jg 0x1004d1ba
cmp dword [ebp + 0x94], edi
jg 0x1004d1ba
fld dword [ebp + 0x1dc]
fld dword [ebp + 0x1e4]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x1004d1b4
fld dword [ebp + 0x1e0]
fld dword [ebp + 0x1e8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1004d1ba
mov dword [ebp + 0xa4], ecx
cmp ebx, edi
je 0x1004d1d3
cmp byte [ebx + 0x7d], 0
jne 0x1004d1cd
cmp byte [ebx + 0x81], 0
je 0x1004d1d3
mov dword [ebp + 0xa4], ecx
fldz
pop ebx
fcomp dword [esi + 0x1510]
fnstsw ax
test ah, 1
jne 0x1004d1e9
mov dword [ebp + 0xa4], ecx
cmp dword [ebp + 0xa4], edi
jg 0x1004d1fd
cmp dword [ebp + 0xa8], edi
jg 0x1004d1fd
xor eax, eax
jmp 0x1004d1ff
mov eax, ecx
mov byte [ebp + 0x81], al
cmp byte [ebp + 0x7d], 0
jne 0x1004d215
cmp byte [ebp + 0x7a], 0
je 0x1004d215
test al, al
je 0x1004d231
cmp dword [ebp + 0x90], edi
jg 0x1004d231
cmp dword [ebp + 0x94], edi
jg 0x1004d231
cmp dword [ebp + 0xa8], edi
jg 0x1004d231
mov eax, ecx
jmp 0x1004d233
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