Function at 0x10034060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004cf38
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10063068]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x10063068]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x100342e6
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x14]
inc ecx
cmp ecx, ebx
ja 0x100340fd
or eax, 0xffffffff
lea esi, [esp + 0x40]
call fcn.1000a860
jmp 0x10034109
push ebx
mov eax, ecx
lea edi, [esp + 0x44]
call fcn.10011f20
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x30]
call fcn.10026cf0
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
inc ecx
cmp dword [esp + 0x54], 8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
jae 0x10034152
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x34]
push ecx
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, ebx
jne 0x10034275
cmp dword [esp + 0x28], 1
jne 0x1003426c
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
cmp esi, 8
jae 0x1003419a
lea eax, [esp + 0x40]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100341a0
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x1003426c
mov eax, dword [esp + 0x40]
cmp esi, 8
jae 0x100341c5
lea eax, [esp + 0x40]
xor ecx, ecx
mov word [eax + 8], cx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x100341da
lea eax, [esp + 0x40]
push str.item
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1003426c
xor edx, edx
mov eax, edi
mov word [esp + 0x5c], dx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10034205
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x60]
call fcn.1000a770
mov ebx, dword [esp + 0x20]
add ebx, 0x44
mov ecx, esi
mov byte [esp + 0x88], 2
call fcn.10026b00
mov byte [esp + 0x88], 1
cmp dword [esp + 0x70], 8
jb 0x10034253
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], cx
xor ebx, ebx
inc dword [esp + 0x10]
jmp 0x10034132
mov byte [esp + 0x88], bl
cmp esi, 0x103
jne 0x100342b6
cmp edi, ebx
je 0x10034292
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x100342b2
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x100342e6
cmp edi, ebx
je 0x100342c4
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x100342e4
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 8