Function at 0x4a06e0
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 ebx, edx
mov edi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, edx
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
mov byte [esp + 7], 1
cmp eax, 5
ja case.default.0x4a0719
jmp dword [eax*4 + 0x5f6fbc]
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx - 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [ebx - 0x24]
jge case.0x4a0719.0
lea eax, [ebx - 0x28]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x28]
mov dword [esp + 0xc], eax
lea eax, [ebx - 0x50]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
movups xmm0, xmmword [edi]
movaps xmmword [esi - 0x10], xmm0
lea eax, [edi + 0x10]
mov dword [esp + 8], eax
mov ecx, esi
push eax
call fcn.004dfa10
lea ecx, [edi + 0x1c]
mov eax, dword [edi + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [edi + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0xc]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x38], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x28], xmm1
movups xmmword [esi + 0x18], xmm0
mov esi, ecx
movups xmm0, xmmword [ebx - 0x50]
movups xmmword [edi], xmm0
lea eax, [ebx - 0x40]
mov ecx, dword [esp + 8]
mov dword [esp + 8], eax
push eax
call fcn.004dfb20
cmp byte [edi + 0x27], 0
jns 0x4a07dd
push dword [esi]
call fcn.005039aa
add esp, 4
mov eax, dword [ebx - 0x2c]
mov dword [esi + 8], eax
movsd xmm0, qword [ebx - 0x34]
movsd qword [esi], xmm0
xor eax, eax
mov byte [ebx - 0x29], al
mov byte [ebx - 0x34], al
mov eax, dword [esp + 0x10]
movsd xmm0, qword [eax + 0x20]
mov ecx, dword [esp + 0xc]
movsd qword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm1
movups xmmword [ecx], xmm0
lea esi, [esp + 0x3c]
movaps xmm0, xmmword [esi - 0x1c]
mov eax, dword [esp + 0x14]
movups xmmword [eax], xmm0
lea edi, [ebx - 0x34]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004dfb20
xor eax, eax
cmp byte [ebx - 0x29], al
jns 0x4a0845
push dword [edi]
call fcn.005039aa
add esp, 4
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [esi]
movsd qword [edi], xmm0
xor eax, eax
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
movsd xmm0, qword [esi + 0x2c]
mov eax, dword [esp + 0x10]
movsd qword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0xc]
movups xmm1, xmmword [esi + 0x1c]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
lea ecx, [esp + 0x30]
call fcn.004dfb00
jmp case.0x4a0719.0
lea esi, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push esi
call fcn.0049f540
add esp, 4
lea eax, [edi + 0xf0]
cmp eax, ebx
je case.0x4a0719.0
mov dword [esp + 0x10], 0xa0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov ecx, esi
mov edx, dword [esi + 0x28]
mov esi, eax
cmp edx, dword [eax + 0x28]
mov eax, dword [ecx + 0x2c]
sbb eax, dword [esi + 0x2c]
jge 0x4a0a7e
lea eax, [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
lea ebx, [eax + eax*4]
shl ebx, 4
lea ecx, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqu xmmword [ecx + 0x30], xmm0
movdqu xmmword [ecx + 0x20], xmm0
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmmword [ecx], xmm0
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x20], xmm0
lea eax, [esi + 0x10]
push eax
call fcn.004dfa10
movsd xmm0, qword [esi + 0x1c]
lea ecx, [esp + 0x30]
movsd qword [ecx + 0xc], xmm0
mov dword [esp + 8], esi
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [ebx + edi + 0x110], eax
mov dword [ebx + edi + 0x10c], eax
mov dword [ebx + edi + 0x114], eax
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [eax + 0x20]
movsd qword [ecx + 0x38], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ecx + 0x28], xmm1
movups xmmword [ecx + 0x18], xmm0
mov eax, dword [esp + 0x10]
mov ebx, eax
lea ecx, [edi + eax]
add ecx, 0x60
movups xmm0, xmmword [ecx - 0x60]
movups xmmword [ecx - 0x10], xmm0
lea esi, [edi + eax]
add esi, 0x10
push esi
call fcn.004dfb20
cmp byte [esi + 0x67], 0
jns 0x4a0997
push dword [edi + ebx + 0x6c]
call fcn.005039aa
add esp, 4
mov eax, dword [edi + ebx + 0x24]
mov dword [edi + ebx + 0x74], eax
movsd xmm0, qword [edi + ebx + 0x1c]
movsd qword [edi + ebx + 0x6c], xmm0
xor eax, eax
mov byte [edi + ebx + 0x27], al
mov byte [edi + ebx + 0x1c], al
movups xmm0, xmmword [edi + ebx + 0x28]
movups xmmword [edi + ebx + 0x78], xmm0
movups xmm0, xmmword [edi + ebx + 0x38]
movups xmmword [edi + ebx + 0x88], xmm0
movsd xmm0, qword [edi + ebx + 0x48]
movsd qword [edi + ebx + 0x98], xmm0
test ebx, ebx
je 0x4a09ff
mov eax, dword [edi + ebx - 0x28]
mov ecx, dword [edi + ebx - 0x24]
cmp eax, dword [esp + 0x48]
lea eax, [ebx - 0x50]
sbb ecx, dword [esp + 0x4c]
jl 0x4a0969
add eax, edi
add eax, 0x50
jmp 0x4a0a01
mov eax, edi
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
mov ecx, esi
lea esi, [esp + 0x30]
push esi
call fcn.004dfb20
cmp byte [edi + ebx + 0x27], 0
jns 0x4a0a28
push dword [edi + ebx + 0x1c]
call fcn.005039aa
add esp, 4
lea eax, [edi + ebx]
add eax, 0x1c
mov ecx, dword [esi + 0x14]
mov dword [eax + 8], ecx
movsd xmm0, qword [esi + 0xc]
movsd qword [eax], xmm0
xor ecx, ecx
mov byte [esp + 0x47], cl
mov byte [esp + 0x3c], cl
movsd xmm0, qword [esi + 0x38]
movsd qword [eax + 0x2c], xmm0
movups xmm0, xmmword [esi + 0x18]
movups xmm1, xmmword [esi + 0x28]
movups xmmword [eax + 0x1c], xmm1
movups xmmword [eax + 0xc], xmm0
mov ebx, dword [esp + 0x14]
inc ebx
mov ecx, esi
call fcn.004dfb00
mov dword [esp + 0x14], ebx
cmp ebx, 8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 8]
je 0x4a0af7
lea eax, [esi + 0x50]
inc dword [esp + 0xc]
add dword [esp + 0x10], 0x50
cmp eax, ebx
jne 0x4a08c6
jmp case.0x4a0719.0
add ebx, 0xffffffb0
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
call fcn.0049f540
add esp, 4
jmp case.0x4a0719.0
add ebx, 0xffffffb0
lea eax, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
push eax
call fcn.0049fc50
add esp, 8
jmp case.0x4a0719.0
add ebx, 0xffffffb0
lea eax, [edi + 0xf0]
lea esi, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
push eax
push esi
call fcn.004a00e0
add esp, 0xc
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504b53
mov al, byte [esp + 7]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x50
cmp esi, ebx
sete byte [esp + 7]
jmp case.0x4a0719.0