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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x62b768]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x511cb9
call fcn.00569587
mov ecx, dword [edi + 0x120]
test ecx, ecx
je 0x511cd3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x120], 0
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [0x62e368]
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.00408a02
mov eax, dword [ebp - 0xe0]
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 - 0xfc]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x98]
push 0
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0xe0]
push 0
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push ebx
mov ecx, edi
call fcn.005136f0
mov ecx, edi
call fcn.00513880
mov edx, dword [edi + 0x10c]
xor ecx, ecx
mov dword [ebp - 0xc0], ecx
test edx, edx
jle 0x5122bd
nop
mov ebx, dword [ebp - 0xfc]
xor esi, esi
mov eax, ebx
mov dword [ebp - 0xc8], esi
imul eax, ecx
add eax, dword [ebp - 0xf8]
mov dword [ebp - 0xec], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xbc], eax
cmp eax, edx
jge 0x511dad
mov esi, eax
imul esi, ebx
add esi, dword [ebp - 0xf8]
mov dword [ebp - 0xc8], esi
mov eax, dword [edi + 0x128]
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 0x512b4f
mov edx, dword [edi + 0x108]
test edx, edx
jle 0x51228e
lea ecx, [esi + 4]
xor ebx, ebx
mov dword [ebp - 0xcc], ecx
mov eax, 1
mov ecx, dword [ebp - 0xec]
sub ecx, esi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xcc]
nop dword [eax]
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0xd0], eax
movzx esi, byte [esi]
mov dword [ebp - 0xe4], esi
cmp eax, edx
jge 0x511e3b
mov esi, dword [ebp - 0xf0]
movzx esi, byte [esi + ecx]
mov dword [ebp - 0xd8], esi
jmp 0x511e45
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0xc8], 0
je 0x511e67
movzx esi, byte [ecx - 4]
mov dword [ebp - 0xdc], esi
cmp eax, edx
jge 0x511e71
movzx ecx, byte [ecx]
mov dword [ebp - 0xe8], ecx
jmp 0x511e7b
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe8], 0
push dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xc0]
lea esi, [eax - 1]
push esi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
movq qword [ebx + ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + ecx + 8], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xe4]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0xc], xmm0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0xc0]
mov dword [ebx + ecx + 0x14], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
push esi
push dword [ebp - 0xbc]
mov dword [ebx + ecx + 0x18], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0x1c], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0x20], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xbc]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0x24], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + ecx + 0x2c], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0x30], xmm0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0xbc]
mov dword [ebx + ecx + 0x38], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd8]
push dword [ebp - 0xc4]
mov dword [ebx + ecx + 0x3c], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
mov dword [ebx + eax + 0x40], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0x44], 0x3f800000
lea eax, [ebp - 0x4c]
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0x48], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xc4]
mov dword [ebx + ecx + 0x50], eax
lea eax, [ebp - 0x58]
push dword [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd8]
movq xmm0, qword [eax]
push dword [ebp - 0xc4]
movq qword [ebx + ecx + 0x54], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xc0]
mov dword [ebx + ecx + 0x5c], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xe8]
push dword [ebp - 0xc4]
mov dword [ebx + ecx + 0x60], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov dword [ebx + eax + 0x64], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0x68], 0
lea eax, [ebp - 0x64]
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xc4]
movq xmm0, qword [eax]
push dword [ebp - 0xbc]
movq qword [ebx + ecx + 0x6c], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + ecx + 0x74], eax
lea eax, [ebp - 0x70]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xe8]
movq xmm0, qword [eax]
push dword [ebp - 0xc4]
movq qword [ebx + ecx + 0x78], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xbc]
mov dword [ebx + ecx + 0x80], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd8]
push dword [ebp - 0xc4]
mov dword [ebx + ecx + 0x84], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
mov dword [ebx + eax + 0x88], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0x8c], 0x3f800000
lea eax, [ebp - 0x7c]
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xc4]
movq xmm0, qword [eax]
push dword [ebp - 0xc0]
movq qword [ebx + ecx + 0x90], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + ecx + 0x98], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xd8]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0x9c], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + ecx + 0xa4], eax
push dword [ebp - 0xc4]
mov ecx, edi
push dword [ebp - 0xc0]
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
push esi
push dword [ebp - 0xbc]
mov dword [ebx + ecx + 0xa8], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0xac], 0x3f800000
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0xb0], 0
lea eax, [ebp - 0x94]
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push esi
push dword [ebp - 0xbc]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0xb4], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + ecx + 0xbc], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
movq xmm0, qword [eax]
movq qword [ebx + ecx + 0xc0], xmm0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0xbc]
mov dword [ebx + ecx + 0xc8], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
add dword [ebp - 0xec], 4
mov dword [ebx + ecx + 0xcc], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xcc]
add ecx, 4
mov dword [ebp - 0xcc], ecx
mov dword [ebx + eax + 0xd0], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebx + eax + 0xd4], 0x3f800000
add ebx, 0xd8
mov eax, dword [ebp - 0xc4]
mov edx, dword [edi + 0x108]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xd0], edx
jl 0x511e10
mov eax, dword [edi + 0x128]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [edi + 0x10c]
mov dword [ebp - 0xc0], ecx
cmp ecx, edx
jl 0x511d70
mov eax, dword [ebp - 0xe0]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x5122e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, edi
call fcn.005117d0
mov ecx, dword [edi + 0x10c]
xor esi, esi
mov dword [ebp - 0xcc], esi
test ecx, ecx
jle 0x512440
cmp dword [edi + 0x124], 0
mov dword [ebp - 0xc8], 0
jle 0x51242b
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 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 0x512b4f
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xcc]
movq xmm0, qword [ebx + eax]
mov esi, dword [ebx + eax + 8]
mov eax, dword [edi + 0x128]
movq qword [ebp - 0xd4], xmm0
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp - 0xd4]
sub esp, 0xc
mov eax, esp
mov ecx, edi
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.00513990
push 0
lea edx, [ebp - 0xb8]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 0x128]
push 0
push 0
movq qword [ebp - 0xf4], xmm0
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x512b4f
mov eax, dword [ebp - 0xb8]
movq xmm0, qword [ebp - 0xf4]
mov ecx, dword [ebp - 0xd0]
movq qword [ebx + eax + 0xc], xmm0
mov dword [ebx + eax + 0x14], ecx
mov eax, dword [edi + 0x128]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc8]
add ebx, 0x24
inc eax
mov dword [ebp - 0xc8], eax
cmp eax, dword [edi + 0x124]
jl 0x512320
mov ecx, dword [edi + 0x10c]
inc esi
mov dword [ebp - 0xcc], esi
cmp esi, ecx
jl 0x512302
mov eax, dword [edi + 0x108]
mov edx, 0x1c
imul eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055a3f6
xor ebx, ebx
mov dword [edi + 0x11c], eax
add esp, 4
cmp dword [edi + 0x10c], ebx
jle 0x51253f
nop word [eax + eax]
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x512532
nop
xor edx, edx
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx], 0
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx + 1], 0
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx + 2], 0
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx + 3], 0
add edx, 4
cmp edx, 0x1c
jl 0x512492
inc esi
cmp esi, dword [edi + 0x108]
jl 0x512490
inc ebx
cmp ebx, dword [edi + 0x10c]
jl 0x512480
push 4
call fcn.005695a8
xor eax, eax
add esp, 4
mov dword [ebp - 0xe4], eax
cmp dword [edi + 0x10c], eax
jle 0x512b4f
lea ecx, [edi + 0x1d8]
mov dword [ebp - 0xc8], ecx
nop dword [eax]
xor ebx, ebx
cmp dword [edi + 0x108], ebx
jle 0x5125bf
mov esi, ecx
nop dword [eax]
call fcn.00569587
xorps xmm1, xmm1
inc ebx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5d3094]
divss xmm0, dword [0x5d35e0]
addss xmm0, xmm1
movss dword [esi], xmm0
add esi, 4
cmp ebx, dword [edi + 0x108]
jl 0x512580
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [edi + 0x10c]
inc eax
add ecx, 0x100
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xc8], ecx
cmp eax, edx
jl 0x512570
xor ebx, ebx
test edx, edx
jle 0x512b4f
nop word [eax + eax]
mov eax, dword [edi + 0x12c]
lea ecx, [ebx*4]
push 0
lea edx, [ebp - 0xb8]
mov dword [ebp - 0xf0], ecx
push edx
mov eax, dword [ecx + eax]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x512b4f
xor eax, eax
mov dword [ebp - 0xc0], eax
cmp dword [edi + 0x108], eax
jle 0x512b2d
xor esi, esi
mov dword [ebp - 0xbc], esi
nop dword [eax]
push 0
push eax
push ebx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push ebx
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
movq qword [esi + ecx], xmm0
mov eax, dword [eax + 8]
mov dword [esi + ecx + 8], eax
mov ecx, edi
call fcn.00512b70
mov eax, dword [ebp - 0xb8]
mov ecx, edi
push dword [ebp - 0xc0]
push ebx
fstp dword [esi + eax + 4]
lea eax, [ebp - 0x94]
push eax
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push 0
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
movq qword [esi + ecx + 0xc], xmm0
mov eax, dword [eax + 8]
mov dword [esi + ecx + 0x14], eax
mov ecx, edi
push ebx
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
push 0
push dword [ebp - 0xc0]
mov dword [esi + ecx + 0x18], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
mov dword [esi + eax + 0x1c], 0
mov eax, dword [ebp - 0xb8]
mov dword [esi + eax + 0x20], 0
lea eax, [ebx + 1]
push eax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x88]
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xc4]
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, edi
call fcn.00512b70
mov eax, dword [ebp - 0xb8]
mov ecx, edi
push dword [ebp - 0xc0]
fstp dword [ebp - 0xd0]
movss xmm0, dword [ebp - 0xd0]
push dword [ebp - 0xc4]
movss dword [esi + eax + 0x4c], xmm0
lea eax, [ebp - 0x7c]
push eax
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
push 0
push dword [ebp - 0xc0]
movq xmm0, qword [eax]
push dword [ebp - 0xc4]
movq qword [esi + ecx + 0x54], xmm0
mov eax, dword [eax + 8]
mov dword [esi + ecx + 0x5c], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
mov dword [esi + ecx + 0x60], eax
mov eax, dword [ebp - 0xb8]
mov dword [esi + eax + 0x64], 0
mov ecx, edi
mov eax, dword [ebp - 0xb8]
push 0
mov dword [esi + eax + 0x68], 0x3f800000
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0xc0]
inc esi
push esi
push ebx
push eax
call fcn.00512f60
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push ebx
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, edi
call fcn.00512b70
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
fstp dword [ebp - 0xd0]
movss xmm0, dword [ebp - 0xd0]
push esi
movss dword [ecx + eax + 0x28], xmm0
lea eax, [ebp - 0x64]
push ebx
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
movq xmm0, qword [eax]
push esi
movq qword [edx + ecx + 0x30], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x38], eax
mov ecx, edi
push ebx
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
push esi
push dword [ebp - 0xc4]
mov dword [edx + ecx + 0x3c], eax
mov ecx, edi
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.00512f60
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push dword [ebp - 0xc4]
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, edi
call fcn.00512b70
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
push esi
push dword [ebp - 0xc4]
fstp dword [ebp - 0xd0]
movss xmm0, dword [ebp - 0xd0]
movss dword [ecx + eax + 0x70], xmm0
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
movq xmm0, qword [eax]
mov edx, dword [ebp - 0xbc]
push 0
push esi
push dword [ebp - 0xc4]
movq qword [edx + ecx + 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x80], eax
mov ecx, edi
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
push esi
push ebx
mov dword [edx + ecx + 0x84], eax
mov ecx, edi
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.00512f60
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push ebx
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, edi
call fcn.00512b70
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
fstp dword [ebp - 0xd0]
movss xmm0, dword [ebp - 0xd0]
push esi
movss dword [ecx + eax + 0xb8], xmm0
lea eax, [ebp - 0x34]
push ebx
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
movq xmm0, qword [eax]
push esi
movq qword [edx + ecx + 0xc0], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xc8], eax
mov ecx, edi
push ebx
call fcn.00512f20
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
mov dword [edx + ecx + 0xcc], eax
mov ecx, edi
mov eax, dword [ebp - 0xb8]
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.00512f60
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push dword [ebp - 0xc4]
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, edi
call fcn.00512b70
fstp dword [ebp - 0xd0]
movss xmm0, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
movss dword [ecx + eax + 0x94], xmm0
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00512f30
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
push 0
movq xmm0, qword [eax]
push dword [ebp - 0xc0]
movq qword [edx + ecx + 0x9c], xmm0
mov eax, dword [eax + 8]
push dword [ebp - 0xc4]
mov dword [edx + ecx + 0xa4], eax
mov ecx, edi
call fcn.00512f20
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
mov dword [edx + ecx + 0xa8], eax
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0xac], 0
mov eax, dword [ebp - 0xb8]
mov dword [edx + eax + 0xb0], 0x3f800000
mov eax, esi
mov esi, edx
mov dword [ebp - 0xc0], eax
add esi, 0xd8
mov dword [ebp - 0xbc], esi
cmp eax, dword [edi + 0x108]
jl 0x512640
mov ebx, dword [ebp - 0xc4]
jmp 0x512b2e
inc ebx
mov eax, dword [edi + 0x12c]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ecx + eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
cmp ebx, dword [edi + 0x10c]
jl 0x5125f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559ee8
mov esp, ebp
pop ebp
ret 0xc