Function at 0x4b8590
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c513
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x11
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xa
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x4c], 0x3f400000
mov dword [ebp - 0x48], 0x3e800000
mov dword [ebp - 0x44], 0x40100000
mov dword [ebp - 0x40], 0x26
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.004b9830
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0x11
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x7c], 0x3f400000
mov dword [ebp - 0x78], 0x3e800000
mov dword [ebp - 0x74], 0x40100000
mov dword [ebp - 0x70], 0x26
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
push dword [0x5d2e3c]
push reloc.WS2_32.dll_accept
call fcn.004ba130
add esp, 0xc
or edi, 0xffffffff
test eax, eax
jne 0x4b8820
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 0x2001f
push dword [0x5d2e3c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push reloc.WS2_32.dll_accept
call fcn.0045b220
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x4b8811
cmp dword [ebp - 0x84], 0
je 0x4b8811
mov edi, dword [ebp - 0x80]
xor esi, esi
mov ebx, dword [ebp - 0x88]
test edi, edi
je 0x4b8701
cmp dword [ebx + esi*4], 0
jne 0x4b87ca
inc esi
cmp esi, edi
jb 0x4b86f2
xor esi, esi
test esi, esi
je 0x4b880e
jmp 0x4b8710
test esi, esi
je 0x4b880b
mov eax, dword [0x5d2ed0]
test eax, eax
je 0x4b87dd
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x4b87dd
push eax
push ecx
call fcn.00526d32
add esp, 8
test eax, eax
je 0x4b87dd
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4b87dd
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.004b9e40
test eax, eax
je 0x4b87d2
mov eax, dword [ebp - 0x10]
push dword [eax + 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.004ba510
add esp, 8
test eax, eax
jne 0x4b87d2
push dword [0x5de370]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00493040
push dword [eax]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004bd130
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov dword [eax], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b87dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4b87dd
mov esi, dword [ebx + esi*4]
jmp 0x4b8703
push dword [esi]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4b8801
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
inc edx
lea esp, [esp]
cmp edx, edi
jae 0x4b8801
mov eax, dword [ebx + edx*4]
test eax, eax
cmovne ecx, eax
inc edx
test ecx, ecx
je 0x4b87f0
mov esi, ecx
test ecx, ecx
jne 0x4b8710
mov eax, dword [ebp - 0x28]
or edi, 0xffffffff
mov byte [ebp - 4], 1
test eax, eax
je 0x4b8820
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
je 0x4b8876
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4b8859
cmp dword [eax - 8], 0
jge 0x4b8849
push 0x80070057
call fcn.0045a8f0
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax], cx
jmp 0x4b8876
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4b886a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
cmp dword [ebp - 0x54], 0
je 0x4b8951
mov esi, dword [ebp - 0x50]
xor eax, eax
test esi, esi
je 0x4b889f
mov ecx, dword [ebp - 0x58]
lea esp, [esp]
cmp dword [ecx + eax*4], 0
jne 0x4b89aa
inc eax
cmp eax, esi
jb 0x4b8890
xor eax, eax
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4b8951
lea esp, [esp]
test eax, eax
je 0x4b89b2
mov eax, dword [eax]
mov ecx, ebx
push dword [eax - 0xc]
push eax
call fcn.00472540
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x14], ecx
lea edi, [ecx + 1]
test edi, edi
js 0x4b883f
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4b88f1
push edi
mov ecx, ebx
call fcn.0045b530
mov eax, dword [ebx]
mov edx, 0x2c
mov ecx, dword [ebp - 0x14]
mov word [eax + ecx*2], dx
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x4b883f
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4b8944
mov eax, dword [eax + 0xc]
xor edx, edx
div esi
mov ebx, dword [ebp - 0x58]
inc edx
lea ebx, [ebx]
cmp edx, esi
jae 0x4b8941
mov eax, dword [ebx + edx*4]
test eax, eax
cmovne ecx, eax
inc edx
test ecx, ecx
je 0x4b8930
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x4b88b0
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x4b897e
lea eax, [ecx - 1]
test eax, eax
js 0x4b883f
cmp eax, ecx
jg 0x4b883f
cmp word [edx + eax*2], 0x2c
jne 0x4b897e
push 1
push eax
mov ecx, ebx
call fcn.004b9720
lea ecx, [ebp - 0x88]
call fcn.005211f0
lea ecx, [ebp - 0x58]
call fcn.004dcce0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + eax*4]
jmp 0x4b88a1
push 0x80004005
call fcn.0045a8f0
int3