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

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], edx
mov edx, ecx
mov ecx, dword [esp + 0x70]
push ebx
push ebp
mov dword [eax], 0
mov ecx, dword [ecx]
mov eax, ecx
push esi
mov esi, dword [esp + 0x78]
sub eax, esi
mov dword [esp + 0x44], edx
push edi
cmp eax, 0x20
jb 0x45a8d7
lea eax, [esi + 7]
and eax, 0xfffffff8
mov dword [edx], eax
lea ebx, [eax + 0x18]
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x24], ebx
cmp eax, 0x50
jb 0x45a8d7
mov edi, dword [esp + 0x74]
lea esi, [ebx + 0x48]
mov edx, 0x10
mov dword [esp + 0x7c], 0
mov eax, 0x20
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
cmp dword [edi + 0x1c], 0
mov ebp, dword [edi + 0x14]
cmovne eax, edx
movlpd qword [esp + 0x30], xmm0
movups xmm0, xmmword [edi]
sub ecx, esi
mov dword [esp + 0x3c], ebp
mul ebp
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [edi + 0x10]
mov dword [esp + 0x40], ecx
mov esi, eax
add esi, 8
movups xmmword [esp + 0x60], xmm0
adc edx, 0
cmp dword [esp + 0x7c], edx
jb 0x45a8d7
ja 0x45a679
cmp ecx, esi
jb 0x45a8d7
push eax
push dword [edi + 0x10]
lea esi, [ebx + 0x48]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x6c], 0
je 0x45a699
push 0x459d80
push 0x10
jmp 0x45a6a0
push 0x459da0
push 0x20
push dword [esp + 0x6c]
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
xor esi, esi
test ebp, ebp
je 0x45a7a0
mov edi, dword [esp + 0x30]
lea ecx, [ebx + 0x58]
lea edx, [ebx + 0x50]
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x6c], 0
je 0x45a6d3
mov ebp, dword [edx]
xor eax, eax
jmp 0x45a6d8
mov ebp, dword [ecx]
mov eax, dword [ecx + 4]
add edi, ebp
adc ebx, eax
test ebx, ebx
ja 0x45a6f7
jb 0x45a6e8
cmp edi, dword [esp + 0x40]
ja 0x45a6f7
inc esi
add edx, 0x10
add ecx, 0x20
cmp esi, dword [esp + 0x3c]
jb 0x45a6c6
jmp 0x45a6fd
add ebp, 0xffffffff
adc eax, 0xffffffff
test eax, eax
jne 0x45a706
cmp ebp, 0xffffffff
jbe 0x45a711
or ebp, 0xffffffff
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x24]
test ebp, ebp
je 0x45a8d7
mov edx, dword [esp + 0x74]
xorps xmm0, xmm0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
movlpd qword [esp + 0x28], xmm0
mov eax, dword [edx + 0x14]
mov ecx, eax
shr ecx, 3
inc ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], ecx
test eax, eax
je 0x45a85b
mov eax, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x7c], eax
xor edi, edi
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x74]
mov edx, dword [edx + 0x1c]
mov eax, dword [eax + 0x10]
lea ecx, [edi + eax]
add eax, esi
test edx, edx
je 0x45a7a9
mov esi, dword [eax + 8]
mov dword [esp + 0x1c], 0
jmp 0x45a7b3
mov ebp, dword [esp + 0x28]
jmp 0x45a715
mov ebx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x10]
ja 0x45a834
jb 0x45a7c4
cmp esi, ebp
ja 0x45a834
test edx, edx
je 0x45a7cd
mov dword [eax + 0xc], ebx
jmp 0x45a7d7
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], 0
mov edx, dword [esp + 0x74]
add ebx, esi
inc dword [esp + 0x30]
mov dword [esp + 0x10], ebx
cmp dword [edx + 0x1c], 0
mov ecx, dword [edx + 0x10]
je 0x45a7f9
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx]
xor ecx, ecx
jmp 0x45a800
mov eax, dword [edi + ecx]
mov ecx, dword [edi + ecx + 4]
cmp ecx, dword [esp + 0x14]
ja 0x45a816
jb 0x45a80e
cmp eax, dword [esp + 0x18]
jae 0x45a816
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
add eax, esi
adc ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x7c]
jb 0x45a838
ja 0x45a82a
cmp eax, dword [esp + 0x28]
jbe 0x45a838
mov dword [esp + 0x28], eax
mov dword [esp + 0x7c], ecx
jmp 0x45a838
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
add edi, 0x20
add esi, 0x10
sub dword [esp + 0x3c], 1
mov dword [esp + 0x20], esi
jne 0x45a780
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
jmp 0x45a863
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
cmp esi, dword [esp + 0x40]
jae 0x45a88d
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
xor eax, eax
cmp esi, dword [esp + 0x40]
cmovae eax, ecx
test eax, eax
je 0x45a8d7
push dword [esp + 0x84]
lea ecx, [ebx + 0x48]
lea esi, [eax + ecx]
push esi
push ecx
push ecx
push ebp
push dword [esp + 0x90]
push edi
push dword [esp + 0x30]
mov edi, dword [esp + 0x64]
mov ecx, edi
push dword [esp + 0x38]
call fcn.0045a150
add esp, 0x24
test eax, eax
jne 0x45a8e1
mov eax, dword [esp + 0x78]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x48]
movups xmm0, xmmword [eax]
mov edx, dword [edx]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [eax + 0x10]
mov dword [ebx + 0x24], ebp
lea eax, [ebx + 0x48]
mov dword [ebx + 0x38], eax
movups xmmword [ebx + 0x10], xmm0
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [edx], ebx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x80]
pop edi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0x45a4c0
mov dword [eax], esi
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x60
ret