Function at 0x4197d3
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.00419ff8
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.0041c0a6
cmp dword [esi + 8], 0
je 0x419951
push 4
pop ecx
call fcn.0041c17c
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.0041c0a6
cmp dword [esp + 0x60], 0
je 0x419917
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x30]
jne 0x4198da
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.0041c1b5
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 0x4198ad
mov edx, dword [esp + 0x64]
xor ecx, ecx
call fcn.0041c24b
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x30]
cmp edi, 0x15
mov dword [esp + 0x38], ebx
jae 0x419963
mov esi, dword [esp + 0xc]
cmp edi, 1
jbe 0x419d87
mov ecx, esi
mov edx, edi
push 1
call fcn.00425a78
pop eax
jmp 0x419d87
push 8
pop esi
mov dword [esp + 0x38], 0
xor edi, edi
jmp 0x419d87
mov eax, edi
shr eax, 1
imul ecx, eax, 0x18
mov al, byte [0x64fd9c]
push 8
pop edx
call fcn.00404090
mov esi, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x419fda
push 0x10
pop ebx
mov ecx, ebx
call fcn.00425923
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], esi
je 0x419fe9
lea eax, [esi + 0x30]
xor esi, esi
xor edx, edx
mov dword [esp + 8], edi
mov dword [esp + 0x3c], eax
sub edi, edx
jbe 0x419d67
cmp edi, 2
mov dword [esp + 4], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
jae 0x4199d2
mov eax, dword [esp + 8]
jmp 0x419a8f
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 0x419a1b
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 0x419a4e
movsd xmm3, qword [eax]
ucomisd xmm2, xmm3
ja 0x419a4c
inc edx
add eax, 0x18
movapd xmm2, xmm3
jmp 0x4199ff
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 0x419a4e
movsd xmm3, qword [eax]
ucomisd xmm2, xmm3
jbe 0x419a4c
inc edx
add eax, 0x18
movapd xmm2, xmm3
jmp 0x419a30
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 0x419a8b
mov ecx, edx
mov edx, eax
mov esi, eax
push 0x5be720
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.0041bf4d
add esp, 0xc
mov ecx, eax
call fcn.0041bf82
mov edx, dword [esp + 4]
mov eax, esi
mov esi, dword [esp + 0x1c]
cmp eax, edx
jb 0x419fb6
cmp eax, dword [esp + 8]
ja 0x419fb6
jae 0x419ae5
cmp edi, 9
ja 0x419ae5
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 0x5be7ec
push eax
push dword [esp + 0x14]
call fcn.0041bf4d
add esp, 0xc
mov ecx, eax
push edi
call fcn.00425a78
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 0x419b33
mov esi, dword [esp + 0x18]
lea ecx, [ebx + ebx]
mov dword [esp + 0x48], ecx
call fcn.00425923
mov edi, dword [esp + 8]
test eax, eax
je 0x419fc5
mov ecx, ebx
mov ebx, eax
shl ecx, 3
push ecx
push esi
push eax
call fcn.00570e70
add esp, 0xc
mov ecx, esi
push 4
pop edx
call fcn.004040f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 4]
jmp 0x419b3f
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.00404cc5
pop ecx
cmp eax, 1
jne 0x419d5a
mov ecx, ebx
mov edi, ebx
mov ebx, edx
mov edx, esi
push 0x5be730
push ebx
call fcn.00424742
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 0x5be740
mov dword [esp + 0x90], ebx
push ebx
call fcn.00424742
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 0x5be750
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.0041bf4d
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 0x419c72
imul edi, edx, 0x18
push edi
push ebx
push dword [esp + 0x18]
mov dword [esp + 0x20], esi
call fcn.00570e70
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 0x419ce5
cmp edi, dword [esp + 0x10]
jbe 0x419ce5
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 0x419c10
add esi, eax
mov dword [esp + 0x14], esi
push edi
push eax
mov esi, dword [esp + 0x18]
push esi
call fcn.00570e70
add esp, 0xc
add edi, esi
mov dword [esp + 0x28], edi
cmp esi, edi
jae 0x419ceb
cmp ebx, dword [esp + 0x14]
jae 0x419ceb
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 0x419c8d
mov esi, dword [esp + 0x10]
jmp 0x419cef
mov ebx, dword [esp + 4]
sub edi, esi
push edi
push esi
push ebx
call fcn.00570e70
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
cmp esi, dword [esp + 0x8c]
jbe 0x419f7f
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 0x419f8a
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.00570e70
add esp, 0xc
mov edi, dword [esp + 8]
dec esi
jmp 0x419b4d
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
jmp 0x4199b0
push 4
pop edx
mov ecx, dword [esp + 0x18]
call fcn.004040f0
push 8
pop edx
mov ecx, dword [esp + 0x10]
call fcn.004040f0
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.0041be68
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.0041bea8
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 0x419e63
mov edx, dword [esi + 0xc]
cmp dword [esi + 8], 0
je 0x419e6b
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 0x419deb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x90]
mov dword [esi + 8], ecx
xor ecx, ecx
call fcn.0041c24b
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00419772
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
je 0x419f06
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 0x419f06
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.0053d5e4
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 0x419f19
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push dword [ebx + 4]
push dword [ebx]
call fcn.0041be50
pop ecx
pop edx
test al, al
jne 0x419f30
add ebx, 8
inc edi
add esi, 0xfffffff8
jmp 0x419ee1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x70]
and dword [eax + 4], 0
call fcn.0053d5e4
jmp 0x419f77
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
and dword [eax + 4], 0
call fcn.00448429
jmp 0x419f77
mov esi, dword [esp + 0x44]
mov ecx, esi
call fcn.0041601f
mov ebx, eax
mov dword [esp + 0x28], edx
push esi
push dword [esp + 0x44]
push eax
call fcn.00570e70
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, 0x5be760
jmp 0x419f93
lea ecx, [esp + 0x58]
mov edx, 0x5be7a0
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.00580e60
ud2
push 0x2c
pop edx
mov ecx, str.assertion_failed:_end___start__end___len
push 0x5be7dc
jmp 0x419fd2
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5be790
call fcn.00580fe0
pop eax
ud2
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5be770
jmp 0x419fd2
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5be780
jmp 0x419fd2