Function at 0x40f8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x52bd60]
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 - 0xc0], eax
mov dword [ebp - 0x78], ecx
and dword [ebp - 0x30], 0xfffffe00
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x1c], eax
mov eax, dword [0x530ce4]
mov dword [ebp - 0x18], 0
test al, 1
jne 0x40f97d
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
mov ecx, dword [0x52d374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0044aa00
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00449f60
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 3
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x80], ebx
mov byte [ebp - 4], 4
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa0], edi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x78]
mov cl, byte [eax + 8]
test cl, cl
je 0x40fa2f
cmp cl, 7
je 0x40fa2f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x40fa3f
mov ecx, 0x530a10
jmp 0x40faf8
mov dword [ebp - 0x1c], str.hive
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
mov dword [ebp - 0x6c], ecx
cmp eax, ecx
je 0x40fadd
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x94], edx
mov edx, str.hive
jmp 0x40fa80
mov bl, byte [edx]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x94]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x80]
jne 0x40facc
cmp byte [ebp - 0x65], 0
je 0x40fac8
mov bl, byte [edx + 1]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x94]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x80]
jne 0x40facc
add dword [ebp - 0x94], 2
add edx, 2
cmp byte [ebp - 0x65], 0
jne 0x40fa80
xor edx, edx
jmp 0x40fad1
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x40fae0
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x40faf8
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x7c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], 8
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x40fb76
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40fb61
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40fb61
mov ecx, dword [ebp - 0x70]
call fcn.00404770
mov dword [ebp - 0x70], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40fb56
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x70]
lea esi, [eax + 0x10]
mov dword [ebp - 0x9c], esi
jmp 0x40fb76
push dword [edx - 0xc]
lea ecx, [ebp - 0x9c]
push edx
call fcn.004046b0
mov esi, dword [ebp - 0x9c]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fb97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x5c], esp
mov eax, dword [ecx]
mov dword [ebp - 0x94], esi
call dword [eax + reloc.kernel32.dll_GetUserDefaultLangID]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x40fbc5
cmp ecx, dword [esi]
jne 0x40fbc5
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40fc08
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x70], edx
test edx, edx
jne 0x40fbdc
call fcn.0040c710
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004b52be
mov esi, dword [ebp - 0x70]
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0040f760
add esp, 4
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x40ff00
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x9c]
push eax
mov edx, str.readReg_hive_error_
lea ecx, [ebp - 0x6c]
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov eax, str.re_dReg
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x40fc7e
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x40fc8d
push esi
push eax
lea ecx, [ebp - 0x74]
call fcn.00404a70
jmp 0x40fc8d
push 7
push str.re_dReg
lea ecx, [ebp - 0x74]
call fcn.004046b0
mov byte [ebp - 4], reloc.kernel32.dll_ConvertDefaultLocale
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x70], esi
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
call fcn.00431c80
add esp, 4
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], reloc.kernel32.dll_ReleaseActCtx
test eax, 0xffff0000
jne 0x40fd07
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.00405530
test eax, eax
je 0x40fd16
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x78]
push eax
call fcn.00404a70
jmp 0x40fd16
push 9
push str.GlobalLog
lea ecx, [ebp - 0x78]
call fcn.004046b0
push 2
mov byte [ebp - 4], reloc.kernel32.dll_UnmapViewOfFile
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x530768
call fcn.004018b0
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fd52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fd76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_ConvertDefaultLocale
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fd96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fdb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xbc]
call fcn.00431ab0
mov edx, eax
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], reloc.kernel32.dll_GetUserDefaultLangID
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x530ce4]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
test al, 1
jne 0x40fe17
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
mov edx, dword [ebp - 0x84]
add esp, 4
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x84], eax
jb 0x40fe28
mov edx, dword [edx]
mov ecx, dword [0x52d374]
push dword [ebp - 0x84]
mov eax, dword [ecx]
push edx
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [ebp - 0x24], eax
push ecx
push str.error
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_GetDiskFreeSpaceA
call fcn.0044aa00
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_GetUserDefaultLangID
call fcn.00449f60
cmp dword [ebp - 0xa8], 0x10
jb 0x40fe7d
push dword [ebp - 0xbc]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fe9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40feba
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fed7
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41115b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41115b
mov esi, dword [ebp - 0x78]
mov al, byte [esi + 8]
test al, al
je 0x40ff25
cmp al, 7
je 0x40ff25
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x40ff35
mov ecx, 0x530a10
jmp 0x40ffc6
mov dword [ebp - 0x1c], 0x512e34
mov dword [ebp - 0x18], 0
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x5c], esi
call fcn.0044b6a0
mov ecx, dword [esi]
cmp eax, ecx
je 0x40ffa5
mov esi, dword [eax + 0x10]
mov edx, reloc.kernel32.dll_HeapCreate
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x80]
jne 0x40ff91
cmp byte [ebp - 0x65], 0
je 0x40ff8d
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x80]
jne 0x40ff91
add edx, 2
add esi, 2
cmp byte [ebp - 0x65], 0
jne 0x40ff61
xor edx, edx
jmp 0x40ff96
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x84], eax
test dl, dl
je 0x40ffab
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x84]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x40ffc6
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x7c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_OpenSemaphoreW
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea esi, [edx - 0x10]
mov dword [ebp - 0x84], ecx
cmp esi, ecx
je 0x41003f
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x410030
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x410030
mov ecx, esi
call fcn.00404770
or esi, 0xffffffff
mov dword [ebp - 0x5c], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x410028
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x5c]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x80], ebx
jmp 0x410042
push dword [edx - 0xc]
lea ecx, [ebp - 0x80]
push edx
call fcn.004046b0
mov ebx, dword [ebp - 0x80]
or esi, 0xffffffff
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410062
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x78]
mov cl, byte [eax + 8]
test cl, cl
je 0x41008b
cmp cl, 7
je 0x41008b
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x41009b
mov ecx, 0x530a10
jmp 0x410158
mov dword [ebp - 0x88], str.name
mov dword [ebp - 0x84], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
mov dword [ebp - 0x7c], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
cmp eax, ecx
je 0x410137
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x6c], edx
mov edx, str.name
lea esp, [esp]
mov bl, byte [edx]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x80]
jne 0x410123
cmp byte [ebp - 0x65], 0
je 0x41011f
mov bl, byte [edx + 1]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x80]
jne 0x410123
add dword [ebp - 0x6c], 2
add edx, 2
cmp byte [ebp - 0x65], 0
jne 0x4100e0
xor edx, edx
jmp 0x410128
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x84], eax
test dl, dl
je 0x41013d
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x84]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x410158
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x18]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleOutputCP
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x4101e1
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4101cc
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4101cc
mov ecx, dword [ebp - 0x84]
call fcn.00404770
mov dword [ebp - 0x84], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4101c1
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x84]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa0], edi
jmp 0x4101e1
push dword [edx - 0xc]
lea ecx, [ebp - 0xa0]
push edx
call fcn.004046b0
mov edi, dword [ebp - 0xa0]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410201
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov cl, byte [eax + 8]
test cl, cl
je 0x41022f
cmp cl, 7
je 0x41022f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0x95], cl
test cl, cl
je 0x4103d9
mov dword [ebp - 0x1c], 0x512e40
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
mov dword [ebp - 0x7c], ecx
cmp eax, ecx
je 0x4102c9
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x6c], edx
mov edx, reloc.kernel32.dll_GetProcessAffinityMask
mov bl, byte [edx]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
jne 0x4102b8
cmp byte [ebp - 0x65], 0
je 0x4102b4
mov bl, byte [edx + 1]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
jne 0x4102b8
add dword [ebp - 0x6c], 2
add edx, 2
cmp byte [ebp - 0x65], 0
jne 0x410275
xor edx, edx
jmp 0x4102bd
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x18], eax
test dl, dl
je 0x4102cc
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x18]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
je 0x4103d9
add eax, 0x18
cmp eax, 0x530a10
je 0x4103d9
cmp byte [ebp - 0x95], 7
je 0x41030e
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x78]
cmp byte [eax + 8], 0
jne 0x410329
mov ecx, 0x530a10
call fcn.0044a210
mov dword [ebp - 0x5c], eax
jmp 0x4103db
mov dword [ebp - 0x1c], 0x512e40
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
mov dword [ebp - 0x7c], ecx
cmp eax, ecx
je 0x4103b4
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x6c], edx
mov edx, reloc.kernel32.dll_GetProcessAffinityMask
mov edi, edi
mov bl, byte [edx]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
jne 0x4103a3
cmp byte [ebp - 0x65], 0
je 0x41039f
mov bl, byte [edx + 1]
mov byte [ebp - 0x65], bl
mov ebx, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x65]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
jne 0x4103a3
add dword [ebp - 0x6c], 2
add edx, 2
cmp byte [ebp - 0x65], 0
jne 0x410360
xor edx, edx
jmp 0x4103a8
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x18], eax
test dl, dl
je 0x4103b7
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x18]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x4103cf
lea ecx, [eax + 0x18]
call fcn.0044a210
mov dword [ebp - 0x5c], eax
jmp 0x4103db
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
cmp eax, 0x20
je 0x4103fc
test eax, eax
je 0x4103fc
cmp eax, 0x40
jne 0x410408
mov ecx, 0x20119
mov dword [ebp - 0x6c], 0x20219
jmp 0x410408
mov ecx, 0x20219
mov dword [ebp - 0x6c], 0x20119
lea eax, [ebp - 0x64]
push eax
push ecx
push 0
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x410437
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x41043f
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
push ecx
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41074a
mov edx, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x78], 0
call fcn.00431d20
push eax
mov edx, reloc.kernel32.dll_SetCurrentDirectoryW
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_IsProcessInJob
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410485
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov eax, str.re_dReg
mov byte [ebp - 4], reloc.kernel32.dll_QueryDosDeviceW
test eax, 0xffff0000
jne 0x4104c2
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x4104d1
push esi
push eax
lea ecx, [ebp - 0x74]
call fcn.00404a70
jmp 0x4104d1
push 7
push str.re_dReg
lea ecx, [ebp - 0x74]
call fcn.004046b0
mov byte [ebp - 4], reloc.kernel32.dll_WritePrivateProfileSectionA
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x84], esi
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], reloc.kernel32.dll_lstrcpynW
call fcn.00431c80
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], reloc.kernel32.dll_CopyFileA
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], reloc.kernel32.dll_ReadProcessMemory
test eax, 0xffff0000
jne 0x41054e
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x70], eax
call fcn.00405530
test eax, eax
je 0x41055d
push dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00404a70
jmp 0x41055d
push 9
push str.GlobalLog
lea ecx, [ebp - 0x6c]
call fcn.004046b0
push 2
mov byte [ebp - 4], reloc.kernel32.dll_GetStringTypeA
push dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x530768
call fcn.004018b0
mov byte [ebp - 4], reloc.kernel32.dll_CopyFileA
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410599
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_lstrcpynW
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_WritePrivateProfileSectionA
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xbc]
call fcn.00431ab0
mov edx, eax
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], reloc.kernel32.dll_CreateProcessA
mov ecx, dword [ebp - 0x88]
mov eax, dword [0x530ce4]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], 0
test al, 1
jne 0x41065e
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
mov edx, dword [ebp - 0x18]
add esp, 4
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], eax
jb 0x41066c
mov edx, dword [edx]
mov ecx, dword [0x52d374]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [ebp - 0x90], eax
push ecx
push str.error
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_WaitForSingleObjectEx
call fcn.0044aa00
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], reloc.kernel32.dll_CreateProcessA
call fcn.00449f60
cmp dword [ebp - 0xa8], 0x10
jb 0x4106c7
push dword [ebp - 0xbc]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4106e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410704
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410721
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41115b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41115b
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push edi
push dword [ebp - 0x64]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x410a18
mov edx, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x78], 0
call fcn.00431d20
push eax
mov edx, str.readReg_RegQueryValueEx_gen_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_CreateNamedPipeA
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_GetComputerNameExA
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4107bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov eax, str.readReg
mov byte [ebp - 4], reloc.kernel32.dll_WakeConditionVariable
test eax, 0xffff0000
jne 0x4107f9
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x410808
push esi
push eax
lea ecx, [ebp - 0x74]
call fcn.00404a70
jmp 0x410808
push 7
push str.readReg
lea ecx, [ebp - 0x74]
call fcn.004046b0
mov byte [ebp - 4], reloc.kernel32.dll_FormatMessageA
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x84], esi
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileA
call fcn.00431c80
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], reloc.kernel32.dll_SetFileAttributesW
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], reloc.kernel32.dll_AddVectoredExceptionHandler
test eax, 0xffff0000
jne 0x410885
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x70], eax
call fcn.00405530
test eax, eax
je 0x410894
push dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00404a70
jmp 0x410894
push 9
push str.GlobalLog
lea ecx, [ebp - 0x6c]
call fcn.004046b0
push 2
mov byte [ebp - 4], reloc.kernel32.dll_LocalReAlloc
push dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x530768
call fcn.004018b0
mov byte [ebp - 4], reloc.kernel32.dll_SetFileAttributesW
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4108d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileA
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4108f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_FormatMessageA
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410911
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_GetComputerNameExA
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410931
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xbc]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], reloc.kernel32.dll_CreateSemaphoreW
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_GetShortPathNameA
call fcn.0044aa00
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], reloc.kernel32.dll_CreateSemaphoreW
call fcn.00449f60
cmp dword [ebp - 0xa8], 0x10
jb 0x410995
push dword [ebp - 0xbc]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4109b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4109d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4109ef
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41115b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41115b
mov eax, dword [ebp - 0x28]
cmp eax, 4
jne 0x410d5b
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push edi
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], 0
call eax
mov ecx, eax
mov eax, dword [0x530408]
imul eax, eax
cdq
mov dword [ebp - 0x84], reloc.kernel32.dll_GetConsoleOutputCP
idiv dword [ebp - 0x84]
mov dword [ebp - 0x7c], ecx
cmp edx, 0x14
jne 0x410ab6
push reloc.kernel32.dll_CreateFileA
call fcn.004b3d60
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x70], 0
call fcn.004b597b
mov ecx, dword [ebp - 0x70]
add eax, dword [0x530408]
mov edx, dword [ebp - 0x84]
inc ecx
mov dword [edx + ecx*4 - 4], eax
mov dword [ebp - 0x70], ecx
cmp ecx, 0xa
jl 0x410a81
mov eax, dword [edx + 0x24]
push edx
mov dword [0x530408], eax
call fcn.004b4e1b
mov ecx, dword [ebp - 0x7c]
add esp, 4
test ecx, ecx
je 0x410c9f
mov edx, ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x6c], 0
call fcn.00431d20
push eax
mov edx, str.readReg_RegQueryValueEx_dword_
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], reloc.kernel32.dll_GetFileAttributesExW
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_GetVolumePathNamesForVolumeNameA
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.readReg
lea ecx, [ebp - 0x70]
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_GetDriveTypeW
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], reloc.kernel32.dll_PowerCreateRequest
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], reloc.kernel32.dll_GetProcessIoCounters
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_PowerCreateRequest
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_GetDriveTypeW
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_GetVolumePathNamesForVolumeNameA
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410bb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xd8]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], reloc.kernel32.dll_VerSetConditionMask
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_GetStringTypeExA
call fcn.0044aa00
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], reloc.kernel32.dll_VerSetConditionMask
call fcn.00449f60
cmp dword [ebp - 0xc4], 0x10
jb 0x410c1c
push dword [ebp - 0xd8]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410c3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410c59
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410c76
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41115b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41115b
mov eax, dword [ebp - 0x88]
and eax, 0xffffff01
or eax, 1
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x90], eax
push ecx
push str.value
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_CreateActCtxW
call fcn.0044aa00
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00449f60
add edi, 0xfffffff0
mov dword [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410d15
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410d32
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41115b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41115b
cmp eax, 1
jne 0x410cf5
mov eax, dword [ebp - 0x60]
inc eax
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b3d60
mov ecx, dword [ebp - 0x60]
add esp, 4
add ecx, ecx
push ecx
push 0
push eax
mov dword [ebp - 0x74], eax
call fcn.004b9070
mov eax, dword [ebp - 0x60]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push edi
push dword [ebp - 0x64]
call eax
test eax, eax
jne 0x410e6c
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x60]
xor edx, edx
mov word [ecx + eax*2], dx
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], edx
call fcn.004036e0
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], reloc.kernel32.dll_FindFirstFileExW
call fcn.00431ab0
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleScreenBufferInfo
call fcn.00449d70
push ecx
push str.value
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_HeapSetInformation
call fcn.0044aa00
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleScreenBufferInfo
call fcn.00449f60
cmp dword [ebp - 0xc4], 0x10
jb 0x410e3c
push dword [ebp - 0xd8]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410e5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push dword [ebp - 0x74]
call fcn.004b4e1b
add esp, 4
jmp 0x410cf5
mov edx, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x6c], 0
call fcn.00431d20
push eax
mov edx, str.readReg_RegQueryValueEx_str_
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingA
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_SystemTimeToTzSpecificLocalTime
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410eb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.readReg
lea ecx, [ebp - 0x70]
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_VerifyVersionInfoW
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x84], esi
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], reloc.kernel32.dll_DosDateTimeToFileTime
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], reloc.kernel32.dll_ResumeThread
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_DosDateTimeToFileTime
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_VerifyVersionInfoW
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_SystemTimeToTzSpecificLocalTime
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xd8]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], reloc.kernel32.dll_RemoveDirectoryW
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], reloc.kernel32.dll_SetEvent
call fcn.0044aa00
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], reloc.kernel32.dll_RemoveDirectoryW
call fcn.00449f60
cmp dword [ebp - 0xc4], 0x10
jb 0x410fca
push dword [ebp - 0xd8]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410fea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411007
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411024
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41115b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41115b
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x411170
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0x5149b4
mov dword [ebp - 0x40], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], reloc.kernel32.dll_UnlockFile
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], reloc.kernel32.dll_GetFileInformationByHandle
call fcn.0044cc00
mov edx, eax
mov byte [ebp - 4], reloc.kernel32.dll_GetFinalPathNameByHandleW
cmp dword [edx + 0x14], 0x10
jb 0x4111c9
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], reloc.kernel32.dll_UnmapViewOfFile
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x4111e8
xor ecx, ecx
jmp 0x4111f9
mov ecx, edx
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4111f0
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.004012e0
lea ecx, [ebp - 0xa4]
call fcn.004319e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], reloc.kernel32.dll_UnlockFileEx
call fcn.00403840
mov byte [ebp - 4], reloc.kernel32.dll_GetFinalPathNameByHandleW
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411240
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_GetFileInformationByHandle
cmp dword [ebp - 0xc4], 0x10
jb 0x41125b
push dword [ebp - 0xd8]
call fcn.004b458c
add esp, 4
mov edi, dword [ebp - 0xc0]
mov esi, dword [ebp - 0x70]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41127f
call fcn.0040c710
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], reloc.kernel32.dll_UnlockFile
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4112a0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x58], 0x5149b4
jb 0x4112b8
push dword [ebp - 0x54]
call fcn.004b458c
add esp, 4
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x40], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], 0x5185e8
mov dword [ebp - 4], 0xffffffff
call fcn.00449f60
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.004b4591
mov esp, ebp
pop ebp
ret