Function at 0x41c50c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, 0x493b68
call fcn.004696b8
xor edx, edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edx
push ecx
lea eax, [ebp - 0x30]
push 0
push eax
push 0
push 0x493dc7
push esi
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41c55c
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x41c8a6
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00468dd0
pop ecx
mov ebx, eax
test eax, eax
jne 0x41c57d
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x41c8a6
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x30]
push ecx
push ebx
push eax
push 0
push 0x493dc9
push esi
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41c5b2
push ebx
call fcn.00468de0
pop ecx
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x41c8a6
push edi
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 0x34]
push edx
push ebx
call fcn.0041c004
add esp, 0x2c
test eax, eax
je 0x41c5fb
push ebx
call fcn.00468de0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x41c8a6
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0041c4d4
pop ecx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0041c4d4
pop ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.0041c4d4
pop ecx
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0041c4d4
pop ecx
mov eax, dword [ebp - 0x48]
test eax, eax
jle 0x41c6a0
xor edx, edx
xor ecx, ecx
mov dl, byte [ebp - 0x4d]
xor eax, eax
push edx
xor edx, edx
mov cl, byte [ebp - 0x4e]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x4f]
push eax
xor eax, eax
mov dl, byte [ebp - 0x50]
push edx
xor edx, edx
mov cl, byte [ebp - 0x51]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x52]
push eax
xor eax, eax
mov dl, byte [ebp - 0x53]
push edx
xor edx, edx
mov cl, byte [ebp - 0x54]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x55]
push eax
xor eax, eax
mov dl, byte [ebp - 0x56]
push edx
xor edx, edx
mov cl, byte [ebp - 0x57]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x58]
push eax
xor eax, eax
mov dl, byte [ebp - 0x59]
push edx
xor edx, edx
mov cl, byte [ebp - 0x5a]
push ecx
lea ecx, [ebp - 0x90]
mov al, byte [ebp - 0x5b]
push eax
mov dl, byte [ebp - 0x5c]
push edx
push 0x493dcb
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0x48
jmp 0x41c6ca
mov eax, dword [ebp - 0x48]
inc eax
jne 0x41c6b9
push 0x493dfc
lea edx, [ebp - 0x90]
push edx
call sub.KERNEL32.DLL_lstrcpyA
jmp 0x41c6ca
push 0x493e05
lea ecx, [ebp - 0x90]
push ecx
call sub.KERNEL32.DLL_lstrcpyA
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x41c747
xor edx, edx
xor ecx, ecx
mov dl, byte [ebp - 0x5d]
xor eax, eax
push edx
xor edx, edx
mov cl, byte [ebp - 0x5e]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x5f]
push eax
xor eax, eax
mov dl, byte [ebp - 0x60]
push edx
xor edx, edx
mov cl, byte [ebp - 0x61]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x62]
push eax
xor eax, eax
mov dl, byte [ebp - 0x63]
push edx
xor edx, edx
mov cl, byte [ebp - 0x64]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x65]
push eax
xor eax, eax
mov dl, byte [ebp - 0x66]
push edx
xor edx, edx
mov cl, byte [ebp - 0x67]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x68]
push eax
xor eax, eax
mov dl, byte [ebp - 0x69]
push edx
xor edx, edx
mov cl, byte [ebp - 0x6a]
push ecx
lea ecx, [ebp - 0xb4]
mov al, byte [ebp - 0x6b]
push eax
mov dl, byte [ebp - 0x6c]
push edx
push 0x493e11
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0x48
jmp 0x41c771
mov eax, dword [ebp - 0x4c]
inc eax
jne 0x41c760
push 0x493e42
lea edx, [ebp - 0xb4]
push edx
call sub.KERNEL32.DLL_lstrcpyA
jmp 0x41c771
push 0x493e4b
lea ecx, [ebp - 0xb4]
push ecx
call sub.KERNEL32.DLL_lstrcpyA
mov eax, dword [ebp - 0x38]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov esi, eax
lea eax, [ebp - 0x90]
push eax
call sub.KERNEL32.DLL_lstrlenA
add esi, eax
lea edx, [ebp - 0xb4]
push edx
call sub.KERNEL32.DLL_lstrlenA
add esi, eax
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.KERNEL32.DLL_lstrlenA
add esi, eax
mov eax, dword [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_lstrlenA
add esi, eax
mov edx, dword [ebp - 0x44]
push edx
call sub.KERNEL32.DLL_lstrlenA
add esi, eax
mov eax, esi
add eax, 0x40
push eax
call fcn.00468dd0
pop ecx
mov esi, eax
test esi, esi
jne 0x41c80b
mov eax, dword [ebp - 0x38]
push eax
call fcn.00468de0
pop ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00468de0
pop ecx
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00468de0
pop ecx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00468de0
pop ecx
push ebx
call fcn.00468de0
pop ecx
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x41c8a6
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x3c]
push edx
push ecx
push eax
push edi
mov edx, dword [ebp - 0x38]
push edx
push 0x493e57
push esi
call sub.USER32.DLL_wsprintfA
mov word [ebp - 0x18], 8
add esp, 0x24
lea eax, [ebp - 4]
mov edx, esi
call fcn.00474b48
inc dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
call fcn.004578d8
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00474d44
push esi
call fcn.00468de0
pop ecx
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00468de0
pop ecx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00468de0
pop ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.00468de0
pop ecx
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00468de0
pop ecx
push ebx
call fcn.00468de0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret