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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ebx, dword [ecx + 4]
mov dword [esp + 0x70], edx
mov edi, dword [ebp + 0x10]
call 0x4ba98e
pop eax
mov esi, ecx
mov dword [esp + 0x78], eax
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 4]
jne 0x4ba9a7
mov ecx, ebx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h162a2e79bd6c5b6f
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
lea ecx, [edx + edx*2]
mov dword [esp + 0x34], ebx
mov dword [eax + ecx*4], 2
mov dword [eax + ecx*4 + 4], edi
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
jne 0x4ba9cc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0x14]
xor ecx, ecx
mov dword [esp + 0x5c], esi
lea edx, [edi - 1]
sub edi, 4
cmovb edi, ecx
mov ecx, edx
mov dword [esp + 0x2c], edx
cmp edi, edx
mov dword [esp + 0x30], edi
cmovb edx, edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x24], edx
mov ecx, edi
mov ebx, edi
xor ecx, 0xd800
add ecx, 0xffef0000
cmp ecx, 0xffef0800
mov ecx, 0x110000
cmovb ebx, ecx
setb dl
cmp ebx, 0x80
mov dh, bl
mov dword [esp + 0x68], ebx
setb byte [esp + 0xc]
cmp bl, 0x5f
sete ch
add dh, 0xd0
cmp dh, 0xa
setb dh
or dh, ch
mov ch, bl
add ch, 0x9f
cmp ch, 0x1a
mov ch, bl
setb cl
add ch, 0xbf
or cl, dh
cmp ch, 0x1a
mov byte [esp + 0x1c], ch
setb bl
cmp edi, 0x110000
mov byte [esp + 0x16], cl
sete ch
or ch, dl
cmp edi, 0x7f
mov byte [esp + 0x1e], ch
mov ecx, edi
seta byte [esp + 0x3c]
cmp cl, 0x5f
mov ch, cl
setne dh
add ch, 0xd0
cmp ch, 0xa
setae cl
and cl, dh
mov byte [esp + 0x38], cl
mov ecx, edi
mov edi, dword [esi + 0xc]
mov dh, cl
and dh, 0xdf
add dh, 0xbf
cmp dh, 0x1a
mov dword [esp + 0x18], edi
setae bh
cmp edi, dword [ebp + 0x14]
mov edi, dword [esp + 0x70]
sete dh
cmp ecx, 0xa
mov ecx, dword [edi + 0x20]
sete dl
or dl, dh
mov byte [esp + 0x1f], dl
mov edx, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x90], ecx
and esi, 0x1fffffff
cmp dword [ebp + 0xc], esi
cmovb esi, edx
or bl, byte [esp + 0x16]
and bh, byte [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x60], esi
and bl, byte [esp + 0xc]
or bh, byte [esp + 0x3c]
mov byte [esp + 0x17], bl
mov byte [esp + 0x1d], bh
mov ebx, dword [edx]
mov dword [esp + 0x98], ebx
mov ebx, dword [edx + 8]
mov edx, dword [ebp + 0xc]
cmp ecx, edx
mov dword [esp + 0x20], ebx
mov ebx, dword [edi + 8]
cmovb edx, ecx
lea ecx, [ecx*8]
mov dword [esp + 0x8c], edx
mov edx, esi
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 8]
and edx, 0x1ffffffe
mov dword [esp + 0x7c], edx
mov edx, dword [edi + 0x10]
lea ecx, [ecx + esi*8]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x74], edx
mov edx, dword [edi + 0xc]
add ecx, 0xfffffffe
mov dword [esp + 0x3c], edx
mov edx, dword [edi]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x94], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x64]
lea edx, [edx + esi*8]
mov dword [esp + 0x84], edx
jmp 0x4bab93
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
test eax, eax
je 0x4ba9c4
mov ecx, dword [esp + 0x34]
dec eax
lea edx, [eax + eax*2]
mov dword [ecx + 8], eax
mov ecx, dword [ecx]
mov eax, dword [ecx + edx*4]
mov edi, dword [ecx + edx*4 + 4]
cmp eax, 2
je 0x4babd0
cmp eax, 3
je 0x4ba9c4
mov ecx, dword [ecx + edx*4 + 8]
cmp ecx, dword [ebp + 0xc]
jae 0x4bb57e
mov edx, dword [ebp + 8]
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], edi
jmp 0x4bab84
mov eax, dword [esp + 0x94]
cmp ebx, eax
cmova eax, ebx
mov dword [esp + 0x5c], eax
jmp 0x4bac0c
cmp dword [esp + 0x74], edi
jbe 0x4bb534
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edi*4]
cmp eax, ebx
jae 0x4bac2e
mov ecx, dword [esp + 0x38]
cmp dword [ecx + eax*4], edi
je 0x4bab84
cmp ebx, dword [esp + 0x5c]
je 0x4bb590
mov eax, dword [esp + 0x38]
lea ecx, [ebx + 1]
mov dword [esp + 0xc], ecx
mov dword [eax + ebx*4], edi
mov eax, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [eax + edi*4], ebx
mov eax, dword [esp + 0x98]
mov edx, dword [eax + 0x1e0]
cmp edi, edx
jae 0x4bb549
mov eax, dword [eax + 0x1d8]
mov ecx, edi
shl ecx, 4
lea edx, [eax + ecx]
mov eax, dword [eax + ecx]
mov eax, dword [eax*4 + 0x4bb5e0]
add eax, dword [esp + 0x78]
jmp eax
mov edx, dword [esp + 0x74]
mov ecx, edi
push 0x55809c
call dbg.panic_bounds_check
add esp, 4
ud2
mov ecx, edi
push 0x558360
call dbg.panic_bounds_check
add esp, 4
ud2
mov edx, dword [ebp + 0xc]
push 0x558350
call dbg.panic_bounds_check
add esp, 4
ud2
mov ecx, str.assertion_failed:_i___self.capacity___home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_1.5.4_src_sparse.rs
mov edx, 0x25
push 0x55807c
call dbg.panic
add esp, 4
ud2