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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x70]
lea eax, [ecx + 1]
cmp eax, ebp
jne 0x499e90
mov ebx, dword [edx + 4]
mov edi, dword [edx + 8]
mov dword [esp + 8], edx
mov ecx, ebx
mov edx, edi
push 0x507af0
push ebp
call fcn.0042dd69
pop ecx
pop ecx
mov ecx, eax
push 2
push 0x507870
call fcn.0042c9ec
pop ecx
pop edx
test al, al
je 0x499f2b
test ebp, ebp
mov edx, ebp
mov ebp, dword [esp + 8]
je 0x499f46
cmp edi, edx
jbe 0x499f40
cmp byte [ebx + edx], 0xbf
jg 0x499f46
push 0x2c
pop edx
mov ecx, str.assertion_failed:_self.is_char_boundary_idx_
push 0x50754c
call fcn.004a0350
lea eax, [ecx + 3]
mov dword [esp + 4], ebp
cmp eax, ebp
mov eax, ecx
jne 0x499f31
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
mov ebx, ebp
mov ebp, edx
mov dword [esp], ecx
mov edx, edi
push 0x507a48
push ebx
push eax
call fcn.00430c38
add esp, 0xc
mov ecx, eax
push 3
push 0x507a58
call fcn.0040cb3b
pop ecx
pop edx
test al, al
je 0x499f3a
cmp edi, ebx
mov edx, ebx
jbe 0x49a1f8
mov ecx, dword [esp]
mov ebx, dword [esp + 0x54]
cmp byte [ecx + edx], 0x2f
jne 0x49a218
lea eax, [edx + 1]
cmp eax, edi
jae 0x499eff
cmp byte [ecx + eax], 0x2f
je 0x49a1a5
test ebx, ebx
je 0x49a07d
cmp edi, ebx
jbe 0x49a077
cmp byte [ecx + ebx], 0xc0
jge 0x49a07d
push 0x2a
pop edx
mov ecx, str.assertion_failed:_self.is_char_boundary_n_
push 0x507588
call fcn.004a0350
mov dword [esp + 4], ebp
jmp 0x499f89
mov ebp, edx
mov ebx, eax
jmp 0x499fbe
mov ebx, dword [esp + 0x54]
jmp 0x499fbe
jne 0x499e7e
mov eax, dword [ebp]
sub eax, edi
cmp eax, 1
jbe 0x49a1de
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 + 8]
add edi, 2
mov word [ebp - 2], 0x2e2f
mov ecx, dword [esp]
mov dword [eax + 8], edi
mov dword [esp + 4], ecx
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x54]
mov ecx, ebx
mov edx, edi
push 0x507b00
push ebp
call fcn.0042dd69
pop ecx
pop ecx
mov ecx, eax
push 3
push 0x5077fd
call fcn.0042c9ec
pop ecx
pop edx
mov ecx, dword [esp + 8]
mov ebx, ebp
test al, al
mov ebp, ecx
jne 0x49a206
mov al, byte [esp + 0x50]
lea edi, [esp + 0x14]
mov edx, ebp
mov ecx, edi
movzx eax, al
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebx
push eax
call fcn.0049ac67
add esp, 0x10
mov edi, dword [edi]
cmp edi, 2
jne 0x499ffa
mov al, byte [esp + 0x18]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov byte [esi + 4], al
call fcn.0049bc49
jmp 0x49a06d
mov eax, dword [ebp + 8]
movsd xmm0, qword [ebp]
movzx ecx, word [esp + 0x68]
movzx ebp, word [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x64]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov al, byte [eax + 0x10]
mov byte [esi + 0x44], al
mov eax, dword [esp + 0x18]
movsd qword [esi + 0x34], xmm0
movsd qword [esi + 0x3c], xmm1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov word [esi + 0x1c], cx
mov ecx, dword [esp + 0x5c]
mov word [esi + 0x1e], bp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 4]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [esi], edi
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
jne 0x499f19
cmp ebx, edx
ja 0x49a226
mov eax, edi
sub eax, edx
jb 0x49a232
lea edi, [esp + 0x28]
mov ecx, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7librarycore_srccharmethods.rs8
mov dword [ebp + 8], ebx
mov dword [edi - 8], edx
mov dword [edi - 4], eax
mov eax, 0x50773e
mov dword [edi - 0xc], ebp
mov dword [edi], eax
lea eax, [0x50773f]
mov dword [edi + 4], eax
mov dword [edi - 0x14], ecx
mov dword [edi - 0x10], ecx
mov ecx, ebp
jne 0x49a0ca
mov edx, edi
call fcn.00496631
jmp 0x49a191
push edi
call fcn.00496da7
pop ecx
test al, al
je 0x49a191
mov eax, dword [esp + 0x2c]
mov edx, eax
mov ecx, eax
sub edx, dword [esp + 0x28]
je 0x49a113
lea ebx, [esp + 0x14]
mov ecx, ebx
call fcn.00496de0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push edi
call fcn.00496da7
pop ecx
mov ebx, dword [esp + 0x54]
test al, al
je 0x49a191
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
call fcn.00435565
lea ebx, [esp + 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
and dword [ebx + 8], 0
mov ecx, ebx
mov edx, edi
call fcn.00496631
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp], edx
mov dword [esp + 0xc], ecx
je 0x49a181
mov edx, dword [esp + 0xc]
lea ebx, [esp + 0x14]
mov ecx, ebx
call fcn.00496de0
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [edi + 8]
mov edx, dword [edi + 4]
add edx, ebx
sub ecx, ebx
xor ebx, ebx
cmp ecx, ebx
je 0x49a181
cmp dword [esp + 0xc], ebx
je 0x49a181
mov eax, dword [esp]
mov al, byte [eax + ebx]
mov byte [edx + ebx], al
inc dword [edi + 8]
inc ebx
jmp 0x49a168
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
call fcn.0049bc49
mov ebx, dword [esp + 0x54]
lea ecx, [esp + 0x14]
call fcn.00496e30
mov ecx, dword [ebp + 4]
mov edi, dword [ebp + 8]
add dword [esp + 4], 0xfffffffe
mov edx, edi
push 0x507a6c
push ebx
call fcn.0042dd69
pop ecx
pop ecx
mov ecx, eax
push 3
push 0x5077fd
call fcn.0042c9ec
pop ecx
pop edx
test al, al
je 0x499fbe
push 0x4f
pop edx
mov ecx, str.assertion_failed:__self.serialization_scheme_end_as_usize.._.starts_with__:____
push 0x507acc
call fcn.004a0350
mov ebx, edx
mov edx, edi
mov ecx, ebp
push 2
call fcn.0049ff80
mov edx, ebx
add esp, 4
mov ebx, dword [ebp + 4]
jmp 0x499f54
mov ecx, edx
mov edx, edi
push 0x507a5c
call fcn.004a0290
push 0x4f
pop edx
mov ecx, str.assertion_failed:__self.serialization_scheme_end_as_usize.._.starts_with__:____
push 0x507b10
call fcn.004a0350
add ecx, edx
lea edx, [esp + 0x14]
and dword [edx], 0
call fcn.004a4548
mov ecx, ebx
push 0x507500
call fcn.004a04e0
mov ecx, edx
mov edx, edi
push 0x507500
call fcn.004a02f0