Function at 0x4019b0
Capabilities:
Create directory
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x66c
lea eax, [esp + 4]
push ebx
push esi
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsCEAPPMGR.EXE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a42
lea ecx, [esp + 0x10]
lea edx, [esp + 0x570]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push 0x40799c
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401a42
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x570]
lea eax, [esp + 0x14]
push edx
push eax
call ebx
mov cl, byte [esp + 0x14]
xor edx, edx
test cl, cl
lea eax, [esp + 0x14]
je 0x401a42
cmp cl, 0x5c
jne 0x401a36
lea edx, [eax + 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401a2e
test edx, edx
jne 0x401a81
push 1
lea ecx, [esp + 0x16c]
call fcn.00401120
push 2
lea ecx, [esp + 0x370]
call fcn.00401120
lea ecx, [esp + 0x36c]
push 0
lea edx, [esp + 0x16c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
add esp, 0x66c
ret
lea eax, [esp + 0x118]
push 0x50
push eax
push 2
push 0x67
mov byte [edx], 0
mov byte [esp + 0x128], 0
call fcn.00401150
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x10
lea ecx, [esp + 0x118]
lea edx, [esp + 0x14]
push ecx
push edx
call esi
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x401b03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401b03
push 3
lea ecx, [esp + 0x16c]
call fcn.00401120
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x16c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
add esp, 0x66c
ret
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x18]
mov edi, 1
push eax
push ecx
push edi
call fcn.00401740
add esp, 0xc
test eax, eax
je 0x401b38
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
inc edi
push edx
push eax
push edi
call fcn.00401740
add esp, 0xc
test eax, eax
jne 0x401b20
mov eax, dword [esp + 0xc]
pop edi
test eax, eax
je 0x401b6f
push 4
lea ecx, [esp + 0x16c]
call fcn.00401120
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x16c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
add esp, 0x66c
ret
lea eax, [esp + 0x268]
push 0x4070b4
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x268]
push ecx
push edx
call esi
lea eax, [esp + 0x268]
push 0x407048
push eax
call esi
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x268]
push edx
push eax
push 1
push 0x65
call fcn.00401150
add esp, 0x10
test al, al
jne 0x401c09
push 5
lea ecx, [esp + 0x370]
call fcn.00401120
push 2
lea ecx, [esp + 0x16c]
call fcn.00401120
lea ecx, [esp + 0x168]
push 0
lea edx, [esp + 0x370]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
add esp, 0x66c
ret
lea eax, [esp + 0x268]
push 0x4070b4
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
call fcn.00401850
add esp, 4
lea edx, [esp + 0x570]
lea eax, [esp + 0x46c]
push edx
push eax
call ebx
lea ecx, [esp + 0x46c]
push 0x4070b0
push ecx
call esi
lea edx, [esp + 0x268]
lea eax, [esp + 0x46c]
push edx
push eax
call esi
lea ecx, [esp + 0x46c]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop esi
pop ebx
add esp, 0x66c
ret