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

Disassembly:
sub esp, 0x11c
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push esi
mov ebp, ecx
push edi
push 1
push ebx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x38], ebp
call fcn.006aaa50
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
je 0x611255
mov esi, dword [esp + 0x130]
mov ebp, dword [ebp + 0x20]
lea ecx, [esp + 0xec]
lea edx, [esp + 0xa0]
mov eax, dword [esi]
push ecx
push edx
lea ecx, [ebp + 0x14]
mov dword [esp + 0xf4], eax
call fcn.006152c0
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebp + 0x18]
cmp eax, ecx
je 0x611255
lea ebp, [eax + 0x10]
test ebp, ebp
je 0x611255
mov eax, dword [edi + 0x2cc]
test eax, eax
je 0x60f819
xor ecx, ecx
mov cl, byte [eax + 0x40]
jmp 0x60f81c
or ecx, 0xffffffff
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 7
jne 0x60f871
add edi, 0x98
push 0
mov ecx, dword [edi]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x88]
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [0x805a24]
push 1
mov eax, dword [edi + 8]
push 0x157c
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
call fcn.004584b0
mov eax, dword [esi + 0x44]
mov ecx, 0x3e8
cdq
idiv ecx
mov eax, dword [esp + 0x30]
push 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x9c], 0
mov edi, edx
mov edx, dword [esp + 0x13c]
push edx
call fcn.006aaa50
test eax, eax
jne 0x61052c
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 0x98]
mov dword [esp + 0x78], eax
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x84]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x1c], eax
call fcn.00465520
mov esi, eax
mov al, byte [0x93f934]
test al, 1
jne 0x60f90f
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x10]
fadd dword [esi]
push 0
push 0xa28
fstp dword [0x93f940]
fld dword [esp + 0x1c]
fadd dword [esi + 4]
mov eax, dword [0x93f940]
mov dword [esp + 0x18], eax
fstp dword [0x93f944]
fld dword [esp + 0x20]
fadd dword [esi + 8]
mov ecx, dword [0x93f944]
mov dword [esp + 0x98], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [esp + 0x20], edx
mov dword [esp + 0xa0], edx
call fcn.0046e180
test al, al
je 0x60fa65
mov esi, dword [0x93c914]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x38], 0x49498
call fcn.0047a4e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
je 0x60fb19
add eax, 0x10
test eax, eax
mov dword [esp + 0x7c], eax
je 0x60fb19
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov al, byte [0x93f934]
mov ecx, dword [edx + 4]
test al, 1
mov edx, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jne 0x60f9f6
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x10]
fadd dword [esp + 0x90]
push 0
fstp dword [0x93f940]
fld dword [esp + 0x98]
fadd dword [esp + 0x18]
mov eax, dword [0x93f940]
fstp dword [0x93f944]
fld dword [esp + 0x9c]
fadd dword [esp + 0x1c]
mov ecx, dword [0x93f944]
fstp dword [0x93f948]
mov esi, dword [ebp + 4]
mov edx, dword [0x93f948]
push esi
mov esi, dword [esp + 0x144]
movsx esi, word [esi + 6]
push esi
sub esp, 0xc
mov esi, esp
mov dword [esi], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
jmp 0x60fb08
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov al, byte [0x93f934]
mov ecx, dword [edx + 4]
test al, 1
mov edx, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jne 0x60fa9e
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x10]
fadd dword [esp + 0x90]
push 0
fstp dword [0x93f940]
fld dword [esp + 0x98]
fadd dword [esp + 0x18]
mov eax, dword [0x93f940]
fstp dword [0x93f944]
fld dword [esp + 0x9c]
fadd dword [esp + 0x1c]
mov ecx, dword [0x93f944]
fstp dword [0x93f948]
mov esi, dword [ebp + 4]
mov edx, dword [0x93f948]
push esi
mov esi, dword [esp + 0x144]
movsx esi, word [esi + 6]
push esi
sub esp, 0xc
mov esi, esp
mov dword [esi], eax
mov eax, dword [esp + 0x148]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [0x93cc00]
push edi
push ebx
call fcn.00489d60
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x13c]
add ecx, 0x98
mov eax, dword [ebp + 0x14]
movsx esi, word [edx + 6]
mov edx, dword [ecx]
dec eax
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
sar eax, 1
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
mov cl, byte [0x93f99c]
test cl, 1
mov dword [esp + 0x14], edx
jne 0x60fb73
mov dl, cl
push fcn.0040de30
or dl, 1
mov byte [0x93f99c], dl
call fcn.00726f2f
mov eax, dword [esp + 0x34]
add esp, 4
fld dword [esp + 0x90]
fsub dword [esp + 0x10]
cmp eax, 1
mov dword [esp + 0x78], 1
fstp dword [0x93f9a0]
fld dword [esp + 0x94]
fsub dword [esp + 0x14]
mov edx, dword [0x93f9a0]
mov dword [esp + 0x1c], edx
fstp dword [0x93f9a4]
fld dword [esp + 0x98]
fsub dword [esp + 0x18]
mov ecx, dword [0x93f9a4]
mov dword [esp + 0x20], ecx
fstp dword [0x93f9a8]
mov edx, dword [0x93f9a8]
mov dword [esp + 0x24], edx
jl 0x611255
fild dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
push 0
push 0xa28
fmul dword [0x76cdec]
fmul dword [0x76ce10]
fstp dword [esp + 0x34]
call fcn.0046e180
test al, al
je 0x610098
mov eax, dword [0x93c914]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x9c]
push ecx
push edx
lea ecx, [eax + 0x14]
mov dword [esp + 0x88], 0x49498
mov dword [esp + 0x3c], eax
call fcn.0047a4e0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x9c]
cmp eax, dword [ecx + 0x18]
je 0x61050a
add eax, 0x10
test eax, eax
mov dword [esp + 0x34], eax
je 0x61050a
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x7c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x7c]
fcos
mov al, byte [0x93f97c]
test al, 1
fstp dword [esp + 0x38]
fld dword [esp + 0x7c]
fsin
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
fchs
fst dword [esp + 0x40]
fchs
fstp dword [esp + 0x58]
jne 0x60fd28
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x24]
fmul dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
mov dword [esp + 0x7c], esi
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [0x93f980]
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
mov eax, dword [0x93f980]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x4c]
add eax, 0x98
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [0x93f984]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x60]
mov ecx, dword [0x93f984]
mov dword [esp + 0xe4], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov ecx, dword [eax]
mov dword [esp + 0xe8], edx
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov al, byte [0x93f934]
test al, 1
jne 0x60fe02
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x10]
fadd dword [esp + 0xe0]
push 0
inc esi
fstp dword [0x93f940]
fld dword [esp + 0x18]
fadd dword [esp + 0xe8]
mov eax, dword [0x93f940]
fstp dword [0x93f944]
fld dword [esp + 0x1c]
fadd dword [esp + 0xec]
mov ecx, dword [0x93f944]
fstp dword [0x93f948]
mov edx, dword [ebp + 4]
push edx
mov edx, dword [esp + 0x84]
push edx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x93f948]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [0x93cc00]
push edi
push ebx
call fcn.00489d60
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x2c]
fcos
mov al, byte [0x93f97c]
test al, 1
fstp dword [esp + 0x38]
fld dword [esp + 0x2c]
fsin
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
fchs
fst dword [esp + 0x40]
fchs
fstp dword [esp + 0x58]
jne 0x60ff44
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x24]
fmul dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
mov dword [esp + 0x7c], esi
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [0x93f980]
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
mov eax, dword [0x93f980]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x4c]
add eax, 0x98
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [0x93f984]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x60]
mov ecx, dword [0x93f984]
mov dword [esp + 0xc0], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov ecx, dword [eax]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xd4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xdc], eax
mov al, byte [0x93f934]
test al, 1
jne 0x610027
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xd4]
fadd dword [esp + 0xbc]
push 0
inc esi
fstp dword [0x93f940]
fld dword [esp + 0xdc]
fadd dword [esp + 0xc4]
mov eax, dword [0x93f940]
fstp dword [0x93f944]
fld dword [esp + 0xe0]
fadd dword [esp + 0xc8]
mov ecx, dword [0x93f944]
fstp dword [0x93f948]
mov edx, dword [ebp + 4]
push edx
mov edx, dword [esp + 0x84]
push edx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x93f948]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
jmp 0x6104f9
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x34]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x34]
fcos
mov al, byte [0x93f97c]
test al, 1
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
fsin
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
fchs
fst dword [esp + 0x40]
fchs
fstp dword [esp + 0x58]
jne 0x610170
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x24]
fmul dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
mov dword [esp + 0x80], esi
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [0x93f980]
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
mov eax, dword [0x93f980]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x4c]
add eax, 0x98
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [0x93f984]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x60]
mov ecx, dword [0x93f984]
mov dword [esp + 0xcc], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov ecx, dword [eax]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xb8], eax
mov al, byte [0x93f934]
test al, 1
jne 0x610256
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xb0]
fadd dword [esp + 0xc8]
push 0
inc esi
fstp dword [0x93f940]
fld dword [esp + 0xb8]
fadd dword [esp + 0xd0]
mov eax, dword [0x93f940]
fstp dword [0x93f944]
fld dword [esp + 0xbc]
fadd dword [esp + 0xd4]
mov ecx, dword [0x93f944]
fstp dword [0x93f948]
mov edx, dword [ebp + 4]
push edx
mov edx, dword [esp + 0x88]
push edx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x93f948]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [0x93cc00]
push edi
push ebx
call fcn.00489d60
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x2c]
fcos
mov al, byte [0x93f97c]
test al, 1
fstp dword [esp + 0x38]
fld dword [esp + 0x2c]
fsin
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
fchs
fst dword [esp + 0x40]
fchs
fstp dword [esp + 0x58]
jne 0x6103a4
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x24]
fmul dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
mov dword [esp + 0x80], esi
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [0x93f980]
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
mov eax, dword [0x93f980]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x4c]
add eax, 0x98
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [0x93f984]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x60]
mov ecx, dword [0x93f984]
mov dword [esp + 0x88], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov ecx, dword [eax]
mov dword [esp + 0x8c], edx
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xac], eax
mov al, byte [0x93f934]
test al, 1
jne 0x61048a
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xa4]
fadd dword [esp + 0x84]
push 0
inc esi
fstp dword [0x93f940]
fld dword [esp + 0xac]
fadd dword [esp + 0x8c]
mov eax, dword [0x93f940]
fstp dword [0x93f944]
fld dword [esp + 0xb0]
fadd dword [esp + 0x90]
mov ecx, dword [0x93f944]
fstp dword [0x93f948]
mov edx, dword [ebp + 4]
push edx
mov edx, dword [esp + 0x88]
push edx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x93f948]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [0x93cc00]
push edi
push ebx
call fcn.00489d60
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jle 0x60fbd5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 0x10
lea edx, [esp + 0x84]
mov ecx, eax
push edx
call fcn.0046c3f0
mov ecx, dword [eax]
push 0
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], edx
mov eax, dword [eax + 8]
push 0xa28
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 4]
test eax, eax
jne 0x610e5f
call fcn.0046e180
test al, al
je 0x6105f1
mov esi, dword [0x93c914]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x80]
push ecx
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0xa4], 0x49498
call fcn.0047a4e0
mov eax, dword [esp + 0x80]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
je 0x610634
add eax, 0x10
test eax, eax
je 0x610634
mov ecx, dword [esp + 0x13c]
push 0
push 0
mov eax, dword [eax + 0x50]
movsx edx, word [ecx + 6]
push edx
mov edx, dword [esp + 0x9c]
sub esp, 0xc
mov ecx, esp
push eax
mov dword [ecx], edx
mov edx, dword [esp + 0xb0]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [ecx + 8], edx
jmp 0x610627
mov ecx, dword [esp + 0x13c]
push 0
push 0
movsx edx, word [ecx + 6]
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0xa0]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x50]
push edx
mov dword [eax + 8], ecx
mov ecx, dword [0x93cc00]
push edi
push ebx
call fcn.00489d60
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x28]
dec eax
movsx esi, word [ecx + 6]
lea ecx, [ebp + 0x98]
sar eax, 1
mov edx, dword [ecx]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x88], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x8c], ecx
mov cl, byte [0x93f99c]
test cl, 1
jne 0x61069a
mov dl, cl
push fcn.0040de30
or dl, 1
mov byte [0x93f99c], dl
call fcn.00726f2f
mov eax, dword [esp + 0x80]
add esp, 4
fld dword [esp + 0x90]
fsub dword [esp + 0x84]
cmp eax, 1
mov dword [esp + 0x78], 1
fstp dword [0x93f9a0]
fld dword [esp + 0x94]
fsub dword [esp + 0x88]
mov edx, dword [0x93f9a0]
mov dword [esp + 0x1c], edx
fstp dword [0x93f9a4]
fld dword [esp + 0x98]
fsub dword [esp + 0x8c]
mov ecx, dword [0x93f9a4]
mov dword [esp + 0x20], ecx
fstp dword [0x93f9a8]
mov edx, dword [0x93f9a8]
mov dword [esp + 0x24], edx
jl 0x611255
fild dword [esp + 0x78]
push 0
push 0xa28
mov ecx, ebp
fmul dword [0x76cdec]
fmul dword [0x76ce10]
fstp dword [esp + 0x34]
call fcn.0046e180
test al, al
je 0x610bee
mov eax, dword [0x93c914]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x80]
push ecx
push edx
lea ecx, [eax + 0x14]
mov dword [esp + 0xa4], 0x49498
mov dword [esp + 0xa8], eax
call fcn.0047a4e0
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x80]
cmp eax, dword [ecx + 0x18]
je 0x610e3d
add eax, 0x10
test eax, eax
mov dword [esp + 0x34], eax
je 0x610e3d
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x30]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x30]
fcos
mov al, byte [0x93f97c]
test al, 1
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fsin
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
fchs
fst dword [esp + 0x40]
fchs
fstp dword [esp + 0x58]
jne 0x61085c
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x24]
fmul dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
mov dword [esp + 0xa0], esi
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [0x93f980]
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
mov eax, dword [0x93f980]
mov dword [esp + 0x84], eax
mov dword [esp + 0x10], eax
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x4c]
lea eax, [ebp + 0x98]
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [0x93f984]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x60]
mov ecx, dword [0x93f984]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x14], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov ecx, dword [eax]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x18], edx
mov edx, dword [eax + 4]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xac], eax
mov al, byte [0x93f934]
test al, 1
jne 0x61094b
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xa4]
fadd dword [esp + 0x10]
mov ebp, dword [esp + 0xa0]
push 0
push 0
push ebp
sub esp, 0xc
inc esi
fstp dword [0x93f940]
fld dword [esp + 0x2c]
fadd dword [esp + 0xc0]
mov eax, dword [0x93f940]
mov ebp, esp
mov dword [ebp], eax
fstp dword [0x93f944]
fld dword [esp + 0x30]
fadd dword [esp + 0xc4]
mov ecx, dword [0x93f944]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x4c]
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [ebp + 8], edx
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x93cc00]
push edx
push edi
push ebx
call fcn.00489d60
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x2c]
fcos
fstp dword [esp + 0x38]
fld dword [esp + 0x2c]
fsin
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov al, byte [0x93f97c]
test al, 1
fchs
fst dword [esp + 0x40]
fchs
fstp dword [esp + 0x58]
jne 0x610a8d
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x24]
fmul dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xa0], esi
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [0x93f980]
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
mov ecx, dword [0x93f980]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x4c]
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [0x93f984]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x60]
mov edx, dword [0x93f984]
mov dword [esp + 0xcc], edx
mov dword [esp + 0x14], edx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [0x93f988]
mov eax, dword [0x93f988]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x98]
mov ecx, dword [ebp + 0x98]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xb8], eax
mov al, byte [0x93f934]
test al, 1
jne 0x610b84
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xb0]
fadd dword [esp + 0x10]
mov edx, dword [esp + 0xa0]
push 0
push 0
push edx
inc esi
sub esp, 0xc
fstp dword [0x93f940]
fld dword [esp + 0x2c]
fadd dword [esp + 0xcc]
mov eax, dword [0x93f940]
mov edx, esp
mov dword [edx], eax
fstp dword [0x93f944]
fld dword [esp + 0x30]
fadd dword [esp + 0xd0]
mov ecx, dword [0x93f944]
mov dword [edx + 4], ecx
fstp dword [0x93f948]
mov eax, dword [0x93f948]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x50]
push ecx
jmp 0x610e30
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x30]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
call fcn.004253e0
fld dword [esp + 0x30]
fcos
lea edx, [esp + 0x38]
lea eax, [esp + 0xe0]
push edx
push eax
lea ecx, [esp + 0x24]
fst dword [esp + 0x40]
fld dword [esp + 0x38]
fsin
fchs
fst dword [esp + 0x48]
fchs
fstp dword [esp + 0x60]
fstp dword [esp + 0x68]
call fcn.00424b80
mov ecx, dword [eax]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x98]
mov ecx, dword [ebp + 0x98]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc0], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xc4], eax
mov al, byte [0x93f934]
test al, 1
jne 0x610d1a
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f934], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xbc]
fadd dword [esp + 0x10]
mov ebp, dword [esp + 0x9c]
push 0
push 0
push ebp
sub esp, 0xc
inc esi
fstp dword [0x93f940]
fld dword [esp + 0x2c]
fadd dword [esp + 0xd8]
mov eax, dword [0x93f940]
mov ebp, esp
mov dword [ebp], eax
fstp dword [0x93f944]
fld dword [esp + 0x30]
fadd dword [esp + 0xdc]
mov ecx, dword [0x93f944]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x148]
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [ebp + 8], edx
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x93cc00]
push edx
push edi
push ebx
call fcn.00489d60
lea ecx, [esp + 0x38]
call fcn.004253e0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push eax
call fcn.004256f0
lea ecx, [esp + 0x38]
lea edx, [esp + 0xfc]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00424b80
push eax
lea ecx, [esp + 0x14]
call fcn.004345b0
mov ebp, dword [esp + 0x28]
mov ecx, esi
push 0
push 0
lea eax, [ebp + 0x98]
push ecx
lea ecx, [esp + 0xe0]
inc esi
mov edx, dword [eax]
push ecx
mov dword [esp + 0xe4], edx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
lea edx, [esp + 0x100]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xf0], eax
call fcn.004345d0
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x148]
mov edx, dword [ecx + 0x50]
push edx
mov ecx, dword [0x93cc00]
push edi
push ebx
call fcn.00489d60
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jle 0x610705
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 0x10
call fcn.0046e180
test al, al
je 0x610e9d
mov ecx, dword [0x93c914]
push 0x49498
call fcn.004f11c0
test eax, eax
je 0x610eca
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x13c]
push ecx
movsx ecx, word [edx + 6]
mov edx, dword [esi + 0x58]
push ecx
mov ecx, dword [esp + 0x140]
push edx
mov edx, dword [eax + 0x50]
push ecx
jmp 0x610ebc
mov ecx, dword [esp + 0x13c]
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esi + 0x58]
movsx edx, word [ecx + 6]
mov ecx, dword [esp + 0x13c]
push edx
mov edx, dword [esi + 0x50]
push eax
push ecx
mov ecx, dword [0x93cc00]
push edx
push edi
push ebx
call fcn.0048a230
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
dec eax
sar eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x13c]
movsx esi, word [eax + 6]
lea eax, [ecx + 0x98]
mov edx, dword [ecx + 0x98]
mov dword [esp + 0xa4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x84]
mov edx, dword [eax + 8]
lea eax, [esp + 0xa4]
push eax
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0xb4], edx
call fcn.00424c30
mov ecx, dword [esp + 0x34]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x78], eax
jl 0x611255
fild dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
push 0
push 0xa28
fmul dword [0x76cdec]
fmul dword [0x76ce10]
fstp dword [esp + 0x34]
call fcn.0046e180
test al, al
je 0x6110d8
mov ecx, dword [0x93c914]
push 0x49498
call fcn.004f11c0
test eax, eax
mov dword [esp + 0x30], eax
je 0x611240
lea ecx, [esp + 0x38]
call fcn.004253e0
fld dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x3c]
fchs
fstp dword [esp]
call fcn.004256f0
lea edx, [esp + 0x38]
lea eax, [esp + 0xf0]
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.00424b80
push eax
lea ecx, [esp + 0x14]
call fcn.004345b0
mov ecx, dword [esp + 0x28]
mov eax, esi
add ecx, 0x98
push 0
inc esi
mov edx, dword [ecx]
mov dword [esp + 0xa8], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xac], edx
mov edx, dword [ebp + 4]
mov ecx, dword [ecx + 8]
push edx
push eax
mov dword [esp + 0xb8], ecx
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x108]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004345d0
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x93cc00]
push edx
push edi
push ebx
call fcn.00489d60
lea ecx, [esp + 0x38]
call fcn.004253e0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push eax
call fcn.004256f0
lea ecx, [esp + 0x38]
lea edx, [esp + 0xd4]
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.00424b80
push eax
lea ecx, [esp + 0x14]
call fcn.004345b0
mov ecx, dword [esp + 0x28]
mov eax, esi
add ecx, 0x98
push 0
inc esi
mov edx, dword [ecx]
mov dword [esp + 0xcc], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xd0], edx
mov edx, dword [ebp + 4]
mov ecx, dword [ecx + 8]
push edx
mov dword [esp + 0xd8], ecx
push eax
lea eax, [esp + 0xd4]
lea ecx, [esp + 0xec]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004345d0
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
jmp 0x61122f
lea ecx, [esp + 0x38]
call fcn.004253e0
fld dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x3c]
fchs
fstp dword [esp]
call fcn.004256f0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.00424b80
push eax
lea ecx, [esp + 0x14]
call fcn.004345b0
mov edx, dword [esp + 0x28]
mov eax, esi
push 0
inc esi
lea ecx, [edx + 0x98]
mov edx, dword [edx + 0x98]
mov dword [esp + 0xb4], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xb8], edx
mov edx, dword [ebp + 4]
mov ecx, dword [ecx + 8]
push edx
push eax
mov dword [esp + 0xc4], ecx
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x114]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004345d0
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x148]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x93cc00]
push edx
push edi
push ebx
call fcn.00489d60
lea ecx, [esp + 0x38]
call fcn.004253e0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push eax
call fcn.004256f0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x120]
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.00424b80
push eax
lea ecx, [esp + 0x14]
call fcn.004345b0
mov ecx, dword [esp + 0x28]
mov eax, esi
add ecx, 0x98
push 0
inc esi
mov edx, dword [ecx]
mov dword [esp + 0xc0], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xc4], edx
mov edx, dword [ebp + 4]
mov ecx, dword [ecx + 8]
push edx
mov dword [esp + 0xcc], ecx
push eax
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x120]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004345d0
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x148]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x93cc00]
push edx
push edi
push ebx
call fcn.00489d60
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jle 0x610f3b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 0x10