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

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x90
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xb8]
push edi
mov edi, dword [esp + 0xb8]
cmp edx, esi
jne 0x58f40d
cmp ecx, eax
jne 0x58f40f
cmp ebx, edi
jb 0x58f417
ja 0x58f39b
cmp dword [esp + 0xa4], ebp
jb 0x58f417
cmp ebp, dword [esp + 0xa4]
jne 0x58f43a
cmp edi, ebx
jne 0x58f43a
cmp esi, edx
jne 0x58f43a
cmp eax, ecx
jne 0x58f43a
mov eax, dword [esp + 0xc4]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0xc8]
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp ecx, eax
ja 0x58f39b
jb 0x58f417
cmp edx, esi
jae 0x58f39b
mov eax, dword [esp + 0xc4]
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
jmp 0x58f66b
movups xmm1, xmmword [esp + 0xb4]
sub esp, 0x10
mov eax, esp
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movups xmmword [eax], xmm1
call fcn.0058f690
movups xmm0, xmmword [esp + 0xb4]
mov ecx, esp
mov esi, eax
movups xmmword [ecx], xmm0
call fcn.0058f690
add esp, 0x10
mov edi, eax
sub edi, esi
lea eax, [esp + 0x14]
push edi
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm1
call fcn.0057e100
add esp, 0x18
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x60], xmm0
test edi, edi
js 0x58f65c
mov edx, dword [esp + 0xb0]
inc edi
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0x2c]
mov ecx, ebp
mov eax, dword [esp + 0x28]
shld ecx, eax, 1
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x6c]
add eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
shld ecx, eax, 1
shr ebp, 0x1f
add eax, eax
or ebp, eax
xor eax, eax
or eax, ecx
mov dword [esp + 0x78], ebp
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
movups xmm1, xmmword [esp + 0x70]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ebp
movups xmmword [esp + 0x28], xmm1
cmp ebx, ebp
jne 0x58f537
cmp edx, edi
jne 0x58f539
cmp dword [esp + 0xa8], ecx
jb 0x58f622
ja 0x58f549
cmp dword [esp + 0xa4], esi
jmp 0x58f543
cmp edx, edi
jb 0x58f622
ja 0x58f549
cmp ebx, ebp
jb 0x58f622
mov ebp, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
sub ebp, esi
mov dword [esp + 0x10], eax
sbb dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x38]
sub ebx, ebp
mov dword [esp + 0x88], ebx
sbb edx, edi
cmp eax, ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x8c], edx
ja 0x58f5c3
jb 0x58f59e
cmp eax, esi
jae 0x58f5c3
mov eax, dword [esp + 0x3c]
add ebx, 0xffffffff
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
adc edx, 0xffffffff
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
movups xmm0, xmmword [esp + 0x50]
jmp 0x58f5d0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [esp + 0x50], xmm0
mov eax, dword [esp + 0x40]
or eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
movups xmm1, xmmword [esp + 0x90]
movups xmmword [esp + 0xa4], xmm0
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xac]
movups xmmword [esp + 0x28], xmm1
shrd esi, ecx, 1
mov eax, ebp
shrd ebp, edi, 1
shr ecx, 1
shl eax, 0x1f
or ecx, eax
shr edi, 1
sub dword [esp + 0x24], 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
movups xmm0, xmmword [esp + 0x14]
movups xmmword [esp + 0x60], xmm0
jne 0x58f4b2
jmp 0x58f661
movups xmm1, xmmword [esp + 0x28]
mov eax, dword [esp + 0xc4]
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xc8]
movups xmm0, xmmword [esp + 0xa4]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
pop ebx
add esp, 0x90
ret