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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b8
mov esi, esp
mov dword [esi + 0x1a0], ebp
lea eax, [esi + 0x1a8]
mov dword [esi + 0x40], ecx
mov edi, edx
lea ebx, [esi + 0xe8]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502880
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov al, byte [ebp + 0xc]
mov ecx, ebx
mov edx, dword [edx]
mov byte [esi + 0x13], al
add edx, 8
call fcn.0042575d
cmp dword [ebx], 0
jne 0x46fc18
mov eax, dword [edi + 4]
lea ebx, [esi + 0xe8]
mov ecx, dword [ebx + 4]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 8]
lea edx, [ecx + 8]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x44], edx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x20], eax
lea eax, [ecx + 0x128]
mov cl, byte [ebx + 8]
mov dword [esi + 0x18], eax
add edx, 8
mov byte [esi + 0xf], cl
mov ecx, ebx
call fcn.0044f40e
cmp dword [ebx], 0
setne byte [esi + 0x12]
jne 0x46fc56
mov eax, dword [esi + 0xec]
mov byte [esi + 7], 1
mov dword [esi + 0x1b0], 3
mov dword [esi + 0x34], eax
lea ecx, [eax + 4]
lea eax, [esi + 0x90]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea ecx, [esi + 0x13]
movsd qword [esi + 0xa8], xmm0
movsd qword [esi + 0xa0], xmm1
movsd qword [esi + 0x98], xmm2
mov dword [esi + 0xb0], ecx
lea ecx, [esi + 0x44]
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], eax
mov al, byte [esi + 0xf0]
lea ecx, [esi + 0x18]
mov byte [esi + 0xe], al
call fcn.004414b2
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0x48]
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x98]
push 0x28
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x18]
mov byte [esi + 5], 1
mov dword [esi + 0x1b0], 4
call fcn.004414b2
mov eax, dword [eax + 0xcc]
movsd xmm0, qword [esi + 0x58]
movsd xmm2, qword [esi + 0x48]
movsd xmm1, qword [esi + 0x50]
test eax, eax
movsd qword [esi + 0xf8], xmm0
movsd qword [esi + 0xf0], xmm1
movsd qword [esi + 0xe8], xmm2
je 0x46fc91
mov ecx, dword [esi + 0x60]
movsd xmm0, qword [esi + 0x58]
movsd xmm2, qword [esi + 0x48]
movsd xmm1, qword [esi + 0x50]
mov dl, byte [ecx]
mov ecx, dword [esi + 0x64]
mov ebx, dword [ecx]
lea ecx, [esi + 0x70]
mov byte [esi + 8], dl
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x68]
mov byte [ecx + 0x1c], 0
mov byte [ecx + 0x1e], dl
mov edi, dword [eax]
mov eax, dword [esi + 0x28]
add eax, 0x170
mov dword [esi + 0x38], eax
call fcn.0046fed9
test eax, eax
js 0x46fa17
lea ecx, [esi + 0x18]
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], edi
mov byte [esi + 6], 1
mov dword [esi + 0x1b0], 5
call fcn.004414b2
mov dl, byte [eax + 0x20]
add dl, 0xfa
movzx ecx, dl
cmp dl, 6
push 6
pop edx
cmovae ecx, edx
cmp cl, 5
je 0x46f912
movzx ecx, cl
cmp ecx, 3
jne 0x46fa1d
cmp byte [eax + 0x21], 0
je 0x46fa1d
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.00441523
mov ecx, dword [esi + 0x24]
add dword [eax + 0xd8], ecx
mov dword [esi + 0xc8], 2
and dword [esi + 0xd8], 0
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
mov dword [esi + 0x1b0], 7
call fcn.004414b2
mov eax, dword [eax + 0xd4]
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
mov dword [esi + 0x14], eax
call fcn.004414b2
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x30]
cmp edx, dword [eax + 0xd8]
lea ecx, [ecx + 0xb8]
mov dword [esi + 0x24], ecx
jae 0x46f9bd
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
call fcn.004414b2
mov eax, dword [eax + 0xd8]
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
mov dword [esi + 0x14], eax
call fcn.00441523
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [eax + 0xd4], ecx
mov ecx, dword [esi + 0x24]
mov byte [esi + 4], 1
call fcn.00441fe6
cmp byte [esi + 8], 0
je 0x46fa94
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
call fcn.00441523
mov cl, byte [eax + 0x20]
mov edx, eax
add edx, 0x20
add cl, 0xfa
cmp cl, 6
movzx edi, cl
push 6
pop ecx
cmovb ecx, edi
cmp cl, 3
je 0x46fa4c
movzx eax, cl
cmp eax, 5
jne 0x46fcb0
mov ecx, edx
mov dword [esi + 0x1b0], 8
mov dword [esi + 8], edx
call fcn.0043b359
mov eax, dword [esi + 8]
mov byte [eax], 3
jmp 0x46fa73
mov byte [esi + 8], 2
jmp 0x46fa31
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.004414b2
cmp byte [eax + 0x20], 6
setae byte [esi + 8]
lea ecx, [esi + 0x70]
mov byte [esi + 5], 0
mov dword [esi + 0x1b0], 4
call fcn.0046e37c
jmp 0x46fbb0
mov dword [esi + 8], eax
mov al, byte [eax + 0x22]
mov ecx, edx
mov dword [esi + 0x1b0], 9
mov byte [esi + 0x14], al
call fcn.0043b359
mov eax, dword [esi + 8]
mov cl, byte [esi + 0x14]
mov byte [eax + 0x20], 0xa
mov byte [eax + 0x21], cl
mov ecx, dword [esi + 0x24]
mov byte [esi + 4], 1
mov dword [esi + 0x1b0], 7
xor edx, edx
push dword [esi + 0x38]
lea eax, [esi + 0x18]
push eax
call fcn.004424ac
pop eax
pop ecx
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
call fcn.004414b2
cmp dword [eax + 0x3c], 0
jle 0x46faff
movsd xmm1, qword [esi + 0x80]
mov edi, dword [esi + 0x30]
lea edx, [esi + 0xe8]
movsd xmm0, qword [esi + 0x88]
movsd xmm2, qword [esi + 0x70]
mov ecx, dword [esi + 0x24]
xor eax, eax
mov byte [esi + 4], al
movsd qword [edx + 0x18], xmm1
movsd xmm1, qword [esi + 0x78]
add edi, 0xa8
movsd qword [edx + 0x20], xmm0
movsd qword [edx + 8], xmm2
movsd qword [edx + 0x10], xmm1
mov byte [edx], al
push edi
lea eax, [esi + 0x18]
push eax
push dword [esi + 0x2c]
call fcn.0046e754
add esp, 0xc
jmp 0x46fb7a
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
call fcn.004414b2
cmp dword [eax + 0xd8], 0
je 0x46faa6
lea ecx, [esi + 0x18]
mov byte [esi + 4], 1
call fcn.00441523
movsd xmm1, qword [esi + 0x80]
movsd xmm0, qword [esi + 0x88]
movsd xmm2, qword [esi + 0x70]
mov edx, dword [esi + 0x2c]
xor ecx, ecx
add eax, 0x64
mov byte [esi + 4], cl
movsd qword [esi + 0x100], xmm1
movsd xmm1, qword [esi + 0x78]
movsd qword [esi + 0x108], xmm0
movsd qword [esi + 0xf0], xmm2
movsd qword [esi + 0xf8], xmm1
mov byte [esi + 0xe8], cl
mov ecx, eax
lea eax, [esi + 0xe8]
push eax
call fcn.0046e892
pop eax
lea ecx, [esi + 0xc0]
mov byte [esi + 0x11], 0
mov dword [esi + 0x1b0], 6
call fcn.0043cf83
lea ecx, [esi + 0xc0]
mov byte [esi + 6], 0
mov dword [esi + 0x1b0], 5
call fcn.0043cf0c
mov byte [esi + 8], 0xc
xor eax, eax
cmp dword [esi + 0x3c], 0x3b9aca00
mov ecx, dword [esi + 0x38]
mov byte [esi + 7], 0
mov dword [esi + 0x1b0], 3
lea edx, [esi + 0x18]
setne al
push eax
call fcn.00441639
pop eax
movzx edx, byte [esi + 0xe]
mov ecx, dword [esi + 0x34]
call fcn.00462660
movzx edx, byte [esi + 0xf]
mov ecx, dword [esi + 0x28]
call fcn.00462660
mov dl, byte [esi + 8]
mov ecx, dword [esi + 0x40]
mov al, 5
cmp dl, 0xc
je 0x46fc01
mov al, 3
mov byte [ecx + 1], dl
mov byte [ecx], al
mov ecx, dword [esi + 0x1a8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0xec]
mov dl, byte [esi + 0xf0]
lea eax, [esi + 0x48]
mov dword [esi + 0x1b0], 0xc
mov dword [eax], ecx
mov byte [eax + 4], dl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x578bb4
push 0x5792ac
push eax
call fcn.00526c20
add esp, 0xc
jmp 0x46fcf1
mov ecx, dword [esi + 0xec]
mov dl, byte [esi + 0xf0]
lea eax, [esi + 0x48]
mov dword [esi + 0x1b0], 0xb
mov dword [eax], ecx
mov byte [eax + 4], dl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x578bc4
push 0x5792bc
push eax
call fcn.00526c20
add esp, 0xc
jmp 0x46fcf1
mov dword [esi + 0x1b0], 0xa
push 0x26
pop edx
mov ecx, str.assertion_failed:__stream_id.is_zero__
push 0x57859c
call fcn.00526990
pop eax
jmp 0x46fcf1
lea eax, [esi + 0x94]
lea ecx, [esi + 0xe8]
mov byte [esi + 4], 1
mov dword [eax], edx
lea edx, [esi + 0xe0]
mov dword [ecx], 0x561c60
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], 0x43937c
inc eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x561c68
mov dword [ecx + 0xc], eax
call fcn.005268e0
ud2