Function at 0x45f750
Capabilities:
Delete registry key
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x485f50]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x130], ecx
mov eax, dword [str.SYSTEMCurrentControlSetServicesEventLogApplication_]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043c650
add esp, 8
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043c660
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea edx, [ebp - 0x110]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [str.SYSTEMCurrentControlSetServicesEventLogApplication_]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45f997
lea edx, [ebp - 0x114]
push edx
push 0
push 0
push 0
push 0x476170
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45f98d
mov ecx, dword [ebp - 0x114]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x114]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x118]
push edx
push 0
push 0x476178
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45f973
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], 0
jmp 0x45f8ad
mov eax, dword [ebp - 0x124]
push eax
call fcn.0043c770
add esp, 4
mov ecx, dword [ebp - 0x124]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
movsx ecx, byte [eax]
test ecx, ecx
je 0x45f941
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.004091c0
add esp, 8
test eax, eax
je 0x45f912
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0043c650
add esp, 8
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.0043c770
add esp, 4
mov edx, dword [ebp - 0x12c]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x12c], eax
jmp 0x45f93c
mov dword [ebp - 0x128], 1
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.0043c770
add esp, 4
add eax, 1
mov edx, dword [ebp - 0x114]
sub edx, eax
mov dword [ebp - 0x114], edx
jmp 0x45f88e
cmp dword [ebp - 0x128], 0
je 0x45f973
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x118]
push edx
push 0
push str.Sources
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043c3a4
mov esp, ebp
pop ebp
ret