Function at 0x10001140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1001603c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
call fcn.10001050
xor ebx, ebx
push 0x60
push ebx
push 0x10018b98
mov esi, eax
mov dword [esp + 0x1c], ebx
call fcn.10009a30
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x10018b98
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x10013da8
push esi
mov dword [esp + 0x24], 0x22
call edi
test eax, eax
je 0x100011b3
lea eax, [ebx + 0x22]
push 0x10018b98
lea ebx, [eax - 2]
call fcn.10001570
add esp, 4
xor ebx, ebx
push 0x100
push ebx
push 0x10018bf8
mov byte [0x10018bb8], bl
call fcn.10009a30
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x10018bf8
lea eax, [esp + 0x18]
push eax
push ebx
push 0x10013db0
push esi
mov dword [esp + 0x24], 0xfa
call edi
test eax, eax
je 0x10001200
push str.Y12288nCnn4j33651Y9499F0n6Y0FC67F84jCj03C32F42441503jE467nEYj1nE
push 0x10018bf8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
lea ecx, [esp + 0x10]
push ecx
push 0x10017aa8
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x10013db8
mov ebp, 4
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x10001230
mov dword [0x10017aa8], 1
lea eax, [esp + 0x10]
push eax
push 0x10018cf8
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x10013dc0
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x10001256
mov dword [0x10018cf8], ebx
lea edx, [esp + 0x10]
push edx
push 0x10018cfc
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x10013dc8
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x1000127c
mov dword [0x10018cfc], ebx
lea ecx, [esp + 0x10]
push ecx
push 0x10018d00
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x10013dd0
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x100012a2
mov dword [0x10018d00], ebx
lea eax, [esp + 0x10]
push eax
push 0x10018d04
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.Value4
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x100012c8
mov dword [0x10018d04], ebx
lea edx, [esp + 0x10]
push edx
push 0x10018b94
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x10013de0
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x100012ee
mov dword [0x10018b94], ebx
mov ebp, 0x200
push ebp
push ebx
push 0x10018788
call fcn.10009a30
push ebp
push ebx
push 0x10018588
call fcn.10009a30
push ebp
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.10009a30
add esp, 0x24
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x10013de8
push esi
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x10001352
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x10018788
mov byte [esp + edx + 0x20], bl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.10009a30
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x10013df0
push esi
mov dword [esp + 0x28], ebp
call edi
pop ebp
test eax, eax
jne 0x1000139a
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push 0x10018588
mov byte [esp + edx + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10003569
add esp, 0x20c
ret