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

Disassembly:
sub esp, 0x498
mov eax, dword [0x6b66bc]
xor eax, esp
mov dword [esp + 0x494], eax
movq xmm0, qword [esp + 0x4a0]
mov eax, dword [esp + 0x4a8]
push ebx
mov ebx, dword [esp + 0x4a0]
push ebp
push esi
movq qword [esp + 0xc], xmm0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
push edi
test esi, esi
jne 0x4c6a0a
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x4c6de8
cmp byte [esp + 0x18], 0
jne 0x4c6daa
mov edx, 0x400
cmp esi, edx
cmovle edx, esi
xor ecx, ecx
test edx, edx
jle 0x4c6a3f
mov edi, dword [esp + 0x10]
nop dword [eax]
mov al, byte [edi + ecx*2]
mov byte [esp + ecx + 0xa4], al
inc ecx
cmp ecx, edx
jl 0x4c6a30
mov dword [esp + 0x14], esi
lea eax, [esp + 0xa4]
mov dword [esp + 0x10], eax
movq xmm0, qword [esp + 0x10]
mov byte [esp + 0x18], 0
mov edi, dword [esp + 0x18]
movq qword [esp + 0x38], xmm0
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x30], edi
cmp esi, 0x400
jb 0x4c6aae
cmp dword [esp + 0x4bc], 0
je 0x4c69f1
lea eax, [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.0060cb30
nop
int3
cmp byte [0x71a930], 0
je 0x4c6abe
mov ebp, 0x71a940
jmp 0x4c6ae1
mov ecx, 0x71a940
call fcn.004bf4d0
movq xmm0, qword [esp + 0x28]
mov ebp, eax
mov edi, dword [esp + 0x30]
mov byte [0x71a930], 1
movq qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x4bc]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
cmp eax, 1
jne 0x4c6b36
sub esp, 0xc
mov ecx, ebp
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x6c]
push eax
call fcn.004c9cc0
mov esi, dword [eax]
mov edi, esi
movzx eax, si
shr edi, 0x10
mov edi, dword [ebp + edi*4 + 0xc]
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x4c0]
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
jmp 0x4c6de8
test eax, eax
jne 0x4c6cd4
sub esp, 0xc
movq qword [esp + 0x1c], xmm0
mov eax, esp
mov dword [esp + 0x24], edi
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], edi
movq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x7c]
push eax
call fcn.004beba0
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x74]
add esp, 0x10
mov dword [esp + 0x80], 0
lea ecx, [ecx + 0x201]
push eax
lea eax, [esp + 0x28]
shl ecx, 6
push eax
add ecx, ebp
call fcn.004c4c90
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4c6cb2
cmp byte [esp + 0x18], 0
push dword [esp + 0x14]
movq xmm0, qword [esp + 0x3c]
push dword [esp + 0x14]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], edi
jne 0x4c6bd1
lea eax, [esp + 0x8c]
push eax
call fcn.004bea30
jmp 0x4c6bde
lea eax, [esp + 0x9c]
push eax
call fcn.004beb00
movups xmm0, xmmword [eax]
add esp, 0xc
mov dword [esp + 0x5c], 0
movd ebp, xmm0
movups xmmword [esp + 0x4c], xmm0
lea ebp, [ebp + 0x601]
shl ebp, 6
add ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x50]
and edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
lea esi, [eax + edi*4]
mov dword [esp + 0x1c], esi
mov esi, dword [esi]
test esi, esi
je 0x4c6ca1
nop word [eax + eax]
mov eax, esi
and eax, 0xe0000000
cmp eax, dword [esp + 0x54]
jne 0x4c6c83
mov eax, dword [ebp + 0x10]
and esi, 0x1fffffff
mov edx, esi
movzx ecx, si
shr edx, 0x10
mov eax, dword [eax + edx*4 + 0xc]
lea edx, [eax + ecx*4]
mov ax, word [edx + 4]
cmp ax, word [esp + 0x58]
jne 0x4c6c83
movq xmm0, qword [esp + 0x40]
sub esp, 0xc
mov eax, dword [esp + 0x54]
mov ecx, esp
push edx
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.004be870
add esp, 0x10
test al, al
jne 0x4c6c9b
mov eax, dword [ebp + 0xc]
inc edi
and edi, dword [esp + 0x24]
mov esi, dword [eax + edi*4]
lea ecx, [eax + edi*4]
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x4c6c30
jmp 0x4c6ca1
mov esi, dword [esp + 0x1c]
mov esi, dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov ebp, dword [esp + 0x20]
and esi, 0x1fffffff
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4c6b13
mov eax, dword [esp + 0x4c0]
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
jmp 0x4c6de8
cmp eax, 2
je 0x4c6cea
call fcn.0060cf50
nop
int3
sub esp, 0xc
mov ecx, ebp
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x44]
push eax
call fcn.004c9cc0
movq xmm0, qword [esp + 0x28]
movq qword [esp + 0x10], xmm0
mov esi, dword [eax]
mov edi, esi
shr edi, 0x10
movzx eax, si
mov dword [esp + 0x1c], esi
mov edi, dword [ebp + edi*4 + 0xc]
mov edi, dword [edi + eax*4]
mov eax, edi
shr eax, 0x10
movzx ecx, di
mov eax, dword [ebp + eax*4 + 0xc]
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
movzx eax, word [ebp + 4]
mov ecx, eax
mov dword [esp + 0x34], ebp
and al, 1
cmp al, byte [esp + 0x30]
je 0x4c6d5b
call fcn.0060cd70
nop
int3
mov ebp, dword [esp + 0x14]
movzx eax, cx
shr eax, 1
cmp eax, ebp
je 0x4c6d73
call fcn.0060ced0
nop
int3
mov ecx, dword [esp + 0x34]
add ecx, 6
cmp byte [esp + 0x18], 0
je 0x4c6d8b
lea eax, [ebp*2]
push eax
jmp 0x4c6d8c
push ebp
push dword [esp + 0x14]
push ecx
call fcn.005f7171
mov eax, dword [esp + 0x4cc]
add esp, 0xc
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
jmp 0x4c6de8
push dword [esp + 0x4c0]
mov eax, dword [esp + 0x14]
push dword [esp + 0x4c0]
mov dword [esp + 0x18], eax
sub esp, 0xc
mov dword [esp + 0x28], esi
movq xmm0, qword [esp + 0x24]
mov ecx, esp
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
push ebx
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.004c65e0
add esp, 0x18
mov ecx, dword [esp + 0x4a4]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f4480
add esp, 0x498
ret