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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x886f80]
xor eax, esp
mov dword [esp + 0xa0], eax
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc], edx
push ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 8], ebp
push esi
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x18], esi
push edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x14], edi
cmp edx, 2
jne 0x4c3f2e
mov eax, 1
sub eax, ecx
mov dword [esp + 0xc], eax
lea eax, [edi*4]
sub esi, eax
lea eax, [esp + 0xc]
push 1
push eax
push dword [esi + 4]
push ebp
call fcn.004119a0
add esp, 0x10
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004e5b77
add esp, 0xa4
ret
xor eax, eax
mov dword [esp + 0x9c], 0
cmp eax, ecx
xorps xmm0, xmm0
push ebx
sbb eax, eax
movlpd qword [esp + 0x70], xmm0
inc eax
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x64], eax
mov eax, 1
cmp eax, ecx
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
sbb eax, eax
movlpd qword [esp + 0x90], xmm0
add eax, 2
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x68], eax
mov eax, 2
cmp eax, ecx
sbb eax, eax
xor ebx, ebx
add eax, 3
mov dword [esp + 0x10], ebx
mov dword [esp + 0x6c], eax
test edx, edx
je 0x4c40f3
cmp ebx, edi
je 0x4c40e2
mov esi, dword [esi + ebx*4]
lea ebp, [edx - 1]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x30], esi
xor eax, eax
mov cl, 1
movups xmm0, xmmword [esp + 0x24]
movups xmmword [esp + 0x34], xmm1
movups xmmword [esp + 0x54], xmm1
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x44], xmm0
test ebp, ebp
je 0x4c401a
cmp eax, 0x10
jae 0x4c4002
mov ebx, dword [esp + eax*4 + 0x64]
xor edx, edx
cmp ebx, eax
movzx ecx, cl
mov byte [esp + eax + 0x54], bl
cmove edx, ecx
inc eax
mov cl, dl
cmp eax, ebp
jb 0x4c3fe4
movups xmm1, xmmword [esp + 0x54]
mov ebx, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x44]
movups xmmword [esp + 0x34], xmm1
movups xmmword [esp + 0x24], xmm0
movzx eax, byte [esi + 0x10]
cmp ebp, eax
jne 0x4c402a
test cl, cl
jne 0x4c40c9
movups xmmword [esp + 0x44], xmm0
psrldq xmm0, 0xc
movd esi, xmm0
movups xmmword [esp + 0x54], xmm1
mov dword [esp + 0x10], esi
movzx eax, byte [esi + 0x10]
cmp eax, ebp
jne 0x4c4070
xor dl, dl
xor ecx, ecx
test ebp, ebp
je 0x4c40c9
mov edi, 1
movzx eax, byte [esp + ecx + 0x54]
cmp eax, ecx
movzx edx, dl
cmovne edx, edi
inc ecx
cmp ecx, ebp
jb 0x4c4056
mov edi, dword [esp + 0x18]
test dl, dl
je 0x4c40c9
mov eax, dword [esp + 0x14]
push 0x140
push dword [eax + 0xc]
call fcn.00406d20
mov esi, eax
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0x11]
lea edi, [esi + 0x20]
push ecx
push ebp
push edi
push esi
call fcn.00407af0
mov edx, dword [esp + 0x2c]
movups xmm0, xmmword [esp + 0x3c]
push esi
push edx
mov cl, byte [edx + 8]
xor cl, byte [esi + 0x1c]
and cl, 1
xor byte [esi + 0x1c], cl
movups xmmword [esi + 0x34], xmm0
movups xmm0, xmmword [esp + 0x54]
movups xmmword [esi + 0x44], xmm0
call fcn.0041d130
mov esi, edi
add esp, 0x20
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp edi, ebx
mov eax, ebx
sbb ecx, ecx
neg ecx
sub eax, ecx
mov dword [esp + eax*4 + 0xa4], esi
mov esi, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, edx
jb 0x4c3fa6
mov ebp, dword [esp + 0x14]
lea eax, [edx - 1]
push eax
lea eax, [esp + 0xa8]
push eax
push ebp
call fcn.004c3d80
mov ecx, dword [esp + 0xbc]
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e5b77
add esp, 0xa4
ret