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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x10]
push 0x22
mov dword [esp + 0x14], ecx
push ecx
mov dword [esp + 0x2c], eax
call eax
add esp, 8
mov cl, 1
test al, al
jne 0x10058864
mov eax, dword [esp + 0x9c]
lea edi, [esp + 0x2c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x70]
push edi
push eax
call sym.kso.dll___core::str::lossy::Utf8Chunks_as_core::iter::traits::iterator::Iterator_::next::ha9bea05fad11348a
add esp, 8
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esp + 8], eax
je 0x10058855
lea ebp, [esp + 3]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x10058742
mov eax, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0
add ecx, eax
mov edx, eax
mov dword [esp + 0x6c], ecx
movzx eax, byte [edx]
mov ecx, edx
mov edi, edx
test al, al
js 0x100584d0
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
jmp 0x10058550
movzx edx, byte [ecx + 1]
mov ebp, eax
and ebp, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x1005852a
lea ebx, [ecx + 3]
movzx ecx, byte [ecx + 2]
shl edx, 6
mov dword [esp + 0xc], ebx
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x10058540
mov eax, dword [esp + 0xc]
and ebp, 7
shl ecx, 6
shl ebp, 0x12
movzx eax, byte [eax]
and eax, 0x3f
or eax, ecx
or eax, ebp
cmp eax, 0x110000
mov dword [esp + 0x14], eax
je 0x10058832
lea eax, [edi + 4]
lea ebp, [esp + 3]
mov dword [esp + 0xc], eax
jmp 0x10058550
shl ebp, 6
add ecx, 2
or ebp, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
lea ebp, [esp + 3]
jmp 0x10058550
shl ebp, 0xc
or ecx, ebp
lea ebp, [esp + 3]
mov dword [esp + 0x14], ecx
nop dword [eax]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push 0x10101
call fcn.1004ec20
add esp, 4
cmp byte [esp + 0x54], 0x80
je 0x100585b0
movzx eax, byte [esp + 0x5f]
sub al, byte [esp + 0x5e]
cmp al, 1
je 0x100585b0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov eax, ebp
sub eax, ecx
jb 0x1005887e
test ecx, ecx
je 0x100585bd
cmp ecx, edx
jae 0x100585b7
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
cmp byte [ecx + ebx], 0xc0
mov ecx, dword [esp + 4]
jge 0x100585bd
jmp 0x1005887e
mov ecx, edi
jmp 0x100586f7
jne 0x1005887e
test ebp, ebp
je 0x100585de
cmp ebp, edx
jae 0x100585d8
mov ecx, dword [esp + 8]
cmp byte [ecx + ebp], 0xbf
mov ecx, dword [esp + 4]
jg 0x100585de
jmp 0x1005887e
jne 0x1005887e
add ecx, dword [esp + 8]
push eax
push ecx
push dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
call dword [eax + 0xc]
add esp, 0xc
test al, al
jne 0x10058851
movsd xmm0, qword [esp + 0x54]
mov eax, dword [esp + 0x5c]
movsd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x34], 0x80
jne 0x10058680
mov bl, 0x80
mov ecx, edi
jmp 0x10058654
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push eax
push dword [esp + 0x14]
call dword [esp + 0x2c]
add esp, 8
test al, al
mov ecx, edi
jne 0x10058851
cmp bl, 0x80
je 0x10058620
mov edx, ebx
movzx ebx, byte [esp + 0x3e]
cmp bl, byte [esp + 0x3f]
jae 0x100586c2
mov eax, ebx
inc al
cmp bl, 0xa
mov byte [esp + 0x3e], al
jae 0x10058871
movzx eax, byte [esp + ebx + 0x34]
mov ebx, edx
jmp 0x1005863e
movzx ebp, byte [esp + 0x3f]
movzx ebx, byte [esp + 0x3e]
mov ecx, edi
nop dword [eax]
cmp ebx, ebp
jae 0x100586c2
mov eax, ebx
inc al
cmp ebx, 9
mov byte [esp + 0x3e], al
ja 0x10058871
movzx eax, byte [esp + ebx + 0x34]
push eax
push dword [esp + 0x14]
call dword [esp + 0x2c]
mov ecx, edi
add esp, 8
inc ebx
test al, al
je 0x10058690
jmp 0x10058851
mov eax, dword [esp + 0x14]
mov edx, 1
cmp eax, 0x80
jb 0x100586eb
mov edx, 2
cmp eax, 0x800
jb 0x100586eb
cmp eax, 0x10000
mov edx, 4
sbb edx, 0
add edx, dword [esp + 0x1c]
lea ebp, [esp + 3]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
sub eax, ecx
add eax, edx
cmp edx, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
jne 0x100584aa
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x10058842
mov eax, dword [esp + 0x18]
sub eax, ecx
jbe 0x10058821
mov edi, dword [esp + 8]
mov edx, ecx
cmp byte [edi + edx], 0xbf
lea edi, [esp + 0x2c]
jg 0x10058827
jmp 0x1005888f
xor edx, edx
xor ecx, ecx
mov eax, dword [esp + 8]
add eax, edx
push ecx
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
call dword [eax + 0xc]
add esp, 0xc
test al, al
jne 0x10058851
cmp dword [esp + 0x28], 0
je 0x10058801
nop
movzx eax, byte [esi]
movaps xmm0, xmmword [0x10082fb0]
mov dword [esp + 0x54], 0x10085cf8
mov dword [esp + 0x58], 1
mov dword [esp + 0x80], ebp
mov dword [esp + 0x34], 2
mov dword [esp + 0x84], sym.kso.dll_core::fmt::num::__impl_core::fmt::UpperHex_for_i8_::fmt::h149c5b00a2a3910c
mov byte [esp + 3], al
lea eax, [esp + 0x34]
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x4c], 8
mov byte [esp + 0x50], 3
mov dword [esp + 0x64], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x68], 1
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x60], 1
push eax
push dword [esp + 0x24]
push dword [esp + 0x18]
call sym.kso.dll_core::fmt::write::h74899b0fc4c5cddb
add esp, 0xc
test al, al
jne 0x10058851
inc esi
dec dword [esp + 0x28]
jne 0x10058770
push edi
lea eax, [esp + 0x74]
push eax
call sym.kso.dll___core::str::lossy::Utf8Chunks_as_core::iter::traits::iterator::Iterator_::next::ha9bea05fad11348a
add esp, 8
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esp + 8], eax
jne 0x10058472
jmp 0x10058855
lea edi, [esp + 0x2c]
jne 0x1005888f
mov edx, dword [esp + 4]
mov ecx, eax
jmp 0x10058746
lea ebp, [esp + 3]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x1005871d
mov ecx, dword [esp + 0x18]
xor edx, edx
lea edi, [esp + 0x2c]
jmp 0x10058746
mov cl, 1
jmp 0x10058864
push 0x22
push dword [esp + 0x14]
call dword [esp + 0x2c]
add esp, 8
mov ecx, eax
mov eax, ecx
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10086668
push 0xa
push ebx
call sym.kso.dll_core::panicking::panic_bounds_check::hda298f763923bd76
push 0x10085d00
push ebp
push ecx
push edx
push dword [esp + 0x18]
call sym.kso.dll_core::str::slice_error_fail::h02ba8aa33d35e572
push 0x10085ce4
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0xc]
push eax
push dword [esp + 0x18]
call sym.kso.dll_core::str::slice_error_fail::h02ba8aa33d35e572
int3