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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x298
mov eax, dword [0x8020c0]
lea esi, [esp + 0x90]
mov edi, edx
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x18]
mov dword [esi + 8], 2
mov ecx, esi
mov dword [edx], 0x7f59e0
mov dword [edx + 4], 0
mov dword [esi + 0x18], eax
add eax, 0x1c
mov dword [edx + 8], eax
call fcn.0060ba02
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movsd xmm2, qword [esi + 0x10]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x70], xmm1
mov eax, dword [esp + 0x60]
cmp eax, 2
je 0x578ba4
test eax, eax
je 0x578b90
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
jmp 0x578b98
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x58]
push edx
push ecx
call dword [eax + 0x30]
add esp, 8
lea esi, [edi + 0x70]
lea eax, [edi + 0xa8]
lea edx, [edi + 0x74]
lea ecx, [edi + 0x78]
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], ebx
mov ecx, esi
mov esi, dword [esi]
lea eax, [esi - 3]
cmp eax, 2
jae 0x578bfd
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
cmp ecx, eax
sbb edx, 0
jae 0x578c0a
cmp eax, ecx
je 0x578c0a
jmp 0x578e0a
call fcn.0057933e
test eax, eax
jne 0x578f0c
xor eax, eax
cmp esi, 3
mov dword [edi + 0xbc], eax
mov dword [edi + 0xb8], eax
mov dword [edi + 0xac], eax
mov dword [edi + 0x70], 4
jne 0x57910b
mov eax, dword [esp + 0x3c]
mov esi, dword [edi + 0xc0]
mov ecx, dword [esp + 8]
mov edx, dword [edi + 0x84]
mov word [esp + 0x7c], 0x904
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
add esi, 9
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], esi
lea esi, [esp + 0x40]
mov edx, esi
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm0
call fcn.004c1af4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 4], edi
not edi
mov dword [esp + 0x34], eax
cmp edi, ecx
cmovae edi, ecx
cmp eax, edi
jbe 0x578d09
lea ecx, [esp + 0x90]
lea edx, [esp + 0x18]
push edi
call fcn.004a2c2a
add esp, 4
mov ebx, dword [esp + 0x94]
mov ecx, esi
mov esi, dword [esp + 0x98]
mov edx, ebx
push esi
call fcn.004b9bbf
add esp, 4
mov eax, dword [esp + 0x90]
push esi
push ebx
lea ecx, [esp + 0xa4]
push ecx
call dword [eax + 8]
add esp, 0xc
lea eax, [esp + 0x1c]
mov ebx, dword [esp + 0x18]
movsd xmm0, qword [eax]
mov eax, dword [eax + 8]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
jmp 0x578d1a
mov edx, dword [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004b9bbf
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], 0
mov ecx, edx
sub ecx, dword [esp + 4]
bswap ecx
mov dword [esp + 0x4c], ecx
mov ecx, 0xfffffffb
test ecx, ecx
je 0x578d51
cmp byte [esp + ecx + 0x4d], 0
lea ecx, [ecx + 1]
je 0x578d3e
jmp 0x57928b
cmp edx, 2
jbe 0x5792a1
lea edx, [esp + 0x4d]
mov ecx, dword [eax]
test ebx, ebx
mov dl, byte [edx + 2]
mov byte [ecx + 2], dl
lea edx, [esp + 0x4d]
movzx edx, word [edx]
mov word [ecx], dx
je 0x578d86
mov edx, dword [eax + 4]
cmp edx, 4
jbe 0x57925a
mov eax, dword [eax]
add byte [eax + 4], 0xfc
cmp dword [esp + 0x34], edi
mov eax, dword [esp + 0x98]
movsd xmm0, qword [esp + 0x90]
mov dword [esp + 0x88], eax
movsd qword [esp + 0x80], xmm0
ja 0x578dc3
mov eax, dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
call dword [eax + 8]
add esp, 0xc
mov edi, dword [esp + 0x30]
test ebx, ebx
je 0x578bcf
mov ecx, esi
call fcn.005720a9
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x80]
mov dword [edi + 0x70], 3
mov dword [edi + 0x74], ebx
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x84], ecx
jmp 0x578bcf
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp ecx, eax
sbb edx, 0
jae 0x578bcb
cmp eax, ecx
je 0x578bcb
mov eax, edi
mov edi, dword [edi + 0xd0]
mov esi, dword [eax + 0xd4]
push edi
call dword [esi + 0x20]
add esp, 4
test al, al
je 0x578eb3
mov eax, 0xfffffe00
mov dword [esp + eax + 0x290], 0
mov dword [esp + eax + 0x294], 0x7f59e0
add eax, 8
jne 0x578e53
mov ecx, dword [esp + 8]
call fcn.005792c3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
push 1
lea eax, [esp + 0x94]
push eax
push dword [ebp + 8]
push edi
lea eax, [esp + 0x28]
push eax
call dword [esi + 0x1c]
add esp, 0x14
cmp byte [esp + 0x18], 5
je 0x57926e
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x578eec
mov ecx, dword [esp + 8]
call fcn.005792c3
push edx
push eax
push dword [ebp + 8]
push edi
lea eax, [esp + 0xa0]
push eax
call dword [esi + 0x10]
add esp, 0x14
cmp byte [esp + 0x90], 5
je 0x57926e
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
cmp al, 4
jne 0x57924c
mov ecx, dword [esp + 8]
mov edx, ebx
call fcn.005792fa
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
jmp 0x578bcb
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xac]
mov esi, eax
sub esi, ecx
neg esi
cmp eax, ecx
mov eax, dword [edi + 0xbc]
mov ecx, dword [esp + 0xc]
sbb eax, 0
mov eax, 0
cmovae esi, eax
call fcn.0057933e
add eax, esi
jb 0x5792b2
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
je 0x578bc7
mov eax, dword [edi + 0xd0]
mov ebx, dword [edi + 0xd4]
mov dword [esp + 4], eax
push eax
call dword [ebx + 0x20]
add esp, 4
test al, al
je 0x57903e
mov eax, 0xfffffe00
mov dword [esp + eax + 0x290], 0
mov dword [esp + eax + 0x294], 0x7f59e0
add eax, 8
jne 0x578f78
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
xor edi, edi
mov esi, 0
mov dword [esp + 0x34], ebx
cmp ecx, eax
sbb edx, 0
jae 0x578fd5
cmp eax, ecx
je 0x578fd5
mov ecx, dword [esp + 8]
call fcn.005792c3
xor esi, esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
inc esi
mov ebx, dword [esp + 0xc]
mov ecx, ebx
call fcn.0057933e
test eax, eax
je 0x578ffc
mov ecx, ebx
call fcn.00579378
xor edi, edi
mov dword [esp + esi*8 + 0x90], edx
mov dword [esp + esi*8 + 0x94], eax
inc edi
add edi, esi
push edi
lea eax, [esp + 0x94]
push eax
push dword [ebp + 8]
push dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x48]
call dword [eax + 0x1c]
add esp, 0x14
cmp byte [esp + 0x18], 5
je 0x579254
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp al, 4
jne 0x57924c
mov edi, dword [esp + 0x30]
jmp 0x5790a8
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
cmp ecx, eax
sbb edx, 0
jae 0x579066
cmp eax, ecx
je 0x579066
mov ecx, dword [esp + 8]
call fcn.005792c3
jmp 0x57906d
mov ecx, esi
call fcn.00579378
push edx
push eax
push dword [ebp + 8]
push dword [esp + 0x10]
lea eax, [esp + 0xa0]
push eax
call dword [ebx + 0x10]
add esp, 0x14
cmp byte [esp + 0x90], 5
je 0x579254
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
cmp al, 4
jne 0x57924c
mov ecx, dword [edi + 0xb8]
mov eax, dword [edi + 0xac]
mov esi, dword [edi + 0xbc]
mov dword [esp + 4], ebx
mov edx, ecx
sub edx, eax
sbb esi, 0
mov esi, dword [esp + 0xc]
jae 0x5790e8
mov ebx, dword [esp + 4]
cmp eax, ecx
je 0x5790e8
mov eax, dword [esp + 4]
neg edx
mov ebx, eax
sub ebx, edx
jbe 0x5790f3
mov ecx, dword [esp + 8]
call fcn.005792fa
mov ecx, esi
mov edx, ebx
call fcn.005793cd
jmp 0x5790fe
mov ecx, dword [esp + 8]
mov edx, eax
call fcn.005792fa
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
jmp 0x578bc7
cmp esi, 4
je 0x5791de
mov ecx, dword [esp + 0x3c]
movsd xmm2, qword [edi + 0xa0]
cmp dword [edi + 0x38], 3
movsd xmm1, qword [ecx + 8]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd qword [esp + 0xa8], xmm2
movsd xmm2, qword [edi + 0x88]
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [edi + 0x98]
mov dword [esp + 0x28], eax
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [edi + 0x90]
movsd qword [esp + 0x98], xmm1
je 0x579186
lea ecx, [edi + 0x38]
call fcn.00555c2c
movsd xmm1, qword [esp + 0x20]
mov dword [edi + 0x38], esi
movsd xmm0, qword [esp + 0x18]
mov eax, dword [esp + 0x28]
movsd xmm3, qword [esp + 0x90]
movsd xmm2, qword [esp + 0xa0]
movsd qword [edi + 0x44], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], eax
movsd qword [edi + 0x50], xmm3
movsd qword [edi + 0x60], xmm2
movsd qword [edi + 0x58], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [edi + 0x68], xmm1
mov eax, dword [edi + 0xd4]
push dword [ebp + 8]
push dword [edi + 0xd0]
lea ecx, [esp + 0x98]
push ecx
call dword [eax + 0x14]
add esp, 0xc
cmp byte [esp + 0x90], 5
jne 0x57920e
mov eax, dword [esp + 0x10]
mov byte [eax], 5
jmp 0x579232
mov eax, dword [esp + 0x90]
cmp al, 4
jne 0x579222
mov eax, dword [esp + 0x10]
mov byte [eax], 4
jmp 0x579232
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x94]
mov dword [edx], eax
mov dword [edx + 4], ecx
lea esi, [esp + 0x58]
mov ecx, esi
call fcn.004bab53
mov ecx, esi
call fcn.004bab83
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
shrd ecx, ebx, 8
jmp 0x579274
mov ebx, dword [esp + 0x38]
jmp 0x579272
mov ecx, 4
push 0x74f5d0
call fcn.006521f0
add esp, 4
ud2
mov ebx, dword [esp + 0x14]
mov al, 5
cmp al, 5
je 0x579205
mov edx, dword [esp + 0x10]
shl ecx, 8
movzx eax, al
or eax, ecx
mov dword [edx + 4], ebx
mov dword [edx], eax
jmp 0x579232
mov ecx, str.assertion_failed:_payload_len_be_0..5_.iter__.all_b_b__0_
mov edx, 0x3e
push 0x74f5b0
call fcn.006522d0
jmp 0x579269
mov ecx, 3
push 0x74f5c0
call fcn.00652260
jmp 0x579269
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7b8df8
jmp 0x57929a