Function at 0x759de3b6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], eax
call fcn.759b3ca6
test esi, esi
je 0x759de4e9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x26
jne 0x759de4e9
xor eax, eax
cmp dword [ebp - 0x34], eax
jne 0x759e2d13
cmp dword [ebp - 0x2c], eax
je 0x759de424
cmp ebx, eax
je 0x759de4e9
cmp dword [ebp - 0x30], eax
jne 0x759e2d20
lea ecx, [ebp - 0x20]
call fcn.759b3c2d
push 0
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.759de4fb
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
jne 0x759e2d2e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x34], ecx
jne 0x759e2d6c
test edi, edi
jne 0x759e2d6c
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x759de4e3
mov eax, dword [ebx]
add eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push edi
lea eax, [ebp - 0x28]
push eax
push 0
push 0x759c29e0
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x2c]
shr ecx, 1
dec ecx
mov dword [ebx], ecx
test eax, eax
jne 0x759e2da2
cmp dword [ebp - 0x28], 1
jne 0x759e2da2
cmp dword [ebp - 0x30], 0
mov edi, dword [ebp - 0x24]
jne 0x759e2db8
test edi, edi
jne 0x759e2db8
lea ecx, [ebp - 0x20]
call fcn.759b3c00
lea ecx, [ebp - 0x18]
call fcn.759b1681
lea ecx, [ebp - 0x40]
call fcn.759b3ed0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret 0x1c
test ebx, ebx
jne 0x759de46c
jmp 0x759de4a2
lea ecx, [ebp - 0x40]
call fcn.759b3ed0
jmp 0x759e2e04
cmp edi, eax
jne 0x759de417
jmp 0x759de4e9
cmp dword [ebp - 0x24], eax
jne 0x759de42d
jmp 0x759de4e9
cmp eax, 2
jne 0x759e2d67
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.759c4acf
add esp, 0x10
test eax, eax
jne 0x759e2d67
xor esi, esi
lea ecx, [ebp - 0x20]
call fcn.759b3c00
lea ecx, [ebp - 0x18]
call fcn.759b1681
lea ecx, [ebp - 0x40]
call fcn.759b3ed0
mov eax, esi
jmp 0x759de4d2
or esi, 0xffffffff
jmp 0x759e2d48
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
push 0
push 0x759c3f30
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x38]
shr ecx, 1
dec ecx
mov dword [edi], ecx
test eax, eax
jne 0x759e2df1
cmp dword [ebp - 0x28], 1
je 0x759de465
jmp 0x759e2d46
cmp eax, 2
jne 0x759e2df1
test edi, edi
je 0x759e2db0
xor eax, eax
mov word [edi], ax
and dword [ebx], 0
jmp 0x759de4a2
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
push 0
push 0x759c3d60
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x24]
shr ecx, 1
dec ecx
mov dword [edi], ecx
test eax, eax
jne 0x759e2df1
cmp dword [ebp - 0x28], 1
je 0x759de4b7
jmp 0x759e2d46
cmp eax, 0xea
jne 0x759e2d46
push 0xfffffffffffffffd
pop esi
jmp 0x759e2d48
push 0xfffffffffffffffe
pop eax
jmp 0x759de4d2