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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019d816
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x258], 0x101a6278
lea eax, [ebp - 0x24c]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x258]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x10110783
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x25c], 1
lea ecx, [ebp - 0x250]
push ecx
push 0
lea edx, [ebp - 0x25c]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.100ea070
push eax
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101106ba
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x25c]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100e9cf0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
jmp 0x10110771
push 0x101a640c
mov ecx, dword [ebp + 8]
push ecx
call fcn.100eea10
add esp, 8
movzx edx, al
test edx, edx
jne 0x101106ee
push 0x101a6428
mov eax, dword [ebp + 8]
push eax
call fcn.100eea10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10110771
lea edx, [ebp - 0x248]
push edx
call fcn.100e4b20
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x248]
call fcn.100ea070
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x254], eax
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100e9cd0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100e9ca0
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10110868
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x258]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10110868
push 0x101a64e0
mov ecx, dword [ebp + 8]
push ecx
call fcn.100eea10
add esp, 8
movzx edx, al
test edx, edx
jne 0x101107d8
push 0x101a64fc
mov eax, dword [ebp + 8]
push eax
call fcn.100eea10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10110868
lea edx, [ebp - 0x230]
push edx
call fcn.100e4b20
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x230]
call fcn.100ea070
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x254], eax
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100e9cd0
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100e9ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 0xc