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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push 0x4c
call fcn.0042dfe0
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x4d9af6
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.0042dfe0
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0x10
call fcn.0042dfe0
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov ebx, dword [0x787a40]
add ebx, 4
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 4]
push eax
push dword [0x787a48]
push dword [0x787a44]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call fcn.00408390
call fcn.004096f6
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x3e7
jg 0x408341
push dword [ebp - 8]
call fcn.00409817
mov ebx, dword [0x787a64]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
ftst
fnstsw ax
test ah, 1
je 0x406653
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x406669
jmp 0x40833a
mov ebx, dword [0x787a50]
add ebx, 0x3c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 0
jne 0x406704
mov ebx, dword [0x787a68]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fsub qword [0x4d9a53]
fstp qword [ebp - 0x40]
mov ebx, dword [0x787a64]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
fld dword [ebx]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x4c]
fcomp qword [0x4d9a5b]
fnstsw ax
test ah, 1
je 0x406704
mov ebx, dword [0x787a64]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a68]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fadd qword [0x4d9a53]
fstp qword [ebp - 0x44]
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x44]
fcomp qword [0x4d9a5b]
fnstsw ax
test ah, 1
je 0x406704
jmp 0x40833a
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [0x787a50]
add ebx, 0x34
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40679b
cmp dword [0x787a6c], 0x100000
jne 0x40679b
cmp dword [0x787a70], 5
jl 0x40679b
cmp dword [0x787a74], 0xff000000
jne 0x406765
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
cmp dword [0x787a74], 0x7e000000
jne 0x40679b
mov ebx, dword [0x787a50]
add ebx, 0x44
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40679b
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
mov ebx, dword [0x787a50]
add ebx, 0x38
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40684a
cmp dword [0x787a74], 0xff000000
jne 0x406833
cmp dword [0x787a78], 0x10000
jne 0x406833
cmp dword [0x787a7c], 0
jne 0x406833
fld dword [0x787a80]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a63]
ftst
fnstsw ax
test ah, 1
je 0x4067fd
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x40681c
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
cmp dword [0x787a84], 0x3f99999a
jne 0x406833
mov dword [ebp - 0xc], 0
cmp dword [0x787a74], 0x7e000000
jne 0x40684a
mov dword [ebp - 0xc], 0
mov ebx, dword [0x787a50]
add ebx, 0x40
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40689d
cmp dword [0x787a6c], 0x100000
jne 0x40689d
cmp dword [0x787a70], 3
jne 0x40689d
cmp dword [0x787a74], 0xff000000
jne 0x40689d
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
mov ebx, dword [0x787a50]
add ebx, 0x30
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4068c9
cmp byte [0x787a88], 0x60
jne 0x4068c9
mov dword [ebp - 0xc], 1
mov ebx, dword [0x787a50]
add ebx, 0x2c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x406923
fld dword [0x787a8c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a6b]
ftst
fnstsw ax
test ah, 1
je 0x4068fe
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x406923
cmp dword [0x787a90], 3
jne 0x406923
mov dword [ebp - 0xc], 1
mov ebx, dword [0x787a50]
add ebx, 0x20
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40697d
fld dword [0x787a8c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a6b]
ftst
fnstsw ax
test ah, 1
je 0x406958
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x40697d
cmp dword [0x787a94], 2
jne 0x40697d
mov dword [ebp - 0xc], 1
mov ebx, dword [0x787a50]
add ebx, 0x24
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4069a9
cmp byte [0x787a88], 5
jne 0x4069a9
mov dword [ebp - 0xc], 1
mov ebx, dword [0x787a50]
add ebx, 0x28
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4069e5
cmp byte [0x787a88], 0x6e
jne 0x4069e5
cmp dword [0x787a98], 0x1f00
jne 0x4069e5
mov dword [ebp - 0xc], 1
mov ebx, dword [0x787a50]
add ebx, 0x1c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x406a1e
cmp dword [0x787a94], 2
jne 0x406a1e
cmp byte [0x787a9c], 0x42
jne 0x406a1e
mov dword [ebp - 0xc], 1
mov ebx, dword [0x787a50]
add ebx, 0x5c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x406a4d
cmp dword [0x787a74], 0xff000000
jne 0x406a4d
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 1
je 0x406a5c
jmp 0x40833a
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0
cmp eax, ecx
jl 0x406a8a
push 0x109e
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
mov ebx, dword [ebp - 0x40]
fmul dword [ebx]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 4
cmp eax, ecx
jl 0x406ad0
push 0x10ce
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [0x787a64]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x4c]
fld dword [ebx]
mov ebx, dword [ebp - 0x50]
fmul dword [ebx]
fstp qword [ebp - 0x58]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 8
cmp eax, ecx
jl 0x406b19
push 0x10fe
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x5c]
fld dword [ebx]
mov ebx, dword [ebp - 0x60]
fmul dword [ebx]
fstp qword [ebp - 0x68]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xc
cmp eax, ecx
jl 0x406b62
push 0x10fe
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x6c], ebx
fld qword [ebp - 0x48]
fadd qword [ebp - 0x58]
fadd qword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
fadd dword [ebx]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
fstp dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 1
cmp eax, ecx
jl 0x406bba
push 0x1171
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
mov ebx, dword [ebp - 0x40]
fmul dword [ebx]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 5
cmp eax, ecx
jl 0x406c00
push 0x11a1
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [0x787a64]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x4c]
fld dword [ebx]
mov ebx, dword [ebp - 0x50]
fmul dword [ebx]
fstp qword [ebp - 0x58]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 9
cmp eax, ecx
jl 0x406c49
push 0x11d1
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x5c]
fld dword [ebx]
mov ebx, dword [ebp - 0x60]
fmul dword [ebx]
fstp qword [ebp - 0x68]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xd
cmp eax, ecx
jl 0x406c92
push 0x11d1
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x6c], ebx
fld qword [ebp - 0x48]
fadd qword [ebp - 0x58]
fadd qword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
fadd dword [ebx]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
fstp dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 2
cmp eax, ecx
jl 0x406cea
push 0x1244
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
mov ebx, dword [ebp - 0x40]
fmul dword [ebx]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 6
cmp eax, ecx
jl 0x406d30
push 0x1274
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [0x787a64]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x4c]
fld dword [ebx]
mov ebx, dword [ebp - 0x50]
fmul dword [ebx]
fstp qword [ebp - 0x58]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xa
cmp eax, ecx
jl 0x406d79
push 0x12a4
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x5c]
fld dword [ebx]
mov ebx, dword [ebp - 0x60]
fmul dword [ebx]
fstp qword [ebp - 0x68]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xe
cmp eax, ecx
jl 0x406dc2
push 0x12a4
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x6c], ebx
fld qword [ebp - 0x48]
fadd qword [ebp - 0x58]
fadd qword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
fadd dword [ebx]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
fstp dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 3
cmp eax, ecx
jl 0x406e11
push 0x130e
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fmul dword [ebx]
fstp qword [ebp - 0x44]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 7
cmp eax, ecx
jl 0x406e57
push 0x133e
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [0x787a64]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x48]
fld dword [ebx]
mov ebx, dword [ebp - 0x4c]
fmul dword [ebx]
fstp qword [ebp - 0x54]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xb
cmp eax, ecx
jl 0x406ea0
push 0x136e
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x58]
fld dword [ebx]
mov ebx, dword [ebp - 0x5c]
fmul dword [ebx]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xf
cmp eax, ecx
jl 0x406ee9
push 0x136e
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
fld qword [ebp - 0x44]
fadd qword [ebp - 0x54]
fadd qword [ebp - 0x64]
mov ebx, dword [ebp - 0x68]
fadd dword [ebx]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fstp dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x4d9a73]
fcomp qword [0x4d9a5b]
fnstsw ax
test ah, 1
je 0x406f3e
jmp 0x40833a
fld qword [0x4d978c]
fdiv dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fstp dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fmul dword [ebp - 0x1c]
fmul dword [0x787a60]
fstp qword [ebp - 0x44]
fld dword [0x787a60]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fstp dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fmul dword [ebp - 0x1c]
fmul dword [0x787a5c]
fstp qword [ebp - 0x44]
fld dword [0x787a5c]
fsub qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fstp dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 1
cmp eax, ecx
jl 0x406ffb
push 0x1574
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
mov ebx, dword [ebp - 0x40]
fmul dword [ebx]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 5
cmp eax, ecx
jl 0x407041
push 0x15a4
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [0x787a64]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
fld dword [ebx]
fadd qword [0x4d9a32]
fstp qword [ebp - 0x58]
mov ebx, dword [ebp - 0x4c]
fld dword [ebx]
fmul qword [ebp - 0x58]
fstp qword [ebp - 0x60]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 9
cmp eax, ecx
jl 0x407096
push 0x15f0
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x64]
fld dword [ebx]
mov ebx, dword [ebp - 0x68]
fmul dword [ebx]
fstp qword [ebp - 0x70]
mov ebx, dword [ebp - 4]
call fcn.00401823
mov eax, 0xd
cmp eax, ecx
jl 0x4070df
push 0x15f0
push 0x4012272
push 1
call fcn.0042dfe6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
fld qword [ebp - 0x48]
fadd qword [ebp - 0x60]
fadd qword [ebp - 0x70]
mov ebx, dword [ebp - 0x74]
fadd dword [ebx]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
fstp dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fmul dword [ebp - 0x1c]
fmul dword [0x787a5c]
fstp qword [ebp - 0x44]
fld dword [0x787a5c]
fsub qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fstp dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fild dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fdiv qword [0x4d9802]
fstp qword [ebp - 0x4c]
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [0x4d9a7b]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fstp dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ebx
fld dword [ebp - 0x20]
call fcn.00401843
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
call fcn.00401843
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
mov ebx, dword [ebp - 0x40]
fsub dword [ebx]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00401843
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fild dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fdiv qword [0x4d9802]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00401843
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d978c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x4d97be]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00401843
push edx
push eax
call fcn.0040a1a8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40726f
push ebx
call fcn.0042dfda
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [0x787a64]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a68]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a68]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
fld dword [ebp - 0x2c]
fmul dword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fld dword [ebp - 0x30]
fmul dword [ebp - 0x30]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x42e520
call fcn.0042dff2
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
fstp dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
cmp byte [0x787a88], 0x60
jne 0x4073bf
mov ebx, dword [0x787a50]
add ebx, 0x30
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4073bf
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fadd qword [0x4d9a83]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x8c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9a8b
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4073bf
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x2c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4074f6
fld dword [0x787a8c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a6b]
ftst
fnstsw ax
test ah, 1
je 0x4073f4
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x4074f6
cmp dword [0x787a90], 3
jne 0x4074f6
fld dword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a90]
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
jne 0x407437
jmp 0x40833a
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x84
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9a98
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4074b8
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787aa0]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787aa0]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
cmp byte [0x787a88], 5
jne 0x407599
mov ebx, dword [0x787a50]
add ebx, 0x24
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x407599
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x74
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9a9d
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x407599
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x20
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40766d
fld dword [0x787a8c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a6b]
ftst
fnstsw ax
test ah, 1
je 0x4075ce
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x40766d
cmp dword [0x787a94], 2
jne 0x40766d
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x8c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9aa2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40766d
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x1c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40771d
cmp dword [0x787a94], 2
jne 0x40771d
cmp byte [0x787a9c], 0x42
jne 0x40771d
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x7c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9aa7
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40771d
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x28
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4077d3
cmp byte [0x787a88], 0x6e
jne 0x4077d3
cmp dword [0x787a98], 0x1f00
jne 0x4077d3
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x80
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9aae
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4077d3
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x34
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4079a4
cmp dword [0x787a6c], 0x100000
jne 0x4079a4
cmp dword [0x787a70], 5
jl 0x4079a4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fsub qword [0x4d9ab3]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fstp dword [ebp - 0x50]
push dword [ebp - 0x50]
fld qword [ebp - 0x40]
fstp dword [ebp - 0x54]
push dword [ebp - 0x54]
call fcn.0040a488
cmp dword [0x787a74], 0xff000000
jne 0x407916
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x6c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9abb
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4078d8
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787aa4]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787aa4]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
cmp dword [0x787a74], 0x7e000000
jne 0x4079a4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x6c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9ac0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4079a4
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x38
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x407c6f
cmp dword [0x787a74], 0xff000000
jne 0x407c6f
cmp dword [0x787a78], 0x10000
jne 0x407c6f
cmp dword [0x787a7c], 0
jne 0x407c6f
fld dword [0x787a80]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9a63]
ftst
fnstsw ax
test ah, 1
je 0x407a06
fchs
fcomp qword [0x4d9794]
fnstsw ax
test ah, 0x41
je 0x407c6f
cmp dword [0x787aa8], 0
jne 0x407bb3
cmp dword [0x787aac], 0
jne 0x407b30
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x70
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9acc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x407aaf
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787ab0]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787ab0]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787ab4]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787ab4]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
jmp 0x407bae
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x70
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9ad6
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x407bae
push ebx
call fcn.0042dfda
add esp, 4
jmp 0x407c6f
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov ebx, dword [0x787a50]
add ebx, 0x70
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 0x41a00000
push dword [ebp - 0x48]
mov eax, 0x4d9ae5
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x407c31
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787ab4]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787ab4]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a64]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787a50]
add ebx, 0x40
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x407d39
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
push 0x80000101
push 0
push dword [0x787ab8]
push 1
mov ebx, 0x42f9e0
call fcn.0042dff2
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 0xffffff
call fcn.0040a5e5
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
push 1
push 0x41a00000
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x407d2d
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [ebp - 0x50]
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x60
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x407dd1
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 0xff00
call fcn.0040a5e5
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
push 0x41a00000
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
fld qword [ebp - 0x44]
call fcn.00401843
push eax
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x4c]
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x48
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x407e89
mov ebx, dword [0x787abc]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787ab0]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x787a68]
mov dword [ebp - 0x40], ebx
mov ebx, dword [0x787ab0]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x40]
fld dword [ebx]
mov ebx, dword [ebp - 0x44]
fsub dword [ebx]
fstp qword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fstp dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787abc]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787ab0]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x787a68]
add ebx, 4
mov dword [ebp - 0x40], ebx
mov ebx, dword [0x787ab0]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x40]
fld dword [ebx]
mov ebx, dword [ebp - 0x44]
fsub dword [ebx]
fstp qword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fstp dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x787a50]
add ebx, 0x18
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x407f89
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
fadd qword [0x4d9a83]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
fld dword [ebx]
fsub qword [0x4d9a32]
fstp qword [ebp - 0x4c]
push 0x80000501
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x42edd0
call fcn.0042dff2
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x42f9e0
call fcn.0042dff2
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0x4d9aea
push dword [ebp - 0x54]
push 0x4d9aec
mov ecx, 3
call fcn.004010ce
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x407f32
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x78
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push 1
push 0x41a00000
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
fld qword [ebp - 0x4c]
call fcn.00401843
push eax
fld qword [ebp - 0x40]
call fcn.00401843
push eax
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x407f89
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [0x787a50]
add ebx, 0x4c
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x408184
mov ebx, dword [0x787aa0]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787ab4]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [0x787ac0], eax
mov ebx, dword [0x787aa0]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787ab4]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [0x787ac4], eax
fld dword [0x787ac0]
fmul dword [0x787ac0]
fstp qword [ebp - 0x3c]
fld dword [0x787ac4]
fmul dword [0x787ac4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x42e520
call fcn.0042dff2
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
fstp dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov dword [0x787ac8], eax
mov ebx, dword [0x787a68]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787aa0]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [0x787acc], eax
mov ebx, dword [0x787a68]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787aa0]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [0x787ad0], eax
fld dword [0x787acc]
fmul dword [0x787acc]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd dword [0x787ad0]
fadd dword [0x787ad0]
fstp qword [ebp - 0x44]
push 0x80000601
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 1
mov ebx, 0x42e520
call fcn.0042dff2
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
fstp dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov dword [0x787ad4], eax
fld dword [0x787ad4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4d9aee]
fcomp qword [0x4d9a5b]
fnstsw ax
test ah, 1
je 0x408184
mov ebx, dword [0x787a50]
add ebx, 0x50
mov dword [ebp - 0x38], ebx
fld dword [0x787ac8]
mov ebx, dword [ebp - 0x38]
fcomp dword [ebx]
fnstsw ax
test ah, 1
je 0x408184
push 0x787ad8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [0x787a40]
add ebx, 8
mov dword [ebp - 0x38], ebx
push 0x20
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 0x787ad8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [0x787a50]
add ebx, 0x54
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x4082aa
mov ebx, dword [0x787aa4]
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a68]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [0x787adc], eax
mov ebx, dword [0x787aa4]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x787a68]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
fld dword [ebx]
mov ebx, dword [ebp - 0x3c]
fsub dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [0x787ae0], eax
fld dword [0x787adc]
fmul dword [0x787adc]
fstp qword [ebp - 0x3c]
fld dword [0x787ae0]
fmul dword [0x787ae0]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x42e520
call fcn.0042dff2
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
fstp dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov dword [0x787ae4], eax
mov ebx, dword [0x787a50]
add ebx, 0x58
mov dword [ebp - 0x38], ebx
fld dword [0x787ae4]
mov ebx, dword [ebp - 0x38]
fcomp dword [ebx]
fnstsw ax
test ah, 1
je 0x4082aa
push 0x787ad8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [0x787a40]
add ebx, 8
mov dword [ebp - 0x38], ebx
push 0x52
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 0x787ad8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [0x787a50]
add ebx, 0x10
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
jne 0x40833a
cmp dword [ebp - 0x10], 1
jne 0x40833a
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x24]
add ebx, 8
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x24]
add ebx, 0xc
mov dword [ebp - 0x44], ebx
mov ebx, dword [0x787a50]
add ebx, 0x64
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 1
push 0x3dcccccd
push dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
push dword [ebx]
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 0x787a4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
pop ebx
pop ecx
jmp 0x40661b
add esp, 8
mov ebx, dword [ebp - 4]
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0042dfda
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408378
push ebx
call fcn.0042dfda
add esp, 4
mov esp, ebp
pop ebp
ret