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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x5bd344]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
push edi
test eax, eax
jle 0x4a892a
call fcn.004a83c0
cmp byte [esi + 0x50], 0
jne 0x4a892a
cmp dword [esi + 0x198], 0
jne 0x4a892a
lea edi, [esi + 0x1a8]
mov dword [esi + 0x198], 1
mov byte [esi + 0x1a4], 0
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4a8699
mov eax, dword [edi]
mov byte [eax], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x1c]
sub esp, 0x28
mov dword [esp + 0x5c], eax
mov ecx, esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, esp
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x58], 0x100000
mov dword [esp + 0x64], 0
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x7c], 0
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x20], xmm0
call fcn.004ab780
cmp byte [esi + 0x1a4], 0
je 0x4a8721
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x18], edi
jb 0x4a8715
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x14], eax
jmp 0x4a8725
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x38], eax
sub esp, 0x28
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, esp
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x5c], ecx
mov ecx, esi
mov dword [esp + 0x58], 0x410
mov dword [esp + 0x64], 0
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x7c], 0
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x20], xmm0
call fcn.004ab780
mov eax, dword [esi + 0x84]
lea edx, [esi + 0x10]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
dec eax
mov byte [esp + 0x13], 0
cmp byte [edx + 0x40], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jne 0x4a87f3
cmp byte [edx + 0x48], 0
je 0x4a87df
push 1
lea eax, [esp + 0x17]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push dword [esp + 0x2c]
lea ecx, [edx + 0x4c]
push 0
call fcn.004a04b0
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x10]
mov dword [esp + 0x20], eax
push dword [esp + 0x14]
push ecx
push dword [esp + 0x24]
mov ecx, edx
call fcn.004a0bf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x4a8811
cmp byte [esi + 0x58], 0
je 0x4a8811
cmp eax, ecx
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.004ab740
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 0x190], ecx
jle 0x4a8823
mov dword [esi + 0x190], ecx
cmp byte [esp + 0x13], 0
mov edx, 0x2011
mov eax, 0x11
mov dword [esp + 0x34], ecx
cmovne eax, edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
sub esp, 0x28
mov dword [esp + 0x60], eax
mov ecx, esi
mov eax, dword [esi + 0x84]
movups xmmword [esp + 0x6c], xmm0
mov eax, dword [eax + 0x10]
sub eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x20], xmm0
call fcn.004ab780
cmp byte [esi + 0x1a4], 0
je 0x4a890d
movups xmm0, xmmword [edi]
mov byte [esp + 0x30], 0
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
movq xmm2, qword [esp + 0x40]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x44]
movups xmmword [edi], xmm1
movq qword [edi + 0x10], xmm2
cmp edx, 0x10
jb 0x4a890d
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8903
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a893f
push edx
push ecx
call fcn.0057eb7e
add esp, 8
dec dword [esi + 0x198]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret 0xc
call fcn.0058a276
int3