Function at 0x411300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
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 dword [ebp - 0x88], edx
mov dword [ebp - 0x6c], ecx
and dword [ebp - 0x20], 0xfffffe00
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x74]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x74], eax
mov eax, dword [0x530ce4]
mov dword [ebp - 0x70], 0
test al, 1
jne 0x41139b
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 - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0044aa00
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x7c]
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 - 0xa4], esi
mov byte [ebp - 4], 3
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 5
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], 0
mov cl, byte [eax + 8]
test cl, cl
je 0x41146b
cmp cl, 7
je 0x41146b
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x41147b
mov ecx, 0x530a10
jmp 0x41151f
mov dword [ebp - 0x74], str.hive
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov dword [ebp - 0x54], ecx
cmp eax, ecx
je 0x411504
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x80], edx
mov edx, str.hive
mov bl, byte [edx]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x80]
mov cl, byte [ebp - 0x4d]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x68]
jne 0x4114f3
cmp byte [ebp - 0x4d], 0
je 0x4114ef
mov bl, byte [edx + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x80]
mov cl, byte [ebp - 0x4d]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x68]
jne 0x4114f3
add dword [ebp - 0x80], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x4114b0
xor edx, edx
jmp 0x4114f8
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x60], eax
test dl, dl
je 0x411507
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x41151f
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x5c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], 9
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x84], ecx
cmp eax, ecx
je 0x4115a3
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41158e
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41158e
mov ecx, dword [ebp - 0x60]
call fcn.00404770
mov dword [ebp - 0x60], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x411583
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 - 0x60]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
jmp 0x4115a3
push dword [edx - 0xc]
lea ecx, [ebp - 0xa4]
push edx
call fcn.004046b0
mov esi, dword [ebp - 0xa4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4115c4
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 - 0x80], esi
call dword [eax + reloc.kernel32.dll_GetUserDefaultLangID]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4115ef
cmp ecx, dword [esi]
jne 0x4115ef
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41162f
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x411603
call fcn.0040c710
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004b52be
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 - 0x84], eax
test eax, eax
jne 0x411903
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xa4]
push eax
mov edx, str.writeReg_hive_error_
lea ecx, [ebp - 0x6c]
call fcn.00426d80
add esp, 4
push str.writeReg
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.004036e0
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 - 0x5c], esi
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4116d9
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 0x4116f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411719
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xa0]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], reloc.kernel32.dll_ReleaseActCtx
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], reloc.kernel32.dll_UnmapViewOfFile
call fcn.0044aa00
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], reloc.kernel32.dll_ReleaseActCtx
call fcn.00449f60
cmp dword [ebp - 0x8c], 0x10
jb 0x411774
push dword [ebp - 0xa0]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 7
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 0x411794
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
mov ecx, esi
lea eax, [edi + 0xc]
mov byte [ebp - 4], 5
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4117b1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov ecx, esi
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4117ce
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4117ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x80]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41180b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x411826
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x5149b4
mov dword [ebp - 0x30], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], reloc.kernel32.dll_FindFirstFileExW
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleScreenBufferInfo
call fcn.0044cc00
mov byte [ebp - 4], reloc.kernel32.dll_HeapSetInformation
cmp dword [eax + 0x14], 0x10
jb 0x41187d
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xac]
call fcn.004319e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingA
call fcn.00403840
mov byte [ebp - 4], reloc.kernel32.dll_HeapSetInformation
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4118c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleScreenBufferInfo
cmp dword [ebp - 0xb0], 0x10
jb 0x4118e1
push dword [ebp - 0xc4]
call fcn.004b458c
add esp, 4
mov esi, dword [ebp - 0x18]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x412713
call fcn.0040c710
mov esi, dword [ebp - 0x6c]
mov al, byte [esi + 8]
test al, al
je 0x411928
cmp al, 7
je 0x411928
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 0x411938
mov ecx, 0x530a10
jmp 0x4119c0
mov dword [ebp - 0x74], 0x512e34
mov dword [ebp - 0x70], 0
mov esi, dword [esi]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
mov dword [ebp - 0x60], esi
call fcn.0044b6a0
mov ecx, dword [esi]
cmp eax, ecx
je 0x4119a5
mov esi, dword [eax + 0x10]
mov edx, reloc.kernel32.dll_HeapCreate
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x411994
cmp byte [ebp - 0x4d], 0
je 0x411990
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x411994
add edx, 2
add esi, 2
cmp byte [ebp - 0x4d], 0
jne 0x411964
xor edx, edx
jmp 0x411999
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x5c], eax
test dl, dl
je 0x4119a8
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x4119c0
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x58]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_GetDiskFreeSpaceA
mov edx, dword [eax]
mov esi, dword [ebp - 0x64]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x411a38
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x411a29
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x411a29
mov ecx, dword [ebp - 0x5c]
call fcn.00404770
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x411a21
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x5c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
jmp 0x411a38
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
push edx
call fcn.004046b0
mov esi, dword [ebp - 0x64]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411a59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x411a82
cmp cl, 7
je 0x411a82
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x411a92
mov ecx, 0x530a10
jmp 0x411b2d
mov dword [ebp - 0x74], str.name
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411b12
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.name
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4d], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411b01
cmp byte [ebp - 0x4d], 0
je 0x411afd
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4d], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411b01
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x411ac4
xor edx, edx
jmp 0x411b06
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x5c], eax
test dl, dl
je 0x411b15
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x411b2d
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x8c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_OpenSemaphoreW
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x411ba5
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x411b96
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x411b96
mov ecx, dword [ebp - 0x5c]
call fcn.00404770
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x411b8e
mov edx, dword [ebp - 0x60]
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 - 0x68], ebx
jmp 0x411ba5
push dword [edx - 0xc]
lea ecx, [ebp - 0x68]
push edx
call fcn.004046b0
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411bc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x411bf7
cmp cl, 7
je 0x411bf7
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0x4d], cl
test cl, cl
jne 0x411c0b
mov eax, 0x530a10
jmp 0x411cb7
mov dword [ebp - 0x74], str.value
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411c91
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
lea ecx, [ecx]
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411c7d
cmp byte [ebp - 0x4e], 0
je 0x411c79
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411c7d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411c40
xor edx, edx
jmp 0x411c82
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x411c97
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov cl, byte [ebp - 0x4d]
jne 0x411cb4
mov eax, 0x530a10
jmp 0x411cb7
add eax, 0x18
mov al, byte [eax + 8]
cmp al, 1
je 0x41208f
cmp al, 2
je 0x41208f
cmp al, 5
je 0x41208f
test cl, cl
je 0x411cf2
cmp cl, 7
je 0x411cf2
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
mov byte [ebp - 0x4d], cl
test cl, cl
jne 0x411d09
mov eax, 0x530a10
jmp 0x411db7
mov dword [ebp - 0x74], str.value
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411d91
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
jmp 0x411d40
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411d7d
cmp byte [ebp - 0x4e], 0
je 0x411d79
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411d7d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411d40
xor edx, edx
jmp 0x411d82
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x411d97
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov cl, byte [ebp - 0x4d]
jne 0x411db4
mov eax, 0x530a10
jmp 0x411db7
add eax, 0x18
cmp byte [eax + 8], 4
jne 0x411f5c
mov dword [ebp - 0x60], 1
test cl, cl
je 0x411de8
cmp cl, 7
je 0x411de8
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 8], 0
jne 0x411dfb
mov ecx, 0x530a10
jmp 0x411ea8
mov dword [ebp - 0x90], str.value
mov dword [ebp - 0x8c], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411e87
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411e73
cmp byte [ebp - 0x4e], 0
je 0x411e6f
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411e73
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411e36
xor edx, edx
jmp 0x411e78
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x411e8d
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x411ea8
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x70]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_IsProcessInJob
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x411f32
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x411f1d
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x411f1d
mov ecx, dword [ebp - 0x8c]
call fcn.00404770
mov dword [ebp - 0x8c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x411f12
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 - 0x8c]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa8], edi
jmp 0x411f32
push dword [edx - 0xc]
lea ecx, [ebp - 0xa8]
push edx
call fcn.004046b0
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412165
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x412165
push str.writeReg_invalid_value_type
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
call fcn.004036e0
push str.writeReg
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], reloc.kernel32.dll_CreateDirectoryW
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
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 - 0x54]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], reloc.kernel32.dll_QueryDosDeviceW
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], reloc.kernel32.dll_WritePrivateProfileSectionA
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_QueryDosDeviceW
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411fe8
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_GetSystemPowerStatus
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412008
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_CreateDirectoryW
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412028
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xa0]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], reloc.kernel32.dll_lstrcpynW
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], reloc.kernel32.dll_CopyFileA
call fcn.0044aa00
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], reloc.kernel32.dll_lstrcpynW
call fcn.00449f60
cmp dword [ebp - 0x8c], 0x10
jb 0x412083
push dword [ebp - 0xa0]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
jmp 0x41177b
test cl, cl
je 0x4120af
cmp cl, 7
je 0x4120af
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 8], 0
jne 0x4120c2
mov ecx, 0x530a10
jmp 0x41215d
mov dword [ebp - 0x74], str.value
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x412142
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x412131
cmp byte [ebp - 0x4e], 0
je 0x41212d
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x412131
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x4120f4
xor edx, edx
jmp 0x412136
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x412145
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x41215d
lea ecx, [eax + 0x18]
call fcn.0044a210
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x41218e
cmp cl, 7
je 0x41218e
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x412251
mov dword [ebp - 0x74], 0x512e40
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x41221e
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, reloc.kernel32.dll_GetProcessAffinityMask
lea ebx, [ebx]
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x41220d
cmp byte [ebp - 0x4e], 0
je 0x412209
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x41220d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x4121d0
xor edx, edx
jmp 0x412212
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x412221
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
je 0x412251
add eax, 0x18
cmp eax, 0x530a10
je 0x412251
mov ecx, dword [ebp - 0x6c]
push reloc.kernel32.dll_GetProcessAffinityMask
call fcn.0044ac20
mov ecx, eax
call fcn.0044a210
jmp 0x412253
xor eax, eax
mov ecx, 0x2001f
mov dword [ebp - 0x54], 0xf003f
cmp eax, 0x20
jne 0x412272
mov ecx, 0x2021f
mov dword [ebp - 0x54], 0xf023f
jmp 0x412283
cmp eax, 0x40
jne 0x412283
mov ecx, 0x2011f
mov dword [ebp - 0x54], 0xf013f
lea eax, [ebp - 0x4c]
push eax
push ecx
push 0
push esi
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x4122ba
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0
push 0
push 0
push esi
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41243a
mov edx, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], 0
call fcn.00431d20
push eax
mov edx, str.writeReg_RegOpenKeyEx_or_RegCreateKeyEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_GetStringTypeA
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_WaitForSingleObjectEx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412309
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.writeReg
lea ecx, [ebp - 0x84]
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_CreateNamedPipeA
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], reloc.kernel32.dll_SetDllDirectoryA
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], reloc.kernel32.dll_GetComputerNameExA
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_SetDllDirectoryA
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 0x412383
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_CreateNamedPipeA
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4123a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_WaitForSingleObjectEx
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 0x4123c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], reloc.kernel32.dll_WakeConditionVariable
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], reloc.kernel32.dll_FormatMessageA
call fcn.0044aa00
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.0044a020
mov byte [ebp - 4], reloc.kernel32.dll_WakeConditionVariable
lea ecx, [ebp - 0x98]
call fcn.00449f60
cmp dword [ebp - 0xb0], 0x10
jb 0x412083
push dword [ebp - 0xc4]
call fcn.004b458c
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
add esp, 4
jmp 0x41177b
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x41244b
push 4
lea eax, [ebp - 0x18]
push eax
push 4
jmp 0x412462
cmp eax, 1
jne 0x4125b8
mov eax, dword [edi - 0xc]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4125b8
mov edx, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], 0
call fcn.00431d20
push eax
mov edx, str.writeReg_RegSetValueEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileA
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_AddVectoredExceptionHandler
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4124bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.writeReg
lea ecx, [ebp - 0x60]
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_LocalReAlloc
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], reloc.kernel32.dll_CreateSemaphoreW
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], reloc.kernel32.dll_GetShortPathNameA
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_CreateSemaphoreW
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 0x412531
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_LocalReAlloc
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412551
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_AddVectoredExceptionHandler
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412571
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], reloc.kernel32.dll_GetFileAttributesExW
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], reloc.kernel32.dll_GetTimeFormatW
call fcn.0044aa00
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.0044a020
mov byte [ebp - 4], reloc.kernel32.dll_GetFileAttributesExW
jmp 0x412408
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov dword [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4125db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4125f8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
jmp 0x4117d8
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], reloc.kernel32.dll_FindFirstFileExW
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412734
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 0x5149b4
jb 0x41274c
push dword [ebp - 0x44]
call fcn.004b458c
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 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