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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov esi, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0x20], ecx
xor edx, edx
mov dword [esp + 0x24], 0
mov ecx, esi
call fcn.0041a020
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x58]
lea edx, [esp + 0xa0]
mov ebx, dword [edi]
mov dword [esp + 0x80], edi
shl ecx, 4
mov dword [edx], eax
add ecx, eax
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
mov dword [edx + 8], ebx
mov edi, dword [esi + 0x20]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x24]
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov ecx, esi
call fcn.0041c00b
cmp dword [esi + 8], 0
je 0x419977
push 4
pop ecx
call fcn.0041c0e1
lea esi, [esp + 0x58]
xor edi, edi
lea ecx, [esp + 0x2c]
lea ebx, [esp + 0x90]
mov dword [esp + 0xc], eax
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [esi]
movsd xmm2, qword [esi + 8]
inc edi
mov dword [esp + 8], edi
movsd qword [eax], xmm1
movsd qword [eax + 8], xmm2
movsd qword [eax + 0x10], xmm0
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], 1
movsd xmm0, qword [esp + 0xa0]
movsd xmm1, qword [esp + 0xa8]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov ecx, esi
mov edx, ebx
call fcn.0041c00b
cmp dword [esp + 0x60], 0
je 0x41993d
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x30]
jne 0x419900
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.0041c11a
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x68]
mov ecx, dword [esp + 0xc]
dec dword [esp + 0x24]
imul eax, edx, 0x18
inc edx
movsd qword [ecx + eax + 0x10], xmm2
movsd qword [ecx + eax + 8], xmm1
movsd qword [ecx + eax], xmm0
mov dword [esp + 8], edx
mov dword [esp + 0x34], edx
jmp 0x4198d3
mov edx, dword [esp + 0x64]
xor ecx, ecx
call fcn.0041c1b0
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x30]
cmp edi, 0x15
mov dword [esp + 0x38], ebx
jae 0x419989
mov esi, dword [esp + 0xc]
cmp edi, 1
jbe 0x419dad
mov ecx, esi
mov edx, edi
push 1
call fcn.004229aa
pop eax
jmp 0x419dad
push 8
pop esi
mov dword [esp + 0x38], 0
xor edi, edi
jmp 0x419dad
mov eax, edi
shr eax, 1
imul ecx, eax, 0x18
mov al, byte [0x640d9c]
push 8
pop edx
call fcn.00403fe0
mov esi, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x41a000
push 0x10
pop ebx
mov ecx, ebx
call fcn.004b8417
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], esi
je 0x41a00f
lea eax, [esi + 0x30]
xor esi, esi
xor edx, edx
mov dword [esp + 8], edi
mov dword [esp + 0x3c], eax
sub edi, edx
jbe 0x419d8d
cmp edi, 2
mov dword [esp + 4], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
jae 0x4199f8
mov eax, dword [esp + 8]
jmp 0x419ab5
mov ecx, dword [esp + 0xc]
imul eax, edx, 0x18
add ecx, eax
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 0x18]
ucomisd xmm0, xmm1
ja 0x419a41
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
movapd xmm2, xmm1
add ecx, edx
push 2
pop edx
lea ebx, [ecx + edx]
cmp ebx, 1
je 0x419a74
movsd xmm3, qword [eax]
ucomisd xmm2, xmm3
ja 0x419a72
inc edx
add eax, 0x18
movapd xmm2, xmm3
jmp 0x419a25
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
movapd xmm2, xmm1
add ecx, edx
push 2
pop edx
lea ebx, [ecx + edx]
cmp ebx, 1
je 0x419a74
movsd xmm3, qword [eax]
ucomisd xmm2, xmm3
jbe 0x419a72
inc edx
add eax, 0x18
movapd xmm2, xmm3
jmp 0x419a56
mov edi, edx
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
ucomisd xmm0, xmm1
mov dword [esp + 0x18], esi
lea eax, [edi + edx]
jbe 0x419ab1
mov ecx, edx
mov edx, eax
mov esi, eax
push 0x5b0880
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.0041beaf
add esp, 0xc
mov ecx, eax
call fcn.0041bee4
mov edx, dword [esp + 4]
mov eax, esi
mov esi, dword [esp + 0x1c]
cmp eax, edx
jb 0x419fdc
cmp eax, dword [esp + 8]
ja 0x419fdc
jae 0x419b0b
cmp edi, 9
ja 0x419b0b
mov eax, dword [esp + 8]
lea ebx, [edx + 0xa]
mov ecx, edx
cmp ebx, eax
cmovae ebx, eax
cmp edi, 1
mov edx, ebx
adc edi, 0
push 0x5b094c
push eax
push dword [esp + 0x14]
call fcn.0041beaf
add esp, 0xc
mov ecx, eax
push edi
call fcn.004229aa
mov eax, ebx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
add esp, 4
cmp esi, ebx
mov dword [esp + 0x4c], eax
jne 0x419b59
mov esi, dword [esp + 0x18]
lea ecx, [ebx + ebx]
mov dword [esp + 0x48], ecx
call fcn.004b8417
mov edi, dword [esp + 8]
test eax, eax
je 0x419feb
mov ecx, ebx
mov ebx, eax
shl ecx, 3
push ecx
push esi
push eax
call fcn.005669c0
add esp, 0xc
mov ecx, esi
push 4
pop edx
call fcn.00404040
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 4]
jmp 0x419b65
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x18]
sub eax, edx
mov dword [esp + 0x18], ebx
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
inc esi
mov edx, esi
mov ecx, ebx
push edi
call fcn.00404bf1
pop ecx
cmp eax, 1
jne 0x419d80
mov ecx, ebx
mov edi, ebx
mov ebx, edx
mov edx, esi
push 0x5b0890
push ebx
call fcn.004487f1
pop ecx
pop edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x88], ebx
inc ebx
mov edx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov ecx, edi
push 0x5b08a0
mov dword [esp + 0x90], ebx
push ebx
call fcn.004487f1
pop ecx
pop edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x84], ecx
add edx, ecx
mov ecx, dword [esp + 0x54]
push 0x5b08b0
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.0041beaf
add esp, 0xc
mov ecx, dword [esp + 0x50]
imul esi, edx, 0x18
mov dword [esp + 4], eax
imul edi, ecx, 0x18
sub edx, ecx
lea ebx, [eax + edi]
cmp edx, ecx
jae 0x419c98
imul edi, edx, 0x18
push edi
push ebx
push dword [esp + 0x18]
mov dword [esp + 0x20], esi
call fcn.005669c0
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
add edi, dword [esp + 0x10]
mov esi, eax
lea eax, [eax + ecx - 0x18]
cmp ebx, esi
jbe 0x419d0b
cmp edi, dword [esp + 0x10]
jbe 0x419d0b
movsd xmm0, qword [ebx - 0x18]
movsd xmm1, qword [edi - 0x18]
xor ecx, ecx
xor edx, edx
ucomisd xmm0, xmm1
setbe cl
seta dl
neg ecx
neg edx
imul ecx, ecx, 0x18
imul edx, edx, 0x18
add edi, ecx
add ebx, edx
ucomisd xmm0, xmm1
mov ecx, edi
cmova ecx, ebx
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
add eax, 0xffffffe8
jmp 0x419c36
add esi, eax
mov dword [esp + 0x14], esi
push edi
push eax
mov esi, dword [esp + 0x18]
push esi
call fcn.005669c0
add esp, 0xc
add edi, esi
mov dword [esp + 0x28], edi
cmp esi, edi
jae 0x419d11
cmp ebx, dword [esp + 0x14]
jae 0x419d11
movsd xmm0, qword [esi]
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [esp + 4]
ucomisd xmm0, qword [ebx]
cmova eax, ebx
setbe cl
seta dl
movsd xmm0, qword [eax + 0x10]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
imul eax, edx, 0x18
add ebx, eax
imul eax, ecx, 0x18
add esi, eax
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
add edi, 0x18
mov dword [esp + 4], edi
mov edi, dword [esp + 0x28]
jmp 0x419cb3
mov esi, dword [esp + 0x10]
jmp 0x419d15
mov ebx, dword [esp + 4]
sub edi, esi
push edi
push esi
push ebx
call fcn.005669c0
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
cmp esi, dword [esp + 0x8c]
jbe 0x419fa5
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x54]
add eax, dword [esp + 0x50]
cmp esi, edx
mov dword [ebx + edx*8 + 8], eax
mov dword [ebx + edx*8 + 0xc], ecx
jbe 0x419fb0
lea eax, [ebx + edx*8]
lea ecx, [ebx + edx*8 + 8]
not edx
add edx, esi
shl edx, 3
push edx
push ecx
push eax
call fcn.005669c0
add esp, 0xc
mov edi, dword [esp + 8]
dec esi
jmp 0x419b73
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
jmp 0x4199d6
push 4
pop edx
mov ecx, dword [esp + 0x18]
call fcn.00404040
push 8
pop edx
mov ecx, dword [esp + 0x10]
call fcn.00404040
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ebx, edi
imul edi, edi, 0x18
mov dword [esp + 0xc], esi
lea eax, [esi + edi]
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.00424375
lea esi, [esp + 0x2c]
mov dword [esi], eax
mov dword [esi + 4], edx
and dword [esi + 8], 0
mov ecx, esi
mov edx, ebx
call fcn.0041be90
mov ebx, dword [esi + 8]
imul eax, ebx, 0xc
add eax, dword [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], esi
lea ecx, [esi + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], eax
test edi, edi
je 0x419e89
mov edx, dword [esi + 0xc]
cmp dword [esi + 8], 0
je 0x419e91
movsd xmm0, qword [esi + 0x10]
lea eax, [esp + 0x60]
mov dword [esp + 0x10], edx
mov edx, edi
mov edi, ecx
mov ecx, ebx
mov ebx, esi
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm0
mov esi, dword [eax + 8]
movsd xmm0, qword [eax]
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], esi
movsd qword [esp + 0xa0], xmm0
mov dword [eax + 8], esi
lea esi, [ebx + 0x18]
mov ebx, ecx
mov ecx, edi
mov edi, edx
movsd qword [eax], xmm0
add eax, 0xc
inc ebx
add ecx, 0x18
add edi, 0xffffffe8
mov dword [esp + 4], eax
jmp 0x419e11
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x90]
mov dword [esi + 8], ecx
xor ecx, ecx
call fcn.0041c1b0
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.004186ca
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
je 0x419f2c
dec eax
mov dword [esp + 0x78], eax
imul eax, eax, 0xc
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax]
test edx, edx
je 0x419f2c
add ecx, eax
mov dword [esp + 4], edx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00534664
mov eax, dword [esp + 0x80]
xor edi, edi
mov esi, dword [eax + 0xc]
mov ebx, dword [eax + 8]
shl esi, 3
test esi, esi
je 0x419f3f
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push dword [ebx + 4]
push dword [ebx]
call fcn.0041be78
pop ecx
pop edx
test al, al
jne 0x419f56
add ebx, 8
inc edi
add esi, 0xfffffff8
jmp 0x419f07
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x70]
and dword [eax + 4], 0
call fcn.00534664
jmp 0x419f9d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
and dword [eax + 4], 0
call fcn.004499b4
jmp 0x419f9d
mov esi, dword [esp + 0x44]
mov ecx, esi
call fcn.004fa895
mov ebx, eax
mov dword [esp + 0x28], edx
push esi
push dword [esp + 0x44]
push eax
call fcn.005669c0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x58]
mov edx, 0x5b08c0
jmp 0x419fb9
lea ecx, [esp + 0x58]
mov edx, 0x5b0900
mov dword [ecx], str.Index_out_of_bounds
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
and dword [ecx + 0xc], 0
call fcn.005769a0
ud2
push 0x2c
pop edx
mov ecx, str.assertion_failed:_end___start__end___len0_b_
push 0x5b093c
jmp 0x419ff8
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5b08f0
call fcn.00576b20
pop eax
ud2
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5b08d0
jmp 0x419ff8
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5b08e0
jmp 0x419ff8