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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [ecx]
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x10081670
mov eax, dword [ebp - 0x10]
lea edx, [esi - 1]
mov dword [ebp - 0x28], esi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
cmp eax, edi
mov ecx, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], edi
cmova ecx, eax
sub eax, ecx
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov eax, 1
nop
mov ebx, dword [ebp - 0x48]
add ebx, ecx
je 0x1008173b
mov edi, dword [ebp - 0x2c]
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x24], esi
movzx edx, byte [esi + edi]
mov esi, ebx
lea edi, [edi + ecx + 1]
inc ecx
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x10]
movzx ebx, byte [ebp - 0x20]
mov dword [edx + 8], edi
mov edx, eax
mov eax, esi
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x44]
mov bh, bl
inc edx
dec eax
add bh, 0xd0
inc esi
cmp bh, 0xa
jb 0x100815f0
mov bh, bl
add bh, 0x9f
cmp bh, 6
jb 0x100815f0
cmp bl, 0x5f
jne 0x1008173b
mov esi, dword [ebp - 0x2c]
mov ecx, esi
sub ecx, eax
test esi, esi
je 0x10081693
mov ebx, dword [ebp - 0x28]
cmp esi, edi
jae 0x10081774
cmp ecx, edi
ja 0x1008177c
cmp byte [ebx + esi], 0xc0
jge 0x1008169e
jmp 0x1008177c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10081768
push eax
push 1
push 0x10137239
call sym.__LT_str_u20_as_u20_core..fmt..Display_GT_::fmt::h9937b87a5e930bea
add esp, 0x48
jmp 0x1008176f
mov ebx, dword [ebp - 0x28]
cmp ecx, edi
ja 0x1008177c
neg eax
test al, 1
jne 0x1008173b
add edx, esi
add ebx, esi
lea esi, [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], 2
nop dword [eax]
mov ecx, esi
call sym.__ZN104__LT_core..iter..sources..from_fn..FromFn_LT_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4next17h8483518
cmp eax, 0x110000
jb 0x100816d0
cmp eax, 0x110001
jne 0x1008173b
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x10081768
mov edi, ebx
mov bl, 1
push 0x22
push esi
call sym.__LT_core..fmt..Formatter_u20_as_u20_core..fmt..Write_GT_::write_char::h8189aae9faebd92c
add esp, 8
test al, al
jne 0x1008176a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 2
call sym.__ZN104__LT_core..iter..sources..from_fn..FromFn_LT_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4next17h8483518
cmp eax, 0x110001
jne 0x1008178a
push 0x22
push esi
call sym.__LT_core..fmt..Formatter_u20_as_u20_core..fmt..Write_GT_::write_char::h8189aae9faebd92c
add esp, 0x44
jmp 0x1008176f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1008175b
mov bl, 1
push eax
push 0x10
push str.invalid_syntaxrecursion_limit_reached_for_______::closureshim:_as__mut_const___dyn___unsafe_extern__
call sym.__LT_str_u20_as_u20_core..fmt..Display_GT_::fmt::h9937b87a5e930bea
add esp, 0xc
test al, al
jne 0x1008176a
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov byte [eax + 4], 0
xor ebx, ebx
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ecx, edi
jbe 0x1008169e
push 0x101371c0
push ecx
push esi
push edi
push ebx
call sym.core::str::slice_error_fail::h0feccc79f34e6ba1
lea edi, [ebp - 0x1c]
cmp eax, 0x110000
je 0x10081851
cmp eax, 0x27
jne 0x100817b2
push 0x27
push esi
call sym.__LT_core..fmt..Formatter_u20_as_u20_core..fmt..Write_GT_::write_char::h8189aae9faebd92c
add esp, 8
test al, al
je 0x10081832
jmp 0x1008176a
mov ecx, edi
mov edx, eax
call fcn.1007c3d0
cmp byte [ebp - 0x1c], 0x80
jne 0x10081803
mov bl, pe_nt_image_headers32
jmp 0x100817e7
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
xor ebx, ebx
mov dword [ebp - 0x14], 0
movsd qword [ebp - 0x1c], xmm0
push eax
push esi
call sym.__LT_core..fmt..Formatter_u20_as_u20_core..fmt..Write_GT_::write_char::h8189aae9faebd92c
add esp, 8
test al, al
jne 0x1008184a
cmp bl, 0x80
je 0x100817c5
movzx eax, byte [ebp - 0x12]
cmp al, byte [ebp - 0x11]
jae 0x1008182d
mov ecx, eax
inc cl
mov byte [ebp - 0x12], cl
movzx eax, byte [ebp + eax - 0x1c]
jmp 0x100817d9
movzx eax, byte [ebp - 0x11]
movzx ebx, byte [ebp - 0x12]
cmp bl, al
cmova eax, ebx
movzx edi, al
cmp edi, ebx
je 0x1008182d
movzx eax, byte [ebp + ebx - 0x1c]
inc ebx
push eax
push esi
call sym.__LT_core..fmt..Formatter_u20_as_u20_core..fmt..Write_GT_::write_char::h8189aae9faebd92c
add esp, 8
test al, al
je 0x10081813
jmp 0x1008184a
mov bl, 1
lea edi, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call sym.__ZN104__LT_core..iter..sources..from_fn..FromFn_LT_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4next17h8483518
cmp eax, 0x110001
jne 0x1008178d
jmp 0x1008172e
mov bl, 1
jmp 0x1008176a
push 0x10136c20
push 0x10136d3c
push edi
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call sym.core::result::unwrap_failed::h5441fa6e1130b119
nop dword [eax + eax]