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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x24]
mov ebx, dword [ebp + 0xc]
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 [0x5a942c]
push dword [eax + 0x2a3d8]
call fcn.00404443
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x15c]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 0x174]
lea edx, [esp + 0x50]
mov dword [edi + 0x108], eax
mov eax, dword [esp + 0x178]
push 0
mov dword [edi + 0x10c], eax
mov eax, dword [esp + 0x28]
push 0
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, edi
call fcn.004c3430
mov eax, dword [edi + 0x10c]
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.004c8bda
mov edx, dword [edi + 0x10c]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x124], eax
test edx, edx
jle 0x4c2978
nop
mov eax, dword [edi + 0x124]
mov dword [eax + ecx*4], 0
inc ecx
mov edx, dword [edi + 0x10c]
cmp ecx, edx
jl 0x4c2960
mov eax, dword [edi + 0x108]
xor esi, esi
lea eax, [eax + eax*2]
add eax, eax
mov dword [edi + 0x120], eax
test edx, edx
jle 0x4c29cc
nop
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 0x4c29c5
inc esi
cmp esi, dword [edi + 0x10c]
jl 0x4c2990
jmp 0x4c29cc
mov ecx, edi
call fcn.004c3430
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 ecx, dword [edi + 0x10c]
xor esi, esi
mov dword [esp + 0x48], esi
test ecx, ecx
jle 0x4c3088
nop word [eax + eax]
mov edx, dword [esp + 0x50]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x1c], ebx
imul eax, esi
add eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
lea eax, [esi + 1]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jge 0x4c2a2f
mov ebx, edx
imul ebx, eax
add ebx, dword [esp + 0x54]
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x124]
lea edx, [esp + 0x10]
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 0x4c32ef
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle 0x4c3063
movd xmm0, dword [esp + 0x3c]
add ebx, 4
movss xmm3, dword [0x58146c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
movd xmm2, esi
mov esi, 1
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x2c], edx
sub dword [esp + 0x2c], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xbf800000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xbf800000
mov dword [esp + 0x6c], 0
mulss xmm2, xmm3
mov dword [esp + 0x70], 0
mulss xmm0, xmm3
mov dword [esp + 0x74], 0xbf800000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0xbf800000
mov dword [esp + 0x84], 0
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x104], xmm2
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x158], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0xbf800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0x14], 0
movzx edx, byte [edx]
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edx
cmp esi, ecx
jge 0x4c2b86
mov edx, dword [esp + 0x2c]
movzx edx, byte [ebx + edx]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
jmp 0x4c2b8e
mov dword [esp + 0x28], 0
test eax, eax
je 0x4c2ba7
movzx eax, byte [ebx - 4]
mov dword [esp + 0x20], eax
cmp esi, ecx
jge 0x4c2baf
movzx eax, byte [ebx]
mov dword [esp + 0x30], eax
jmp 0x4c2bb7
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
movd xmm1, edx
lea eax, [esi - 1]
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movd xmm0, eax
divss xmm1, dword [0x581504]
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [0x581490]
mulss xmm0, xmm3
movss dword [esp + 0xd4], xmm2
mov eax, dword [esp + 0xd4]
movups xmmword [esp + 0xb0], xmm0
unpcklps xmm0, xmm1
movq qword [ecx + edx], xmm0
movq xmm0, qword [esp + 0x58]
mov dword [ecx + edx + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14c], eax
lea eax, [esp + 0x144]
push eax
push eax
movq qword [esp + 0x14c], xmm0
call fcn.00404e16
movd xmm1, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x144]
cvtdq2ps xmm1, xmm1
movq qword [ecx + edx + 0xc], xmm0
divss xmm1, dword [0x581504]
mov eax, dword [esp + 0x14c]
mov dword [ecx + edx + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [eax + edx + 0x18], 0xffff9b9b
mov eax, dword [esp + 0x10]
mov dword [eax + edx + 0x1c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + edx + 0x20], 0
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x34]
mulss xmm1, dword [0x581490]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0xb0]
mov eax, dword [esp + 0xe0]
unpcklps xmm0, xmm1
movq qword [ecx + edx + 0x24], xmm0
movq xmm0, qword [esp + 0x64]
mov dword [ecx + edx + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x108]
push eax
push eax
movss dword [esp + 0x28], xmm1
movq qword [esp + 0x110], xmm0
call fcn.00404e16
movd xmm1, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x108]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [esp + 0x38]
divss xmm1, dword [0x581504]
movq qword [ecx + edx + 0x30], xmm0
mov eax, dword [esp + 0x110]
mulss xmm1, dword [0x581490]
mov dword [ecx + edx + 0x38], eax
mov eax, dword [esp + 0x10]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [eax + edx + 0x3c], 0xffff9b9b
mov eax, dword [esp + 0x10]
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x58146c]
mov dword [eax + edx + 0x40], 0
mov eax, dword [esp + 0x10]
movss dword [esp + 0xec], xmm2
movaps xmmword [esp + 0xa0], xmm0
mov dword [eax + edx + 0x44], 0x3f800000
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xec]
unpcklps xmm0, xmm1
movq qword [ecx + edx + 0x48], xmm0
movq xmm0, qword [esp + 0x70]
mov dword [ecx + edx + 0x50], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x114]
push eax
push eax
movq qword [esp + 0x11c], xmm0
call fcn.00404e16
movd xmm1, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x114]
cvtdq2ps xmm1, xmm1
movq qword [ecx + edx + 0x54], xmm0
divss xmm1, dword [0x581504]
mov eax, dword [esp + 0x11c]
mov dword [ecx + edx + 0x5c], eax
mov eax, dword [esp + 0x10]
mov dword [eax + edx + 0x60], 0xffff9b9b
mov eax, dword [esp + 0x10]
mov dword [eax + edx + 0x64], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [eax + edx + 0x68], 0
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x34]
mulss xmm1, dword [0x581490]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0xa0]
mov eax, dword [esp + 0xf8]
unpcklps xmm0, xmm1
movq qword [edx + ecx + 0x6c], xmm0
movq xmm0, qword [esp + 0x7c]
mov dword [edx + ecx + 0x74], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x120]
push eax
push eax
movq qword [esp + 0x128], xmm0
call fcn.00404e16
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x120]
movss xmm1, dword [esp + 0x28]
movq qword [edx + ecx + 0x78], xmm0
mov eax, dword [esp + 0x128]
movaps xmm0, xmmword [esp + 0xa0]
mov dword [edx + ecx + 0x80], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x104]
unpcklps xmm0, xmm1
mov dword [edx + eax + 0x84], 0xffff9b9b
mov eax, dword [esp + 0x10]
mov dword [edx + eax + 0x88], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [edx + eax + 0x8c], 0x3f800000
mov eax, dword [esp + 0x10]
movq qword [edx + eax + 0x90], xmm0
movq xmm0, qword [esp + 0x88]
mov dword [edx + eax + 0x98], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x134], eax
lea eax, [esp + 0x12c]
push eax
push eax
movq qword [esp + 0x134], xmm0
call fcn.00404e16
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x12c]
movq qword [edx + ecx + 0x9c], xmm0
mov eax, dword [esp + 0x134]
mov dword [edx + ecx + 0xa4], eax
mov eax, dword [esp + 0x10]
mov dword [edx + eax + 0xa8], 0xffff9b9b
mov eax, dword [esp + 0x10]
mov dword [edx + eax + 0xac], 0x3f800000
mov eax, dword [esp + 0x10]
movups xmm1, xmmword [esp + 0xb0]
mov ecx, dword [esp + 0x158]
movss xmm0, dword [esp + 0x20]
mov dword [edx + eax + 0xb0], 0
mov eax, dword [esp + 0x10]
unpcklps xmm1, xmm0
movq xmm0, qword [esp + 0x94]
movq qword [esp + 0x138], xmm0
movq qword [edx + eax + 0xb4], xmm1
mov dword [edx + eax + 0xbc], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x140], eax
lea eax, [esp + 0x138]
push eax
push eax
call fcn.00404e16
mov ecx, dword [esp + 0x10]
add ebx, 4
mov edx, dword [esp + 0x14]
inc esi
movq xmm0, qword [esp + 0x138]
movss xmm2, dword [esp + 0x38]
movss xmm3, dword [0x58146c]
movq qword [edx + ecx + 0xc0], xmm0
mov eax, dword [esp + 0x140]
mov dword [edx + ecx + 0xc8], eax
mov ecx, edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x18], edx
mov dword [ecx + eax + 0xcc], 0xffff9b9b
mov eax, dword [esp + 0x10]
mov dword [ecx + eax + 0xd0], 0
mov eax, dword [esp + 0x10]
mov dword [ecx + eax + 0xd4], 0x3f800000
add ecx, 0xd8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x108]
cmp dword [esp + 0x40], ecx
jl 0x4c2b65
mov esi, dword [esp + 0x48]
mov eax, dword [edi + 0x124]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [esp + 0x3c]
mov ecx, dword [edi + 0x10c]
mov dword [esp + 0x48], esi
cmp esi, ecx
jl 0x4c2a00
mov eax, dword [esp + 0x24]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4c30aa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [edi + 0x10c]
xor esi, esi
mov dword [esp + 0x18], esi
test ecx, ecx
jle 0x4c31f4
nop word [eax + eax]
cmp dword [edi + 0x120], 0
mov dword [esp + 0x1c], 0
jle 0x4c31e1
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x124]
lea edx, [esp + 0x10]
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 0x4c32ef
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movq xmm0, qword [ebx + eax]
mov esi, dword [ebx + eax + 8]
mov eax, dword [edi + 0x124]
movq qword [esp + 0x40], xmm0
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [esp + 0x40]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, 0x2aaaaaab
imul dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
push eax
lea eax, [esp + 0x164]
push eax
call fcn.004c2630
push 0
lea edx, [esp + 0x14]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x124]
push 0
push 0
movq qword [esp + 0x58], xmm0
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c32ef
mov eax, dword [esp + 0x10]
movq xmm0, qword [esp + 0x48]
mov ecx, dword [esp + 0x40]
movq qword [ebx + eax + 0xc], xmm0
mov dword [ebx + eax + 0x14], ecx
mov eax, dword [edi + 0x124]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x1c]
add ebx, 0x24
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x120]
jl 0x4c30f0
mov ecx, dword [edi + 0x10c]
inc esi
mov dword [esp + 0x18], esi
cmp esi, ecx
jl 0x4c30d0
mov eax, dword [edi + 0x108]
imul eax, ecx
mov ecx, 0x1c
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.004c8bda
xor ebx, ebx
mov dword [edi + 0x11c], eax
add esp, 4
cmp dword [edi + 0x10c], ebx
jle 0x4c32ef
nop dword [eax]
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x4c32e2
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 0x4c3242
inc esi
cmp esi, dword [edi + 0x108]
jl 0x4c3240
inc ebx
cmp ebx, dword [edi + 0x10c]
jl 0x4c3230
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c8873
mov esp, ebp
pop ebp
ret 0xc