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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, 4
mov dword [esp + 4], edx
mov dword [esp + 0x44], esi
mov eax, dword [edi]
add eax, 0xfffffffe
cmp eax, 7
cmovb ecx, eax
call 0x6cafa1
pop eax
test ecx, ecx
je 0x6cb03c
cmp ecx, 6
jne 0x6cb5de
mov ebx, dword [edi + 4]
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
cmp edi, 1
je 0x6cb185
test edi, edi
jne 0x6cb30d
lea eax, [esp + 0x48]
lea ecx, [esp + 0x78]
mov edx, str.wanted_exactly_1_element__found_0_elementswanted_exactly_1_element__more_than_1_elementstring_only
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x88], 0x20
mov byte [esp + 0x98], 3
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x8a7978
push 0x2a
jmp 0x6cb377
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 4]
mov ebx, dword [edi + 8]
cmp eax, 4
jne 0x6cb612
cmp dword [ebx], 0x6c6d7468
je 0x6cb16b
cmp dword [ebx], 0x6e6f736a
jne 0x6cb85e
mov byte [esp + 0x7c], 1
mov dword [esp + 0x78], 2
test esi, esi
je 0x6cb086
push ebx
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
cmp eax, 2
jne 0x6cb0af
movzx ecx, byte [esp + 0x7c]
mov byte [esp + 0xc], cl
mov ebx, dword [esp + 4]
mov dword [esp + 8], eax
cmp eax, 2
je 0x6cb9bd
jmp 0x6cb125
movzx edx, word [esp + 0x7d]
mov ch, byte [esp + 0x7f]
movsd xmm2, qword [esp + 0x90]
movsd xmm1, qword [esp + 0x98]
mov cl, byte [esp + 0x7c]
movsd xmm0, qword [esp + 0x88]
mov word [esp + 0xd], dx
mov byte [esp + 0xf], ch
movsd qword [esp + 0x20], xmm2
movsd qword [esp + 0x28], xmm1
movsd xmm2, qword [esp + 0xa0]
movsd xmm1, qword [esp + 0x80]
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x30], xmm2
mov byte [esp + 0xc], cl
movsd qword [esp + 0x10], xmm1
mov ebx, dword [esp + 4]
mov dword [esp + 8], eax
cmp eax, 2
je 0x6cb9bd
movsd xmm1, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [esi + 0x18], xmm2
movsd xmm2, qword [esp + 8]
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [esi], xmm2
movsd qword [esi + 8], xmm1
jmp 0x6cb9cb
mov byte [esp + 0x7c], 0
mov dword [esp + 0x78], 2
test esi, esi
jne 0x6cb077
jmp 0x6cb086
mov dword [esp + 0xdc], eax
xor eax, eax
test ebx, ebx
lea edi, [esp + 0xa0]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 8]
setne al
mov edx, edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], eax
mov dword [esp + 0x88], 9
call fcn.006b14a0
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x6cb429
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 4]
lea edx, [eax + eax*2]
mov esi, dword [ecx + edx*8]
cmp esi, 9
je 0x6cb42d
mov eax, dword [ecx + edx*4 + 0x10c]
mov ebx, dword [ecx + edx*4 + 0x110]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + edx*4 + 0x114]
lea ecx, [ecx + edx*8]
mov dword [esp + 0x38], ebx
mov edx, dword [ecx + 0x14]
cmp eax, 4
mov dword [esp + 0x5c], edx
movsd xmm0, qword [ecx + 4]
movsd xmm1, qword [ecx + 0xc]
movsd qword [esp + 0x54], xmm1
movsd qword [esp + 0x4c], xmm0
mov dword [esp + 0x48], esi
jne 0x6cba60
cmp dword [ebx], 0x6c6d7468
je 0x6cb841
cmp dword [ebx], 0x6e6f736a
jne 0x6cba70
mov byte [esp + 0xc], 1
mov dword [esp + 8], 2
cmp dword [esp + 0x3c], 0
je 0x6cb2a6
push dword [esp + 0x38]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x6cb625
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
movzx ebx, byte [esp + 0xc]
lea esi, [esp + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xf0], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
nop
mov ecx, esi
mov edx, edi
call fcn.006b14a0
cmp dword [esp + 8], 0
je 0x6cb70a
mov ecx, esi
call fcn.006b25d0
jmp 0x6cb2f0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x78]
mov edx, 0x8aec92
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x88], 0x20
mov byte [esp + 0x98], 3
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x8a7978
push 0x2d
call fcn.004646a0
add esp, 4
test al, al
jne 0x6cbad3
movsd xmm0, qword [esp + 0x48]
mov eax, dword [esp + 0x50]
test ebx, ebx
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 8], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x80000000
je 0x6cb3fd
mov eax, 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], esi
jmp 0x6cb401
xor eax, eax
xor edi, edi
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x98], edi
call fcn.006b3350
mov ebx, dword [esp + 4]
jmp 0x6cb9b0
mov ebx, dword [esp + 4]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0x20
mov byte [esp + 0x28], 3
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 8]
mov edx, str.expected_table_with_exactly_1_entry__found_empty_tableInputPair
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x8a7978
push 0x36
call fcn.004646a0
add esp, 4
test al, al
jne 0x6cbad3
mov eax, dword [esp + 0x48]
movaps xmm0, xmmword [0x7d5560]
mov dword [esp + 0xd4], 4
mov dword [esp + 0x38], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xd8], eax
lea esi, [esp + 8]
nop dword [eax]
mov ecx, esi
mov edx, edi
call fcn.006b14a0
cmp dword [esp + 8], 0
je 0x6cb519
mov ecx, esi
call fcn.006b25d0
jmp 0x6cb500
lea ecx, [esp + 0x78]
call fcn.006b1630
movzx eax, word [esp + 0x74]
mov ecx, dword [esp + 0x6c]
movaps xmm0, xmmword [esp + 0xf0]
mov esi, dword [esp + 0x44]
mov word [esp + 0x11], ax
movzx eax, byte [esp + 0x76]
or ecx, dword [esp + 0x38]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x43]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe0]
movlps qword [esp + 0x28], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x34], eax
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x70]
cmp ecx, 6
ja 0x6cb773
mov edi, dword [esp + 0xdc]
add edi, dword [ecx*4 + 0x6cbaf4]
jmp edi
mov ebx, ecx
lea ecx, [esp + 8]
lea edx, [esp + 0x78]
mov dword [esp + 0xdc], eax
mov byte [esp + 0x78], 0xd
push 0x8aec38
push 0x8aeccc
call fcn.007d0ab0
mov ecx, ebx
mov ebx, dword [esp + 0xc]
mov edx, edi
add esp, 8
mov al, 1
jmp 0x6cb5b3
lea ecx, [esp + 0x78]
mov edx, ebx
push 2
push 0x92da5c
push eax
jmp 0x6cb86d
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0xc]
movzx edx, word [esp + 0xd]
add esi, 0xfffffffe
mov ebx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x28]
mov dword [esp + 0x6c], eax
movzx eax, byte [esp + 0xf]
mov dword [esp + 0xd8], ebx
mov ebx, dword [esp + 0x20]
movaps xmmword [esp + 0xf0], xmm0
shl eax, 0x10
mov dword [esp + 0xcc], ebx
mov ebx, dword [esp + 0x34]
or edx, eax
movzx eax, byte [esp + 0x10]
cmp esi, 7
mov dword [esp + 0xd0], ebx
mov ebx, dword [esp + 4]
mov byte [esp + 0x43], al
movzx eax, word [esp + 0x11]
mov word [esp + 0x74], ax
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x76], al
mov eax, 4
cmovb eax, esi
mov esi, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 4
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xd4], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xe0], esi
jb 0x6cba1b
test eax, eax
je 0x6cb9fe
cmp eax, 5
jne 0x6cba27
lea ecx, [esp + 0x4c]
mov esi, edx
call fcn.006b3100
cmp dword [esp + 0x4c], 0
mov edx, esi
je 0x6cba1b
push dword [esp + 0x50]
push 0
push dword [0x94bf18]
jmp 0x6cba13
lea ecx, [esp + 0x78]
call fcn.006b1630
test bl, bl
je 0x6cb882
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x78]
call fcn.0073ddb0
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
cmp eax, 2
jne 0x6cb8ef
mov al, 1
jmp 0x6cb8d1
mov ecx, dword [edx + 4]
mov edi, esi
test ecx, ecx
je 0x6cb94f
mov eax, edx
mov edx, dword [edx + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov ecx, 1
mov dword [esp + 0x94], edx
jmp 0x6cb953
mov byte [esp + 0xc], 0
mov dword [esp + 8], 2
cmp dword [esp + 0x3c], 0
jne 0x6cb294
jmp 0x6cb2a6
lea ecx, [esp + 0x78]
mov edx, ebx
push 2
push 0x92da5c
push 4
call fcn.007d0f10
add esp, 0xc
test esi, esi
jne 0x6cb077
jmp 0x6cb086
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x78]
call fcn.0073ddb0
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
cmp eax, 2
jne 0x6cb8ef
xor eax, eax
mov ebx, dword [esp + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x70]
mov byte [esp + 0xc], al
mov dword [esp + 8], 2
xor eax, eax
jmp 0x6cb5b3
mov ecx, dword [esp + 0xa4]
movsd xmm0, qword [esp + 0x9c]
movsd xmm2, qword [esp + 0x94]
movsd xmm1, qword [esp + 0x8c]
mov ebx, dword [esp + 4]
mov dword [esp + 0x34], ecx
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x24], xmm2
movsd qword [esp + 0x1c], xmm1
movsd xmm1, qword [esp + 0x84]
movsd xmm2, qword [esp + 0x7c]
movsd qword [esp + 0x14], xmm1
movsd qword [esp + 0xc], xmm2
mov dword [esp + 8], eax
jmp 0x6cb5aa
xor ecx, ecx
xor eax, eax
lea ebx, [esp + 0x48]
lea esi, [esp + 0x78]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], eax
nop dword [eax]
mov ecx, ebx
mov edx, esi
call fcn.006b14a0
cmp dword [esp + 0x48], 0
je 0x6cb989
mov ecx, ebx
call fcn.006b25d0
jmp 0x6cb970
mov ebx, dword [esp + 4]
mov esi, edi
jmp 0x6cb9b0
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x6cb125
movzx eax, byte [esp + 0xc]
mov byte [esi + 4], al
mov dword [esi], 2
lea ecx, [ebx - 0x80000000]
cmp ecx, 6
setb al
cmp ecx, 2
setne cl
test ebx, ebx
je 0x6cb9f6
and al, cl
jne 0x6cb9f6
push dword [ebp + 8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 0x4c], 0
je 0x6cba1b
push dword [esp + 0x50]
push 0
push dword [0x94bf18]
mov esi, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, esi
shl edx, 8
mov dword [esp + 0x38], edx
jmp 0x6cb4f8
mov ecx, dword [esp + 0x4c]
mov esi, edx
test ecx, ecx
je 0x6cba97
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ecx
mov ecx, 1
mov dword [esp + 0x24], edx
jmp 0x6cba9b
lea ecx, [esp + 8]
mov edx, ebx
push 2
push 0x92da5c
push eax
jmp 0x6cba7f
lea ecx, [esp + 8]
mov edx, ebx
push 2
push 0x92da5c
push 4
call fcn.007d0f10
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne 0x6cb294
jmp 0x6cb2a6
xor ecx, ecx
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xe4]
lea edx, [esp + 8]
call fcn.006b14a0
cmp dword [esp + 0xe4], 0
je 0x6cba19
lea ecx, [esp + 0xe4]
call fcn.006b25d0
jmp 0x6cbaa7
lea eax, [esp + 0xe4]
mov ecx, str.a_Display_implementation_returned_an_error_unexpectedly_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_alloc_src_string.rs
mov edx, 0x37
push 0x93a144
push 0x8abeec
push eax
call fcn.007c1f60
sub eax, dword [esi]
add byte [eax], al
invalid