Function at 0x422570
Capabilities:
Check http status code
Get disk size
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5796
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1391c
call fcn.004b8440
mov eax, dword [0x52ad60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x1392c], eax
mov ebx, ecx
mov dword [ebp - 0x13908], eax
mov eax, dword [0x52f408]
imul eax, eax
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xb
jne 0x42263b
xor eax, eax
push 0x1387e
push eax
mov word [ebp - 0x13894], ax
lea eax, [ebp - 0x13892]
push eax
call fcn.004b84f0
add esp, 0xc
xor edi, edi
xor esi, esi
lea ecx, [ecx]
xor edx, edx
test edi, edi
je 0x42261a
test edx, edx
je 0x42261a
lea eax, [esi + edx]
lea ecx, [esi + edx]
mov ax, word [ebp + eax*2 - 0x13a24]
inc ax
add ax, word [ebp + ecx*2 - 0x13896]
mov word [ebp + ecx*2 - 0x13894], ax
inc edx
cmp edx, 0xc8
jl 0x4225f2
add esi, 0xc8
inc edi
cmp esi, 0x9c40
jl 0x4225f0
movsx eax, word [ebp - 0x16]
mov dword [0x52f408], eax
and dword [ebp - 0x138a8], 0xfffffe00
mov dword [ebp - 0x138a4], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x138e8]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x138e8], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x138e4], 0
test al, 1
jne 0x42269e
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x138f0], eax
lea eax, [ebp - 0x138f0]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 2
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x138f0]
mov byte [ebp - 4], 1
call fcn.004493f0
mov byte [ebp - 4], 3
mov al, byte [ebx + 8]
mov dword [ebp - 0x1389c], 0
test al, al
je 0x422718
cmp al, 7
je 0x422718
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x422728
mov ecx, 0x52fad0
jmp 0x4227b2
mov dword [ebp - 0x138e8], 0x514450
mov dword [ebp - 0x138e4], 0
mov edi, dword [ebx]
lea eax, [ebp - 0x138e8]
push eax
mov ecx, edi
call fcn.0044ab30
mov ecx, dword [edi]
cmp eax, ecx
je 0x422794
mov esi, dword [eax + 0x10]
mov edx, 0x514450
lea ebx, [ebx]
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x422780
test bl, bl
je 0x42277c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x422780
add edx, 2
add esi, 2
test bl, bl
jne 0x422760
xor edx, edx
jmp 0x422785
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x13898], eax
test dl, dl
je 0x42279a
mov dword [ebp - 0x13898], ecx
lea eax, [ebp - 0x13898]
mov eax, dword [eax]
cmp eax, ecx
mov byte [ebp - 4], 3
mov ecx, 0x52fad0
je 0x4227b2
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x1389c]
call fcn.004312a0
add esp, 0x18
lea eax, [ebp - 0x138d8]
push eax
push 0x20019
mov byte [ebp - 4], 5
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0
push dword [ebp - 0x1389c]
mov dword [ebp - 0x138d8], 0
push SysStringLen
call edi
test eax, eax
je 0x422a70
mov edx, eax
lea ecx, [ebp - 0x13924]
mov dword [ebp - 0x138dc], 0
call fcn.004315e0
push eax
mov edx, str.specialFoldersFromReg_sid_error_RegOpenKeyEx_
lea ecx, [ebp - 0x138dc]
mov byte [ebp - 4], 6
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x13924]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x422855
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._peci_lFoldersFromReg
lea ecx, [ebp - 0x13898]
call fcn.00403720
mov byte [ebp - 4], 9
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x13928], esi
lea eax, [ebp - 0x138dc]
push eax
lea edx, [ebp - 0x13928]
lea ecx, [ebp - 0x138e4]
mov byte [ebp - 4], 0xa
call fcn.00431540
add esp, 4
mov ebx, eax
push str.GlobalLog
lea ecx, [ebp - 0x13904]
mov byte [ebp - 4], 0xb
call fcn.00403720
push 2
push ebx
lea eax, [ebp - 0x13898]
push eax
lea eax, [ebp - 0x13904]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0xc
call fcn.004018e0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x13904]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4228f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x138e4]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422936
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x13898]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422959
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x13920]
call fcn.00431370
mov esi, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x138e8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138e8], ecx
mov dword [ebp - 0x138e4], 0
test al, 1
jne 0x4229ba
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4229c5
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x138f0], eax
push ecx
push str.error
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0xe
call fcn.00449e90
lea ecx, [ebp - 0x138f0]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x138f0]
mov byte [ebp - 4], 0xd
call fcn.004493f0
cmp dword [ebp - 0x1390c], 0x10
jb 0x422a21
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x138dc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422a44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1389c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4239ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4239ef
push dword [ebp - 0x138d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x52f408]
imul eax, eax
cdq
mov ecx, 0x12
idiv ecx
cmp edx, 3
jne 0x422ab2
push 4
call fcn.004b3a20
add esp, 4
mov esi, eax
call fcn.004b42bc
push esi
mov dword [esi], eax
mov dword [0x52f408], eax
call fcn.004b3a0c
add esp, 4
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea edx, [ebp - 0x1389c]
lea ecx, [ebp - 0x138e0]
mov dword [ebp - 0x138d8], 0
mov dword [ebp - 0x138e0], 0
call fcn.00426910
add esp, 4
lea eax, [ebp - 0x138d8]
push eax
push 0x20019
push 0
mov byte [ebp - 4], 0xf
push dword [ebp - 0x138e0]
push SysStringLen
call edi
test eax, eax
je 0x422d59
mov edx, eax
lea ecx, [ebp - 0x138e4]
mov dword [ebp - 0x138dc], 0
call fcn.004315e0
push eax
mov edx, str.specialFoldersFromReg_RegOpenKeyEx_
lea ecx, [ebp - 0x138dc]
mov byte [ebp - 4], 0x10
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x138e4]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x422b5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._peci_lFo1dersFromReg
lea ecx, [ebp - 0x13904]
call fcn.00403720
mov byte [ebp - 4], 0x13
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x13928], esi
lea eax, [ebp - 0x138dc]
push eax
lea edx, [ebp - 0x13928]
lea ecx, [ebp - 0x13924]
mov byte [ebp - 4], 0x14
call fcn.00431540
add esp, 4
mov ebx, eax
push str.GlobalLog
lea ecx, [ebp - 0x13898]
mov byte [ebp - 4], 0x15
call fcn.00403720
push 2
push ebx
lea eax, [ebp - 0x13904]
push eax
lea eax, [ebp - 0x13898]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x16
call fcn.004018e0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x13898]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422bfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x13924]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422c1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422c3c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x13904]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422c5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x13920]
call fcn.00431370
mov esi, eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x138e8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138e8], ecx
mov dword [ebp - 0x138e4], 0
test al, 1
jne 0x422cc0
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x422ccb
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x138f0], eax
push ecx
push str.error
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x18
call fcn.00449e90
lea ecx, [ebp - 0x138f0]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x138f0]
mov byte [ebp - 4], 0x17
call fcn.004493f0
cmp dword [ebp - 0x1390c], 0x10
jb 0x422d27
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x138dc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422d4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x138e0]
jmp 0x422a2b
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
mov dword [ebp - 0x138d4], 0x410
mov dword [ebp - 0x138a0], 0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138dc], esi
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x138d4]
shr edx, 1
jns 0x422d9b
push 0x80070057
call fcn.0040c740
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x422dbe
push edx
lea ecx, [ebp - 0x138dc]
call fcn.0040c7b0
mov esi, dword [ebp - 0x138dc]
lea eax, [ebp - 0x138d4]
push eax
push esi
lea eax, [ebp - 0x138a0]
push eax
push 0
push str.AppData
push dword [ebp - 0x138d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422ed2
push dword [esi - 8]
push esi
call fcn.004b4e2e
add esp, 8
test eax, eax
js 0x422d91
cmp eax, dword [esi - 8]
jg 0x422d91
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x13920]
call fcn.00431370
mov edi, eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x138e8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138e8], ecx
mov dword [ebp - 0x138e4], 0
test al, 1
jne 0x422e67
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [edi + 0x14], 0x10
mov edx, dword [edi + 0x10]
jb 0x422e72
mov edi, dword [edi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov dword [ebp - 0x138f0], eax
push ecx
push str.AppDataFolder
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x1b
call fcn.00449e90
lea ecx, [ebp - 0x138f0]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x138f0]
mov byte [ebp - 4], 0x1a
call fcn.004493f0
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x1390c], 0x10
jb 0x422ed2
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
cmp dword [esi - 0xc], 0
mov ebx, dword [esi - 0x10]
lea edx, [esi - 0x10]
je 0x422f07
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x42319e
cmp dword [esi - 8], 0
jge 0x422efb
push 0x80070057
call fcn.0040c740
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
or edi, 0xffffffff
mov dword [ebp - 0x138d4], 0x410
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x208
or eax, ecx
jge 0x422f3e
push 0x208
lea ecx, [ebp - 0x138dc]
call fcn.0040c7b0
mov esi, dword [ebp - 0x138dc]
lea eax, [ebp - 0x138d4]
push eax
push esi
lea eax, [ebp - 0x138a0]
push eax
push 0
push str.Local_AppData
push dword [ebp - 0x138d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423179
push dword [esi - 8]
push esi
call fcn.004b4e2e
add esp, 8
test eax, eax
js 0x422d91
cmp eax, dword [esi - 8]
jg 0x422d91
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x13920]
call fcn.00431370
mov ebx, eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x138e8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138e8], ecx
mov dword [ebp - 0x138e4], 0
test al, 1
jne 0x422fef
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov edx, dword [ebx + 0x10]
jb 0x422ffa
mov ebx, dword [ebx]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov dword [ebp - 0x138f0], eax
push ecx
push str.LocalAppDataFolder
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x1d
call fcn.00449e90
lea ecx, [ebp - 0x138f0]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x138f0]
mov byte [ebp - 4], 0x1c
call fcn.004493f0
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x1390c], 0x10
jb 0x42305a
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
push str._temp
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x138e4]
call fcn.00426910
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x13920]
mov byte [ebp - 4], 0x1e
call fcn.00431370
mov ebx, eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x138f8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138f8], ecx
mov dword [ebp - 0x138f4], 0
test al, 1
jne 0x4230d4
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov edx, dword [ebx + 0x10]
jb 0x4230df
mov ebx, dword [ebx]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov dword [ebp - 0x13900], eax
push ecx
push str.temp
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x20
call fcn.00449e90
lea ecx, [ebp - 0x13900]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x13900]
mov byte [ebp - 4], 0x1f
call fcn.004493f0
cmp dword [ebp - 0x1390c], 0x10
jb 0x42313b
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x138e4]
add edx, 0xfffffff0
mov dword [ebp - 0x1390c], 0xf
mov dword [ebp - 0x13910], 0
mov byte [ebp - 0x13920], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423179
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
mov ebx, dword [esi - 0x10]
lea edx, [esi - 0x10]
je 0x4231fa
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4231d7
cmp dword [esi - 8], 0
jge 0x4231c9
push 0x80070057
call fcn.0040c740
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4231b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138dc], esi
jmp 0x422f0a
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4231fa
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4231ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138dc], esi
mov dword [ebp - 0x138d4], 0x410
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x208
or eax, ecx
jge 0x42322e
push 0x208
lea ecx, [ebp - 0x138dc]
call fcn.0040c7b0
mov esi, dword [ebp - 0x138dc]
lea eax, [ebp - 0x138d4]
push eax
push esi
lea eax, [ebp - 0x138a0]
push eax
push 0
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
push dword [ebp - 0x138d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42334a
push dword [esi - 8]
push esi
call fcn.004b4e2e
add esp, 8
test eax, eax
js 0x422d91
cmp eax, dword [esi - 8]
jg 0x422d91
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x13920]
call fcn.00431370
mov ebx, eax
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x138f8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138f8], ecx
mov dword [ebp - 0x138f4], 0
test al, 1
jne 0x4232df
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov edx, dword [ebx + 0x10]
jb 0x4232ea
mov ebx, dword [ebx]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov dword [ebp - 0x13900], eax
push ecx
push str.LocalLowAppDataFolder
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x22
call fcn.00449e90
lea ecx, [ebp - 0x13900]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x13900]
mov byte [ebp - 4], 0x21
call fcn.004493f0
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x1390c], 0x10
jb 0x42334a
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
cmp dword [esi - 0xc], 0
mov ebx, dword [esi - 0x10]
lea edx, [esi - 0x10]
je 0x4233a0
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x42337d
cmp dword [esi - 8], 0
jge 0x42336f
push 0x80070057
call fcn.0040c740
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4233a0
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x423390
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138dc], esi
mov dword [ebp - 0x138d4], 0x410
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x208
or eax, ecx
jge 0x4233d4
push 0x208
lea ecx, [ebp - 0x138dc]
call fcn.0040c7b0
mov esi, dword [ebp - 0x138dc]
lea eax, [ebp - 0x138d4]
push eax
push esi
lea eax, [ebp - 0x138a0]
push eax
push 0
push str.Personal
push dword [ebp - 0x138d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4234f0
push dword [esi - 8]
push esi
call fcn.004b4e2e
add esp, 8
test eax, eax
js 0x422d91
cmp eax, dword [esi - 8]
jg 0x422d91
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [ebp - 0x138dc]
lea ecx, [ebp - 0x13920]
call fcn.00431370
mov ebx, eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x138f8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138f8], ecx
mov dword [ebp - 0x138f4], 0
test al, 1
jne 0x423485
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov edx, dword [ebx + 0x10]
jb 0x423490
mov ebx, dword [ebx]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov dword [ebp - 0x13900], eax
push ecx
push str.MyDocumentsFolder
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x24
call fcn.00449e90
lea ecx, [ebp - 0x13900]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x13900]
mov byte [ebp - 4], 0x23
call fcn.004493f0
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x1390c], 0x10
jb 0x4234f0
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
cmp dword [esi - 0xc], 0
mov ebx, dword [esi - 0x10]
lea edx, [esi - 0x10]
je 0x423546
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x423523
cmp dword [esi - 8], 0
jge 0x423515
push 0x80070057
call fcn.0040c740
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x423546
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x423536
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138dc], esi
lea ecx, [ebp - 0x138e4]
call fcn.00433b70
mov edx, eax
lea ecx, [ebp - 0x13920]
mov byte [ebp - 4], 0x25
call fcn.00431370
mov ebx, eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x138f8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138f8], ecx
mov dword [ebp - 0x138f4], 0
test al, 1
jne 0x4235b2
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov edx, dword [ebx + 0x10]
jb 0x4235bd
mov ebx, dword [ebx]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov dword [ebp - 0x13900], eax
push ecx
push str.ProgFiles32Folder
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x27
call fcn.00449e90
lea ecx, [ebp - 0x13900]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x13900]
mov byte [ebp - 4], 0x26
call fcn.004493f0
cmp dword [ebp - 0x1390c], 0x10
jb 0x423619
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x138e4]
add edx, 0xfffffff0
mov dword [ebp - 0x1390c], 0xf
mov dword [ebp - 0x13910], 0
mov byte [ebp - 0x13920], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423657
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x138e4]
call fcn.00433d30
mov edx, eax
lea ecx, [ebp - 0x13920]
mov byte [ebp - 4], 0x28
call fcn.00431370
mov ebx, eax
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0x138f8]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x138f8], ecx
mov dword [ebp - 0x138f4], 0
test al, 1
jne 0x4236c3
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov edx, dword [ebx + 0x10]
jb 0x4236ce
mov ebx, dword [ebx]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov dword [ebp - 0x13900], eax
push ecx
push str.ProgFiles64Folder
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x2a
call fcn.00449e90
lea ecx, [ebp - 0x13900]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x13900]
mov byte [ebp - 4], 0x29
call fcn.004493f0
cmp dword [ebp - 0x1390c], 0x10
jb 0x42372a
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x138e4]
add edx, 0xfffffff0
mov dword [ebp - 0x1390c], 0xf
mov dword [ebp - 0x13910], 0
mov byte [ebp - 0x13920], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423768
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x13898], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [0x52f558]
mov dword [ebp - 0x138e4], eax
test ebx, ebx
jne 0x4237e4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423807
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [0x52f558], ebx
test ebx, ebx
je 0x423807
mov edx, dword [0x52f408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 3
jne 0x4237e4
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ebx, dword [0x52f558]
lea eax, [ebp - 0x13898]
push eax
push dword [ebp - 0x138e4]
call ebx
test eax, eax
je 0x423807
cmp dword [ebp - 0x13898], 0
je 0x423807
mov ecx, 1
jmp 0x423809
xor ecx, ecx
mov eax, dword [ebp - 0x138f8]
and eax, 0xffffff05
or eax, 5
mov dword [ebp - 0x138f8], eax
mov dword [ebp - 0x138f4], 0
mov byte [ebp - 0x13900], cl
push ecx
push str.is64bitos
lea ecx, [ebp - 0x138b0]
mov byte [ebp - 4], 0x2b
call fcn.00449e90
lea ecx, [ebp - 0x13900]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x13900]
mov byte [ebp - 4], 0x19
call fcn.004493f0
add esi, 0xfffffff0
mov byte [ebp - 4], 0xf
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42387c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x138e0]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42389f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1389c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4239e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4239e8
mov dword [ebp - 4], 1
mov dword [ebp - 0x138d0], 0x514aec
mov dword [ebp - 0x138b8], 0xf
mov dword [ebp - 0x138bc], 0
mov byte [ebp - 0x138cc], 0
mov byte [ebp - 0x138b4], 0
mov byte [ebp - 4], 0x33
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138e0], esi
lea eax, [ebp - 0x138b0]
push eax
lea eax, [ebp - 0x13920]
push eax
lea ecx, [ebp - 0x138d0]
mov byte [ebp - 4], 0x34
call fcn.0044c090
mov edx, eax
mov byte [ebp - 4], 0x35
cmp dword [edx + 0x14], 0x10
jb 0x423a60
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x423a7f
xor ecx, ecx
jmp 0x423a9d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x13908], eax
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423a90
sub ecx, dword [ebp - 0x13908]
push ecx
push edx
mov ecx, ebx
call fcn.004012f0
lea ecx, [ebp - 0x138e4]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x36
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x423b17
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x423b02
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x423b02
call fcn.004047b0
mov dword [ebp - 0x13908], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x423af7
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x13908]
lea esi, [eax + 0x10]
mov dword [ebp - 0x138e0], esi
jmp 0x423b17
push dword [edx - 0xc]
lea ecx, [ebp - 0x138e0]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0x138e0]
mov byte [ebp - 4], 0x35
mov edx, dword [ebp - 0x138e4]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423b3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
cmp dword [ebp - 0x1390c], 0x10
jb 0x423b55
push dword [ebp - 0x13920]
call fcn.004b3a0c
add esp, 4
mov ebx, dword [ebp - 0x1392c]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x423b76
call fcn.0040c760
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x33
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x423b94
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x138b8], 0x10
mov dword [ebp - 0x138d0], 0x514aec
jb 0x423bb5
push dword [ebp - 0x138cc]
call fcn.004b3a0c
add esp, 4
lea ecx, [ebp - 0x138b0]
mov dword [ebp - 0x138b8], 0xf
mov dword [ebp - 0x138bc], 0
mov byte [ebp - 0x138cc], 0
mov dword [ebp - 0x138d0], 0x5186b0
mov dword [ebp - 4], 0xffffffff
call fcn.004493f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret