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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov esi, ecx
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], edx
lea eax, [ecx + 1]
cmp eax, ebp
jne 0x490a97
mov ebx, dword [edx]
mov edi, dword [edx + 8]
mov ecx, ebx
mov edx, edi
push 0x4e6eac
push ebp
call fcn.00428227
pop ecx
pop ecx
mov ecx, eax
push 2
push 0x4e6c24
call fcn.00426e05
pop ecx
pop edx
test al, al
je 0x490b06
test ebp, ebp
mov edx, ebp
mov ebp, dword [esp + 4]
je 0x490b5a
cmp edi, edx
jbe 0x490b54
cmp byte [ebx + edx], 0xbf
jg 0x490b5a
push 0x2c
pop edx
mov ecx, str.assertion_failed:_self.is_char_boundary_idx__gN
push 0x4e689c
jmp 0x490e5a
lea eax, [ecx + 3]
mov ebx, ebp
cmp eax, ebp
mov eax, ecx
jne 0x490b0e
mov ebp, dword [esp + 4]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp]
mov dword [esp + 8], ecx
mov edx, edi
push 0x4e6e00
push ebx
push eax
call fcn.0048d395
add esp, 0xc
mov ecx, eax
push 3
push 0x4e6e10
call fcn.00455bc1
pop ecx
pop edx
test al, al
je 0x490b1c
cmp edi, ebx
mov edx, ebx
jbe 0x490e3c
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x50]
cmp byte [ecx + edx], 0x2f
jne 0x490e61
lea eax, [edx + 1]
cmp eax, edi
jae 0x490b28
cmp byte [ecx + eax], 0x2f
jne 0x490b28
mov dword [esp], edx
jmp 0x490dec
mov dword [esp], ebp
jmp 0x490b95
mov ebp, dword [esp + 4]
mov dword [esp], ebx
mov ebx, eax
jmp 0x490bca
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
jmp 0x490bca
test ebx, ebx
je 0x490c88
cmp edi, ebx
jbe 0x490c82
cmp byte [ecx + ebx], 0xc0
jge 0x490c88
push 0x2a
pop edx
mov ecx, str.assertion_failed:_self.is_char_boundary_n_
push 0x4e68d8
jmp 0x490e5a
jne 0x490a85
mov eax, dword [ebp + 4]
sub eax, edi
cmp eax, 1
jbe 0x490e22
lea eax, [edx + 2]
lea ebp, [ebx + edx + 2]
add ebx, edx
mov dword [esp], eax
mov eax, edi
sub eax, edx
push eax
push ebx
push ebp
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 4]
add edi, 2
mov word [ebp - 2], 0x2e2f
mov dword [eax + 8], edi
mov ebx, dword [eax]
mov ebp, dword [esp + 0x50]
mov ecx, ebx
mov edx, edi
push 0x4e6ebc
push ebp
call fcn.00428227
pop ecx
pop ecx
mov ecx, eax
push 3
push 0x4e6b9d
call fcn.00426e05
pop ecx
pop edx
mov ecx, dword [esp + 4]
mov ebx, ebp
test al, al
mov ebp, ecx
jne 0x490e4d
mov al, byte [esp + 0x4c]
lea edi, [esp + 0xc]
mov edx, ebp
mov ecx, edi
movzx eax, al
push dword [esp + 0x74]
push dword [esp + 0x74]
push ebx
push eax
call fcn.00491855
add esp, 0x10
mov edi, dword [edi]
cmp edi, 2
jne 0x490c06
mov al, byte [esp + 0x10]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov byte [esi + 4], al
call fcn.00428073
jmp 0x490c78
mov eax, dword [ebp + 8]
movsd xmm0, qword [ebp]
movzx ecx, word [esp + 0x64]
movzx ebp, word [esp + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x60]
movsd qword [esi + 0x14], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov al, byte [eax + 0x10]
mov byte [esi + 0x44], al
mov eax, dword [esp + 0x10]
movsd qword [esi + 0x34], xmm0
movsd qword [esi + 0x3c], xmm1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov word [esi + 0x10], cx
mov ecx, dword [esp + 0x58]
mov word [esi + 0x12], bp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [esi], edi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
jne 0x490b42
cmp ebx, edx
ja 0x490e71
mov eax, edi
sub eax, edx
jb 0x490e7f
lea edi, [esp + 0x20]
mov ecx, 0x4e7238
mov dword [ebp + 8], ebx
mov dword [edi - 8], edx
mov dword [edi - 4], eax
mov eax, 0x4e6ade
mov dword [edi - 0xc], ebp
mov dword [edi], eax
lea eax, [0x4e6adf]
mov dword [edi + 4], eax
mov dword [edi - 0x14], ecx
mov dword [edi - 0x10], ecx
mov ecx, ebp
jne 0x490cd5
mov edx, edi
call fcn.0048d0c2
jmp 0x490d9f
push edi
call fcn.0048da69
pop ecx
test al, al
je 0x490d9f
mov eax, dword [esp + 0x24]
mov edx, eax
mov ecx, eax
sub edx, dword [esp + 0x20]
je 0x490d1e
lea ebx, [esp + 0xc]
mov ecx, ebx
call fcn.0048daa1
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push edi
call fcn.0048da69
pop ecx
mov ebx, dword [esp + 0x50]
test al, al
je 0x490d9f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, eax
call fcn.004724b6
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
and dword [ebx + 8], 0
mov ecx, ebx
mov edx, edi
call fcn.0048d0c2
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov ebx, dword [esp + 0x50]
test ecx, ecx
mov dword [esp], eax
mov dword [esp + 0x28], edx
mov dword [esp + 8], ecx
je 0x490d93
mov edx, dword [esp + 8]
lea edi, [esp + 0xc]
mov ecx, edi
call fcn.0048daa1
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edi, dword [eax + 8]
mov edx, dword [eax]
add edx, edi
sub ecx, edi
xor edi, edi
cmp ecx, edi
je 0x490d93
cmp dword [esp + 8], edi
je 0x490d93
mov ebx, dword [esp]
mov bl, byte [ebx + edi]
mov byte [edx + edi], bl
mov ebx, dword [esp + 0x50]
inc dword [eax + 8]
inc edi
jmp 0x490d76
mov ecx, dword [esp]
mov edx, dword [esp + 0x28]
call fcn.00428073
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
test edi, edi
je 0x490de0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [edx + 8]
cmp eax, ebx
je 0x490dd7
mov ecx, dword [edx]
mov ebp, edx
add eax, ecx
add ecx, ebx
push edi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, ebp
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
add esp, 0xc
add edi, ebx
mov ebx, dword [esp + 0x50]
mov dword [edx + 8], edi
add ecx, 0xfffffffe
mov edi, dword [ebp + 8]
mov dword [esp], ecx
mov ecx, dword [ebp]
mov edx, edi
push 0x4e6e28
push ebx
call fcn.00428227
pop ecx
pop ecx
mov ecx, eax
push 3
push 0x4e6b9d
call fcn.00426e05
pop ecx
pop edx
test al, al
je 0x490bca
push 0x51
pop edx
mov ecx, str.assertion_failed:__self.serialization_scheme_end_as_usize.._.starts_with__:____
push 0x4e6e8c
jmp 0x490e5a
mov ebx, edx
mov edx, edi
mov ecx, ebp
push 2
call fcn.00493870
mov edx, ebx
add esp, 4
mov ebx, dword [ebp]
jmp 0x490b68
mov ecx, edx
mov edx, edi
push 0x4e6e14
call fcn.00493b00
pop eax
ud2
push 0x51
pop edx
mov ecx, str.assertion_failed:__self.serialization_scheme_end_as_usize.._.starts_with__:____
push 0x4e6ecc
call fcn.00493be0
jmp 0x490e4a
add ecx, edx
lea edx, [esp + 0xc]
and dword [edx], 0
call fcn.00496872
ud2
mov ecx, ebx
push 0x4e6860
call fcn.00493d80
jmp 0x490e4a
mov ecx, edx
mov edx, edi
push 0x4e6860
call fcn.00493b70
jmp 0x490e4a