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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x616798]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
jne 0x5117f9
call fcn.005619b8
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [0x6192d0]
push 0
push 0
push 0xff000000
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push esi
push dword [eax + 0x2a3d8]
call fcn.0040921a
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xb4]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xf8]
mov dword [ebx + 0x108], eax
mov eax, dword [ebp - 0x98]
push 0
mov dword [ebx + 0x10c], eax
mov eax, dword [ebp - 0xd8]
push 0
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push edi
mov ecx, ebx
call fcn.00513160
mov ecx, ebx
call fcn.005132f0
mov edx, dword [ebx + 0x10c]
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
test edx, edx
jle 0x511dd3
mov edi, dword [ebp - 0xf8]
xor esi, esi
mov eax, edi
mov dword [ebp - 0xc8], esi
imul eax, ecx
add eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xc4], eax
cmp eax, edx
jge 0x5118d2
mov esi, eax
imul esi, edi
add esi, dword [ebp - 0xf4]
mov dword [ebp - 0xc8], esi
mov eax, dword [ebx + 0x124]
lea edx, [ebp - 0xb8]
push 0
push edx
push 0
mov eax, dword [eax + ecx*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x5125ec
mov edx, dword [ebx + 0x108]
test edx, edx
jle 0x511da4
lea ecx, [esi + 4]
xor edi, edi
mov dword [ebp - 0xcc], ecx
mov eax, 1
mov ecx, dword [ebp - 0xe0]
sub ecx, esi
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0xcc]
nop
mov esi, dword [ebp - 0xe0]
movzx esi, byte [esi]
mov dword [ebp - 0xe4], esi
cmp eax, edx
jge 0x511955
mov esi, dword [ebp - 0xec]
movzx esi, byte [esi + ecx]
mov dword [ebp - 0xd0], esi
jmp 0x51195f
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xc8], 0
je 0x511981
movzx esi, byte [ecx - 4]
mov dword [ebp - 0xd4], esi
cmp eax, edx
jge 0x51198b
movzx ecx, byte [ecx]
mov dword [ebp - 0xdc], ecx
jmp 0x511995
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xdc], 0
push dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xbc]
lea esi, [eax - 1]
push esi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xbc]
movq xmm0, qword [eax]
movq qword [edi + ecx], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 8], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xe4]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0xc], xmm0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0xbc]
mov dword [edi + ecx + 0x14], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd4]
push esi
push dword [ebp - 0xc4]
mov dword [edi + ecx + 0x18], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x1c], 0
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x20], 0
lea eax, [ebp - 0x34]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xc4]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0x24], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 0x2c], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd4]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0x30], xmm0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0xc4]
mov dword [edi + ecx + 0x38], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd0]
push dword [ebp - 0xc0]
mov dword [edi + ecx + 0x3c], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov dword [edi + eax + 0x40], 0
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x44], 0x3f800000
lea eax, [ebp - 0x4c]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0x48], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xc0]
mov dword [edi + ecx + 0x50], eax
lea eax, [ebp - 0x58]
push dword [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd0]
movq xmm0, qword [eax]
push dword [ebp - 0xc0]
movq qword [edi + ecx + 0x54], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xbc]
mov dword [edi + ecx + 0x5c], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
push dword [ebp - 0xc0]
mov dword [edi + ecx + 0x60], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xc4]
mov dword [edi + eax + 0x64], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x68], 0
lea eax, [ebp - 0x64]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
push dword [ebp - 0xc4]
movq qword [edi + ecx + 0x6c], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 0x74], eax
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
movq xmm0, qword [eax]
push dword [ebp - 0xc0]
movq qword [edi + ecx + 0x78], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xc4]
mov dword [edi + ecx + 0x80], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd0]
push dword [ebp - 0xc0]
mov dword [edi + ecx + 0x84], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov dword [edi + eax + 0x88], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x8c], 0x3f800000
lea eax, [ebp - 0x7c]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
push dword [ebp - 0xbc]
movq qword [edi + ecx + 0x90], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 0x98], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd0]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0x9c], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 0xa4], eax
push dword [ebp - 0xc0]
mov ecx, ebx
push dword [ebp - 0xbc]
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd4]
push esi
push dword [ebp - 0xc4]
mov dword [edi + ecx + 0xa8], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0xac], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0xb0], 0
lea eax, [ebp - 0x94]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xc4]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0xb4], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 0xbc], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd4]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0xc0], xmm0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0xc4]
mov dword [edi + ecx + 0xc8], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
add dword [ebp - 0xe0], 4
mov dword [edi + ecx + 0xcc], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xcc]
add ecx, 4
mov dword [ebp - 0xcc], ecx
mov dword [edi + eax + 0xd0], 0
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0xd4], 0x3f800000
add edi, 0xd8
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebx + 0x108]
inc eax
mov dword [ebp - 0xc0], eax
cmp eax, edx
jle 0x511930
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebx + 0x10c]
mov dword [ebp - 0xbc], ecx
cmp ecx, edx
jl 0x511895
mov eax, dword [ebp - 0xd8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [ebp - 0xd8]
test ecx, ecx
je 0x511dfb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xd8], 0
mov ecx, ebx
call fcn.00511300
mov ecx, dword [ebx + 0x10c]
xor esi, esi
mov dword [ebp - 0xcc], esi
test ecx, ecx
jle 0x511f51
cmp dword [ebx + 0x120], 0
mov dword [ebp - 0xc8], 0
jle 0x511f3c
xor edi, edi
mov eax, dword [ebx + 0x124]
lea edx, [ebp - 0xb8]
push 0
push edx
push 0
mov eax, dword [eax + esi*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x5125ec
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xcc]
movq xmm0, qword [edi + eax]
mov esi, dword [edi + eax + 8]
mov eax, dword [ebx + 0x124]
movq qword [ebp - 0xf0], xmm0
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp - 0xf0]
sub esp, 0xc
mov eax, esp
mov ecx, ebx
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, 0x2aaaaaab
imul dword [ebp - 0xc8]
mov esi, dword [ebp - 0xcc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00513400
push 0
lea edx, [ebp - 0xb8]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebx + 0x124]
push 0
push 0
movq qword [ebp - 0xe8], xmm0
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x5125ec
mov eax, dword [ebp - 0xb8]
movq xmm0, qword [ebp - 0xe8]
mov ecx, dword [ebp - 0xec]
movq qword [edi + eax + 0xc], xmm0
mov dword [edi + eax + 0x14], ecx
mov eax, dword [ebx + 0x124]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc8]
add edi, 0x24
inc eax
mov dword [ebp - 0xc8], eax
cmp eax, dword [ebx + 0x120]
jl 0x511e31
mov ecx, dword [ebx + 0x10c]
inc esi
mov dword [ebp - 0xcc], esi
cmp esi, ecx
jl 0x511e18
mov eax, dword [ebx + 0x108]
mov edx, 0x1c
imul eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00554c77
xor edi, edi
mov dword [ebx + 0x11c], eax
add esp, 4
cmp dword [ebx + 0x10c], edi
jle 0x51204f
nop word [eax + eax]
xor esi, esi
cmp dword [ebx + 0x108], esi
jle 0x512042
nop
xor edx, edx
mov ecx, dword [ebx + 0x108]
imul ecx, edi
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [ebx + 0x11c]
mov byte [ecx + eax], 0
mov ecx, dword [ebx + 0x108]
imul ecx, edi
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [ebx + 0x11c]
mov byte [ecx + eax + 1], 0
mov ecx, dword [ebx + 0x108]
imul ecx, edi
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [ebx + 0x11c]
mov byte [ecx + eax + 2], 0
mov ecx, dword [ebx + 0x108]
imul ecx, edi
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [ebx + 0x11c]
add edx, 4
mov byte [ecx + eax + 3], 0
cmp edx, 0x1c
jl 0x511fa2
inc esi
cmp esi, dword [ebx + 0x108]
jl 0x511fa0
inc edi
cmp edi, dword [ebx + 0x10c]
jl 0x511f90
push 4
call fcn.005619d9
mov edx, dword [ebx + 0x10c]
xor ecx, ecx
add esp, 4
mov dword [ebp - 0xe4], ecx
test edx, edx
jle 0x5120eb
lea eax, [ebx + 0x1d4]
mov dword [ebp - 0xc8], eax
nop dword [eax + eax]
xor edi, edi
cmp dword [ebx + 0x108], edi
jle 0x5120cf
mov esi, eax
nop dword [eax]
call fcn.005619b8
xorps xmm1, xmm1
inc edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5bc054]
divss xmm0, dword [0x5bcef0]
addss xmm0, xmm1
movss dword [esi], xmm0
add esi, 4
cmp edi, dword [ebx + 0x108]
jl 0x512090
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebx + 0x10c]
inc ecx
add eax, 0x100
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xc8], eax
cmp ecx, edx
jl 0x512080
xor esi, esi
mov dword [ebp - 0xc4], esi
test edx, edx
jle 0x5125ec
nop dword [eax + eax]
mov eax, dword [ebx + 0x128]
lea edx, [ebp - 0xb8]
push 0
push edx
push 0
mov eax, dword [eax + esi*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x5125ec
xor eax, eax
mov dword [ebp - 0xc0], eax
cmp dword [ebx + 0x108], eax
jle 0x5125ca
xor edi, edi
mov dword [ebp - 0xbc], edi
push 0
push eax
push esi
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
movq qword [edi + ecx], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 8], eax
mov ecx, ebx
call fcn.00512600
mov eax, dword [ebp - 0xb8]
mov ecx, ebx
push dword [ebp - 0xc0]
push esi
fstp dword [edi + eax + 4]
lea eax, [ebp - 0x94]
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push 0
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
movq qword [edi + ecx + 0xc], xmm0
mov eax, dword [eax + 8]
mov dword [edi + ecx + 0x14], eax
mov ecx, ebx
push esi
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
push 0
push dword [ebp - 0xc0]
mov dword [edi + ecx + 0x18], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x1c], 0
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0x20], 0
lea edi, [esi + 1]
push edi
lea eax, [ebp - 0x88]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xbc]
push edi
movq xmm0, qword [eax]
push dword [ebp - 0xc0]
movq qword [esi + ecx + 0x48], xmm0
mov eax, dword [eax + 8]
mov dword [esi + ecx + 0x50], eax
mov ecx, ebx
call fcn.00512600
mov eax, dword [ebp - 0xb8]
mov ecx, ebx
push dword [ebp - 0xc0]
push edi
fstp dword [esi + eax + 0x4c]
lea eax, [ebp - 0x7c]
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
push 0
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
movq qword [esi + ecx + 0x54], xmm0
mov eax, dword [eax + 8]
mov dword [esi + ecx + 0x5c], eax
mov ecx, ebx
push edi
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
mov dword [esi + ecx + 0x60], eax
mov eax, dword [ebp - 0xb8]
mov dword [esi + eax + 0x64], 0
mov eax, dword [ebp - 0xb8]
mov dword [esi + eax + 0x68], 0x3f800000
mov ecx, ebx
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x70]
push 0
inc esi
push esi
push dword [ebp - 0xc4]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push dword [ebp - 0xc4]
movq xmm0, qword [eax]
push esi
movq qword [edx + ecx + 0x24], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x2c], eax
mov ecx, ebx
call fcn.00512600
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
push esi
push dword [ebp - 0xc4]
fstp dword [ecx + eax + 0x28]
lea eax, [ebp - 0x64]
mov ecx, ebx
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
movq xmm0, qword [eax]
push esi
push dword [ebp - 0xc4]
movq qword [edx + ecx + 0x30], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x38], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
push esi
push edi
mov dword [edx + ecx + 0x3c], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0x40], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0x44], 0
lea eax, [ebp - 0x58]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push edi
movq xmm0, qword [eax]
push esi
movq qword [edx + ecx + 0x6c], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x74], eax
mov ecx, ebx
call fcn.00512600
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
push esi
push edi
fstp dword [ecx + eax + 0x70]
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
movq xmm0, qword [eax]
push esi
movq qword [edx + ecx + 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x80], eax
push edi
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
push esi
push dword [ebp - 0xc4]
mov dword [edx + ecx + 0x84], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0x88], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0x8c], 0x3f800000
lea eax, [ebp - 0x40]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push dword [ebp - 0xc4]
movq xmm0, qword [eax]
push esi
movq qword [edx + ecx + 0xb4], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xbc], eax
mov ecx, ebx
call fcn.00512600
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
push esi
push dword [ebp - 0xc4]
fstp dword [ecx + eax + 0xb8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
movq xmm0, qword [eax]
push esi
push dword [ebp - 0xc4]
movq qword [edx + ecx + 0xc0], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xc8], eax
mov ecx, ebx
call fcn.00512990
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
push dword [ebp - 0xc0]
mov dword [edx + ecx + 0xcc], eax
mov ecx, ebx
mov eax, dword [ebp - 0xb8]
push edi
mov dword [edx + eax + 0xd0], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0xd4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.005129e0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push edi
movq xmm0, qword [eax]
push dword [ebp - 0xc0]
movq qword [edx + ecx + 0x90], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x98], eax
mov ecx, ebx
call fcn.00512600
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push edi
fstp dword [ecx + eax + 0x94]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.005129a0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
movq xmm0, qword [eax]
push 0
push dword [ebp - 0xc0]
movq qword [edx + ecx + 0x9c], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xa4], eax
mov ecx, ebx
push edi
call fcn.00512990
mov edi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
mov dword [edi + ecx + 0xa8], eax
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0xac], 0
mov eax, dword [ebp - 0xb8]
mov dword [edi + eax + 0xb0], 0x3f800000
mov eax, esi
mov esi, dword [ebp - 0xc4]
add edi, 0xd8
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edi
cmp eax, dword [ebx + 0x108]
jl 0x512140
mov eax, dword [ebx + 0x128]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
inc esi
mov dword [ebp - 0xc4], esi
cmp esi, dword [ebx + 0x10c]
jl 0x512100
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005548c1
mov esp, ebp
pop ebp
ret 0xc