Function at 0x4244a0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x463960
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478ec8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
lea ecx, [esp + 0x1c]
call fcn.00417f60
mov esi, dword [esp + 0x44]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x3c], edi
jne 0x4244e7
xor eax, eax
jmp 0x4244fb
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4244f0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00419ae0
mov eax, dword [esp + 0x18]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
mov ebx, eax
push edi
neg ebx
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
sbb ebx, ebx
push closesocket
add ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4246cf
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
push str.Sources
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.00417f60
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x48], 2
call fcn.004240a0
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x3c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4245a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x424689
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp edi, eax
jbe 0x4245c3
call fcn.00441c3e
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
mov ebp, eax
jbe 0x4245d4
call fcn.00441c3e
mov eax, dword [esp + 0x2c]
cmp edi, ebp
je 0x424634
test esi, esi
jne 0x424638
cmp edi, eax
jb 0x4245e5
call fcn.00441c3e
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x42462a
mov eax, dword [edi]
push ecx
push eax
call fcn.00441057
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x424614
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00424040
mov eax, dword [esp + 0x2c]
cmp edi, eax
jb 0x424625
call fcn.00441c3e
mov eax, dword [esp + 0x2c]
add edi, 4
jmp 0x4245c3
push 0x80004005
call fcn.00401580
test esi, esi
je 0x424687
push str.Sources
lea ecx, [esp + 0x48]
call fcn.00417f60
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x48], 3
call fcn.00423e00
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x3c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424687
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
cmp eax, edi
mov byte [esp + 0x3c], 0
je 0x4246c3
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00416830
mov eax, dword [esp + 0x38]
push eax
call fcn.00440ac8
add esp, 0x14
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4246f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret