Function at 0x422d01
Capabilities:
Create directory
Get disk information
Query environment variable
Terminate process

Disassembly:
push 0x34
mov eax, 0x4a037a
call fcn.0048a2c9
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
call fcn.0047727e
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042049e
push 0x4a94b0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004211c4
mov byte [ebp - 4], 1
call fcn.0047727e
push eax
lea ecx, [ebp - 0x20]
call fcn.0042049e
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
add ecx, ecx
push eax
call fcn.00452b70
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0042274e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
lea eax, [ebp - 0x28]
push eax
mov edi, 0x4a9514
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00422463
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0042274e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
push 0x10
lea eax, [esi + 0x48]
push ebx
push eax
call fcn.00485e30
add esp, 0xc
jmp 0x4230af
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc]
jge 0x4230b9
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
push str.VirtIniSettings:__s
push eax
call fcn.00452370
add esp, 0xc
call fcn.00422b3e
pop ecx
lea eax, [ebp - 0x24]
push eax
push 0x4a951c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
call fcn.00422463
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00421355
push ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x24]
call fcn.00423995
push str.AppID
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422e40
push dword [ebp - 0x10]
call fcn.00485eaa
pop ecx
mov dword [esi + 8], eax
push str.AutoLaunch
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422e5f
push dword [ebp - 0x10]
call fcn.00485eaa
pop ecx
mov dword [esi + 0xc], eax
push str.Streamer
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422e7e
push dword [ebp - 0x10]
call fcn.00485eaa
pop ecx
mov dword [esi + 0x38], eax
push str.FriendlyName
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422e9d
push dword [ebp - 0x10]
call fcn.00485eaa
pop ecx
mov dword [esi + 0x10], eax
push str.Shortcuts
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422ebc
push dword [ebp - 0x10]
call fcn.00485eaa
pop ecx
mov dword [esi + 0x14], eax
push str.OnStartVirtualized
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422edb
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.0042274e
push str.OnStartUnvirtualized
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422efa
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x24]
push eax
call fcn.0042274e
push str.OnStopVirtualized
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422f19
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x28]
push eax
call fcn.0042274e
push str.OnStopUnvirtualized
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422f38
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x2c]
push eax
call fcn.0042274e
push str.StopInheritance
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x422f57
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x30]
push eax
call fcn.0042274e
push str.Expiration
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x42302e
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x42302e
push 0x2f
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov dword [ebp - 0x24], ebx
call fcn.00421355
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00455bb0
add esp, 0xc
push dword [eax]
call fcn.004856a8
pop ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov word [esi + 0x4e], ax
call fcn.0042001a
cmp dword [ebp - 0x24], 0xffffffff
je 0x42302e
push 0x2f
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00421355
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.00455bb0
add esp, 0xc
push dword [eax]
call fcn.004856a8
pop ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov word [esi + 0x4a], ax
call fcn.0042001a
cmp dword [ebp - 0x24], 0xffffffff
je 0x42302e
push 0x2f
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00421355
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.00455bb0
add esp, 0xc
push dword [eax]
call fcn.004856a8
pop ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov word [esi + 0x48], ax
call fcn.0042001a
push str.BaseDirName
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x42304d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042274e
push str.AutoUpdate
push dword [ebp - 0x18]
call fcn.00485d30
pop ecx
pop ecx
test eax, eax
jne 0x42306c
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x34]
push eax
call fcn.0042274e
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00422463
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0042274e
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042001a
cmp dword [ebp - 0x28], 0xffffffff
jne 0x422dbf
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x423395
cmp word [eax], bx
je 0x423395
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x423119
mov eax, 0x514
push eax
push eax
lea ecx, [ebp - 0x14]
call fcn.004204c6
push eax
mov edi, str.CAMEYO_BASEDIRNAME
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00423b0a
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push dword [ebp - 0x14]
push edi
push str.UnpackUtils_ReadIniFile::BaseDirName:_Environment__s__s_
push eax
call fcn.00452370
add esp, 0x10
call fcn.00422b3e
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x42328b
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x42328b
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x24]
push str._c:_
push eax
call fcn.00452370
add esp, 0xc
mov byte [ebp - 4], 0xb
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0x4a94b0
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.004211c4
mov byte [ebp - 4], 0xc
cmp edi, 2
jne 0x423173
push str.REMOVABLE
jmp 0x42317d
cmp edi, 3
jne 0x423187
push str.FIXED
lea ecx, [ebp - 0x28]
call fcn.0042149d
jmp 0x4231b5
push edi
lea eax, [ebp + 0xc]
push 0x4a9b84
push eax
call fcn.00452370
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.0042274e
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push str.UnpackUtils_ReadIniFile::BaseDirName:_RootDir__s_drive_type_s
push eax
call fcn.00452370
add esp, 0x10
call fcn.00422b3e
pop ecx
cmp edi, 2
jne 0x423271
push 0x4a9f80
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00423a96
mov eax, dword [eax]
add esp, 0xc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x423211
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp + 0xf], bl
cmp eax, 0xb7
jne 0x423215
mov byte [ebp + 0xf], 1
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0042001a
cmp byte [ebp + 0xf], bl
je 0x423271
push str.VOS_
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00423a96
add esp, 0xc
mov byte [ebp - 4], 0xe
push dword [esi + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00423a96
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0042274e
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0042001a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push dword [esi + 0x40]
push dword [ebp - 0x14]
push str.UnpackUtils_ReadIniFile:_INIs_BaseDirName_s__CarrierExeName_s
push eax
call fcn.00452370
add esp, 0x10
call fcn.00422b3e
mov eax, dword [ebp - 0x14]
pop ecx
cmp dword [eax - 0xc], ebx
jne 0x4232dd
push str._AppData_
lea ecx, [ebp - 0x14]
call fcn.0042149d
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push dword [ebp - 0x14]
push str.UnpackUtils_ReadIniFile::BaseDirName:_Taking_default:__s
push eax
call fcn.00452370
add esp, 0xc
call fcn.00422b3e
pop ecx
lea eax, [ebp - 0x14]
push eax
call fcn.00469170
pop ecx
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.00423a11
mov edi, 0x4aa0a4
push edi
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00422668
test eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
setne byte [ebp + 0xf]
add ecx, 0xfffffff0
call fcn.0042001a
cmp byte [ebp + 0xf], bl
je 0x423329
push edi
lea ecx, [ebp - 0x14]
call fcn.00423aeb
push str.VOS_
lea ecx, [ebp - 0x14]
call fcn.00423aeb
push dword [esi + 8]
lea ecx, [ebp - 0x14]
call fcn.00423aeb
push dword [ebp - 0x14]
call fcn.00485eaa
pop ecx
push 0x10
mov dword [esi + 0x3c], eax
call fcn.00476b6e
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x423367
call fcn.004645a0
jmp 0x423369
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [esi + 0x44], eax
call fcn.0042001a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042001a
mov al, 1
call fcn.0048a3a1
ret
push 3
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423a58
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi - 0xc]
cmp edi, ebx
jge 0x4233bb
push 0x80070057
call fcn.00420000
cmp edi, ebx
movzx ecx, word [esi]
movzx edx, cx
jl 0x4233b1
movzx ecx, cx
push ecx
movzx edx, dx
mov edi, esp
mov dword [ebp - 0x3c], esp
push edx
movzx ecx, cx
push ecx
push dword [eax]
push str.VirtIniSettings:_incorrect_data:_Str_3_:_s__0_0x_x_d
push edi
call fcn.00452370
add esp, 0x14
call fcn.00422b3e
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
push ebx
push 0x5c
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00451660
pop ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00452880
add esp, 0xc
mov edi, eax
push 0x14
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00423a58
mov byte [ebp - 4], 0xa
cmp dword [esi - 0xc], ebx
jl 0x4233b1
push dword [eax]
movzx eax, word [esi]
push eax
lea eax, [ebp + 0xc]
push str.Virt_info_incorrect__is_VirtApp.ini_in_Unicode_format__0x_x_:_n_s
push eax
call fcn.00452370
add esp, 0x10
push dword [edi]
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0042001a
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]