Function at 0x40a120
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x50cc5b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x254]
mov esi, ecx
mov dword [esp + 0x18], 0
sub esp, 0x20
mov edi, 1
mov dword [esp + 0x26c], edi
mov eax, esp
mov dword [esp + 0x34], esp
lea ecx, [esp + 0x278]
push ecx
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0xff
mov ebx, edi
call fcn.0040a6b0
mov ecx, esi
call fcn.00409ed0
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x40a22a
cmp eax, 2
je 0x40a22a
lea edx, [esp + 0x278]
push edx
push ebp
call fcn.0040a6b0
mov edi, 8
mov esi, vtable.snutil::String.0
mov dword [esp + 0x258], esi
cmp dword [esp + 0x274], edi
jb 0x40a1e9
mov eax, dword [esp + 0x260]
push eax
call fcn.00453344
add esp, 4
xor ecx, ecx
mov dword [esp + 0x274], 7
mov dword [esp + 0x270], 0
mov word [esp + 0x260], cx
mov dword [esp + 0x278], esi
cmp dword [esp + 0x294], edi
jb 0x40a416
mov edx, dword [esp + 0x280]
push edx
jmp 0x40a40e
mov edi, 8
cmp dword [esi + 0x28], edi
jb 0x40a239
mov eax, dword [esi + 0x14]
jmp 0x40a23c
lea eax, [esi + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [0x50f034]
mov dword [esi], eax
test eax, eax
je 0x40a2cd
lea eax, [esp + 0x278]
push eax
push ebp
call fcn.0040a6b0
mov esi, vtable.snutil::String.0
mov dword [esp + 0x258], esi
cmp dword [esp + 0x274], edi
jb 0x40a28c
mov ecx, dword [esp + 0x260]
push ecx
call fcn.00453344
add esp, 4
xor edx, edx
mov dword [esp + 0x274], 7
mov dword [esp + 0x270], 0
mov word [esp + 0x260], dx
mov dword [esp + 0x278], esi
cmp dword [esp + 0x294], edi
jb 0x40a416
mov eax, dword [esp + 0x280]
push eax
jmp 0x40a40e
mov eax, dword [esp + 0x260]
cmp dword [esp + 0x274], edi
jae 0x40a2e4
lea eax, [esp + 0x260]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push 0
push eax
push edx
call dword [0x50f030]
mov dword [esi], eax
test eax, eax
je 0x40a309
xor ebx, ebx
mov eax, dword [esp + 0x14]
push eax
call dword [0x50f040]
test ebx, ebx
jne 0x40a35b
lea ecx, [esp + 0x278]
push ecx
push ebp
call fcn.0040a6b0
mov esi, vtable.snutil::String.0
mov dword [esp + 0x258], esi
cmp dword [esp + 0x274], edi
jb 0x40a34b
mov edx, dword [esp + 0x260]
push edx
call fcn.00453344
add esp, 4
mov dword [esp + 0x274], 7
jmp 0x40a3e5
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
call fcn.0040a740
mov byte [esp + 0x24c], 2
cmp dword [eax + 0x1c], edi
jb 0x40a37d
mov eax, dword [eax + 8]
jmp 0x40a380
add eax, 8
push 0xffffffffffffffff
push eax
mov ecx, ebp
call fcn.0040a740
mov esi, vtable.snutil::String.0
mov dword [esp + 0x20], esi
cmp dword [esp + 0x3c], edi
jb 0x40a3a6
mov eax, dword [esp + 0x28]
push eax
call fcn.00453344
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], 0
mov word [esp + 0x28], cx
mov dword [esp + 0x258], esi
cmp dword [esp + 0x274], edi
jb 0x40a3de
mov edx, dword [esp + 0x260]
push edx
call fcn.00453344
add esp, 4
mov dword [esp + 0x274], ebx
xor eax, eax
mov dword [esp + 0x278], esi
mov word [esp + 0x260], ax
mov dword [esp + 0x270], eax
cmp dword [esp + 0x294], edi
jb 0x40a416
mov ecx, dword [esp + 0x280]
push ecx
call fcn.00453344
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00453735
add esp, 0x23c
ret 0x44