Function at 0x42cc30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45099d
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x469090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
push 0x1c
mov ebx, ecx
mov dword [ebp - 0x300], esi
call fcn.004372a1
xor edi, edi
add esp, 4
cmp eax, edi
je 0x42cc8a
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edi
mov word [eax], cx
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], 8
jb 0x42cc97
mov eax, dword [ebx]
jmp 0x42cc99
mov eax, ebx
lea edx, [ebp - 0x304]
push edx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x42ce18
push 0x4589c0
lea edx, [ebp - 0x21c]
call fcn.0042d180
xor eax, eax
add esp, 4
mov word [ebp - 0x254], ax
push 0x15
mov eax, str._could_not_be_opened.
lea esi, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
call fcn.00402510
mov byte [ebp - 4], 1
xor ecx, ecx
push 0xd
mov eax, str.Registry_key
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], cx
call fcn.00402510
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x28c]
mov byte [ebp - 4], 2
call fcn.00423530
mov ecx, eax
lea eax, [ebp - 0x254]
lea ebx, [ebp - 0x270]
mov byte [ebp - 4], 3
call fcn.00420eb0
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x42cd61
mov eax, dword [eax]
mov ecx, dword [0x46dbc4]
push eax
push str.INFO
call fcn.0040c980
cmp dword [ebp - 0x25c], edi
jb 0x42cd89
mov edx, dword [ebp - 0x270]
push edx
call fcn.00437245
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], ax
cmp dword [ebp - 0x278], edi
jb 0x42cdbc
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.00437245
add esp, 4
xor edx, edx
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], ebx
mov word [ebp - 0x28c], dx
cmp dword [ebp - 0x224], edi
jb 0x42cde8
mov eax, dword [ebp - 0x238]
push eax
call fcn.00437245
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
cmp dword [ebp - 0x240], edi
jb 0x42d0a2
mov edx, dword [ebp - 0x254]
push edx
jmp 0x42d09a
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30c], 0x104
mov dword [ebp - 0x308], 1
jb 0x42ce36
mov eax, dword [esi]
jmp 0x42ce38
mov eax, esi
lea ecx, [ebp - 0x30c]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov edx, dword [ebp - 0x304]
lea ecx, [ebp - 0x308]
push ecx
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x42d0a4
push 0x4589c0
lea edx, [ebp - 0x21c]
call fcn.0042d180
xor eax, eax
add esp, 4
mov word [ebp - 0x270], ax
push 0x15
mov eax, str._could_not_be_opened.
lea esi, [ebp - 0x270]
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], edi
call fcn.00402510
mov byte [ebp - 4], 5
xor ecx, ecx
push 0xd
mov eax, str.__value_name
lea esi, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], cx
call fcn.00402510
mov byte [ebp - 4], 6
xor edx, edx
push 0xd
mov eax, str.Registry_key
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], dx
call fcn.00402510
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x2a8]
mov byte [ebp - 4], 7
call fcn.00423530
mov ecx, eax
lea eax, [ebp - 0x254]
lea ebx, [ebp - 0x2e0]
mov byte [ebp - 4], 8
call fcn.00420eb0
mov ecx, eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x300]
lea ebx, [ebp - 0x2c4]
call fcn.00423530
mov ecx, eax
lea eax, [ebp - 0x270]
lea ebx, [ebp - 0x28c]
mov byte [ebp - 4], 0xa
call fcn.00420eb0
mov edi, 8
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], edi
jb 0x42cf68
mov eax, dword [eax]
mov ecx, dword [0x46dbc4]
push eax
push str.INFO
call fcn.0040c980
cmp dword [ebp - 0x278], edi
jb 0x42cf90
mov eax, dword [ebp - 0x28c]
push eax
call fcn.00437245
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], ebx
mov word [ebp - 0x28c], cx
cmp dword [ebp - 0x2b0], edi
jb 0x42cfc3
mov edx, dword [ebp - 0x2c4]
push edx
call fcn.00437245
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2b4], ebx
mov word [ebp - 0x2c4], ax
cmp dword [ebp - 0x2cc], edi
jb 0x42cfef
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.00437245
add esp, 4
xor edx, edx
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2d0], ebx
mov word [ebp - 0x2e0], dx
cmp dword [ebp - 0x294], edi
jb 0x42d01b
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.00437245
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x298], ebx
mov word [ebp - 0x2a8], cx
cmp dword [ebp - 0x224], edi
jb 0x42d047
mov edx, dword [ebp - 0x238]
push edx
call fcn.00437245
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
cmp dword [ebp - 0x240], edi
jb 0x42d073
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00437245
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], dx
cmp dword [ebp - 0x25c], edi
jb 0x42d0a2
mov eax, dword [ebp - 0x270]
push eax
call fcn.00437245
add esp, 4
xor edi, edi
push 0x1c
call fcn.004372a1
mov esi, eax
add esp, 4
mov dword [ebp - 0x300], esi
mov byte [ebp - 4], 0xc
cmp esi, edi
je 0x42d0f3
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42d0d6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
call fcn.00402510
jmp 0x42d0f5
xor esi, esi
mov edx, dword [ebp - 0x304]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043722b
mov esp, ebp
pop ebp
ret