Function at 0x1104d8f0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111815e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov esi, ecx
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 0xc]
push 0
push 0x1119f870
push 0x111a0f40
mov edi, edx
call fcn.1105e820
test eax, eax
jne 0x1104db80
mov ecx, ebx
call fcn.11064e20
mov dword [ebp - 0x28], eax
xor ecx, ecx
cmp dword [eax + 0x2c], 2
mov dword [ebp - 4], ecx
je 0x1104d96c
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.11033ac0
mov eax, dword [ebp - 0x28]
push eax
jmp 0x1104db78
mov dword [ebp - 0x24], ecx
cmp dword [0x111ee268], ecx
je 0x1104d993
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0x1119f834
push 0x2001f
call eax
mov dword [ebp - 0x24], eax
jmp 0x1104d9bb
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x24]
push eax
push ecx
push 0x2001f
push ecx
push 0x11195264
push ecx
push 0x1119f834
push reloc.wsOcK32.dll_bind
call dword [sym.imp.aDvapi32.DLL_RegCreateKeyExA]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1104db66
cmp byte [edi + 2], 0
je 0x1104daa3
mov eax, dword [esi + 0x298]
test eax, eax
je 0x1104d9f4
mov ecx, dword [0x111ee218]
push 0
push eax
call fcn.1105a0d0
mov eax, dword [esi + 0x298]
push eax
call fcn.11162777
add esp, 4
lea ecx, [edi + 3]
push 0
push ecx
call fcn.11145be0
add esp, 8
push 0
mov dword [esi + 0x298], eax
mov ecx, dword [0x111ee218]
push eax
call fcn.1105a0d0
push 0
add edi, 0x23
push edi
lea ecx, [ebp - 0x2c]
call fcn.11146a90
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 0
push 0xd
lea eax, [ebp - 0x20]
push eax
push 0x1119b614
push 0x111a0f40
mov byte [ebp - 4], 1
call edx
mov eax, dword [esi + 0x29c]
push eax
call fcn.11162777
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x1119f82c
call fcn.11147ad0
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x29c], eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1104da70
mov edx, dword [esi + 0x298]
sub ecx, edi
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x24]
push 1
push 0
push edx
push eax
call dword [sym.imp.aDvapi32.DLL_RegSetValueExA]
mov ecx, dword [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0
call fcn.11162777
add esp, 4
jmp 0x1104daf5
mov ecx, dword [esi + 0x298]
test ecx, ecx
je 0x1104db5f
push ecx
push eax
call dword [sym.imp.aDvapi32.DLL_RegDeleteValueA]
mov edx, dword [esi + 0x298]
mov ecx, dword [0x111ee218]
xor edi, edi
push edi
push edx
call fcn.1105a0d0
mov eax, dword [esi + 0x298]
push eax
call fcn.11162777
mov eax, dword [esi + 0x29c]
push eax
mov dword [esi + 0x298], edi
call fcn.11162777
add esp, 8
mov dword [esi + 0x29c], edi
push 0
push 0
push 5
call fcn.11145c70
add esp, 0xc
test eax, eax
je 0x1104db54
lea ecx, [ebp - 0x78]
call fcn.11009940
mov eax, dword [ebp - 0x24]
push 0
push eax
push fcn.1103ffa0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.110173d0
test eax, eax
mov eax, dword [ebp - 0x78]
je 0x1104db49
test eax, eax
je 0x1104db38
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.1104aca0
jmp 0x1104db80
test eax, eax
je 0x1104db54
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1103ffa0
jmp 0x1104db66
push eax
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
mov esi, dword [ebp - 0x28]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.11033ac0
push esi
call fcn.11162777
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret