Function at 0x4131b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e408
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x43c3f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x43d174]
mov edx, dword [eax + 0xc]
mov ecx, 0x43d174
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
cmp dword [ecx - 0xc], ebx
jl 0x413395
push str.HKEY_USERS
push ecx
call fcn.0041ac0b
mov ecx, dword [ebp + 8]
add esp, 8
cmp eax, ebx
je 0x4132c9
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x4132c9
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 8]
push ecx
lea eax, [eax - 0xb]
lea ecx, [ebp - 0x18]
call fcn.00414f20
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040d510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41326e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.00414fa0
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040d510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4132b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
push edi
push reloc.WS2_32.dll_closesocket
jmp 0x41338f
cmp dword [ecx - 0xc], ebx
jl 0x413395
push str.HKEY_LOCAL_MACHINE
push ecx
call fcn.0041ac0b
add esp, 8
cmp eax, ebx
je 0x413395
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x413395
mov eax, dword [ecx - 0xc]
lea edx, [ebp + 8]
add eax, 0xffffffed
push edx
lea ecx, [ebp - 0x18]
call fcn.00414f20
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040d510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.00414fa0
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040d510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41337c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
push edi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp + 8]
push edx
mov eax, esi
lea ecx, [ebp - 0x18]
call fcn.00414f20
mov byte [ebp - 4], 6
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4133f6
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x4133e6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4133e6
call fcn.0040d9b0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4133de
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x10], edi
jmp 0x4133f6
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040d810
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413419
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41344e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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