Function at 0x4110a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445c42
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x45e098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x390], ecx
mov dword [ebp - 0x394], 0
mov dword [ebp - 4], 8
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x244]
call fcn.00408f10
mov byte [ebp - 4], 9
mov dword [ebp - 0x3b4], 0x104
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x398], edx
cmp dword [ebp - 0x398], 0x100
jae 0x41111b
jmp 0x411120
call fcn.0042679f
mov eax, dword [ebp - 0x398]
mov byte [ebp + eax - 0x110], 0
lea ecx, [ebp - 0x22c]
call fcn.00408ea0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x25c]
call fcn.00408ea0
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x39c]
mov dword [ebp - 0x408], ecx
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0xb4]
push edx
mov eax, dword [ebp - 0x408]
push eax
call fcn.00414da0
add esp, 8
mov byte [ebp - 0x37d], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x25c]
call fcn.00408c50
movzx ecx, byte [ebp - 0x37d]
test ecx, ecx
je 0x4111e6
push 0x45745c
lea edx, [ebp + 0xb4]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.0040add0
add esp, 0xc
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x400], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x400]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00408bd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.00408c50
lea ecx, [ebp - 0x37c]
call fcn.00408ea0
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x9c]
push ecx
mov edx, dword [ebp - 0x3f8]
push edx
call fcn.00414da0
add esp, 8
mov byte [ebp - 0x37e], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x37c]
call fcn.00408c50
movzx eax, byte [ebp - 0x37e]
test eax, eax
je 0x41128f
push 0x45745c
lea ecx, [ebp + 0x9c]
push ecx
lea edx, [ebp - 0x364]
push edx
call fcn.0040add0
add esp, 0xc
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f0], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x3f0]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00408bd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x364]
call fcn.00408c50
lea ecx, [ebp - 0x34c]
call fcn.00408ea0
mov dword [ebp - 0x3e8], eax
mov edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x3e4], edx
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x84]
push eax
mov ecx, dword [ebp - 0x3e4]
push ecx
call fcn.00414da0
add esp, 8
mov byte [ebp - 0x37f], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34c]
call fcn.00408c50
movzx edx, byte [ebp - 0x37f]
test edx, edx
je 0x411338
push 0x45745c
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp - 0x334]
push ecx
call fcn.0040add0
add esp, 0xc
mov dword [ebp - 0x3e0], eax
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3dc], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00408bd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x334]
call fcn.00408c50
lea ecx, [ebp - 0x31c]
call fcn.00408ea0
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d4], ecx
mov byte [ebp - 4], 0x11
lea edx, [ebp + 0x6c]
push edx
mov eax, dword [ebp - 0x3d4]
push eax
call fcn.00414da0
add esp, 8
mov byte [ebp - 0x380], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x31c]
call fcn.00408c50
movzx ecx, byte [ebp - 0x380]
test ecx, ecx
je 0x4113db
push 0x45745c
lea edx, [ebp + 0x6c]
push edx
lea eax, [ebp - 0x28c]
push eax
call fcn.0040add0
add esp, 0xc
mov dword [ebp - 0x3d0], eax
mov ecx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3cc], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x3cc]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00408bd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28c]
call fcn.00408c50
lea ecx, [ebp - 0x304]
call fcn.00408ea0
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x54]
push ecx
mov edx, dword [ebp - 0x3ec]
push edx
call fcn.00414da0
add esp, 8
mov byte [ebp - 0x381], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x304]
call fcn.00408c50
movzx eax, byte [ebp - 0x381]
test eax, eax
je 0x41147e
push 0x45745c
lea ecx, [ebp + 0x54]
push ecx
lea edx, [ebp - 0x2ec]
push edx
call fcn.0040add0
add esp, 0xc
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x3a4]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00408bd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2ec]
call fcn.00408c50
lea ecx, [ebp - 0x2d4]
call fcn.00408ea0
mov dword [ebp - 0x3a8], eax
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], edx
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0x3c]
push eax
mov ecx, dword [ebp - 0x3ac]
push ecx
call fcn.00414da0
add esp, 8
mov byte [ebp - 0x382], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2d4]
call fcn.00408c50
movzx edx, byte [ebp - 0x382]
test edx, edx
je 0x4114e1
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00408bd0
lea ecx, [ebp - 0x22c]
call fcn.00408740
mov dword [ebp - 0x3b0], eax
lea ecx, [ebp - 0x38c]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x3b0]
push edx
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0
jne 0x4115e3
lea edx, [ebp - 0x3b4]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push 0
lea ecx, [ebp + 0x24]
call fcn.00408740
push eax
mov edx, dword [ebp - 0x38c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0
jne 0x411579
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x244]
call fcn.00408bf0
jmp 0x4115d4
mov ecx, dword [ebp - 0x388]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.004040d0
add esp, 8
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x3bc]
call fcn.00408740
push eax
push str.RegQueryValueEx___s
lea ecx, [ebp - 0x110]
push ecx
call fcn.00414de0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
call fcn.00408c50
mov edx, dword [ebp - 0x38c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41163e
mov eax, dword [ebp - 0x388]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.004040d0
add esp, 8
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3c4], edx
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x3c4]
call fcn.00408740
push eax
push str.RegQueryValueEx___s
lea eax, [ebp - 0x110]
push eax
call fcn.00414de0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2a4]
call fcn.00408c50
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x390]
add ecx, 4
call fcn.00408bf0
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408cf0
mov eax, dword [ebp - 0x394]
or eax, 1
mov dword [ebp - 0x394], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x22c]
call fcn.00408c50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call fcn.00408c50
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
call fcn.00408c50
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x24]
call fcn.00408c50
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x3c]
call fcn.00408c50
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x54]
call fcn.00408c50
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x6c]
call fcn.00408c50
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x84]
call fcn.00408c50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x9c]
call fcn.00408c50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xb4]
call fcn.00408c50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004261af
mov esp, ebp
pop ebp
ret 0xc4