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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x950
mov dword [esp + 0x70], edx
mov edi, ecx
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x24]
cmp ecx, eax
cmova eax, ecx
mov edx, dword [edi + 0x18]
mov dword [edi + 0x24], eax
cmp dword [edi + 0x10], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
je 0x55726a
test eax, eax
je 0x557ba3
mov dword [esp + 0x3c], ebx
imul ebx, dword [edi + 0x28], 0x410
add ebx, edx
mov eax, dword [edi]
lea ecx, [ebx + eax*4]
mov dword [esp + 0x60], ecx
xorpd xmm1, xmm1
xor esi, esi
mov edi, ebx
test al, 1
je 0x557458
jmp 0x5574cb
mov ecx, dword [ebx + 0xc]
mov dword [ecx], eax
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx + 8]
mov byte [eax], 0
mov eax, dword [edi]
lea ecx, [edx + eax*4]
mov dword [esp + 0x60], ecx
xorpd xmm1, xmm1
mov edi, edx
xor esi, esi
mov ebx, edx
test al, 1
jne 0x557303
cmp ebx, dword [esp + 0x60]
jae 0x557371
lea edi, [ebx + 4]
mov eax, dword [ebx]
movss xmm2, dword [ebx]
orpd xmm2, xmmword [0x8b5d80]
add esi, eax
subsd xmm2, qword [0x8b5d90]
cmp eax, 0xff
ja 0x5572c9
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x5572fb
movsd qword [esp], xmm2
movsd qword [esp + 0x20], xmm1
movapd xmmword [esp + 0x40], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x40]
movsd xmm1, qword [esp + 0x20]
fstp qword [esp + 0xd0]
movsd xmm0, qword [esp + 0xd0]
mulsd xmm0, xmm2
subsd xmm1, xmm0
lea ebx, [edi + 4]
mov eax, dword [edi]
movss xmm2, dword [edi]
orpd xmm2, xmmword [0x8b5d80]
add esi, eax
subsd xmm2, qword [0x8b5d90]
cmp eax, 0xff
ja 0x557332
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x557364
movsd qword [esp], xmm2
movsd qword [esp + 0x20], xmm1
movapd xmmword [esp + 0x40], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x40]
movsd xmm1, qword [esp + 0x20]
fstp qword [esp + 0xc8]
movsd xmm0, qword [esp + 0xc8]
mulsd xmm0, xmm2
subsd xmm1, xmm0
jmp 0x557290
movd xmm2, esi
por xmm2, xmmword [0x8b5d80]
subsd xmm2, qword [0x8b5d90]
test esi, esi
je 0x5573a5
cmp esi, 0xff
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
ja 0x5573af
mov eax, dword [0x86baec]
movsd xmm0, qword [eax + esi*8]
jmp 0x5573e1
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
jmp 0x5573e9
movsd qword [esp], xmm2
movsd qword [esp + 0x20], xmm1
movapd xmmword [esp + 0x60], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x60]
movsd xmm1, qword [esp + 0x20]
fstp qword [esp + 0xd8]
movsd xmm0, qword [esp + 0xd8]
mulsd xmm0, xmm2
addsd xmm1, xmm0
maxsd xmm2, xmm1
movsd qword [edi + 0x38], xmm2
movsd qword [edi + 0x40], xmm2
inc dword [edi + 0x10]
inc dword [ebx]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x28]
inc eax
mov dword [edi + 0x28], eax
cmp eax, dword [ecx]
jae 0x55744c
imul eax, eax, 0x410
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x18]
add eax, esi
mov dword [esp], eax
mov dword [esp + 8], 0x404
mov dword [esp + 4], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [esp + 0x20]
mov dword [esi + eax + 0x40c], 0x7ff00000
mov dword [esi + eax + 0x408], 0
mov dword [edi + 0x24], 0
jmp 0x557ba3
cmp ebx, dword [esp + 0x60]
jae 0x557539
lea edi, [ebx + 4]
mov eax, dword [ebx]
movss xmm2, dword [ebx]
orpd xmm2, xmmword [0x8b5d80]
add esi, eax
subsd xmm2, qword [0x8b5d90]
cmp eax, 0xff
ja 0x557491
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x5574c3
movsd qword [esp], xmm2
movsd qword [esp + 0x20], xmm1
movapd xmmword [esp + 0x40], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x40]
movsd xmm1, qword [esp + 0x20]
fstp qword [esp + 0xe8]
movsd xmm0, qword [esp + 0xe8]
mulsd xmm0, xmm2
subsd xmm1, xmm0
lea ebx, [edi + 4]
mov eax, dword [edi]
movss xmm2, dword [edi]
orpd xmm2, xmmword [0x8b5d80]
add esi, eax
subsd xmm2, qword [0x8b5d90]
cmp eax, 0xff
ja 0x5574fa
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x55752c
movsd qword [esp], xmm2
movsd qword [esp + 0x20], xmm1
movapd xmmword [esp + 0x40], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x40]
movsd xmm1, qword [esp + 0x20]
fstp qword [esp + 0xe0]
movsd xmm0, qword [esp + 0xe0]
mulsd xmm0, xmm2
subsd xmm1, xmm0
jmp 0x557458
movd xmm0, esi
por xmm0, xmmword [0x8b5d80]
subsd xmm0, qword [0x8b5d90]
test esi, esi
je 0x55756d
cmp esi, 0xff
mov edi, dword [esp + 0x1c]
ja 0x557577
mov eax, dword [0x86baec]
movapd xmm2, xmm0
movsd xmm0, qword [eax + esi*8]
jmp 0x5575af
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x5575bf
movsd qword [esp], xmm0
movapd xmmword [esp + 0x80], xmm0
movsd qword [esp + 0x20], xmm1
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x80]
movsd xmm1, qword [esp + 0x20]
fstp qword [esp + 0x108]
movsd xmm0, qword [esp + 0x108]
mov esi, dword [esp + 0x18]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movapd xmm0, xmm2
maxsd xmm0, xmm1
movapd xmmword [esp + 0x80], xmm0
lea eax, [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 8], 0x820
mov dword [esp + 4], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorpd xmm0, xmm0
movapd xmmword [esp + 0xb0], xmm0
movapd xmmword [esp + 0xa0], xmm0
lea eax, [esi + 0x400]
mov dword [esp + 0x7c], eax
lea eax, [esi + 0x30]
mov dword [esp + 0x78], eax
lea ebx, [esp + 0x158]
lea eax, [esi + 0xc]
mov dword [esp + 0x74], eax
xor edx, edx
lea esi, [esp + 0x134]
jmp 0x5576a9
movsd qword [esp], xmm2
movq qword [esp + 0x40], xmm1
movapd xmmword [esp + 0x20], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x20]
movq xmm1, qword [esp + 0x40]
mov edx, dword [esp + 0x60]
fstp qword [esp + 0x100]
movsd xmm0, qword [esp + 0x100]
mulsd xmm0, xmm2
addsd xmm1, xmm0
maxsd xmm2, xmm1
movsd qword [esp + edx*8 + 0xb0], xmm2
subsd xmm2, qword [esp + 0x80]
subsd xmm2, qword [edi + edx*8 + 0x38]
movsd qword [esp + edx*8 + 0xa0], xmm2
inc edx
add ebx, 0x410
add esi, 0x410
cmp edx, 2
je 0x557951
mov eax, dword [edi + edx*4 + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], edx
imul ecx, edx, 0x410
mov dword [esp + 0x5c], ecx
add ecx, esp
add ecx, 0x128
mov dword [esp + 0x40], ecx
imul eax, dword [edi + 0x28], 0x410
mov edi, dword [esp + 0x18]
add eax, edi
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0x410
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov edx, dword [esp + 0x5c]
imul eax, dword [esp + 0x20], 0x410
mov ecx, dword [edi + eax + 0x400]
add dword [esp + edx + 0x528], ecx
mov ecx, dword [esp + 0x7c]
add ecx, eax
cmp dword [esp + 0x40], ecx
jae 0x557760
mov ecx, dword [esp + 0x18]
add ecx, eax
add edx, esp
add edx, 0x528
cmp ecx, edx
jae 0x557760
add eax, dword [esp + 0x74]
xor ecx, ecx
mov edi, dword [esp + 0x1c]
nop
mov edx, dword [eax + ecx*4 - 0xc]
add dword [esi + ecx*4 - 0xc], edx
mov edx, dword [eax + ecx*4 - 8]
add dword [esi + ecx*4 - 8], edx
mov edx, dword [eax + ecx*4 - 4]
add dword [esi + ecx*4 - 4], edx
mov edx, dword [eax + ecx*4]
add dword [esi + ecx*4], edx
add ecx, 4
cmp ecx, 0x100
jne 0x557730
jmp 0x5577d0
add eax, dword [esp + 0x78]
xor ecx, ecx
mov edi, dword [esp + 0x1c]
nop word [eax + eax]
movdqu xmm0, xmmword [eax + ecx*4 - 0x30]
movdqu xmm1, xmmword [eax + ecx*4 - 0x20]
movdqu xmm2, xmmword [ebx + ecx*4 - 0x30]
paddd xmm2, xmm0
movdqu xmm0, xmmword [ebx + ecx*4 - 0x20]
paddd xmm0, xmm1
movdqu xmmword [ebx + ecx*4 - 0x30], xmm2
movdqu xmmword [ebx + ecx*4 - 0x20], xmm0
movdqu xmm0, xmmword [eax + ecx*4 - 0x10]
movdqu xmm1, xmmword [eax + ecx*4]
movdqu xmm2, xmmword [ebx + ecx*4 - 0x10]
paddd xmm2, xmm0
movdqu xmm0, xmmword [ebx + ecx*4]
paddd xmm0, xmm1
movdqu xmmword [ebx + ecx*4 - 0x10], xmm2
movdqu xmmword [ebx + ecx*4], xmm0
add ecx, 0x10
cmp ecx, 0x100
jne 0x557770
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax*4]
pxor xmm1, xmm1
mov dword [esp + 0x20], 0
test al, 1
mov eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
jne 0x55788b
nop word [eax + eax]
cmp ecx, eax
jae 0x557916
lea eax, [ecx + 4]
mov dword [esp + 0x90], eax
mov eax, dword [ecx]
add dword [esp + 0x20], eax
movss xmm2, dword [ecx]
orpd xmm2, xmmword [0x8b5d80]
subsd xmm2, qword [0x8b5d90]
cmp eax, 0xff
ja 0x557840
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x55787c
movsd qword [esp], xmm2
movq qword [esp + 0x40], xmm1
movapd xmmword [esp + 0x110], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x110]
movq xmm1, qword [esp + 0x40]
mov edx, dword [esp + 0x60]
fstp qword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf8]
mulsd xmm0, xmm2
subsd xmm1, xmm0
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
movss xmm2, dword [ecx]
lea edi, [ecx + 4]
add dword [esp + 0x20], eax
orpd xmm2, xmmword [0x8b5d80]
subsd xmm2, qword [0x8b5d90]
cmp eax, 0xff
ja 0x5578c0
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x5578fc
movsd qword [esp], xmm2
movq qword [esp + 0x40], xmm1
movapd xmmword [esp + 0x90], xmm2
call fcn.0058e124
movapd xmm2, xmmword [esp + 0x90]
movq xmm1, qword [esp + 0x40]
mov edx, dword [esp + 0x60]
fstp qword [esp + 0xf0]
movsd xmm0, qword [esp + 0xf0]
mulsd xmm0, xmm2
subsd xmm1, xmm0
mov ecx, edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jb 0x557808
mov ecx, dword [esp + 0x20]
movd xmm2, ecx
por xmm2, xmmword [0x8b5d80]
subsd xmm2, qword [0x8b5d90]
test ecx, ecx
je 0x55766e
cmp ecx, 0xff
ja 0x557630
mov eax, dword [0x86baec]
movsd xmm0, qword [eax + ecx*8]
jmp 0x557666
mov ebx, dword [esp + 0x3c]
cmp dword [ebx], 0x100
jae 0x557a26
movsd xmm1, qword [edi + 8]
movapd xmm0, xmmword [esp + 0xa0]
ucomisd xmm0, xmm1
mov esi, dword [esp + 0x18]
jbe 0x557a33
movapd xmm2, xmm0
unpckhpd xmm2, xmm0
ucomisd xmm2, xmm1
jbe 0x557a33
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x24]
mov edx, dword [ebx + 0xc]
mov dword [edx + eax*4], ecx
movzx eax, byte [ebx]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 0x10]
mov byte [ecx + edx], al
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], eax
movzx eax, byte [ebx]
mov dword [edi + 0x2c], eax
movsd xmm0, qword [edi + 0x38]
movsd qword [edi + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x80]
movsd qword [edi + 0x38], xmm0
inc dword [edi + 0x10]
inc dword [ebx]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x28]
inc eax
mov dword [edi + 0x28], eax
cmp eax, dword [ecx]
jae 0x557a1a
mov ecx, esi
imul esi, eax, 0x410
lea eax, [ecx + esi]
mov dword [esp], eax
mov dword [esp + 8], 0x404
mov dword [esp + 4], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [esp + 0x18]
mov dword [eax + esi + 0x40c], 0x7ff00000
mov dword [eax + esi + 0x408], 0
mov dword [edi + 0x24], 0
jmp 0x557af5
movapd xmm0, xmmword [esp + 0xa0]
mov esi, dword [esp + 0x18]
movsd xmm1, qword [0x8b5d98]
addsd xmm1, xmm0
unpckhpd xmm0, xmm0
ucomisd xmm1, xmm0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x24]
mov edx, dword [ebx + 0xc]
jbe 0x557b07
mov dword [edx + eax*4], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 0x10]
movzx edx, byte [eax + ecx - 2]
mov byte [eax + ecx], dl
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], eax
imul eax, ecx, 0x410
add eax, esi
lea ecx, [esp + 0x538]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 0x410
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsd xmm0, qword [edi + 0x38]
movsd qword [edi + 0x40], xmm0
movsd xmm0, qword [esp + 0xb8]
movsd qword [edi + 0x38], xmm0
inc dword [edi + 0x10]
mov dword [edi + 0x24], 0
mov eax, esi
imul esi, dword [edi + 0x28], 0x410
add eax, esi
mov dword [esp], eax
mov dword [esp + 8], 0x404
mov dword [esp + 4], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [esp + 0x18]
mov dword [eax + esi + 0x408], 0
mov dword [eax + esi + 0x40c], 0x7ff00000
mov dword [edi + 0x48], 0
mov eax, dword [edi + 4]
mov dword [edi + 0x20], eax
jmp 0x557ba3
add dword [edx + eax*4 - 4], ecx
imul eax, dword [edi + 0x2c], 0x410
add eax, esi
lea ecx, [esp + 0x128]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 0x410
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsd xmm0, qword [esp + 0xb0]
movsd qword [edi + 0x38], xmm0
cmp dword [ebx], 1
jne 0x557b47
movsd qword [edi + 0x40], xmm0
mov dword [edi + 0x24], 0
imul eax, dword [edi + 0x28], 0x410
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x18]
add eax, esi
mov dword [esp], eax
mov dword [esp + 8], 0x404
mov dword [esp + 4], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [esp + 0x20]
mov dword [esi + eax + 0x408], 0
mov dword [esi + eax + 0x40c], 0x7ff00000
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
cmp eax, 2
jb 0x557ba3
mov eax, dword [edi + 4]
add dword [edi + 0x20], eax
cmp dword [esp + 0x70], 0
je 0x557bb7
mov eax, dword [ebx]
mov ecx, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 4], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret