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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
mov ebx, dword [0x4e4030]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x50], edi
call fcn.00407154
mov edx, dword [ebp + 8]
test eax, eax
mov esi, eax
mov dword [ebp - 0x38], eax
sete byte [ebp - 0xa]
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], edx
test eax, eax
jne 0x408d2f
mov ecx, edi
call fcn.0040727b
mov edx, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 8], esi
mov eax, 0xc0200
mov ecx, edx
and ecx, eax
cmp ecx, eax
jne 0x408d42
or edx, 6
mov dword [ebp - 0x14], edx
mov eax, dword [esi + 0x21c]
mov edi, dword [ebx + 0x10e8]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x48], edi
cmp dword [ebx + 0x1124], eax
jne 0x408d68
cmp byte [ebx + 0x10f5], al
je 0x408d68
mov al, 1
mov byte [esi + 0x96], al
lea eax, [edi - 1]
mov esi, dword [ebp - 8]
cmp dword [esi + 0x21c], eax
setl ch
mov byte [ebp - 0x44], ch
test edx, 0x4000000
je 0x408dad
imul edx, dword [ebx + 0x1a8c], 0x28
mov eax, dword [esi + 0xa4]
add edx, dword [ebx + 0x1a88]
cmp esi, dword [edx + 4]
setne cl
cmp eax, dword [edx]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0x44], ch
mov byte [esi + 0x94], ch
mov esi, dword [ebp - 8]
cmp byte [esi + 0x94], 0
je 0x408dce
push 1
mov ecx, esi
call fcn.00407104
mov esi, dword [ebp - 8]
add esp, 4
cmp dword [ebp - 0x34], edi
je 0x408e2d
mov edi, dword [ebp - 0x14]
mov ecx, esi
mov dl, byte [ebp - 0xa]
push edi
call fcn.00407197
mov eax, dword [ebp - 8]
mov edx, edi
mov edi, dword [ebp - 0x48]
pop ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x21c], edi
mov eax, dword [ebp - 8]
fld qword [ebx + 0x10e0]
fstp dword [eax + 0x220]
mov eax, dword [ebp - 8]
mov word [eax + 0x9e], cx
mov eax, dword [ebp - 8]
mov cx, word [ebx + 0x113c]
mov word [eax + 0xa0], cx
inc dword [ebx + 0x113c]
mov esi, dword [ebp - 8]
jmp 0x408e33
mov edx, dword [esi + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 0x1124]
test eax, eax
jne 0x408e41
xor ecx, ecx
jmp 0x408e4e
imul ecx, eax, 0x54
mov eax, dword [ebx + 0x112c]
mov ecx, dword [ecx + eax - 0x54]
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x34], edi
je 0x408e65
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x408e6b
mov eax, dword [esi + 0x2dc]
lea ecx, [esi + 0xc8]
mov dword [ebp - 0x2c], eax
cmp dword [ecx], 0
jne 0x408e85
lea eax, [esi + 4]
push eax
call fcn.004103ea
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x120]
mov dword [ebx + 0x1148], esi
call fcn.0040168e
push 0x12
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.00450510
mov eax, dword [ebp - 8]
lea esi, [ebx + 0x199c]
mov dword [ebp - 0x124], eax
lea edi, [ebp - 0x120]
add esp, 0xc
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e4030]
lea esi, [ebx + 0x1124]
mov eax, dword [ecx + 0x1148]
mov ax, word [eax + 0xc8]
mov word [ebp - 0xe4], ax
mov ax, word [ecx + 0x1a38]
mov word [ebp - 0xe2], ax
mov ax, word [ecx + 0x1a44]
mov word [ebp - 0xe0], ax
mov ax, word [ecx + 0x1a50]
mov word [ebp - 0xde], ax
mov ax, word [ecx + 0x1a5c]
mov word [ebp - 0xdc], ax
mov ax, word [ecx + 0x1a74]
mov word [ebp - 0xda], ax
mov ax, word [ecx + 0x1a68]
mov word [ebp - 0xd8], ax
mov ax, word [ecx + 0x1a8c]
mov word [ebp - 0xd6], ax
mov ax, word [ecx + 0x2c70]
mov ecx, dword [esi + 4]
mov word [ebp - 0xd4], ax
mov eax, dword [esi]
cmp eax, ecx
jne 0x408f81
lea edi, [eax + 1]
test ecx, ecx
je 0x408f6e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x408f71
push 8
pop eax
cmp eax, edi
jg 0x408f77
mov eax, edi
push eax
mov ecx, esi
call fcn.0041073d
mov eax, dword [esi]
imul eax, eax, 0x54
lea ecx, [ebp - 0x124]
push 0x54
push ecx
add eax, dword [esi + 8]
push eax
call fcn.0044efd0
mov eax, dword [ebp - 0x14]
add esp, 0xc
inc dword [esi]
mov ecx, eax
and ecx, 0x10000000
mov dword [ebp - 0x20], ecx
je 0x408fb1
inc dword [ebx + 0x1a98]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x48]
je 0x408fd3
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.00408bc1
mov eax, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2e0], ecx
mov eax, dword [ebp - 8]
mov esi, dword [0x4e4030]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
lea ecx, [esi + 0x1a5c]
lea eax, [ebp - 0x1c]
push eax
call fcn.004103ea
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [esi + 0x1980], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x1980]
mov dword [eax + 0x320], ecx
xor ecx, ecx
mov eax, edi
mov dword [ebx + 0x1148], ecx
and eax, 0x4000000
mov dword [ebp - 0x30], eax
je 0x409054
mov eax, dword [ebp - 8]
lea ecx, [ebx + 0x1a8c]
imul esi, dword [ecx], 0x28
add esi, dword [ebx + 0x1a88]
push esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12c]
mov dword [esi + 0xc], eax
call fcn.00410033
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
mov dword [eax + 0xa4], ecx
xor ecx, ecx
test byte [ebx + 0x19d8], 1
mov byte [ebp - 0xc], cl
mov byte [ebp - 0xb], cl
mov byte [ebp + 0xb], cl
je 0x40910e
mov esi, dword [ebp - 8]
mov ecx, dword [ebx + 0x19dc]
movsx eax, byte [esi + 0xb4]
and eax, ecx
setne byte [ebp - 0xc]
test ecx, eax
je 0x4090fd
fld dword [ebx + 0x19f4]
fld dword [ebx + 0x19f0]
fmul st(0), st(0)
fxch st(1)
fmul st(0), st(0)
faddp st(1)
fcomp dword [0x48d09c]
fnstsw ax
test ah, 0x41
jne 0x4090fd
mov eax, dword [ebx + 0x19e8]
mov ecx, dword [ebx + 0x19ec]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x19f0]
mov edx, dword [ebx + 0x19f4]
mov dword [eax + 0xc0], ecx
mov dword [eax + 0xc4], edx
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + 0xb4]
mov eax, dword [edx + 0xb4]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edx + 0xb4], ecx
jmp 0x40910c
push ecx
lea edx, [ebx + 0x19e8]
mov ecx, esi
call fcn.0040ac35
pop ecx
xor ecx, ecx
mov eax, dword [ebx + 0x19d8]
fldz
fst dword [ebp - 0x18]
test al, 2
je 0x40917b
mov eax, dword [ebp - 8]
lea edx, [ebx + 0x19f8]
movsx esi, byte [eax + 0xb5]
and esi, dword [ebx + 0x19e0]
je 0x409144
fcom dword [edx]
fnstsw ax
test ah, 5
jp 0x409144
mov byte [ebp - 0xb], 1
jmp 0x40914b
mov byte [ebp - 0xb], cl
test esi, esi
je 0x40915e
fcomp dword [ebx + 0x19fc]
fnstsw ax
test ah, 5
jp 0x409160
mov byte [ebp + 0xb], 1
jmp 0x409163
fstp st(0)
mov byte [ebp + 0xb], cl
push dword [ebx + 0x19e0]
mov ecx, dword [ebp - 8]
call fcn.0040ad3c
mov eax, dword [ebx + 0x19d8]
fld dword [ebp - 0x18]
pop ecx
test al, al
jns 0x4091bd
fld dword [ebx + 0x1a08]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x40919c
mov eax, dword [ebp - 8]
fstp dword [eax + 0x6c]
mov eax, dword [ebp - 8]
fst dword [eax + 0x74]
jmp 0x40919e
fstp st(0)
fld dword [ebx + 0x1a0c]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x4091bb
mov eax, dword [ebp - 8]
fstp dword [eax + 0x70]
mov eax, dword [ebp - 8]
fst dword [eax + 0x78]
jmp 0x4091bd
fstp st(0)
test byte [ebx + 0x19d8], 4
mov esi, dword [ebp - 0x48]
je 0x40932d
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x1a00]
mov edx, dword [ebx + 0x1a04]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
fstp st(0)
mov eax, dword [ebx + 0x19d8]
test al, 8
je 0x409209
push dword [ebx + 0x19e4]
mov dl, byte [ebx + 0x1a10]
mov ecx, dword [ebp - 8]
call fcn.0040adf9
mov eax, dword [ebx + 0x19d8]
pop ecx
test al, 0x20
je 0x409215
mov ecx, dword [ebp - 8]
call fcn.0040a98f
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x94], 0
je 0x40922e
push 0
call fcn.00407104
mov ecx, dword [ebp - 8]
add esp, 4
cmp dword [ebp - 0x34], esi
je 0x40a5ae
fld dword [0x48d520]
mov eax, edi
and eax, 0x3000000
cmp dword [ebp - 0x94], 0
mov dword [ebp - 0x40], eax
mov al, byte [ecx + 0xb1]
mov byte [ecx + 0x8e], 1
setne cl
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 8]
push 1
mov byte [eax + 0x98], cl
mov eax, dword [ebp - 8]
fstp dword [eax + 0x1f4]
mov dword [eax + 0x1f8], 0xff7fffff
fld dword [0x48d4fc]
fst dword [ebp - 0x24]
fstp dword [eax + 0x1fc]
mov dword [eax + 0x200], 0x7f7fffff
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 0xc8]
call fcn.004103a4
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x248]
call fcn.00415e5c
mov eax, dword [ebp - 8]
or dword [eax + 0x178], 0xffffffff
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x32c], 0
je 0x4092d2
call fcn.0040405c
mov ecx, dword [ebp - 8]
cmp dword [ebx + 0x1c08], 0
mov esi, dword [ebp - 0x38]
je 0x409368
test dword [ecx + 8], 0x80000
jne 0x409368
test esi, esi
je 0x409368
push dword [ecx]
push dword [ebp - 0x50]
call fcn.00452fd0
pop ecx
pop ecx
test eax, eax
je 0x409365
mov eax, dword [ebp - 8]
push dword [ebp - 0x50]
mov edi, dword [eax + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call fcn.00453490
pop ecx
lea esi, [eax + 1]
cmp edi, esi
jae 0x409347
mov ecx, dword [ebp - 0x1c]
call fcn.00404466
mov ecx, esi
call fcn.0040444f
mov edi, esi
jmp 0x40934a
cmp dword [ebp - 0x34], esi
je 0x4091e2
mov eax, dword [ebp - 8]
fst dword [eax + 0x38]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x3c]
jmp 0x4091e4
mov eax, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x50]
push eax
call fcn.0044efd0
mov ecx, dword [ebp - 8]
add esp, 0xc
mov esi, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x50], edi
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x30]
push eax
lea edx, [ecx + 0x28]
call fcn.004075dc
pop ecx
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0xb0]
test al, al
jle 0x40938a
dec al
mov byte [ecx + 0xb0], al
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0xb1]
test al, al
jle 0x40939f
dec al
mov byte [ecx + 0xb1], al
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0xb2]
test al, al
jle 0x4093b4
dec al
mov byte [ecx + 0xb2], al
mov dl, byte [ebp - 0xb]
mov dh, byte [ebp + 0xb]
test esi, esi
jne 0x4093d0
test dl, dl
je 0x4093c6
test dh, dh
jne 0x4093d0
mov eax, dword [ebp - 8]
mov byte [eax + 0xb1], 1
cmp byte [ebp - 0x44], 0
je 0x409430
mov ecx, dword [ebp - 0x14]
test ecx, 0x6000000
je 0x409430
mov eax, dword [ebp - 8]
mov byte [eax + 0xb1], 1
test cl, 0x40
je 0x409430
fld dword [ebp - 0x18]
test dl, dl
jne 0x409403
mov eax, dword [ebp - 8]
fst dword [eax + 0x20]
mov eax, dword [ebp - 8]
fst dword [eax + 0x18]
test dh, dh
jne 0x409413
mov eax, dword [ebp - 8]
fst dword [eax + 0x24]
mov eax, dword [ebp - 8]
fst dword [eax + 0x1c]
mov eax, dword [ebp - 8]
fst dword [eax + 0x30]
mov eax, dword [ebp - 8]
fst dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
jmp 0x409433
fld dword [ebp - 0x18]
mov eax, dword [0x4e4030]
mov eax, dword [eax + 0x1aa4]
mov edi, dword [eax]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], edi
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 8]
call fcn.00403fa1
mov eax, dword [ebp - 0x14]
mov esi, eax
and esi, 0x1000000
mov dword [ebp - 0x3c], esi
je 0x409469
fld dword [ebx + 0xac8]
jmp 0x409485
test eax, 0x6000000
je 0x40947f
test eax, 0x8000000
jne 0x40947f
fld dword [ebx + 0xad0]
jmp 0x409485
fld dword [ebx + 0xaac]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x4c]
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0xaa0]
mov edx, dword [ebx + 0xaa4]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x44], edx
test esi, esi
je 0x4094e0
test ecx, 0x4010000
jne 0x4094e0
mov edx, dword [ebp - 8]
fld dword [edx + 0x4c]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x4094e3
test ecx, 0x400
je 0x4094ce
fld dword [ebx + 0xaa4]
jmp 0x4094d0
fld st(0)
fxch st(1)
fstp dword [edx + 0x40]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x44]
mov edx, dword [ebp - 8]
jmp 0x4094e5
mov edx, dword [ebp - 8]
fstp st(0)
fld dword [ebx + 0x1a30]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebx + 0xae4]
fstp dword [esp + 4]
fld dword [edx + 0x40]
fstp dword [esp]
call fcn.0041093f
add esp, 4
fstp dword [esp]
call fcn.0041093f
fstp dword [edx + 0x138]
mov eax, dword [ebp - 8]
add esp, 8
fld dword [ebx + 0x1a34]
fstp dword [eax + 0x13c]
mov al, byte [ebp - 0xa]
mov byte [ebp - 9], al
test cl, 0x21
jne 0x4095b0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.004021d6
cmp dword [ebx + 0x114c], esi
jne 0x409585
cmp dword [ebx + 0x1168], 0
jne 0x409585
cmp dword [ebx + 0x116c], 0
jne 0x409585
push 1
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x80]
call fcn.0040af9c
pop ecx
test al, al
je 0x409585
push 2
pop eax
cmp word [ebx + 0xa02], ax
jne 0x409585
mov byte [esi + 0x92], 1
mov esi, dword [ebp - 8]
cmp byte [esi + 0x92], 0
je 0x4095bd
cmp byte [esi + 0x91], 0
sete al
mov byte [esi + 0x91], al
mov esi, dword [ebp - 8]
cmp byte [esi + 0x91], 0
jne 0x4095bd
mov byte [ebp - 9], 1
jmp 0x4095bd
mov eax, dword [ebp - 8]
mov byte [eax + 0x91], 0
mov esi, dword [ebp - 8]
mov byte [esi + 0x92], 0
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 8]
lea eax, [edx + 0x30]
push eax
call fcn.0040771b
test byte [ebp - 0x14], 0x40
mov edx, dword [ebp - 8]
pop ecx
je 0x409673
cmp byte [edx + 0x91], 0
jne 0x409673
cmp byte [ebp - 0xb], 0
jne 0x409607
fld dword [ebp - 0x90]
fstp dword [edx + 0x20]
mov edx, dword [ebp - 8]
mov byte [ebp - 0xa], 1
cmp byte [ebp + 0xb], 0
jne 0x40961d
fld dword [ebp - 0x8c]
fstp dword [edx + 0x24]
mov edx, dword [ebp - 8]
mov byte [ebp - 9], 1
lea eax, [edx + 0x20]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407415
pop ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov esi, dword [ebp - 8]
cmp byte [esi + 0x91], 0
je 0x409700
cmp dword [ebp - 0x3c], 0
jne 0x409700
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.004021d6
fld dword [eax + 8]
fsub dword [eax]
fstp dword [ebp - 0x58]
fld dword [eax + 0xc]
fsub dword [eax + 4]
fstp dword [ebp - 0x54]
jmp 0x40970c
mov al, byte [edx + 0xa8]
test al, al
jg 0x409686
cmp byte [edx + 0xa9], 0
jle 0x40961d
cmp byte [ebp - 0xb], 0
jne 0x4096bd
test al, al
jle 0x4096bd
cmp byte [edx + 0xab], 0
fld dword [ebp - 0x90]
je 0x4096b3
push ecx
push ecx
fstp dword [esp + 4]
fld dword [edx + 0x20]
fstp dword [esp]
call fcn.0041093f
add esp, 8
fstp dword [edx + 0x20]
mov edx, dword [ebp - 8]
mov byte [ebp - 0xa], 1
cmp byte [ebp + 0xb], 0
jne 0x40961d
cmp byte [edx + 0xa9], 0
jle 0x40961d
cmp byte [edx + 0xab], 0
je 0x40960d
fld dword [ebp - 0x8c]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [edx + 0x24]
fstp dword [esp]
call fcn.0041093f
add esp, 8
jmp 0x409613
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x58]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00402208
fstp dword [ebp + 8]
call fcn.004021b6
cmp byte [ebp - 0x44], 0
fadd dword [ebp + 8]
fstp dword [ebp - 0x4c]
je 0x409775
or dword [esi + 0xac], 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x409772
test dword [ebp - 0x14], 0x8000000
jne 0x409772
cmp byte [ebp - 0xc], 0
jne 0x409772
imul edx, dword [ebx + 0x1a8c], 0x28
mov eax, dword [ebx + 0x1a94]
mov ecx, dword [eax + edx - 0x10]
mov edx, dword [eax + edx - 0xc]
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov esi, dword [ebp - 8]
cmp dword [ebp - 0x3c], 0
je 0x4097c7
mov edi, dword [ebp - 0x2c]
lea ecx, [edi + 0x164]
mov ax, word [ecx]
mov word [esi + 0x9e], ax
lea eax, [ebp - 8]
push eax
call fcn.0041022e
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x409814
cmp byte [ebp - 0xc], cl
jne 0x409814
cmp dword [ebp - 0x40], 0x3000000
je 0x409814
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0xd4]
mov edx, dword [edi + 0xd8]
mov edi, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
fld dword [esi + 0xb8]
fld dword [ebp - 0x24]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x40981c
cmp byte [esi + 0xb1], 0
jne 0x40981c
fld dword [esi + 0x18]
lea edx, [ebp - 0x58]
fmul dword [esi + 0xc0]
mov ecx, esi
push 0
fsubp st(1)
fstp dword [ebp - 0x58]
fld dword [esi + 0x1c]
fmul dword [esi + 0xc4]
fsubr dword [esi + 0xbc]
fstp dword [ebp - 0x54]
call fcn.0040ac35
pop ecx
jmp 0x409862
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
jmp 0x4097ca
cmp dword [ebp - 0x20], 0
fstp st(0)
jne 0x40984a
mov al, byte [ebp - 0xc]
test ecx, ecx
je 0x409834
test al, al
jne 0x409834
cmp byte [ebp - 0x25], al
jg 0x40984a
test dword [ebp - 0x14], 0x2000000
je 0x409865
test al, al
jne 0x409865
cmp dword [ebp - 0x40], 0x3000000
je 0x409865
mov edx, esi
lea ecx, [ebp - 0x68]
call fcn.0040d19c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov esi, dword [ebp - 8]
fld dword [edi + 4]
lea eax, [ebx + 0xb48]
fst dword [ebp - 0x84]
fst dword [ebp - 0x80]
fld dword [edi + 8]
lea edx, [ebx + 0xb40]
fst dword [ebp - 0x10]
fst dword [ebp - 0x7c]
fld dword [edi + 0xc]
lea ecx, [ebp - 0x68]
faddp st(2)
fxch st(1)
push eax
fst dword [ebp - 0x20]
fstp dword [ebp - 0x78]
fadd dword [edi + 0x10]
fst dword [ebp - 0x88]
fstp dword [ebp - 0x74]
fld dword [edi + 0x14]
fstp dword [ebp + 8]
fld dword [edi + 0x18]
fstp dword [ebp - 0x1c]
call fcn.0040137b
fld dword [edi + 0x1c]
add esp, 4
cmp byte [ebp - 0xc], 0
fld dword [ebp + 8]
fadd st(1), st(0)
fld dword [ebp - 0x68]
fsub st(2), st(0)
fxch st(2)
fst dword [ebp - 0x58]
fld dword [edi + 0x20]
fld dword [ebp - 0x1c]
fadd st(1), st(0)
fld dword [ebp - 0x64]
fsub st(2), st(0)
fxch st(2)
fst dword [ebp - 0x54]
fxch st(4)
faddp st(5)
fxch st(4)
fst dword [ebp + 8]
fxch st(4)
faddp st(1)
fst dword [ebp - 0x1c]
fst dword [ebp - 0xb4]
fxch st(3)
fst dword [ebp - 0xb8]
fxch st(1)
fstp dword [ebp - 0xb0]
fxch st(1)
fstp dword [ebp - 0xac]
jne 0x4099a7
cmp dword [ebp - 0x3c], 0
jne 0x4099a7
fld dword [ebp - 0x20]
fsub dword [ebp - 0x84]
fld dword [ebp - 0x18]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4099a5
fld dword [ebp - 0x88]
fsub dword [ebp - 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4099a7
mov eax, dword [0x4e4030]
fld dword [esi + 0x1c]
cmp byte [eax + 0x67], 0
je 0x40996f
test byte [esi + 8], 1
jne 0x40996f
fstp st(0)
mov ecx, esi
fstp st(0)
fstp st(0)
call fcn.004021b6
fld dword [ebp + 8]
fld dword [ebp - 0x1c]
fxch st(2)
fld dword [esi + 0x18]
lea eax, [ebp - 0x68]
push dword [ebp - 0x54]
fsubp st(2)
fxch st(1)
push dword [ebp - 0x58]
lea edx, [esi + 0x10]
push eax
lea ecx, [ebp - 0x58]
fstp dword [ebp - 0x68]
fsubp st(1)
fstp dword [ebp - 0x64]
call fcn.004013b4
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov esi, dword [ebp - 8]
jmp 0x4099ab
fstp st(0)
fstp st(0)
fstp st(0)
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x68]
call fcn.0040146a
cmp dword [ebp - 0x3c], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
je 0x4099d2
fld dword [ebx + 0xac4]
jmp 0x4099ee
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x4099e8
fld dword [ebx + 0xacc]
jmp 0x4099ee
fld dword [ebx + 0xaa8]
cmp byte [ebp - 0x44], 0
mov eax, dword [ebp - 8]
mov byte [ebp + 0xb], 0
fstp dword [eax + 0x48]
je 0x409a4a
test ecx, 0x1000
jne 0x409a4a
cmp dword [ebp - 0x30], 0
jne 0x409a12
cmp dword [ebp - 0x40], 0
jne 0x409a16
mov byte [ebp + 0xb], 1
call fcn.0040c975
test eax, eax
je 0x409a4a
mov esi, dword [ebp - 8]
mov edx, eax
mov ecx, esi
call fcn.0040abf9
test al, al
jne 0x409a4d
mov byte [ebp + 0xb], al
cmp esi, dword [esi + 0x2e4]
jne 0x409a4d
mov ecx, esi
call fcn.00408c54
mov edx, eax
mov ecx, esi
call fcn.0040a8d9
mov esi, dword [ebp - 8]
fld dword [ebx + 0xed4]
lea edi, [ebp - 0xc8]
fld dword [0x48d128]
xor eax, eax
or dword [ebp - 0x98], 0xffffffff
stosd dword es:[edi], eax
fmul st(1)
push ecx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
fadd dword [esi + 0x48]
cmp byte [ebx + 0x66], al
setne al
inc eax
fadd dword [0x48d23c]
mov dword [ebp - 0x20], eax
fstp dword [esp + 4]
fmul dword [0x48d240]
fstp dword [esp]
call fcn.0041093f
add esp, 8
call fcn.00475100
cmp byte [esi + 0x91], 0
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [ebp - 0x84]
jne 0x409ae9
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x90]
call fcn.00407a37
mov esi, dword [ebp - 8]
add esp, 0x10
test al, al
je 0x409ae9
mov dl, 1
mov dh, dl
jmp 0x409aef
mov dh, byte [ebp - 0xa]
mov dl, byte [ebp - 9]
mov al, byte [ebp - 0x98]
mov byte [esi + 0x99], al
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp byte [ecx + 0x91], 0
jne 0x409c87
cmp dword [ebp - 0x38], 0
lea eax, [ebp - 0x68]
fld dword [ecx + 0x20]
fld dword [ecx + 0x24]
fsub dword [ebp - 0x4c]
fld dword [ecx + 0x1bc]
fsub dword [ecx + 0x1b4]
fadd dword [ecx + 0x84]
fld dword [ecx + 0x1c0]
fsub dword [ecx + 0x1b8]
fadd dword [ecx + 0x88]
jne 0x409b4f
fld dword [ebp - 0x18]
fst dword [ebp - 0x68]
fst dword [ebp - 0x64]
jmp 0x409b68
fld dword [ecx + 0x44]
fld dword [ecx + 0x40]
fadd st(0), st(0)
fadd dword [ecx + 0x28]
fstp dword [ebp - 0x68]
fadd st(0), st(0)
fadd dword [ecx + 0x2c]
fstp dword [ebp - 0x64]
fld dword [ebp - 0x18]
fld dword [eax]
fld dword [eax + 4]
test dh, dh
je 0x409b75
fstp st(4)
jmp 0x409b7d
fstp st(6)
fxch st(3)
fxch st(5)
fxch st(3)
test dl, dl
je 0x409b85
fstp st(2)
jmp 0x409b8d
fstp st(4)
fxch st(1)
fxch st(3)
fxch st(1)
mov edx, dword [ebp - 0x14]
test edx, 0x4000
jne 0x409bb1
fxch st(2)
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x409ba8
test dl, 8
je 0x409baf
xor ecx, ecx
mov byte [ebp - 9], cl
jmp 0x409bb9
fxch st(2)
mov byte [ebp - 9], 1
xor ecx, ecx
fxch st(2)
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 9]
mov byte [eax + 0x8d], dl
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
test edx, 0x8000
jne 0x409c07
cmp byte [esi + 0x8d], 0
je 0x409be4
fld dword [ebx + 0xb0c]
jmp 0x409be6
fld st(2)
fsubp st(5)
fxch st(1)
fcomp st(4)
fnstsw ax
fstp st(3)
test ah, 0x41
jne 0x409c03
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x409c0b
mov al, cl
jmp 0x409c0d
fstp st(4)
fstp st(0)
mov al, 1
mov byte [esi + 0x8c], al
mov esi, dword [ebp - 8]
cmp byte [esi + 0x8c], 0
je 0x409c47
cmp byte [esi + 0x8d], 0
jne 0x409c47
fxch st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x409c3a
mov al, 1
test dl, 8
je 0x409c3c
mov al, cl
mov byte [esi + 0x8d], al
mov esi, dword [ebp - 8]
jmp 0x409c4b
fstp st(1)
fstp st(1)
cmp byte [esi + 0x8c], 0
je 0x409c5c
fld dword [ebx + 0xb0c]
jmp 0x409c5e
fld st(0)
cmp byte [esi + 0x8d], 0
je 0x409c71
fstp st(1)
fld dword [ebx + 0xb0c]
jmp 0x409c73
fxch st(1)
fstp dword [esi + 0x84]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x88]
mov ecx, dword [ebp - 8]
jmp 0x409c8a
mov edx, dword [ebp - 0x14]
and edx, 0x5000000
cmp edx, 0x1000000
jne 0x409cac
cmp dword [ebp - 0x40], 0x3000000
je 0x409cac
mov esi, dword [ebp - 0x2c]
add esi, 0x1f4
jmp 0x409caf
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x80]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00402169
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xa8]
push eax
mov ecx, edi
call fcn.004021d6
add edi, 0x1a4
lea esi, [ebp - 0x80]
lea eax, [ebp - 0x60]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 0x1a4]
call fcn.004015e3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edi, ecx
fld dword [eax + 0x10]
fstp dword [eax + 0x1b4]
fld dword [0x48d298]
and edi, 0x20000000
je 0x409d15
fld st(0)
fld dword [ebp - 0x18]
jmp 0x409d1c
fld dword [ebp - 0x18]
fld st(0)
fxch st(1)
mov eax, dword [ebp - 8]
fld dword [eax + 0x14]
fadd dword [ebp - 0x4c]
faddp st(2)
fxch st(1)
fstp dword [eax + 0x1b8]
mov eax, dword [ebp - 8]
fld dword [eax + 0x18]
fadd dword [eax + 0x10]
fsub dword [eax + 0x84]
fstp dword [eax + 0x1bc]
test edi, edi
je 0x409d4c
fstp st(0)
jmp 0x409d4e
fstp st(1)
mov eax, dword [ebp - 8]
fld dword [eax + 0x1c]
fadd dword [eax + 0x14]
fsub dword [eax + 0x88]
fsubrp st(1)
fstp dword [eax + 0x1c0]
mov esi, dword [ebp - 8]
mov eax, ecx
and eax, 0x401
cmp eax, 1
jne 0x409d79
fld dword [esi + 0x4c]
jmp 0x409d7f
fld dword [ebx + 0xae0]
fstp dword [ebp - 0x1c]
fld dword [esi + 0x4c]
push ecx
fstp dword [esp]
fld dword [esi + 0x40]
fmul dword [0x48d1a4]
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
push ecx
fstp dword [esp]
call fcn.0041093f
fadd dword [esi + 0x1b4]
fld dword [0x48d1a4]
fadd st(1), st(0)
fxch st(1)
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [esi + 0x1c4]
mov esi, dword [ebp - 8]
fld dword [esi + 0x1b8]
fadd st(1)
fadd dword [ebp - 0x1c]
call fcn.00475100
mov dword [ebp - 0x10], eax
add esp, 4
fild dword [ebp - 0x10]
fstp dword [esi + 0x1c8]
mov esi, dword [ebp - 8]
fld dword [esi + 0x1bc]
fadd st(1)
fstp dword [ebp - 0x88]
fld dword [esi + 0x4c]
fstp dword [esp]
fmul dword [esi + 0x40]
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
push ecx
fstp dword [esp]
call fcn.0041093f
fsubr dword [ebp - 0x88]
add esp, 8
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [esi + 0x1cc]
mov esi, dword [ebp - 8]
fld dword [esi + 0x1c0]
fadd dword [0x48d1a4]
fsub dword [esi + 0x4c]
call fcn.00475100
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x60]
fild dword [ebp - 0x10]
push eax
fstp dword [esi + 0x1d0]
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 0x1c4]
call fcn.00401626
mov esi, dword [ebp - 8]
fld dword [esi + 0x18]
fld dword [ebp - 0x18]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x409e96
test dword [ebp - 0x14], 0x2000040
jne 0x409e96
fxch st(1)
fmul dword [0x48d1c8]
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
jmp 0x409eaf
fstp st(1)
fld dword [ebx + 0xed4]
fmul dword [0x48d2cc]
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [esi + 0x224]
mov ecx, dword [ebp - 8]
fld dword [ecx + 0x40]
fadd st(0), st(0)
fadd dword [ecx + 0x28]
fld dword [ecx + 0x1bc]
fsub dword [ecx + 0x1b4]
fsubp st(1)
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x409edb
fstp st(0)
fld st(0)
fstp dword [ecx + 0x64]
test edi, edi
je 0x409eea
fld dword [0x48d298]
jmp 0x409eec
fld st(0)
mov ecx, dword [ebp - 8]
fld dword [ecx + 0x44]
fadd st(0), st(0)
fadd dword [ecx + 0x2c]
fld dword [ecx + 0x1c0]
fsub dword [ecx + 0x1b8]
fsubp st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x409f12
fstp st(0)
jmp 0x409f14
fstp st(2)
fsubp st(1)
fstp dword [ecx + 0x68]
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x68]
mov edx, esi
call fcn.0040c2b1
fld dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 8]
fst dword [eax + 0x6c]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x70]
mov eax, dword [ebx + 0xed0]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + 0x248]
push dword [eax + 4]
call fcn.004162fb
push 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x60]
call fcn.0040625a
xor edx, edx
pop ecx
mov byte [ebp - 0xa], dl
cmp dword [ebp - 0x3c], edx
je 0x409fff
cmp dword [ebp - 0x30], edx
jne 0x409fff
cmp dword [ebp - 0x40], 0x3000000
je 0x409fff
mov esi, dword [ebp - 0x2c]
push 2
pop eax
mov ecx, dword [esi + 0x164]
cmp ecx, eax
jl 0x409fcc
mov eax, dword [esi + 0x16c]
mov edi, dword [eax + ecx*4 - 8]
test edi, edi
je 0x409fcc
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x80]
push eax
call fcn.00402169
push eax
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.00402169
mov ecx, eax
call fcn.00401520
mov byte [ebp - 9], al
xor edx, edx
jmp 0x409fcf
mov byte [ebp - 9], dl
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x248]
imul ecx, dword [eax], 0x28
mov eax, dword [eax + 8]
cmp dword [ecx + eax - 0xc], edx
jne 0x40a002
mov eax, dword [esi + 0x248]
cmp dword [eax + 0x18], edx
jle 0x40a002
cmp byte [ebp - 9], 0
jne 0x40a002
mov byte [ebp - 0xa], 1
mov dword [edi + 0x248], eax
mov edi, dword [ebp - 8]
mov ecx, dword [ebx + 0x1c00]
test ecx, ecx
jne 0x40a012
mov ecx, dword [ebx + 0x1aa8]
cmp byte [ebp + 0xb], 0
jne 0x40a02f
test ecx, ecx
je 0x40a02a
mov eax, dword [edi + 0x2ec]
cmp eax, dword [ecx + 0x2ec]
je 0x40a02f
mov byte [ebp - 0x24], dl
jmp 0x40a033
mov byte [ebp - 0x24], 1
fld dword [ebp - 0x84]
lea eax, [ebp - 0xc8]
push ecx
fstp dword [esp]
push eax
push dword [ebp - 0x20]
lea edx, [ebp - 0xa8]
mov ecx, edi
push dword [ebp - 0x24]
call fcn.00408445
add esp, 0x10
cmp byte [ebp - 0xa], 0
je 0x40a06f
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x24c]
mov dword [ecx + 0x248], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
shr edx, 3
not dl
fld dword [esi + 0x38]
and dl, 1
fst dword [ebp - 0x20]
fld dword [ebp - 0x18]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x40a0cb
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x40a0a6
fstp st(0)
fld dword [esi + 0x28]
fld dword [esi + 0x40]
fadd st(0), st(0)
push ecx
push ecx
fsubr dword [esi + 0x18]
fsub dword [esi + 0x84]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0041093f
fstp dword [ebp - 0x20]
fld dword [ebp - 0x18]
add esp, 8
fld dword [esi + 0x3c]
fst dword [ebp - 0x24]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x40a0de
fstp st(0)
jmp 0x40a10c
test dl, dl
je 0x40a0e7
fstp st(0)
fld dword [esi + 0x2c]
fld dword [esi + 0x44]
fadd st(0), st(0)
push ecx
push ecx
fsubr dword [esi + 0x1c]
fsub dword [ebp - 0x4c]
fsub dword [esi + 0x88]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0041093f
fstp dword [ebp - 0x24]
add esp, 8
fld dword [esi + 0x4c]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [esi + 0x40]
fstp dword [esp]
call fcn.0041093f
fld dword [esi + 0x1b4]
fsub dword [esi + 0x5c]
faddp st(1)
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [esi + 0x1d4]
mov esi, dword [ebp - 8]
fld dword [esi + 0x4c]
fstp dword [esp + 4]
fld dword [esi + 0x44]
fstp dword [esp]
call fcn.0041093f
fld dword [esi + 0x1b8]
add esp, 8
fsub dword [esi + 0x60]
faddp st(1)
call fcn.00475100
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [esi + 0x1d8]
mov eax, dword [ebp - 8]
fld dword [eax + 0x1d4]
fadd dword [ebp - 0x20]
fstp dword [eax + 0x1dc]
mov eax, dword [ebp - 8]
fld dword [eax + 0x1d8]
fadd dword [ebp - 0x24]
fstp dword [eax + 0x1e0]
mov eax, dword [ebp - 8]
lea esi, [eax + 0x1d4]
lea edi, [eax + 0x1e4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
fld dword [eax + 0x10]
fsub dword [eax + 0x5c]
fadd dword [eax + 0x40]
fstp dword [eax + 0x204]
mov eax, dword [ebp - 8]
fld dword [eax + 0x14]
fsub dword [eax + 0x60]
fadd dword [eax + 0x44]
fld dword [ebp - 0x4c]
fadd st(1), st(0)
fxch st(1)
fstp dword [eax + 0x208]
mov ecx, dword [ebp - 8]
fld dword [ecx + 0x38]
fld dword [ebp - 0x18]
fucom st(1)
fnstsw ax
test ah, 0x44
jp 0x40a1f6
fstp st(1)
fld dword [ecx + 0x40]
fadd st(0), st(0)
fsubr dword [ecx + 0x18]
fsub dword [ecx + 0x84]
fxch st(1)
fld dword [ecx + 0x204]
faddp st(2)
fxch st(1)
fstp dword [ecx + 0x20c]
mov ecx, dword [ebp - 8]
fld dword [ecx + 0x3c]
fucom st(1)
fnstsw ax
test ah, 0x44
jp 0x40a227
fstp st(0)
fld dword [ecx + 0x44]
fadd st(0), st(0)
fsubr dword [ecx + 0x1c]
fsub st(2)
fsub dword [ecx + 0x88]
fadd dword [ecx + 0x208]
fstp dword [ecx + 0x210]
mov eax, dword [ebp - 8]
fld dword [eax + 0x40]
fsub dword [eax + 0x5c]
fstp dword [eax + 0x118]
mov eax, dword [ebp - 8]
fst dword [eax + 0x120]
mov eax, dword [ebp - 8]
fst dword [eax + 0x11c]
mov eax, dword [ebp - 8]
fld dword [eax + 0x40]
fadd dword [eax + 0x10]
fsub dword [eax + 0x5c]
fadd dword [eax + 0x11c]
fld dword [eax + 0x44]
fadd dword [eax + 0x14]
fsub dword [eax + 0x60]
faddp st(3)
fld st(0)
fld st(3)
fxch st(1)
fstp dword [eax + 0xe4]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xe8]
mov eax, dword [ebp - 8]
fsub dword [eax + 0xe4]
fld dword [eax + 0xe8]
fsubp st(3)
fstp dword [eax + 0x124]
mov eax, dword [ebp - 8]
fxch st(1)
fstp dword [eax + 0x128]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe4]
mov ecx, dword [edx + 0xe8]
mov dword [edx + 0xd4], eax
mov dword [edx + 0xd8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd4]
mov ecx, dword [edx + 0xd8]
mov dword [edx + 0xdc], eax
mov dword [edx + 0xe0], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe4]
mov ecx, dword [edx + 0xe8]
mov dword [edx + 0xec], eax
mov dword [edx + 0xf0], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe4]
mov ecx, dword [edx + 0xe8]
mov dword [edx + 0xf4], eax
mov dword [edx + 0xf8], ecx
mov eax, dword [ebp - 8]
fst dword [eax + 0x104]
mov eax, dword [ebp - 8]
fst dword [eax + 0x108]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov dword [edx + 0x100], ecx
xor edx, edx
mov eax, dword [ebp - 8]
fst dword [eax + 0x110]
mov eax, dword [ebp - 8]
fst dword [eax + 0x10c]
mov eax, dword [ebp - 8]
mov byte [eax + 0x115], dl
mov eax, dword [ebp - 8]
mov byte [eax + 0x114], dl
mov eax, dword [ebp - 8]
mov dword [eax + 0x12c], edx
mov ecx, dword [ebp - 8]
mov ax, word [ecx + 0x132]
mov word [ecx + 0x130], ax
xor ecx, ecx
mov eax, dword [ebp - 8]
mov word [eax + 0x132], cx
mov eax, dword [ebp - 8]
mov byte [eax + 0x134], dl
mov ecx, dword [ebp - 8]
fcomp dword [ecx + 0x68]
fnstsw ax
mov al, 1
test ah, 5
jnp 0x40a3a7
mov al, dl
push dword [ebp - 0x44]
mov byte [ecx + 0x135], al
mov eax, dword [ebp - 8]
push ecx
mov byte [eax + 0x136], dl
mov ecx, dword [ebp - 8]
fld dword [ebx + 0xae4]
fstp dword [esp]
lea ecx, [ecx + 0x140]
call fcn.00424598
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x15c], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x160], edx
mov esi, dword [ebp - 8]
cmp dword [esi + 0x168], edx
jge 0x40a40a
push edx
lea ecx, [esi + 0x164]
call fcn.004107f1
push eax
lea ecx, [esi + 0x164]
call fcn.0041026b
xor edx, edx
mov dword [esi + 0x164], edx
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x228]
mov dword [ecx + 0x170], eax
xor ecx, ecx
mov eax, dword [ebp - 8]
inc ecx
mov dword [eax + 0x174], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x17c], ecx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40a441
mov ecx, dword [eax + 0x17c]
mov eax, dword [ebp - 8]
mov dword [eax + 0x180], ecx
mov eax, dword [ebp - 8]
fld dword [eax + 0x224]
fstp dword [eax + 0x184]
mov eax, dword [ebp - 8]
fld dword [0x48d514]
fstp dword [eax + 0x188]
mov esi, dword [ebp - 8]
cmp dword [esi + 0x190], edx
jge 0x40a48d
push edx
lea ecx, [esi + 0x18c]
call fcn.004107f1
push eax
lea ecx, [esi + 0x18c]
call fcn.0041026b
xor edx, edx
mov dword [esi + 0x18c], edx
mov esi, dword [ebp - 8]
cmp dword [esi + 0x19c], edx
jge 0x40a4b8
push edx
lea ecx, [esi + 0x198]
call fcn.004107f1
push eax
lea ecx, [esi + 0x198]
call fcn.0041026b
xor edx, edx
mov dword [esi + 0x198], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xa8]
test cl, cl
jle 0x40a4d6
dec cl
mov byte [eax + 0xa8], cl
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xa9]
test cl, cl
jle 0x40a4eb
dec cl
mov byte [eax + 0xa9], cl
mov eax, dword [ebp - 8]
cmp byte [ebp + 0xb], 0
je 0x40a505
mov ecx, eax
call fcn.0040a98f
mov ecx, dword [ebp - 8]
xor dl, dl
call fcn.0040ddc1
mov eax, dword [ebp - 8]
test byte [ebp - 0x14], 1
jne 0x40a54c
fld dword [eax + 0x4c]
lea edx, [ebp - 0x80]
fld dword [ebp - 0xa8]
mov ecx, eax
push dword [ebp - 0x94]
fadd st(1)
push dword [ebp - 0x50]
fstp dword [ebp - 0x80]
fld dword [ebp - 0xa4]
fstp dword [ebp - 0x7c]
fsubr dword [ebp - 0xa0]
fstp dword [ebp - 0x78]
fld dword [ebp - 0x9c]
fstp dword [ebp - 0x74]
call fcn.00408831
mov eax, dword [ebp - 8]
pop ecx
pop ecx
xor ecx, ecx
lea edx, [ebp - 0xa0]
mov word [eax + 0x216], cx
mov eax, dword [ebp - 8]
push ecx
mov word [eax + 0x214], cx
lea ecx, [ebp - 0xa8]
call fcn.0040af9c
mov edi, dword [0x4e4030]
lea esi, [ebp - 0xa8]
movzx edx, al
mov eax, dword [ebp - 8]
pop ecx
mov ecx, dword [ebx + 0x1984]
mov eax, dword [eax + 0x54]
mov dword [edi + 0x199c], eax
mov dword [edi + 0x19a0], ecx
mov dword [edi + 0x19a4], edx
add edi, 0x19a8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x48]
jmp 0x40a5b3
call fcn.00403fa1
mov eax, dword [ebp - 8]
push 1
lea edx, [eax + 0x1cc]
lea ecx, [eax + 0x1c4]
call fcn.0040625a
mov eax, dword [ebp - 8]
pop ecx
xor ecx, ecx
mov byte [eax + 0x90], cl
mov eax, dword [ebp - 8]
inc word [eax + 0x9a]
mov dword [ebx + 0x19d8], ecx
cmp dword [ebp - 0x34], esi
je 0x40a73d
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
test eax, 0x1000000
je 0x40a6a5
test al, 0x40
jne 0x40a66a
cmp byte [edx + 0xa8], cl
jg 0x40a66a
cmp byte [edx + 0xa9], cl
jg 0x40a66a
test eax, 0x800000
je 0x40a63a
cmp byte [ebx + 0x1ae8], cl
je 0x40a63a
mov eax, dword [ebx + 0x1aa8]
test eax, eax
je 0x40a63a
mov eax, dword [eax + 0x2f0]
cmp eax, dword [edx + 0x2f0]
je 0x40a66a
fld dword [edx + 0x1ac]
fcomp dword [edx + 0x1a4]
fnstsw ax
test ah, 0x41
jnp 0x40a660
fld dword [edx + 0x1b0]
fcomp dword [edx + 0x1a8]
fnstsw ax
test ah, 0x41
jp 0x40a66a
mov byte [edx + 0xb0], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40a6a5
cmp byte [eax + 0x91], cl
jne 0x40a681
cmp byte [eax + 0xb0], cl
jle 0x40a693
mov byte [edx + 0xb0], 1
mov edx, dword [ebp - 8]
cmp byte [eax + 0x91], cl
jne 0x40a69b
cmp byte [eax + 0xb1], cl
jle 0x40a6a5
mov byte [edx + 0xb1], 1
mov edx, dword [ebp - 8]
fld dword [ebp - 0x18]
fcomp dword [ebx + 0xa98]
fnstsw ax
test ah, 1
jne 0x40a6bf
mov byte [edx + 0xb0], 1
mov edx, dword [ebp - 8]
cmp byte [edx + 0xb0], cl
jg 0x40a6dd
cmp byte [edx + 0xb1], cl
jg 0x40a6dd
mov bl, cl
cmp byte [edx + 0xb2], cl
jg 0x40a6df
mov al, cl
jmp 0x40a6e1
mov bl, 1
mov al, 1
mov byte [edx + 0x95], al
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xb3]
test dl, dl
jle 0x40a709
dec dl
mov byte [eax + 0xb3], dl
mov eax, dword [ebp - 8]
or dword [eax + 8], 0xc0200
mov eax, dword [ebp - 8]
cmp byte [eax + 0x91], cl
jne 0x40a71d
cmp byte [eax + 0x8e], cl
je 0x40a71d
test bl, bl
je 0x40a737
cmp byte [eax + 0xa8], cl
jg 0x40a737
cmp byte [eax + 0xa9], cl
jg 0x40a737
cmp byte [eax + 0xb1], cl
jg 0x40a737
mov cl, 1
mov byte [eax + 0x93], cl
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
cmp byte [eax + 0x93], 0
sete al
leave
ret