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

Disassembly:
push 0xffffffffffffffff
push 0x6b364c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 8]
push edi
mov ecx, ebp
mov dword [esp + 0x64], esi
call fcn.00538720
lea ecx, [esi + 0x24]
mov dword [esp + 0xa4], ecx
call fcn.00537eb0
lea ecx, [esi + 0x40]
mov dword [esp + 0xa8], ecx
call fcn.00538670
lea ecx, [esi + 0x5c]
call fcn.00537eb0
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x538970
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x40a940
push ecx
push 0x28
push eax
call fcn.005cdcbc
push edi
call fcn.005cdc59
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov edi, dword [esp + 0x144]
push 4
lea edx, [esp + 0x24]
push edx
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0059fe40
test al, al
je 0x539785
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x538c51
nop
push 0x40
call fcn.005cc96d
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x13c], eax
je 0x5389de
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x13c], 1
call fcn.004441b0
jmp 0x5389e0
xor esi, esi
push 0x18
push esi
mov ecx, edi
mov dword [esp + 0x144], 0xffffffff
call fcn.0059fe40
push 4
lea ebx, [esi + 0x18]
push ebx
mov ecx, edi
call fcn.0059fe40
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
fcos
lea ecx, [esp + 0x68]
push ecx
push 0x224e358
lea ecx, [esp + 0xdc]
fld dword [esp + 0x18]
fsin
fld st(1)
fstp dword [esp + 0x2c]
fld st(0)
fchs
fstp dword [esp + 0x34]
fstp dword [esp + 0x4c]
fstp dword [esp + 0x54]
fld dword [esi + 0xc]
fsub dword [esi]
fstp dword [esp + 0x70]
fld dword [esi + 0x10]
fsub dword [esi + 4]
fstp dword [esp + 0x74]
fld dword [esi + 0x14]
fsub dword [esi + 8]
fstp dword [esp + 0x78]
call fcn.00537840
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea esp, [esp]
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.005a2490
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x538af0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov eax, dword [esi]
mov dword [esp + 0x54], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x58], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], edx
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea ecx, [ecx]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.005a2490
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x538bb0
lea ecx, [esi + 0x1c]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.005b2fa0
mov ecx, eax
call fcn.005b2fd0
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00537d80
mov ecx, dword [eax]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x3c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x538c1e
push 0xc
call fcn.005cc96d
add esp, 4
jmp 0x538c21
mov dword [ebp + 0x10], ecx
mov dword [eax], esi
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
mov edx, dword [ebp + 4]
mov dword [edx + 8], eax
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
inc esi
inc eax
cmp eax, ecx
mov dword [ebp + 0x18], esi
mov dword [esp + 0x1c], eax
jl 0x5389a0
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0059fe40
test al, al
je 0x539785
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x53909c
jmp 0x538c80
push 0x298
call fcn.005cc96d
mov ecx, dword [esp + 0x20]
add esp, 4
mov esi, eax
push 0x18
mov dword [esi], ecx
lea ebp, [esi + 4]
push ebp
mov ecx, edi
call fcn.0059fe40
push 4
lea ebx, [esi + 0x1c]
push ebx
mov ecx, edi
call fcn.0059fe40
push 0x100
lea edx, [esi + 0x20]
push edx
mov ecx, edi
call fcn.0059fe40
push 0xf8
lea eax, [esi + 0x120]
push eax
mov ecx, edi
call fcn.0059fe40
push 4
lea ecx, [esi + 0x220]
push ecx
mov ecx, edi
call fcn.0059fe40
push 4
lea edx, [esi + 0x224]
push edx
mov ecx, edi
call fcn.0059fe40
push 4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.0059fe40
push 4
lea ecx, [esi + 0x22c]
push ecx
mov ecx, edi
call fcn.0059fe40
push 4
lea edx, [esi + 0x230]
push edx
mov ecx, edi
call fcn.0059fe40
push 4
lea eax, [esi + 0x234]
push eax
mov ecx, edi
call fcn.0059fe40
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x18]
fcos
fld dword [esp + 0x18]
fsin
fld st(1)
fstp dword [esp + 0x24]
lea edx, [esp + 0x98]
push edx
fld st(0)
push 0x224e358
fchs
lea ecx, [esp + 0xdc]
fstp dword [esp + 0x34]
fstp dword [esp + 0x4c]
fstp dword [esp + 0x54]
fld dword [esi + 0x10]
fsub dword [ebp]
fstp dword [esp + 0xa0]
fld dword [esi + 0x14]
fsub dword [ebp + 4]
fstp dword [esp + 0xa4]
fld dword [esi + 0x18]
fsub dword [ebp + 8]
fstp dword [esp + 0xa8]
call fcn.00537840
lea eax, [esp + 0xd4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 8
lea ecx, [ecx]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.005a2490
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0xc
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x538e30
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov edx, dword [ebp]
mov dword [esp + 0x54], edx
mov eax, dword [ebp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xd4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 8
lea esp, [esp]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.005a2490
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0xc
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x538f00
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 0x238]
call fcn.005379d0
mov eax, dword [0x7198d0]
test eax, eax
jne 0x53904c
fld dword [esi + 0x10]
mov dword [esp + 0x6c], 0
fsub dword [ebp]
fld dword [esi + 0x14]
fsub dword [ebp + 4]
fld dword [esi + 0x18]
fsub dword [ebp + 8]
fstp dword [esp + 0xb4]
fxch st(1)
fmul dword [0x6bc860]
fstp dword [esp + 0xb8]
fmul dword [0x6bc860]
fld dword [esp + 0xb4]
fmul dword [0x6bc860]
fld dword [esp + 0xb8]
fadd dword [ebp]
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x80]
fxch st(1)
mov dword [esp + 0x74], edx
fadd dword [ebp + 4]
lea edx, [esp + 0x68]
push edx
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x7c], eax
fadd dword [ebp + 8]
mov eax, edx
push eax
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
fld dword [ebx]
mov dword [esp + 0x84], ecx
fld st(0)
fcos
fstp dword [esp + 0x1c]
fsin
fld dword [0x6bb5fc]
fmul st(1)
fadd dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x6bb5fc]
fsub st(2)
fstp dword [esp + 0x70]
fstp dword [esp + 0x78]
fstp st(0)
call fcn.005e40eb
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x7c]
push eax
push 0
mov ecx, 0x71d0f0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0xa4], 0
call fcn.00450560
mov ebx, dword [esp + 0xa4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x539069
push 0xc
call fcn.005cc96d
add esp, 4
jmp 0x53906c
mov dword [ebx + 0x10], ecx
mov dword [eax], esi
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov edx, dword [ebx + 4]
mov dword [edx + 8], eax
mov esi, dword [ebx + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x1c]
inc esi
inc eax
cmp eax, ecx
mov dword [ebx + 0x18], esi
mov dword [esp + 0x1c], eax
jl 0x538c80
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0059fe40
test al, al
je 0x539785
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x539389
push 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0059fe40
test al, al
je 0x539785
cmp dword [esp + 0x10], ebx
jle 0x53937b
push 0x68
call fcn.005cc96d
add esp, 4
cmp eax, ebx
je 0x5390ff
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x539101
xor esi, esi
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*8]
shl edx, 2
push edx
mov dword [esi], eax
call fcn.005cde20
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
jle 0x539175
xor ebp, ebp
mov eax, dword [esi + 4]
push 0x18
add eax, ebp
push eax
mov ecx, edi
call fcn.0059fe40
mov ecx, dword [esi + 4]
lea edx, [ecx + ebp + 0x18]
push 4
push edx
mov ecx, edi
call fcn.0059fe40
mov eax, dword [esi + 4]
lea ecx, [eax + ebp + 0x1c]
push 4
push ecx
mov ecx, edi
call fcn.0059fe40
mov edx, dword [esi + 4]
push 4
lea eax, [edx + ebp + 0x20]
push eax
mov ecx, edi
call fcn.0059fe40
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ebx
add ebp, 0x24
cmp ebx, eax
jl 0x539123
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x14], edx
fld dword [esp + 0x14]
fcos
lea ecx, [esp + 0xd4]
fld dword [esp + 0x14]
fsin
fld st(1)
fstp dword [esp + 0x24]
fld st(0)
fchs
fstp dword [esp + 0x2c]
fstp dword [esp + 0x44]
fstp dword [esp + 0x4c]
mov eax, dword [esi + 4]
fld dword [eax + 0xc]
fsub dword [eax]
fstp dword [esp + 0x74]
fld dword [eax + 0x10]
fsub dword [eax + 4]
fstp dword [esp + 0x78]
fld dword [eax + 0x14]
fsub dword [eax + 8]
lea eax, [esp + 0x74]
push eax
push 0x224e358
fstp dword [esp + 0x84]
call fcn.00537840
lea ebx, [esp + 0xd4]
mov ebp, 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.005a2490
add ebx, 0xc
dec ebp
jne 0x539266
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], edx
lea ebx, [esp + 0xd4]
mov ebp, 8
jmp 0x539320
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.005a2490
add ebx, 0xc
dec ebp
jne 0x539320
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 8]
call fcn.005379d0
mov ebx, dword [esp + 0xa8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x53935f
push 0xc
call fcn.005cc96d
add esp, 4
jmp 0x539362
mov dword [ebx + 0x10], ecx
mov dword [eax], esi
mov edx, dword [ebx + 4]
mov dword [eax + 8], ebx
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + 8], eax
mov dword [ebx + 4], eax
inc dword [ebx + 0x18]
xor ebx, ebx
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x20]
jl 0x5390c4
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0059fe40
test al, al
je 0x539785
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x539773
lea ecx, [ecx]
push 0x290
call fcn.005cc96d
add esp, 4
mov esi, eax
push 0x18
lea ebp, [esi + 0xc]
push ebp
mov ecx, edi
call fcn.0059fe40
push 4
lea ebx, [esi + 0x24]
push ebx
mov ecx, edi
call fcn.0059fe40
push 0x100
lea ecx, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.0059fe40
push 0x100
lea edx, [esi + 0x128]
push edx
mov ecx, edi
call fcn.0059fe40
push 4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.0059fe40
lea eax, [esi + 0x22c]
push 4
push eax
mov ecx, edi
call fcn.0059fe40
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x22c], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
fld dword [esp + 0x14]
fcos
lea eax, [esp + 0x74]
push eax
push 0x224e358
lea ecx, [esp + 0xdc]
fld dword [esp + 0x1c]
fsin
fld st(1)
fstp dword [esp + 0x2c]
fld st(0)
fchs
fstp dword [esp + 0x34]
fstp dword [esp + 0x4c]
fstp dword [esp + 0x54]
fld dword [esi + 0x18]
fsub dword [ebp]
fstp dword [esp + 0x7c]
fld dword [esi + 0x1c]
fsub dword [ebp + 4]
fstp dword [esp + 0x80]
fld dword [esi + 0x20]
fsub dword [ebp + 8]
fstp dword [esp + 0x84]
call fcn.00537840
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.005a2490
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x539517
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov edx, dword [ebp]
mov dword [esp + 0x54], edx
mov eax, dword [ebp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x5c], ecx
lea ebx, [esp + 0xd4]
mov ebp, 8
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.005a2490
add ebx, 0xc
dec ebp
jne 0x5395d2
lea eax, [esp + 0xd4]
lea ebx, [esi + 0x230]
push eax
mov ecx, ebx
call fcn.005379d0
fld dword [ebx]
fadd dword [esi + 0x23c]
fld dword [esi + 0x240]
fadd dword [ebx + 4]
fld dword [esi + 0x244]
fadd dword [ebx + 8]
mov ebx, dword [esp + 0x64]
add ebx, 0x5c
fstp dword [esp + 0xc0]
fxch st(1)
fadd dword [esi + 0x248]
fstp dword [esp + 0xac]
fadd dword [esi + 0x24c]
fld dword [esp + 0xc0]
fadd dword [esi + 0x250]
fld dword [esp + 0xac]
fadd dword [esi + 0x254]
fstp dword [esp + 0x8c]
fxch st(1)
fadd dword [esi + 0x258]
fstp dword [esp + 0x90]
fadd dword [esi + 0x25c]
fld dword [esp + 0x8c]
fadd dword [esi + 0x260]
fld dword [esp + 0x90]
fadd dword [esi + 0x264]
fstp dword [esp + 0x9c]
fxch st(1)
fadd dword [esi + 0x268]
fstp dword [esp + 0xa0]
fadd dword [esi + 0x26c]
fld dword [esp + 0x9c]
fadd dword [esi + 0x270]
fld dword [esp + 0xa0]
fadd dword [esi + 0x274]
fstp dword [esp + 0x88]
fxch st(1)
fadd dword [esi + 0x278]
fstp dword [esp + 0xc4]
fadd dword [esi + 0x27c]
fld dword [esp + 0x88]
fadd dword [esi + 0x280]
fld dword [esp + 0xc4]
fadd dword [esi + 0x284]
fstp dword [esp + 0x68]
fxch st(1)
fadd dword [esi + 0x288]
fstp dword [esp + 0x6c]
fadd dword [esi + 0x28c]
fld dword [esp + 0x68]
fmul dword [0x6bfde0]
fstp dword [esi]
fld dword [esp + 0x6c]
fmul dword [0x6bfde0]
fstp dword [esi + 4]
fmul dword [0x6bfde0]
fstp dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x539740
push 0xc
call fcn.005cc96d
add esp, 4
jmp 0x539743
mov dword [ebx + 0x10], ecx
mov dword [eax], esi
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov edx, dword [ebx + 4]
mov dword [edx + 8], eax
mov esi, dword [ebx + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x1c]
inc esi
inc eax
cmp eax, ecx
mov dword [ebx + 0x18], esi
mov dword [esp + 0x1c], eax
jl 0x5393b0
mov ebx, dword [esp + 0x64]
push 4
push ebx
mov ecx, edi
call fcn.0059fe40
test al, al
jne 0x53978c
xor al, al
jmp 0x5398e4
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
jle 0x5398db
push eax
mov ecx, ebx
call fcn.00537e20
cmp dword [ebx], esi
mov dword [esp + 0x18], esi
jle 0x5398db
lea esp, [esp]
mov eax, dword [ebx + 4]
lea ecx, [esi + eax + 0x18]
push 4
push ecx
mov ecx, edi
call fcn.0059fe40
mov edx, dword [ebx + 4]
push 4
lea eax, [esi + edx + 0x1c]
push eax
mov ecx, edi
call fcn.0059fe40
mov ecx, dword [ebx + 4]
add ecx, esi
push 0xc
push ecx
mov ecx, edi
call fcn.0059fe40
push 4
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call fcn.0059fe40
mov eax, dword [ebx + 4]
mov ecx, dword [0x70c3e4]
mov dword [esi + eax + 0xc], ecx
mov edx, dword [0x70c3e8]
mov dword [esi + eax + 0x10], edx
mov ecx, dword [0x70c3ec]
lea eax, [esi + eax + 0xc]
mov dword [eax + 8], ecx
fld dword [esp + 0x64]
fcos
mov edx, dword [ebx + 4]
lea eax, [esi + edx + 0xc]
push 4
fld dword [esp + 0x68]
fsin
fstp dword [esp + 0x18]
fld st(0)
fmul dword [eax + 8]
fld dword [esp + 0x18]
fmul dword [eax]
faddp st(1)
fxch st(1)
fmul dword [eax]
fld dword [esp + 0x18]
fmul dword [eax + 8]
fsubp st(1)
fstp dword [eax]
fstp dword [eax + 8]
mov eax, dword [ebx + 4]
lea ecx, [esi + eax + 0x20]
push ecx
mov ecx, edi
call fcn.0059fe40
mov edx, dword [ebx + 4]
mov eax, dword [esi + edx + 0x20]
test eax, eax
jle 0x5398c5
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.005cde20
mov ecx, dword [ebx + 4]
mov dword [esi + ecx + 0x24], eax
mov edx, dword [ebx + 4]
mov eax, dword [esi + edx + 0x20]
add esp, 4
xor ebp, ebp
test eax, eax
jle 0x5398bc
mov dword [esp + 0x10], ebp
lea esp, [esp]
mov eax, dword [ebx + 4]
mov ecx, dword [esi + eax + 0x24]
add ecx, dword [esp + 0x10]
push 0xc
push ecx
mov ecx, edi
call fcn.0059fe40
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [esi + edx + 0x20]
inc ebp
add ecx, 0xc
cmp ebp, eax
mov dword [esp + 0x10], ecx
jl 0x539890
mov eax, dword [ebx + 4]
mov ecx, dword [esi + eax + 0x20]
sub dword [ebx], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
inc eax
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x5397b0
mov ecx, ebx
call fcn.00538500
mov al, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret 4