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

Disassembly:
push 0xffffffffffffffff
push 0x5fb418
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x68]
mov eax, dword [0x741af8]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
call fcn.00475440
mov dword [esp + 0x60], 0
mov edi, dword [esp + 0x6c]
lea edx, [esp + 0x28]
push edx
call fcn.00475790
or ebp, 0xffffffff
mov dword [esp + 0x60], ebp
lea ecx, [esp + 0x28]
call fcn.00475600
push 0
mov edi, ebp
mov eax, 0x6cca24
lea esi, [esp + 0x70]
call fcn.004728e0
mov dword [esp + 0x60], 1
lea eax, [esp + 0x6c]
lea esi, [ebx + 8]
push eax
xor edi, edi
mov eax, esi
call fcn.004730f0
cmp eax, ebp
setne byte [esp + 0x68]
mov dword [esp + 0x60], ebp
lea ecx, [esp + 0x6c]
call fcn.004740c0
cmp byte [esp + 0x68], 0
je 0x4b9116
push 0x6c22b0
lea eax, [ebx + 4]
call fcn.00472a30
lea ecx, [esp + 0x14]
call fcn.00472830
mov dword [esp + 0x60], 2
lea eax, [ebx + 0x10]
call fcn.004221b0
push eax
mov eax, esi
call fcn.004221b0
push eax
lea eax, [ebx + 4]
call fcn.004221b0
push eax
lea ecx, [esp + 0x20]
push str.Software_1_2_3
push ecx
call fcn.00473260
mov eax, dword [ebx + 0x34]
lea ebp, [ebx + 0x34]
add esp, 0x14
test eax, eax
je 0x4b916b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp], 0
lea eax, [esp + 0x14]
call fcn.004221b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [esp + 0x68]
push edx
push ebp
push 0
push 2
push 0
push 0x6b70dc
push 0
mov esi, eax
push esi
push reloc.WS2_32.dll_bind
call edi
test eax, eax
je 0x4b91eb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004078f0
add esp, 4
lea eax, [esp + 0x68]
push eax
push ebp
push 0
push 2
push 0
push 0x6b70dc
push 0
push esi
push closesocket
call edi
test eax, eax
je 0x4b91eb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004078f0
add esp, 4
jmp 0x4b9325
push 0
or edi, 0xffffffff
mov eax, 0x6c30d0
lea esi, [esp + 0x6c]
call fcn.004728e0
mov byte [esp + 0x60], 3
mov edx, dword [ebx]
lea eax, [ebx + 0xc]
call fcn.004221b0
mov edx, dword [edx + 0x20]
push eax
mov eax, esi
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x60], 2
mov ecx, esi
call fcn.004740c0
mov eax, dword [ebp]
push 0x6d9828
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x1c]
call fcn.00421f60
lea ecx, [esp + 0x68]
call fcn.00472830
mov byte [esp + 0x60], 4
lea ecx, [esp + 0x6c]
call fcn.00474000
mov byte [esp + 0x60], 5
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea esi, [esp + 0x24]
call fcn.004b9870
test al, al
je 0x4b9309
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esp, [esp]
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x70]
call fcn.00472860
mov byte [esp + 0x60], 6
lea eax, [esp + 0x18]
call fcn.00473120
lea eax, [eax + eax + 2]
push eax
lea eax, [esp + 0x1c]
call fcn.004221b0
push eax
push 1
push 0
lea eax, [esp + 0x78]
call fcn.004221b0
mov ecx, dword [ebp]
push eax
push ecx
call ebx
test eax, eax
jne 0x4b92e8
mov byte [esp + 0x60], 5
lea ecx, [esp + 0x18]
call fcn.004740c0
mov edx, edi
push edx
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x24]
call fcn.004b9870
test al, al
jne 0x4b9280
jmp 0x4b9309
push eax
lea eax, [esp + 0x6c]
call fcn.004221b0
push eax
call fcn.004078f0
add esp, 8
mov byte [esp + 0x60], 5
lea ecx, [esp + 0x18]
call fcn.004740c0
mov byte [esp + 0x60], 4
lea ecx, [esp + 0x6c]
call fcn.004740c0
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.004740c0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004740c0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8