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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov esi, dword [ebp + 8]
call sym.sysinfo::windows::system::SystemInner::is_windows_eleven::h92cb21ad03b96db5
test al, al
je 0x1004e1d7
lea ecx, [esp + 0x64]
mov edx, 0x1017082f
push 0xb
call sym.__ZN7sysinfo7windows6system20get_reg_string_value17h31325eb4906e1982E.llvm.12363517825842431154
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, 0x80000000
jne 0x1004e1ef
mov eax, dword [ebp + 8]
mov dword [eax], 0x80000000
jmp 0x1004e6d9
mov ecx, esi
mov edx, 0x1017082f
push 0xb
call sym.__ZN7sysinfo7windows6system20get_reg_string_value17h31325eb4906e1982E.llvm.12363517825842431154
add esp, 4
mov eax, esi
jmp 0x1004e6d9
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x70]
push 0xb
push 0x1017083a
mov dword [esp + 0x5c], edx
push edx
mov dword [esp + 0x48], ecx
push ecx
push eax
call sym.core::str::pattern::StrSearcher::new::h4d026a466daced72
add esp, 0x14
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0xa0]
cmp edx, ecx
mov esi, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], eax
cmova esi, edx
cmp dword [esp + 0x70], 0
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 4], esi
je 0x1004e62d
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, ecx
sub eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
lea eax, [edx - 1]
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x94]
lea ecx, [ecx - 1]
mov dword [esp + 0x44], ecx
mov ecx, 1
setb byte [esp + 0x37]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
lea eax, [eax + edx - 1]
mov dword [esp + 0x5c], eax
jmp 0x1004e329
mov ecx, dword [esp]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 4]
add ebx, dword [esp + 0xc]
mov dword [ecx + eax + 7], 0x20313120
mov dword [ecx + eax + 4], 0x2073776f
mov dword [ecx + eax], 0x646e6957
add eax, 0xb
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x14], 0xffffffff
mov dword [esp], ecx
lea eax, [ebx + eax]
je 0x1004e460
cmp eax, esi
jb 0x1004e36a
jmp 0x1004e627
add ebx, dword [esp + 0xc]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x44]
add eax, ebx
cmp eax, esi
jae 0x1004e627
movzx ecx, byte [edi + eax]
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x50]
or edx, eax
je 0x1004e350
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, edi
mov esi, ebx
add edi, ebx
cmp ecx, edx
cmova edx, ecx
mov ecx, dword [esp + 0xc]
mov eax, edx
mov dword [esp + 0x28], edx
cmp edx, ecx
cmova ecx, edx
nop word cs:[eax + eax]
cmp ecx, eax
je 0x1004e400
lea ebx, [esi + eax]
cmp ebx, dword [esp + 4]
jae 0x1004e8da
mov edx, dword [esp + 0x10]
lea ebx, [eax + 1]
movzx edx, byte [edx + eax]
cmp dl, byte [edi + eax]
mov eax, ebx
je 0x1004e3c0
sub esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], 0
add esi, ebx
mov ebx, esi
mov esi, dword [esp + 4]
jmp 0x1004e35c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ebx, esi
mov esi, ecx
cmp dword [esp + 0x14], eax
jae 0x1004e450
dec eax
cmp eax, dword [esp + 0xc]
jae 0x1004e915
lea edx, [eax + ebx]
cmp edx, esi
jae 0x1004e90c
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
cmp cl, byte [edi + edx]
je 0x1004e410
mov eax, dword [esp + 0x58]
add ebx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
jmp 0x1004e35c
mov dword [esp + 0x14], 0
jmp 0x1004e558
cmp eax, esi
jb 0x1004e482
jmp 0x1004e627
add ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
add eax, ebx
cmp eax, esi
jae 0x1004e627
movzx ecx, byte [edi + eax]
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x50]
or edx, eax
je 0x1004e470
mov edx, dword [esp + 0x2c]
mov eax, ebx
lea ecx, [edi + ebx]
mov dword [esp + 0x28], ebx
neg eax
nop dword [eax + eax]
cmp dword [esp + 0x60], edx
je 0x1004e500
mov edi, esi
lea esi, [ebx + edx]
cmp esi, edi
mov esi, edi
jae 0x1004e8f4
mov edi, dword [esp + 0x10]
dec eax
movzx ebx, byte [edi + edx]
mov edi, dword [esp + 0x24]
cmp bl, byte [ecx + edx]
mov ebx, dword [esp + 0x28]
lea edx, [edx + 1]
je 0x1004e4c0
neg eax
mov ebx, eax
jmp 0x1004e474
test byte [esp + 0x37], 1
je 0x1004e606
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
add eax, ebx
nop dword [eax]
sub edx, 1
jb 0x1004e550
cmp eax, esi
jae 0x1004e91c
movzx ebx, byte [ecx]
dec ecx
cmp bl, byte [edi + eax]
mov ebx, dword [esp + 0x28]
lea eax, [eax - 1]
je 0x1004e520
add ebx, dword [esp + 0x40]
jmp 0x1004e474
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
add ecx, eax
lea edx, [eax + ebx]
mov eax, edi
mov dword [esp + 8], ecx
sub edx, ecx
mov ecx, dword [esp + 0x38]
sub eax, ecx
cmp eax, edx
jae 0x1004e5b0
mov dword [esp], edx
push edx
push ecx
lea eax, [esp + 0x20]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::h3a575ba2d04f7cfd
add esp, 0xc
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp]
jmp 0x1004e5b5
mov eax, dword [esp]
mov esi, ecx
mov dword [esp], eax
add eax, esi
push edx
push dword [esp + 0xc]
push eax
mov ebx, edx
call sub.msvcrt.dll_memcpy
mov eax, esi
add esp, 0xc
add eax, ebx
sub edi, eax
mov dword [esp + 0x20], eax
cmp edi, 0xa
ja 0x1004e2f0
push 0xb
push eax
lea eax, [esp + 0x20]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::h3a575ba2d04f7cfd
add esp, 0xc
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x1004e2ff
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0xffffffff
je 0x1004e558
mov eax, dword [esp + 0x4c]
mov ecx, 0x101705b8
jmp 0x1004e925
mov edx, dword [esp + 8]
jmp 0x1004e649
test eax, 0xff0000
je 0x1004e6e1
xor edx, edx
mov dword [esp + 0x38], 0
mov dword [esp], 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, edx
mov ebx, edx
sub eax, edi
cmp eax, ecx
mov eax, ecx
jae 0x1004e688
mov ecx, eax
lea eax, [esp + 0x18]
mov esi, ecx
push ecx
push edi
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::h3a575ba2d04f7cfd
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, esi
jmp 0x1004e68b
mov ecx, dword [esp]
add ecx, edi
push eax
push ebx
push ecx
mov esi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x18]
add edi, esi
mov dword [esp + 0x78], edi
test eax, eax
movsd qword [esp + 0x70], xmm0
je 0x1004e6c3
push 1
push eax
push dword [esp + 0x44]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0x78]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [esp + 0x70]
mov dword [ecx + 8], eax
mov eax, ecx
movsd qword [ecx], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0x74]
xor eax, eax
mov ecx, 1
xor ebx, ebx
jmp 0x1004e72a
mov ecx, dword [esp]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 4]
mov dword [ecx + eax + 7], 0x20313120
mov dword [ecx + eax + 4], 0x2073776f
mov dword [ecx + eax], 0x646e6957
add eax, 0xb
mov dword [esp + 0x20], eax
xor dl, 1
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov ebx, edx
test edx, edx
je 0x1004e746
cmp edx, esi
jae 0x1004e740
cmp byte [edi + edx], 0xc0
jge 0x1004e746
jmp 0x1004e935
jne 0x1004e935
cmp edx, esi
mov dword [esp + 0x38], eax
mov dword [esp], ecx
jne 0x1004e770
mov ecx, dword [esp + 0x30]
mov edx, ebx
test cl, cl
jne 0x1004e842
jmp 0x1004e649
movzx eax, byte [edi + edx]
test al, al
js 0x1004e787
mov ecx, dword [esp + 0x30]
test cl, cl
je 0x1004e7ee
mov esi, edx
jmp 0x1004e840
mov esi, edi
movzx edi, byte [edi + edx + 1]
mov ecx, eax
mov dword [esp + 0x10], edx
and ecx, 0x1f
and edi, 0x3f
cmp al, 0xe0
jb 0x1004e7ca
movzx edx, byte [esi + edx + 2]
shl edi, 6
and edx, 0x3f
or edx, edi
cmp al, 0xf0
jb 0x1004e7d3
mov eax, dword [esp + 0x10]
and ecx, 7
shl edx, 6
shl ecx, 0x12
movzx eax, byte [esi + eax + 3]
and eax, 0x3f
or eax, edx
or eax, ecx
jmp 0x1004e7da
shl ecx, 6
or ecx, edi
mov eax, ecx
jmp 0x1004e7da
shl ecx, 0xc
or edx, ecx
mov eax, edx
mov edx, dword [esp + 4]
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
test cl, cl
jne 0x1004e780
mov ecx, 1
cmp eax, 0x80
jb 0x1004e813
mov ecx, 2
cmp eax, 0x800
jb 0x1004e813
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
add edx, ecx
je 0x1004e82c
cmp edx, esi
jae 0x1004e826
cmp byte [edi + edx], 0xc0
jge 0x1004e82c
jmp 0x1004e935
jne 0x1004e935
mov cl, 1
cmp edx, esi
je 0x1004e840
movzx eax, byte [edi + edx]
mov esi, edx
test al, al
jns 0x1004e840
cmp al, 0xe0
nop
mov edx, ebx
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], ecx
lea ebx, [eax + esi]
mov esi, dword [esp + 0x38]
add edx, eax
mov eax, edi
sub ebx, edx
mov dword [esp + 8], edx
sub eax, esi
cmp eax, ebx
jae 0x1004e890
push ebx
push esi
lea eax, [esp + 0x20]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::h3a575ba2d04f7cfd
add esp, 0xc
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x1004e893
mov eax, dword [esp]
mov dword [esp], eax
add eax, esi
push ebx
push dword [esp + 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov eax, esi
add esp, 0xc
add eax, ebx
sub edi, eax
mov dword [esp + 0x20], eax
cmp edi, 0xa
ja 0x1004e6f0
push 0xb
push eax
lea eax, [esp + 0x20]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::h3a575ba2d04f7cfd
add esp, 0xc
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x1004e6f7
mov edx, dword [esp + 4]
add esi, dword [esp + 0x28]
mov ecx, 0x101705d8
cmp edx, esi
mov dword [esp + 0xc], edx
cmova esi, edx
mov eax, esi
jmp 0x1004e925
mov eax, dword [esp + 0x28]
mov ecx, 0x101705d8
mov dword [esp + 0xc], esi
add eax, dword [esp + 0x2c]
cmp esi, eax
cmova eax, esi
jmp 0x1004e925
mov ecx, 0x101705c8
mov eax, edx
jmp 0x1004e921
mov ecx, 0x101705b8
jmp 0x1004e925
mov ecx, 0x101705c8
mov dword [esp + 0xc], esi
push ecx
push dword [esp + 0x10]
push eax
call sym.core::panicking::panic_bounds_check::haf27547f44996d48
add esp, 0xc
jmp 0x1004e94d
push 0x101705f8
mov eax, dword [esp + 8]
push eax
push edx
push eax
push dword [esp + 0x34]
call sym.core::str::slice_error_fail::h0feccc79f34e6ba1
add esp, 0x14
ud2