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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x20]
push esi
call fcn.00501580
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4fa2da
cmp eax, 1
jne 0x4fa421
mov dword [ebx + 4], 4
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
add eax, 0xffffffff
mov dword [esp + 0x14], eax
adc ecx, 0xffffffff
mov dword [esp + 0x10], ecx
movups xmm0, xmmword [ebx + 8]
movaps xmmword [esp + 0x50], xmm0
movdqu xmm0, xmmword [ebx + 0x18]
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0xc], eax
add eax, 1
mov dword [ebx + 0x50], eax
mov dword [esp + 0x18], ecx
mov eax, ecx
adc eax, 0
mov dword [ebx + 0x54], eax
lea ecx, [ebx + 0x88]
lea esi, [esp + 0x6c]
push esi
call fcn.0054a5a0
mov ecx, ebx
push esi
mov esi, dword [ebp + 8]
call fcn.00549990
mov bl, 1
jmp 0x4fa2fc
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.005015f0
mov ecx, edi
push esi
call fcn.004fa4a0
test bl, bl
mov ebx, 0
je 0x4fa433
mov dword [esp + 0x1c], edi
mov ebx, dword [edi + 0x14]
push 0x40
call fcn.005dc726
add esp, 4
mov edi, eax
lea eax, [esp + 0x40]
mov ecx, edi
push dword [esp + 0x10]
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x18]
push esi
push eax
call fcn.004f90d0
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov ecx, ebx
push eax
push edx
call fcn.0047ae10
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
cmp edi, eax
jne 0x4fa38f
xor ebx, ebx
test edi, edi
jne 0x4fa43b
jmp 0x4fa47f
add eax, 4
cmp eax, dword [esp + 0xc]
mov edi, eax
je 0x4fa431
mov eax, dword [edi]
mov ecx, dword [eax + 0x50]
cmp ecx, dword [eax + 0x4c]
mov eax, edi
lea edi, [esp + 0x20]
je 0x4fa380
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x10], eax
jmp 0x4fa3d0
mov ecx, edi
call fcn.005021f0
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
inc ebx
sar ecx, 4
add esi, 0x10
cmp ebx, ecx
mov eax, edx
jae 0x4fa380
mov dword [esp + 0x14], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov esi, edi
mov ecx, edi
mov edi, eax
call fcn.004cc150
mov eax, dword [edi]
mov edi, esi
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x4c]
add eax, esi
mov ecx, dword [esp + 0x1c]
push edi
push eax
call fcn.004f9960
test eax, eax
jne 0x4fa3b0
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004fa1f0
jmp 0x4fa3b0
lea ecx, [esp + 0x20]
call fcn.005015f0
mov ebx, 0xfffffff4
jmp 0x4fa433
xor ebx, ebx
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4fa47f
mov esi, dword [esp + 0x70]
cmp esi, edi
jne 0x4fa454
mov eax, edi
jmp 0x4fa472
cmp esi, edi
je 0x4fa46e
mov ecx, dword [esi - 4]
mov dword [esi - 4], 0
add esi, 0xfffffffc
test ecx, ecx
je 0x4fa450
push 1
call fcn.004f92e0
jmp 0x4fa450
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], edi
push eax
call fcn.005dc756
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.005dd6f3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4