Function at 0x48ca80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404954
mov eax, dword [ebp - 0xc]
call fcn.00404954
mov eax, dword [ebp + 0xc]
call fcn.00404954
xor eax, eax
push ebp
push 0x48ce4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
je 0x48cd0d
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
call fcn.0040452c
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.004044e8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048ba0c
test al, al
je 0x48ccfb
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404964
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48ccfb
cmp dword [ebp - 0x20], 1
je 0x48cb47
cmp dword [ebp - 0x20], 2
jne 0x48cbb6
cmp dword [ebp - 0x1c], 1
jne 0x48cb5e
mov eax, dword [ebp + 8]
call fcn.00404494
mov byte [ebp - 0xd], 1
jmp 0x48ccfb
mov eax, dword [ebp - 0x1c]
call fcn.00402828
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404964
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.0040a418
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
call fcn.004044e8
mov eax, dword [ebp - 0x28]
call fcn.00402848
jmp 0x48ccfb
cmp dword [ebp - 0x20], 7
jne 0x48cc51
cmp dword [ebp - 0x1c], 1
jne 0x48cbd7
mov eax, dword [ebp + 8]
call fcn.00404494
mov byte [ebp - 0xd], 1
jmp 0x48ccfb
mov edx, dword [ebp - 0x1c]
inc edx
mov eax, dword [ebp + 8]
call fcn.00404af0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00404964
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404964
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp + 8]
mov ecx, 0x48ce68
mov edx, 0x48ce74
call fcn.0047a344
test al, al
jne 0x48cc1a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00404764
mov edx, eax
sub edx, 4
mov eax, dword [ebp + 8]
mov ecx, 4
call fcn.00404a04
jmp 0x48ccfb
cmp dword [ebp - 0x20], 4
jne 0x48cc99
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404964
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
call fcn.0040943c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
call fcn.004044e8
jmp 0x48ccfb
cmp dword [ebp - 0x20], 3
jne 0x48ccfb
mov eax, dword [ebp - 0x1c]
call fcn.00402828
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404964
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x48ccf3
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
call fcn.0047a72c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
call fcn.004044e8
mov eax, dword [ebp - 0x24]
call fcn.00402848
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0048ba0c
jmp 0x48ce15
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.004044e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48ce15
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x10], 4
jne 0x48cd62
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
call fcn.004044e8
mov byte [ebp - 0xd], 1
jmp 0x48ce15
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x10], 3
jne 0x48cd8d
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
call fcn.0040a418
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
call fcn.004044e8
mov byte [ebp - 0xd], 1
jmp 0x48ce15
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x10], 2
jne 0x48cdb5
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
call fcn.0040943c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
call fcn.004044e8
mov byte [ebp - 0xd], 1
jmp 0x48ce15
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x10], 1
jne 0x48cde9
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x11], 0
je 0x48cdd6
mov eax, dword [ebp + 8]
mov edx, 0x48ce80
call fcn.004044e8
jmp 0x48cde3
mov eax, dword [ebp + 8]
mov edx, 0x48ce90
call fcn.004044e8
mov byte [ebp - 0xd], 1
jmp 0x48ce15
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x10], 5
jne 0x48ce15
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
call fcn.0047a72c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
call fcn.004044e8
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ce54
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.004044b8
lea eax, [ebp - 0x18]
call fcn.00404494
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004044b8
lea eax, [ebp + 0xc]
call fcn.00404494
ret