Function at 0x417520
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
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 - 0x90], eax
mov dword [ebp - 0x58], ecx
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [0x530408]
imul eax, eax
cdq
mov ecx, reloc.kernel32.dll_GetConsoleOutputCP
idiv ecx
cmp edx, 8
jne 0x4175ac
lea eax, [ecx + 0x48]
mov esi, reloc.kernel32.dll_GetTimeFormatW
test esi, esi
je 0x4175a5
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x417594
add eax, esi
mov dword [0x530408], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x68]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x68], eax
mov eax, dword [0x530ce4]
mov dword [ebp - 0x64], 0
test al, 1
jne 0x41760d
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 - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0044aa00
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00449f60
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea edi, [eax + 0x10]
mov dword [ebp - 0x98], edi
mov byte [ebp - 4], 4
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 5
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x68]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x68], eax
mov eax, dword [0x530ce4]
mov dword [ebp - 0x64], 0
test al, 1
jne 0x4176d2
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 - 0x70], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0044aa00
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00449f60
mov eax, dword [ebp - 0x58]
mov al, byte [eax + 8]
test al, al
je 0x417735
cmp al, 7
je 0x417735
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp byte [eax + 8], 0
jne 0x417748
mov ecx, 0x530a10
jmp 0x4177e9
mov dword [ebp - 0x68], str.hive
mov dword [ebp - 0x64], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4177ce
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, str.hive
lea ebx, [ebx]
mov bl, byte [edx]
mov esi, dword [ebp - 0x74]
mov byte [ebp - 0x45], bl
cmp bl, byte [esi]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
jne 0x4177bd
cmp byte [ebp - 0x45], 0
je 0x4177b9
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x74]
mov byte [ebp - 0x45], bl
cmp bl, byte [esi + 1]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
jne 0x4177bd
add dword [ebp - 0x74], 2
add edx, 2
cmp byte [ebp - 0x45], 0
jne 0x417780
xor edx, edx
jmp 0x4177c2
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x78], eax
test dl, dl
je 0x4177d1
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x4177e9
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x4c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x417867
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x417852
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x417852
mov ecx, dword [ebp - 0x78]
call fcn.00404770
mov dword [ebp - 0x78], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x417847
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x78]
lea edi, [eax + 0x10]
mov dword [ebp - 0x98], edi
jmp 0x417867
push dword [edx - 0xc]
lea ecx, [ebp - 0x98]
push edx
call fcn.004046b0
mov edi, dword [ebp - 0x98]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417888
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add edi, 0xfffffff0
push ecx
mov ecx, dword [edi]
mov dword [ebp - 0x50], esp
mov eax, dword [ecx]
mov dword [ebp - 0x74], edi
call dword [eax + reloc.kernel32.dll_GetUserDefaultLangID]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x4178b3
cmp ecx, dword [edi]
jne 0x4178b3
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4178f6
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x78], edx
test edx, edx
jne 0x4178ca
call fcn.0040c710
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004b52be
mov edi, dword [ebp - 0x78]
add esp, 0x10
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.0040f760
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x417ab7
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x98]
push eax
mov edx, str.deleteRegElement_hive_error_
lea ecx, [ebp - 0x58]
call fcn.00426d80
add esp, 4
push str.de1eteRegE1ement
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_ConvertDefaultLocale
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea edi, [eax + 0x10]
mov dword [ebp - 0x78], edi
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_ReleaseActCtx
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41799d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4179bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_ConvertDefaultLocale
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4179dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x8c]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], reloc.kernel32.dll_UnmapViewOfFile
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_GetUserDefaultLangID
call fcn.0044aa00
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], reloc.kernel32.dll_UnmapViewOfFile
call fcn.00449f60
cmp dword [ebp - 0x78], 0x10
jb 0x417a35
push dword [ebp - 0x8c]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417a55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add ebx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417a72
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417a8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417aac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov ebx, dword [ebp - 0x90]
jmp 0x418093
mov edi, dword [ebp - 0x58]
mov al, byte [edi + 8]
test al, al
je 0x417adc
cmp al, 7
je 0x417adc
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x417aec
mov ecx, 0x530a10
jmp 0x417b74
mov dword [ebp - 0x68], 0x512e34
mov dword [ebp - 0x64], 0
mov edi, dword [edi]
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
mov dword [ebp - 0x50], edi
call fcn.0044b6a0
mov ecx, dword [edi]
cmp eax, ecx
je 0x417b59
mov edi, dword [eax + 0x10]
mov edx, reloc.kernel32.dll_HeapCreate
mov bl, byte [edx]
cmp bl, byte [edi]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x60]
jne 0x417b48
cmp byte [ebp - 0x45], 0
je 0x417b44
mov bl, byte [edx + 1]
cmp bl, byte [edi + 1]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x60]
jne 0x417b48
add edx, 2
add edi, 2
cmp byte [ebp - 0x45], 0
jne 0x417b18
xor edx, edx
jmp 0x417b4d
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x78], eax
test dl, dl
je 0x417b5c
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x417b74
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x4c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_SetSystemTime
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea edi, [edx - 0x10]
mov dword [ebp - 0x78], ecx
cmp edi, ecx
je 0x417be7
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x417bd8
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x417bd8
mov ecx, edi
call fcn.00404770
or edi, 0xffffffff
mov dword [ebp - 0x50], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x417bd0
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x50]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
jmp 0x417bea
push dword [edx - 0xc]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004046b0
mov esi, dword [ebp - 0x5c]
or edi, 0xffffffff
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417c0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x58]
mov al, byte [eax + 8]
test al, al
je 0x417c2f
cmp al, 7
je 0x417c2f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + 8]
mov byte [ebp - 0x91], cl
test cl, cl
je 0x417e63
mov dword [ebp - 0x68], str.value
mov dword [ebp - 0x64], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
mov dword [ebp - 0x78], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx]
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x417ccc
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, str.value
mov bl, byte [edx]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x60]
jne 0x417cbb
cmp byte [ebp - 0x45], 0
je 0x417cb7
mov bl, byte [edx + 1]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x60]
jne 0x417cbb
add dword [ebp - 0x4c], 2
add edx, 2
cmp byte [ebp - 0x45], 0
jne 0x417c78
xor edx, edx
jmp 0x417cc0
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x50], eax
test dl, dl
je 0x417ccf
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
je 0x417e63
add eax, 0x18
cmp eax, 0x530a10
je 0x417e63
cmp byte [ebp - 0x91], 7
je 0x417d11
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp byte [eax + 8], 0
jne 0x417d24
mov ecx, 0x530a10
jmp 0x417dcf
mov dword [ebp - 0x7c], str.value
mov dword [ebp - 0x78], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.0044b6a0
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x417db4
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, str.value
lea esp, [esp]
mov bl, byte [edx]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x60]
jne 0x417da3
cmp byte [ebp - 0x45], 0
je 0x417d9f
mov bl, byte [edx + 1]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x60]
jne 0x417da3
add dword [ebp - 0x4c], 2
add edx, 2
cmp byte [ebp - 0x45], 0
jne 0x417d60
xor edx, edx
jmp 0x417da8
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x78], eax
test dl, dl
je 0x417db7
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x530a10
je 0x417dcf
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044a0e0
lea ecx, [ebp - 0x64]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleOutputCP
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x417e43
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x417e34
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x417e34
mov ecx, dword [ebp - 0x78]
call fcn.00404770
mov dword [ebp - 0x78], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x417e2c
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x78]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x60], ebx
jmp 0x417e43
push dword [edx - 0xc]
lea ecx, [ebp - 0x60]
push edx
call fcn.004046b0
mov ebx, dword [ebp - 0x60]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417e63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push 0xf023f
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x45], 0
call fcn.00427880
test eax, eax
je 0x41817a
push 0xf013f
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x45], 1
call fcn.00427880
test eax, eax
je 0x41817a
mov edx, eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], 0
call fcn.00431d20
push eax
mov edx, str.deleteRegElement_Open_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], reloc.kernel32.dll_OpenEventW
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_IsProcessInJob
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417ee9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.de1eteRegE1ement
lea ecx, [ebp - 0x78]
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_CreateDirectoryW
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_QueryDosDeviceW
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417f57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_CreateDirectoryW
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417f77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_IsProcessInJob
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417f97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], reloc.kernel32.dll_WritePrivateProfileSectionA
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_lstrcpynW
call fcn.0044aa00
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0044a020
mov byte [ebp - 4], reloc.kernel32.dll_WritePrivateProfileSectionA
lea ecx, [ebp - 0x84]
call fcn.00449f60
cmp dword [ebp - 0xac], 0x10
jb 0x417ffb
push dword [ebp - 0xc0]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41801b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 5
add ebx, 0xfffffff0
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418038
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
mov ecx, edi
lea eax, [esi + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418055
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov edx, dword [ebp - 0x74]
mov ecx, edi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418072
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x418093
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x44], 0x5149b4
mov dword [ebp - 0x2c], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], reloc.kernel32.dll_ResumeThread
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], reloc.kernel32.dll_RemoveDirectoryW
call fcn.0044cc00
mov byte [ebp - 4], reloc.kernel32.dll_SetEvent
cmp dword [eax + 0x14], 0x10
jb 0x4180f4
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xa8]
call fcn.004319e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_SetFileTime
call fcn.00403840
mov byte [ebp - 4], reloc.kernel32.dll_SetEvent
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41813d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_RemoveDirectoryW
cmp dword [ebp - 0xac], 0x10
jb 0x418158
push dword [ebp - 0xc0]
call fcn.004b458c
add esp, 4
mov esi, dword [ebp - 0x78]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x418853
call fcn.0040c710
cmp dword [ebx - 0xc], 0
jne 0x41860c
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x41819f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa4], 0
mov ecx, dword [esi - 0xc]
mov dword [ebp - 0xa0], 0
lea eax, [ecx - 1]
test eax, eax
js 0x4181c4
cmp eax, ecx
jg 0x4181c4
cmp word [esi + eax*2], 0x5c
jne 0x4181fc
dec ecx
mov dword [ebp - 0x64], ecx
jns 0x4181ce
push 0x80070057
call fcn.0040c6f0
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x4181ee
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0040c760
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [esi - 8]
jg 0x4181c4
xor eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], ax
mov dword [ebp - 0x58], 0
mov eax, dword [esi - 0xc]
push reloc.kernel32.dll_GetCurrentDirectoryA
push esi
mov dword [ebp - 0x64], eax
call fcn.004b5cbb
add esp, 8
test eax, eax
jne 0x41821d
or eax, 0xffffffff
jmp 0x418221
sub eax, esi
sar eax, 1
mov ecx, dword [ebp - 0x64]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00426bb0
push reloc.kernel32.dll_GetCurrentDirectoryA
push esi
mov byte [ebp - 4], reloc.kernel32.dll_CopyFileA
call fcn.004b5cbb
add esp, 8
test eax, eax
jne 0x41824c
or eax, 0xffffffff
jmp 0x418250
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00426c30
mov byte [ebp - 4], reloc.kernel32.dll_ReadProcessMemory
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x4182bd
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4182ae
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4182ae
mov ecx, dword [ebp - 0x64]
call fcn.00404770
mov dword [ebp - 0x64], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4182a6
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x64]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
jmp 0x4182bd
push dword [edx - 0xc]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004046b0
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], reloc.kernel32.dll_CopyFileA
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4182dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
cmp byte [ebp - 0x45], 0
mov ecx, 0x100
mov eax, 0x200
cmovne eax, ecx
or eax, 0xf003f
push eax
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
call fcn.00427880
test eax, eax
je 0x41848f
mov edx, eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], 0
call fcn.00431d20
push eax
mov edx, str.deleteRegElement_Open_sub_
lea ecx, [ebp - 0x4c]
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 - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418351
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.deleteRegE1ement
lea ecx, [ebp - 0x78]
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 edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_SetDllDirectoryA
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_GetComputerNameExA
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_SetDllDirectoryA
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4183bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_CreateNamedPipeA
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4183df
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 - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4183ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], reloc.kernel32.dll_WakeConditionVariable
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_FormatMessageA
call fcn.0044aa00
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0044a020
mov byte [ebp - 4], reloc.kernel32.dll_WakeConditionVariable
lea ecx, [ebp - 0x84]
call fcn.00449f60
cmp dword [ebp - 0xac], 0x10
jb 0x418463
push dword [ebp - 0xc0]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_CopyFileA
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418483
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
jmp 0x418002
push dword [ebp - 0x58]
lea ecx, [ebp - 0xa4]
call fcn.00427760
test eax, eax
je 0x4185e0
mov edx, eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], 0
call fcn.00431d20
push eax
mov edx, str.deleteRegElement_RecurseDeleteKey_
lea ecx, [ebp - 0x4c]
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 - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4184eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.deleteRegElement
lea ecx, [ebp - 0x78]
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 edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_CreateSemaphoreW
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_GetShortPathNameA
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_CreateSemaphoreW
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418559
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_LocalReAlloc
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418579
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 - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418599
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], reloc.kernel32.dll_GetFileAttributesExW
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_GetTimeFormatW
call fcn.0044aa00
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0044a020
mov byte [ebp - 4], reloc.kernel32.dll_GetFileAttributesExW
jmp 0x418441
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418600
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov dword [ebp - 4], 5
jmp 0x41801f
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x418600
mov edx, eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], 0
call fcn.00431d20
push eax
mov edx, str.deleteRegElement_DeleteValue_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], reloc.kernel32.dll_GetVolumePathNamesForVolumeNameA
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_PowerCreateRequest
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418663
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push str.de1eteRegE1ement
lea ecx, [ebp - 0x78]
call fcn.004036e0
mov byte [ebp - 4], reloc.kernel32.dll_GetProcessIoCounters
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], reloc.kernel32.dll_VerSetConditionMask
call fcn.00431c80
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], reloc.kernel32.dll_GetStringTypeExA
call fcn.0040c920
mov byte [ebp - 4], reloc.kernel32.dll_VerSetConditionMask
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4186d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], reloc.kernel32.dll_GetProcessIoCounters
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4186f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_PowerCreateRequest
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418711
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431ab0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], reloc.kernel32.dll_CreateActCtxW
call fcn.00449d70
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_FindFirstFileExW
call fcn.0044aa00
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0044a020
mov byte [ebp - 4], reloc.kernel32.dll_CreateActCtxW
jmp 0x417fd9
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], reloc.kernel32.dll_ResumeThread
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x418871
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 0x5149b4
jb 0x418889
push dword [ebp - 0x40]
call fcn.004b458c
add esp, 4
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x2c], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x44], 0x5185e8
test eax, eax
je 0x4188b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
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