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

Disassembly:
push 0xffffffffffffffff
push 0x6a09bc
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.00522960
lea ecx, [esi + 0x24]
mov dword [esp + 0xa4], ecx
call fcn.00526f80
lea ecx, [esi + 0x40]
mov dword [esp + 0xa8], ecx
call fcn.005227a0
lea ecx, [esi + 0x5c]
call fcn.00526f80
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x522aa0
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x4093a0
push ecx
push 0x28
push eax
call fcn.005bb24b
push edi
call fcn.005ba86d
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.0058dd50
test al, al
je 0x5238b5
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x522d81
nop
push 0x40
call fcn.005b9e72
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x13c], eax
je 0x522b0e
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.0059e710
jmp 0x522b10
xor esi, esi
push 0x18
push esi
mov ecx, edi
mov dword [esp + 0x144], 0xffffffff
call fcn.0058dd50
push 4
lea ebx, [esi + 0x18]
push ebx
mov ecx, edi
call fcn.0058dd50
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 0x2237904
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.00521980
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea esp, [esp]
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.00590300
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x522c20
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.00590300
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x522ce0
lea ecx, [esi + 0x1c]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.005a0a90
mov ecx, eax
call fcn.005a0ac0
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00521b20
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 0x522d4e
push 0xc
call fcn.005b9e72
add esp, 4
jmp 0x522d51
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 0x522ad0
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0058dd50
test al, al
je 0x5238b5
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x5231cc
jmp 0x522db0
push 0x298
call fcn.005b9e72
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.0058dd50
push 4
lea ebx, [esi + 0x1c]
push ebx
mov ecx, edi
call fcn.0058dd50
push pe_nt_image_headers32
lea edx, [esi + 0x20]
push edx
mov ecx, edi
call fcn.0058dd50
push 0xf8
lea eax, [esi + 0x120]
push eax
mov ecx, edi
call fcn.0058dd50
push 4
lea ecx, [esi + 0x220]
push ecx
mov ecx, edi
call fcn.0058dd50
push 4
lea edx, [esi + 0x224]
push edx
mov ecx, edi
call fcn.0058dd50
push 4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.0058dd50
push 4
lea ecx, [esi + 0x22c]
push ecx
mov ecx, edi
call fcn.0058dd50
push 4
lea edx, [esi + 0x230]
push edx
mov ecx, edi
call fcn.0058dd50
push 4
lea eax, [esi + 0x234]
push eax
mov ecx, edi
call fcn.0058dd50
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 0x2237904
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.00521980
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.00590300
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 0x522f60
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.00590300
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 0x523030
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 0x238]
call fcn.00521a80
mov eax, dword [0x705dd0]
test eax, eax
jne 0x52317c
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 [0x6a95b8]
fstp dword [esp + 0xb8]
fmul dword [0x6a95b8]
fld dword [esp + 0xb4]
fmul dword [0x6a95b8]
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 [0x6a867c]
fmul st(1)
fadd dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x6a867c]
fsub st(2)
fstp dword [esp + 0x70]
fstp dword [esp + 0x78]
fstp st(0)
call fcn.005d19bf
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x7c]
push eax
push 0
mov ecx, 0x7095e0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0xa4], 0
call fcn.0044f450
mov ebx, dword [esp + 0xa4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x523199
push 0xc
call fcn.005b9e72
add esp, 4
jmp 0x52319c
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 0x522db0
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0058dd50
test al, al
je 0x5238b5
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x5234b9
push 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0058dd50
test al, al
je 0x5238b5
cmp dword [esp + 0x10], ebx
jle 0x5234ab
push 0x68
call fcn.005b9e72
add esp, 4
cmp eax, ebx
je 0x52322f
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x523231
xor esi, esi
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*8]
shl edx, 2
push edx
mov dword [esi], eax
call fcn.005bb3af
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
jle 0x5232a5
xor ebp, ebp
mov eax, dword [esi + 4]
push 0x18
add eax, ebp
push eax
mov ecx, edi
call fcn.0058dd50
mov ecx, dword [esi + 4]
lea edx, [ecx + ebp + 0x18]
push 4
push edx
mov ecx, edi
call fcn.0058dd50
mov eax, dword [esi + 4]
lea ecx, [eax + ebp + 0x1c]
push 4
push ecx
mov ecx, edi
call fcn.0058dd50
mov edx, dword [esi + 4]
push 4
lea eax, [edx + ebp + 0x20]
push eax
mov ecx, edi
call fcn.0058dd50
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ebx
add ebp, 0x24
cmp ebx, eax
jl 0x523253
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 0x2237904
fstp dword [esp + 0x84]
call fcn.00521980
lea ebx, [esp + 0xd4]
mov ebp, 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00590300
add ebx, 0xc
dec ebp
jne 0x523396
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 0x523450
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.00590300
add ebx, 0xc
dec ebp
jne 0x523450
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 8]
call fcn.00521a80
mov ebx, dword [esp + 0xa8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x52348f
push 0xc
call fcn.005b9e72
add esp, 4
jmp 0x523492
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 0x5231f4
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0058dd50
test al, al
je 0x5238b5
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x5238a3
lea ecx, [ecx]
push 0x290
call fcn.005b9e72
add esp, 4
mov esi, eax
push 0x18
lea ebp, [esi + 0xc]
push ebp
mov ecx, edi
call fcn.0058dd50
push 4
lea ebx, [esi + 0x24]
push ebx
mov ecx, edi
call fcn.0058dd50
push pe_nt_image_headers32
lea ecx, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.0058dd50
push pe_nt_image_headers32
lea edx, [esi + 0x128]
push edx
mov ecx, edi
call fcn.0058dd50
push 4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.0058dd50
lea eax, [esi + 0x22c]
push 4
push eax
mov ecx, edi
call fcn.0058dd50
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 0x2237904
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.00521980
lea ebx, [esp + 0xd4]
mov dword [esp + 0x18], 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00590300
mov eax, dword [esp + 0x18]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], eax
jne 0x523647
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.00590300
add ebx, 0xc
dec ebp
jne 0x523702
lea eax, [esp + 0xd4]
lea ebx, [esi + 0x230]
push eax
mov ecx, ebx
call fcn.00521a80
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 [0x6ac8e4]
fstp dword [esi]
fld dword [esp + 0x6c]
fmul dword [0x6ac8e4]
fstp dword [esi + 4]
fmul dword [0x6ac8e4]
fstp dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x523870
push 0xc
call fcn.005b9e72
add esp, 4
jmp 0x523873
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 0x5234e0
mov ebx, dword [esp + 0x64]
push 4
push ebx
mov ecx, edi
call fcn.0058dd50
test al, al
jne 0x5238bc
xor al, al
jmp 0x523a14
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
jle 0x523a0b
push eax
mov ecx, ebx
call fcn.00521bc0
cmp dword [ebx], esi
mov dword [esp + 0x18], esi
jle 0x523a0b
lea esp, [esp]
mov eax, dword [ebx + 4]
lea ecx, [esi + eax + 0x18]
push 4
push ecx
mov ecx, edi
call fcn.0058dd50
mov edx, dword [ebx + 4]
push 4
lea eax, [esi + edx + 0x1c]
push eax
mov ecx, edi
call fcn.0058dd50
mov ecx, dword [ebx + 4]
add ecx, esi
push 0xc
push ecx
mov ecx, edi
call fcn.0058dd50
push 4
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call fcn.0058dd50
mov eax, dword [ebx + 4]
mov ecx, dword [0x6f8a18]
mov dword [esi + eax + 0xc], ecx
mov edx, dword [0x6f8a1c]
mov dword [esi + eax + 0x10], edx
mov ecx, dword [0x6f8a20]
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.0058dd50
mov edx, dword [ebx + 4]
mov eax, dword [esi + edx + 0x20]
test eax, eax
jle 0x5239f5
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.005bb3af
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 0x5239ec
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.0058dd50
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 0x5239c0
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 0x5238e0
mov ecx, ebx
call fcn.00522630
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