Function at 0x4a2340
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 [0x5ff014]
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.0x4a2379
jmp dword [eax*4 + 0x5f31cc]
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx - 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [ebx - 0x24]
jge case.0x4a2379.0
lea eax, [ebx - 0x28]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x28]
mov dword [esp + 0xc], eax
lea eax, [ebx - 0x50]
mov dword [esp + 0x10], 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.004dd100
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.004dd210
add ebx, 0xffffffcc
cmp byte [edi + 0x27], 0
jns 0x4a2440
push dword [esi]
call fcn.00503da5
add esp, 4
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [ebx]
movsd qword [esi], xmm0
xor eax, eax
mov byte [ebx + 0xb], al
mov byte [ebx], al
mov edi, dword [esp + 0x14]
movsd xmm0, qword [edi + 0x20]
mov eax, dword [esp + 0xc]
movsd qword [eax + 0x20], xmm0
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
lea esi, [esp + 0x3c]
movaps xmm0, xmmword [esi - 0x1c]
mov eax, dword [esp + 0x10]
movups xmmword [eax], xmm0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004dd210
xor eax, eax
cmp byte [ebx + 0xb], al
jns 0x4a24a3
push dword [ebx]
call fcn.00503da5
add esp, 4
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi]
movsd qword [ebx], xmm0
xor eax, eax
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
movsd xmm0, qword [esi + 0x2c]
movsd qword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0xc]
movups xmm1, xmmword [esi + 0x1c]
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi], xmm0
lea ecx, [esp + 0x30]
call fcn.004dd1f0
jmp case.0x4a2379.0
lea esi, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push esi
call fcn.004a11a0
add esp, 4
lea eax, [edi + 0xf0]
cmp eax, ebx
je case.0x4a2379.0
mov dword [esp + 0xc], 0xa0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 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 0x4a26d8
lea eax, [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
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.004dd100
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 + 0xc]
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.004dd210
cmp byte [esi + 0x67], 0
jns 0x4a25f1
push dword [edi + ebx + 0x6c]
call fcn.00503da5
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 0x4a2659
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 0x4a25c3
add eax, edi
add eax, 0x50
jmp 0x4a265b
mov eax, edi
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
mov ecx, esi
lea esi, [esp + 0x30]
push esi
call fcn.004dd210
cmp byte [edi + ebx + 0x27], 0
jns 0x4a2682
push dword [edi + ebx + 0x1c]
call fcn.00503da5
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 + 0x10]
inc ebx
mov ecx, esi
call fcn.004dd1f0
mov dword [esp + 0x10], ebx
cmp ebx, 8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 8]
je 0x4a2751
lea eax, [esi + 0x50]
inc dword [esp + 0x14]
add dword [esp + 0xc], 0x50
cmp eax, ebx
jne 0x4a2520
jmp case.0x4a2379.0
add ebx, 0xffffffb0
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
call fcn.004a11a0
add esp, 4
jmp case.0x4a2379.0
add ebx, 0xffffffb0
lea eax, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
push eax
call fcn.004a1890
add esp, 8
jmp case.0x4a2379.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.004a1d30
add esp, 0xc
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504596
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.0x4a2379.0