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

Disassembly:
sub esp, 0x150
mov eax, dword [0x57bc74]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x164]
mov edi, ecx
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x168]
push ecx
push 0
push 0
push 0xff000000
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push eax
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3d8]
call fcn.00404443
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x13c]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 0x154]
lea edx, [esp + 0x50]
mov dword [edi + 0x108], eax
mov eax, dword [esp + 0x158]
push 0
mov dword [edi + 0x10c], eax
mov eax, dword [esp + 0x20]
push 0
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, edi
call fcn.004c38e0
mov eax, dword [edi + 0x10c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c958f
xor ecx, ecx
mov dword [edi + 0x124], eax
add esp, 4
cmp dword [edi + 0x10c], ecx
jle 0x4c2ea6
mov eax, dword [edi + 0x124]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [edi + 0x10c]
jl 0x4c2e90
mov eax, dword [edi + 0x108]
xor esi, esi
lea eax, [eax + eax*2]
add eax, eax
mov dword [edi + 0x120], eax
cmp dword [edi + 0x10c], esi
jle 0x4c2efd
mov eax, dword [edi + 0x124]
mov ecx, dword [ebx]
lea eax, [eax + esi*4]
push eax
mov eax, dword [edi + 0x120]
push 1
push 0x152
push 0
lea eax, [eax + eax*8]
shl eax, 2
push eax
push ebx
call dword [ecx + 0x5c]
test eax, eax
js 0x4c2ef6
inc esi
cmp esi, dword [edi + 0x10c]
jl 0x4c2ec1
jmp 0x4c2efd
mov ecx, edi
call fcn.004c38e0
mov ecx, dword [edi + 0x174]
lea eax, [edi + 0x178]
push 0x8810
push 0
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x24]
mov eax, dword [edi + 0x10c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
test eax, eax
jle 0x4c3549
nop dword [eax + eax]
mov edx, dword [esp + 0x50]
lea ecx, [ebx + 1]
mov esi, edx
mov dword [esp + 0x48], ecx
imul esi, ebx
xor ebp, ebp
mov dword [esp + 0x44], ebp
add esi, dword [esp + 0x54]
mov dword [esp + 0x2c], esi
cmp ecx, eax
jge 0x4c2f5f
mov ebp, ecx
imul ebp, edx
add ebp, dword [esp + 0x54]
mov dword [esp + 0x44], ebp
mov eax, dword [edi + 0x124]
lea edx, [esp + 0x14]
push 0
push edx
push 0
mov eax, dword [eax + ebx*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c379f
mov edx, dword [edi + 0x108]
xor eax, eax
mov dword [esp + 0x24], eax
test edx, edx
jle 0x4c3524
movss xmm1, dword [0x56ac54]
mov ecx, esi
movd xmm0, ebx
sub ecx, ebp
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x58], eax
lea ebx, [ebp + 4]
mov dword [esp + 0x5c], 0xbf800000
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0xbf800000
mulss xmm0, xmm1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0xbf800000
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xe4], xmm0
movd xmm0, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0xbf800000
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mulss xmm0, xmm1
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x138], xmm0
mov dword [esp + 0x98], 0xbf800000
mov dword [esp + 0x9c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + eax*4]
inc eax
and ecx, 0xff
mov dword [esp + 0x28], eax
cmp eax, edx
jge 0x4c3086
mov esi, dword [esp + 0x4c]
movzx esi, byte [esi + ebx]
mov dword [esp + 0x3c], esi
jmp 0x4c308e
mov dword [esp + 0x3c], 0
test ebp, ebp
je 0x4c30a8
mov esi, dword [ebx - 4]
and esi, 0xff
cmp eax, edx
jge 0x4c30a4
movzx ebp, byte [ebx]
jmp 0x4c30ac
xor ebp, ebp
jmp 0x4c30ac
xor ebp, ebp
xor esi, esi
movd xmm0, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xb4]
mulss xmm0, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x18]
movq qword [esp + 0x30], xmm0
divss xmm1, dword [0x56acf4]
mulss xmm1, dword [0x56ac80]
unpcklps xmm0, xmm1
movq qword [ecx + eax], xmm0
movq xmm0, qword [esp + 0x58]
mov dword [ecx + eax + 8], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xf4]
push eax
push eax
movq qword [esp + 0xfc], xmm0
call fcn.00404e16
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0xf4]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movq qword [edx + ecx + 0xc], xmm0
divss xmm1, dword [0x56acf4]
mov eax, dword [esp + 0xfc]
mov dword [edx + ecx + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x18], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x1c], 0
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x20], 0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x40]
mulss xmm1, dword [0x56ac80]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0xc0]
unpcklps xmm0, xmm1
movq qword [edx + ecx + 0x24], xmm0
movq xmm0, qword [esp + 0x64]
mov dword [edx + ecx + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x100]
push eax
push eax
movss dword [esp + 0x2c], xmm1
movq qword [esp + 0x108], xmm0
call fcn.00404e16
movd xmm1, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x100]
mov esi, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movq qword [edx + ecx + 0x30], xmm0
divss xmm1, dword [0x56acf4]
mov eax, dword [esp + 0x108]
mov dword [edx + ecx + 0x38], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xcc]
mov dword [edx + eax + 0x3c], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x40], 0
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x44], 0x3f800000
mov eax, dword [esp + 0x14]
movd xmm0, esi
mulss xmm1, dword [0x56ac80]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x56ac54]
movq qword [esp + 0xa0], xmm0
unpcklps xmm0, xmm1
movq qword [edx + eax + 0x48], xmm0
movq xmm0, qword [esp + 0x70]
mov dword [edx + eax + 0x50], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x10c]
push eax
push eax
movq qword [esp + 0x114], xmm0
call fcn.00404e16
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x10c]
movd xmm1, ebp
mov ebp, edx
cvtdq2ps xmm1, xmm1
movq qword [edx + ecx + 0x54], xmm0
divss xmm1, dword [0x56acf4]
mov eax, dword [esp + 0x114]
mov dword [edx + ecx + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x60], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x64], 0x3f800000
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x68], 0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x40]
mulss xmm1, dword [0x56ac80]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0xa0]
mov eax, dword [esp + 0xd8]
unpcklps xmm0, xmm1
movq qword [ecx + ebp + 0x6c], xmm0
movq xmm0, qword [esp + 0x7c]
mov dword [ecx + ebp + 0x74], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x118]
push eax
push eax
movq qword [esp + 0x120], xmm0
call fcn.00404e16
mov ecx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x118]
movq xmm1, qword [esp + 0xa0]
movq qword [ecx + ebp + 0x78], xmm0
mov eax, dword [esp + 0x120]
movss xmm0, dword [esp + 0x28]
mov dword [ecx + ebp + 0x80], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xe4]
unpcklps xmm1, xmm0
movq xmm0, qword [esp + 0x88]
mov dword [eax + ebp + 0x84], 0xffff9b9b
mov eax, dword [esp + 0x14]
movq qword [esp + 0x124], xmm0
mov dword [eax + ebp + 0x88], 0x3f800000
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0x8c], 0x3f800000
mov eax, dword [esp + 0x14]
movq qword [eax + ebp + 0x90], xmm1
mov dword [eax + ebp + 0x98], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x124]
push eax
push eax
call fcn.00404e16
mov ecx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x124]
movq qword [ecx + ebp + 0x9c], xmm0
mov eax, dword [esp + 0x12c]
movss xmm0, dword [esp + 0x24]
mov dword [ecx + ebp + 0xa4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0xa8], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0xac], 0x3f800000
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0xb0], 0
mov eax, dword [esp + 0x14]
movq xmm1, qword [esp + 0x30]
mov ecx, dword [esp + 0x138]
unpcklps xmm1, xmm0
movq xmm0, qword [esp + 0x94]
movq qword [eax + ebp + 0xb4], xmm1
mov dword [eax + ebp + 0xbc], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xe8]
push eax
push eax
movq qword [esp + 0xf0], xmm0
call fcn.00404e16
mov ecx, dword [esp + 0x14]
add ebx, 4
movq xmm0, qword [esp + 0xe8]
movss xmm1, dword [0x56ac54]
movq qword [ecx + ebp + 0xc0], xmm0
mov eax, dword [esp + 0xf0]
mov dword [ecx + ebp + 0xc8], eax
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0xcc], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0xd0], 0
mov eax, dword [esp + 0x14]
mov dword [eax + ebp + 0xd4], 0x3f800000
mov eax, esi
mov edx, dword [edi + 0x108]
add ebp, 0xd8
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x24], eax
cmp eax, edx
jl 0x4c3066
mov ebx, dword [esp + 0x20]
mov eax, dword [edi + 0x124]
mov eax, dword [eax + ebx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, dword [edi + 0x10c]
mov dword [esp + 0x20], ebx
cmp ebx, eax
jl 0x4c2f30
mov eax, dword [esp + 0x1c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4c356b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [edi + 0x10c]
xor ebp, ebp
test ecx, ecx
jle 0x4c36a6
nop word [eax + eax]
cmp dword [edi + 0x120], 0
mov dword [esp + 0x20], 0
jle 0x4c3697
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x124]
lea edx, [esp + 0x14]
push 0
push edx
push 0
mov eax, dword [eax + ebp*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c379f
mov eax, dword [esp + 0x14]
movq xmm0, qword [ebx + eax]
mov esi, dword [ebx + eax + 8]
mov eax, dword [edi + 0x124]
movq qword [esp + 0x30], xmm0
mov eax, dword [eax + ebp*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [esp + 0x30]
sub esp, 0xc
mov eax, esp
mov ecx, edi
push ebp
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x30]
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [esp + 0x144]
push eax
call fcn.004c2b70
push 0
lea edx, [esp + 0x18]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x124]
push 0
push 0
movq qword [esp + 0x40], xmm0
mov eax, dword [eax + ebp*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c379f
mov eax, dword [esp + 0x14]
movq xmm0, qword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
movq qword [ebx + eax + 0xc], xmm0
mov dword [ebx + eax + 0x14], ecx
mov eax, dword [edi + 0x124]
mov eax, dword [eax + ebp*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
inc esi
add ebx, 0x24
mov dword [esp + 0x20], esi
cmp esi, dword [edi + 0x120]
jl 0x4c35b0
mov ecx, dword [edi + 0x10c]
inc ebp
cmp ebp, ecx
jl 0x4c3590
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.004c958f
xor ebx, ebx
mov dword [edi + 0x11c], eax
add esp, 4
cmp dword [edi + 0x10c], ebx
jle 0x4c379f
nop dword [eax]
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x4c3792
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 0x4c36f2
inc esi
cmp esi, dword [edi + 0x108]
jl 0x4c36f0
inc ebx
cmp ebx, dword [edi + 0x10c]
jl 0x4c36e0
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c922c
add esp, 0x150
ret 0xc