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

Disassembly:
push 0xffffffffffffffff
push 0x69eb3c
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.00527c90
lea ecx, [esi + 0x24]
mov dword [esp + 0xa4], ecx
call fcn.005278d0
lea ecx, [esi + 0x40]
mov dword [esp + 0xa8], ecx
call fcn.00527ad0
lea ecx, [esi + 0x5c]
call fcn.005278d0
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x527dd0
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x409160
push ecx
push 0x28
push eax
call fcn.005b93bb
push edi
call fcn.005b89dd
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.0058bed0
test al, al
je 0x528be5
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x5280b1
nop
push 0x40
call fcn.005b8072
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x13c], eax
je 0x527e3e
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.0058bfb0
jmp 0x527e40
xor esi, esi
push 0x18
push esi
mov ecx, edi
mov dword [esp + 0x144], 0xffffffff
call fcn.0058bed0
push 4
lea ebx, [esi + 0x18]
push ebx
mov ecx, edi
call fcn.0058bed0
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 0x223489c
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.00526ca0
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea esp, [esp]
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.0058e490
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x527f50
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.0058e490
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x528010
lea ecx, [esi + 0x1c]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.0059ec20
mov ecx, eax
call fcn.0059ec50
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00526e40
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 0x52807e
push 0xc
call fcn.005b8072
add esp, 4
jmp 0x528081
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 0x527e00
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0058bed0
test al, al
je 0x528be5
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x5284fc
jmp 0x5280e0
push 0x298
call fcn.005b8072
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.0058bed0
push 4
lea ebx, [esi + 0x1c]
push ebx
mov ecx, edi
call fcn.0058bed0
push pe_nt_image_headers32
lea edx, [esi + 0x20]
push edx
mov ecx, edi
call fcn.0058bed0
push 0xf8
lea eax, [esi + 0x120]
push eax
mov ecx, edi
call fcn.0058bed0
push 4
lea ecx, [esi + 0x220]
push ecx
mov ecx, edi
call fcn.0058bed0
push 4
lea edx, [esi + 0x224]
push edx
mov ecx, edi
call fcn.0058bed0
push 4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.0058bed0
push 4
lea ecx, [esi + 0x22c]
push ecx
mov ecx, edi
call fcn.0058bed0
push 4
lea edx, [esi + 0x230]
push edx
mov ecx, edi
call fcn.0058bed0
push 4
lea eax, [esi + 0x234]
push eax
mov ecx, edi
call fcn.0058bed0
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 0x223489c
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.00526ca0
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.0058e490
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 0x528290
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.0058e490
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 0x528360
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 0x238]
call fcn.00526da0
mov eax, dword [0x703a90]
test eax, eax
jne 0x5284ac
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 [0x6a84d0]
fstp dword [esp + 0xb8]
fmul dword [0x6a84d0]
fld dword [esp + 0xb4]
fmul dword [0x6a84d0]
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 [0x6a75fc]
fmul st(1)
fadd dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x6a75fc]
fsub st(2)
fstp dword [esp + 0x70]
fstp dword [esp + 0x78]
fstp st(0)
call fcn.005cf7eb
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x7c]
push eax
push 0
mov ecx, 0x7072a0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0xa4], 0
call fcn.0044f100
mov ebx, dword [esp + 0xa4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5284c9
push 0xc
call fcn.005b8072
add esp, 4
jmp 0x5284cc
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 0x5280e0
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0058bed0
test al, al
je 0x528be5
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x5287e9
push 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0058bed0
test al, al
je 0x528be5
cmp dword [esp + 0x10], ebx
jle 0x5287db
push 0x68
call fcn.005b8072
add esp, 4
cmp eax, ebx
je 0x52855f
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x528561
xor esi, esi
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*8]
shl edx, 2
push edx
mov dword [esi], eax
call fcn.005b951f
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
jle 0x5285d5
xor ebp, ebp
mov eax, dword [esi + 4]
push 0x18
add eax, ebp
push eax
mov ecx, edi
call fcn.0058bed0
mov ecx, dword [esi + 4]
lea edx, [ecx + ebp + 0x18]
push 4
push edx
mov ecx, edi
call fcn.0058bed0
mov eax, dword [esi + 4]
lea ecx, [eax + ebp + 0x1c]
push 4
push ecx
mov ecx, edi
call fcn.0058bed0
mov edx, dword [esi + 4]
push 4
lea eax, [edx + ebp + 0x20]
push eax
mov ecx, edi
call fcn.0058bed0
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ebx
add ebp, 0x24
cmp ebx, eax
jl 0x528583
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 0x223489c
fstp dword [esp + 0x84]
call fcn.00526ca0
lea ebx, [esp + 0xd4]
mov ebp, 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0058e490
add ebx, 0xc
dec ebp
jne 0x5286c6
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 0x528780
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0058e490
add ebx, 0xc
dec ebp
jne 0x528780
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 8]
call fcn.00526da0
mov ebx, dword [esp + 0xa8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5287bf
push 0xc
call fcn.005b8072
add esp, 4
jmp 0x5287c2
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 0x528524
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0058bed0
test al, al
je 0x528be5
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x528bd3
lea ecx, [ecx]
push 0x290
call fcn.005b8072
add esp, 4
mov esi, eax
push 0x18
lea ebp, [esi + 0xc]
push ebp
mov ecx, edi
call fcn.0058bed0
push 4
lea ebx, [esi + 0x24]
push ebx
mov ecx, edi
call fcn.0058bed0
push pe_nt_image_headers32
lea ecx, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.0058bed0
push pe_nt_image_headers32
lea edx, [esi + 0x128]
push edx
mov ecx, edi
call fcn.0058bed0
push 4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.0058bed0
lea eax, [esi + 0x22c]
push 4
push eax
mov ecx, edi
call fcn.0058bed0
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 0x223489c
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.00526ca0
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0058e490
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x528977
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.0058e490
add ebx, 0xc
dec ebp
jne 0x528a32
lea eax, [esp + 0xd4]
lea ebx, [esi + 0x230]
push eax
mov ecx, ebx
call fcn.00526da0
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 [0x6ab7fc]
fstp dword [esi]
fld dword [esp + 0x6c]
fmul dword [0x6ab7fc]
fstp dword [esi + 4]
fmul dword [0x6ab7fc]
fstp dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x528ba0
push 0xc
call fcn.005b8072
add esp, 4
jmp 0x528ba3
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 0x528810
mov ebx, dword [esp + 0x64]
push 4
push ebx
mov ecx, edi
call fcn.0058bed0
test al, al
jne 0x528bec
xor al, al
jmp 0x528d44
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
jle 0x528d3b
push eax
mov ecx, ebx
call fcn.00526ee0
cmp dword [ebx], esi
mov dword [esp + 0x18], esi
jle 0x528d3b
lea esp, [esp]
mov eax, dword [ebx + 4]
lea ecx, [esi + eax + 0x18]
push 4
push ecx
mov ecx, edi
call fcn.0058bed0
mov edx, dword [ebx + 4]
push 4
lea eax, [esi + edx + 0x1c]
push eax
mov ecx, edi
call fcn.0058bed0
mov ecx, dword [ebx + 4]
add ecx, esi
push 0xc
push ecx
mov ecx, edi
call fcn.0058bed0
push 4
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call fcn.0058bed0
mov eax, dword [ebx + 4]
mov ecx, dword [0x6f66f8]
mov dword [esi + eax + 0xc], ecx
mov edx, dword [0x6f66fc]
mov dword [esi + eax + 0x10], edx
mov ecx, dword [0x6f6700]
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.0058bed0
mov edx, dword [ebx + 4]
mov eax, dword [esi + edx + 0x20]
test eax, eax
jle 0x528d25
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.005b951f
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 0x528d1c
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.0058bed0
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 0x528cf0
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 0x528c10
mov ecx, ebx
call fcn.00527960
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