Function at 0x424c00
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c688
push 0x42879a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b4
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, 0x378
mov dword [ebp - 0x398], edi
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x424c6c
mov eax, 0xfffffcdd
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x394]
push ecx
push ebx
push ebx
push str.PackedCatalogItem
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x424f16
cmp dword [ebp - 0x398], edi
jne 0x424f16
lea eax, [ebp - 0x290]
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x268], 1
jne 0x424da7
cmp dword [ebp - 0x244], 2
jne 0x424da7
mov ecx, dword [ebp - 0x26c]
push ecx
push 0x474840
lea edx, [ebp - 0x3b4]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
cmp dword [ebp + 0x14], ebx
je 0x424dca
push 1
push str.SYSTEMCurrentControlSetServicesWinSock2XSTUDIO_TCPIPDOG
push reloc.WS2_32.dll_bind
push 0x104
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x3b4]
push ecx
mov ecx, esi
call fcn.00424f50
test eax, eax
je 0x424da7
lea edx, [ebp - 0x394]
push edx
lea eax, [ebp - 0x4b8]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x424da7
push 1
push str.SYSTEMCurrentControlSetServicesWinSock2XSTUDIO_TCPIPDOG
push reloc.WS2_32.dll_bind
push 0x104
lea ecx, [ebp - 0x4b8]
push ecx
push str.PathName
mov ecx, esi
call fcn.00424f50
test eax, eax
je 0x424da7
lea edi, [ebp - 0x4b8]
lea edx, [ebp - 0x394]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x398]
push ecx
lea edx, [ebp - 0x394]
push edx
push 3
push ebx
push str.PackedCatalogItem
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x10], ebx
push 1
push str.SYSTEMCurrentControlSetServicesWinSock2XSTUDIO_TCPIPDOG
push reloc.WS2_32.dll_bind
jne 0x424ea2
lea edi, [ebp - 0x394]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea edx, [ebp - 0x394]
push edx
lea eax, [ebp - 0x3b4]
push eax
mov ecx, esi
call fcn.00425010
test eax, eax
jne 0x424e2f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov eax, 0xfffffcda
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x394]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x398]
push ecx
lea edx, [ebp - 0x394]
push edx
push 3
push ebx
push str.PackedCatalogItem
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x424da7
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov eax, 0xfffffcd9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x104
lea edx, [ebp - 0x5c0]
push edx
lea eax, [ebp - 0x3b4]
push eax
mov ecx, esi
call fcn.00424f50
mov dword [ebp - 0x4bc], eax
lea edi, [ebp - 0x5c0]
lea edx, [ebp - 0x394]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x398]
push ecx
lea edx, [ebp - 0x394]
push edx
push 3
push ebx
push str.PackedCatalogItem
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x4bc], eax
jmp 0x424da7
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov eax, 0xfffffcdb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10