Function at 0xb124e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push ebp
push 0xbb80
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0xb1250b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push eax
push 0xb14328
push 0x80000000
call ebp
test eax, eax
je 0xb12628
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push eax
push 0xb14328
push 0x80000000
call ebp
test eax, eax
je 0xb12576
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebp
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
lea edx, [ebx + 8]
mov dword [ebx], 1
mov dword [ebx + 4], 0
mov ecx, dword [0xb16b24]
mov eax, dword [ecx]
mov dword [edx], eax
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov al, byte [ecx + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov byte [edx + 0xc], al
lea edx, [esp + 0x14]
mov ecx, ebx
mov dword [esp + 0x18], 0x15
push edx
mov edx, 0x15
call fcn.00b0f750
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 1
push 0xb14328
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ecx
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call edi
mov eax, dword [esp + 0x10]
push eax
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebp
push ebx
call esi
push eax
call edi
push ebx
call esi
push eax
call ebp
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
mov dword [esp + 0x14], 0xbb80
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0xb14328
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0xb1267d
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebp
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
dec dword [esp + 0x14]
push eax
mov edx, dword [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00b0f600
mov ecx, dword [esp + 0x10]
mov edi, ebx
mov esi, ecx
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
lea eax, [edx + edx*2]
shl eax, 2
add eax, 8
mov ecx, eax
mov dword [esp + 0x18], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], 0
mov ecx, dword [0xb16b24]
mov edx, dword [esp + 0x18]
add edx, ebx
mov eax, dword [ecx]
mov dword [edx], eax
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov al, byte [ecx + 0xc]
mov byte [edx + 0xc], al
add dword [esp + 0x18], 0xd
mov ecx, dword [esp + 0x10]
push ecx
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call edi
mov eax, dword [esp + 0x10]
push eax
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebp
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.00b0f750
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 1
push 0xb14328
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [esp + 0x10]
push ecx
call esi
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call esi
push eax
call ebp
push ebx
call esi
push eax
call edi
push ebx
call esi
push eax
call ebp
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret