Function at 0x10034310
Capabilities:
Delete registry value
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ceec
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10063068]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x10063068]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
push edi
push edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
mov dword [esp + 0x148], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
jne 0x10034541
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], ax
mov byte [esp + 0x118], 1
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, edi
ja 0x100343c6
or eax, 0xffffffff
lea esi, [esp + 0x4c]
call fcn.1000a860
jmp 0x100343d4
push edi
mov eax, ecx
lea edi, [esp + 0x50]
call fcn.10011f20
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x118], 2
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x38]
call fcn.10026cf0
jmp 0x10034400
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
inc ecx
cmp dword [esp + 0x60], 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jae 0x10034420
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x50]
push ecx
push 0
lea edx, [esp + 0x40]
push edx
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x100344be
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
push ecx
or eax, 0xffffffff
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], 7
call fcn.10009fd0
lea ecx, [esp + 0x68]
lea ebx, [esp + 0x14]
mov byte [esp + 0x118], 3
call fcn.10026b00
mov byte [esp + 0x118], 2
cmp dword [esp + 0x7c], 8
jb 0x1003449d
mov edx, dword [esp + 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
inc edi
jmp 0x10034400
cmp esi, 0x103
jne 0x100345e4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp esi, edi
je 0x100344f1
cmp dword [esi + 0x14], 8
jb 0x100344e0
mov eax, dword [esi]
jmp 0x100344e2
mov eax, esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add esi, 0x1c
cmp esi, edi
jne 0x100344d6
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1003450b
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0x118], 0
cmp dword [esp + 0x60], 8
jb 0x10034528
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], dx
xor edi, edi
lea edx, [esp + 0x84]
push str.item
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x44]
mov ecx, eax
add esp, 8
cmp esi, dword [ecx + 0x48]
jne 0x10034665
mov dword [esp + 0x118], 0xffffffff
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100345bc
mov edi, dword [esp + 0x18]
mov esi, ebx
cmp ebx, edi
je 0x100345b2
cmp dword [esi + 0x14], 8
jb 0x10034598
mov edx, dword [esi]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x10034586
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100345fe
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0x118], 0
cmp dword [esp + 0x60], 8
jb 0x1003461b
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], cx
test ebx, ebx
je 0x1003465a
mov edi, dword [esp + 0x18]
mov eax, ebx
call fcn.10011fd0
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
jmp 0x100345be
mov ebx, dword [esp + 0x28]
push edi
lea edx, [esp + 0x90]
push 0x100566a8
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 0x10]
add esp, 0xc
inc edi
cmp dword [esi + 0x14], 8
jb 0x1003468a
mov ecx, dword [esi]
jmp 0x1003468c
mov ecx, esi
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push 0
lea ecx, [esp + 0x94]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
jne 0x100346bc
mov edx, dword [esp + 0x10]
add esi, 0x1c
cmp esi, dword [edx + 0x48]
jne 0x10034661
jmp 0x10034569
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003471a
mov edi, dword [esp + 0x18]
mov esi, eax
cmp eax, edi
je 0x10034710
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x100346f6
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x100346e0
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
jmp 0x100345be