Function at 0x4186a5
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 [0x674014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, edx
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
mov byte [esp + 0xb], 1
cmp eax, 5
ja case.default.0x4186de
jmp dword [eax*4 + 0x61b9c8]
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx - 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [ebx - 0x24]
jge case.0x4186de.0
lea eax, [ebx - 0x28]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x28]
mov dword [esp + 0x10], eax
lea eax, [ebx - 0x50]
mov dword [esp + 0x18], 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 + 0xc], eax
mov ecx, esi
push eax
call fcn.004b3830
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 + 0x10]
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 + 0xc]
mov dword [esp + 0xc], eax
push eax
call fcn.004b3990
cmp byte [edi + 0x27], 0
jns 0x4187a2
push dword [esi]
call fcn.005dc756
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 + 0x14]
movsd xmm0, qword [eax + 0x20]
mov ecx, dword [esp + 0x10]
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 + 0x18]
movups xmmword [eax], xmm0
lea edi, [ebx - 0x34]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
call fcn.004b3990
xor eax, eax
cmp byte [ebx - 0x29], al
jns 0x41880a
push dword [edi]
call fcn.005dc756
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 + 0x14]
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.004b3910
jmp case.0x4186de.0
lea esi, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push esi
call fcn.0041752d
add esp, 4
lea eax, [edi + 0xf0]
cmp eax, ebx
je case.0x4186de.0
mov dword [esp + 0x14], 0xa0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 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 0x418a25
mov ebx, esi
lea eax, [esi + 0x28]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x20], xmm0
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
call fcn.004b3830
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [ebx + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [ebx + 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 eax, dword [esp + 0x14]
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.004b3990
cmp byte [esi + 0x67], 0
jns 0x41893e
push dword [edi + ebx + 0x6c]
call fcn.005dc756
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 0x4189a6
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 0x418910
add eax, edi
add eax, 0x50
jmp 0x4189a8
mov eax, edi
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
mov ecx, esi
lea esi, [esp + 0x30]
push esi
call fcn.004b3990
cmp byte [edi + ebx + 0x27], 0
jns 0x4189cf
push dword [edi + ebx + 0x1c]
call fcn.005dc756
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.004b3910
mov dword [esp + 0x10], ebx
cmp ebx, 8
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x418a9a
lea eax, [esi + 0x50]
add dword [esp + 0x14], 0x50
cmp eax, ebx
jne 0x418883
jmp case.0x4186de.0
add ebx, 0xffffffb0
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
call fcn.0041752d
add esp, 4
jmp case.0x4186de.0
add ebx, 0xffffffb0
lea eax, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
push eax
call fcn.00417c1d
add esp, 8
jmp case.0x4186de.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.004180ad
add esp, 0xc
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.005dd6f3
mov al, byte [esp + 0xb]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x50
cmp esi, ebx
sete byte [esp + 0xb]
jmp case.0x4186de.0