Function at 0x4cb230
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4cb8cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x20
jne 0x4cb31c
xor eax, eax
push ebp
push 0x4cb2ad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cb8ec
push 0x4cb90c
mov ecx, dword [0x4d8c3c]
mov dl, 1
mov eax, dword [0x42c3c4]
call fcn.00437c0c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3dc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb2c2
xor eax, eax
push ebp
push 0x4cb302
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cb920
push 0x4cb944
mov ecx, dword [0x4d8c3c]
mov dl, 1
mov eax, dword [0x42c3c4]
call fcn.00437c0c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3e0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb3c0
xor eax, eax
push ebp
push 0x4cb359
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cb958
push 0x4cb90c
mov ecx, dword [0x4d8c3c]
mov dl, 1
mov eax, dword [0x42c3c4]
call fcn.00437c0c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3e4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb36e
xor eax, eax
push ebp
push 0x4cb3ab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cb984
push 0x4cb9a0
mov ecx, dword [0x4d8c3c]
mov dl, 1
mov eax, dword [0x42c3c4]
call fcn.00437c0c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3ec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb3c0
xor eax, eax
push ebp
push 0x4cb3fd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cb9b4
push 0x4cb9a0
mov ecx, dword [0x4d8c3c]
mov dl, 1
mov eax, dword [0x42c3c4]
call fcn.00437c0c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3f0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb412
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3f4]
call fcn.004085a8
test eax, eax
jl 0x4cb4a1
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x4d58e0
xor eax, eax
push ebp
push 0x4cb47a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push eax
push 0x4cb9dc
mov ecx, dword [0x4d8c3c]
mov dl, 1
mov eax, dword [0x42c3c4]
call fcn.00437c0c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3f4]
mov ecx, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb495
inc dword [ebp - 0x18]
add dword [ebp - 0x20], 4
dec dword [ebp - 0x1c]
jne 0x4cb436
mov eax, dword [ebp - 0xc]
call fcn.004cae80
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4cb5d5
cmp dword [ebp - 0x14], 6
jl 0x4cb59e
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x3b0]
mov eax, ebx
dec eax
sub eax, 2
jae 0x4cb4dd
lea eax, [ebp - 4]
mov edx, 0x4cb9f0
call fcn.00406fa0
jmp 0x4cb4ea
lea eax, [ebp - 4]
mov edx, 0x4cba44
call fcn.00406fa0
dec ebx
sub ebx, 2
jae 0x4cb4ff
lea eax, [ebp - 8]
mov edx, 0x4cba8c
call fcn.00406fa0
jmp 0x4cb50c
lea eax, [ebp - 8]
mov edx, 0x4cbb20
call fcn.00406fa0
cmp dword [ebp - 0x14], 7
jl 0x4cb563
push 0x40033
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0047f0fc
mov eax, dword [ebp - 0x24]
call fcn.00406fd8
push eax
mov eax, dword [ebp - 8]
call fcn.00406fd8
mov edx, eax
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
pop ecx
call fcn.004aeec8
mov esi, eax
cmp esi, 2
je 0x4cb89c
cmp esi, 6
jne 0x4cb5a8
call fcn.004c69e8
push 0x1f4
call sub.KERNEL32.DLL_Sleep
jmp 0x4cb5a8
push 0x40035
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0047f0fc
mov eax, dword [ebp - 0x28]
call fcn.00406fd8
push eax
mov eax, dword [ebp - 4]
call fcn.00406fd8
mov edx, eax
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
pop ecx
call fcn.004aeec8
cmp eax, 2
je 0x4cb89c
jmp 0x4cb5a8
push 0x1f4
call sub.KERNEL32.DLL_Sleep
xor eax, eax
push ebp
push 0x4cb5cb
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004cae80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cb5d5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3dc], 0
je 0x4cb5f7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c0]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3e0], 0
je 0x4cb619
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c4]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3e0], 0
je 0x4cb63b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d4]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3e4], 0
je 0x4cb65d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c8]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3e8], 0
je 0x4cb67f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3cc]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3ec], 0
je 0x4cb6a1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d0]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3b8]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3bc]
call fcn.00413260
test al, al
jne 0x4cb4b3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3dc]
test eax, eax
je 0x4cb6e8
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3c0]
call fcn.004379c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3e0]
test eax, eax
je 0x4cb703
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3c4]
call fcn.004379c0
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x3e0]
test ebx, ebx
je 0x4cb72c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3d4], 0
je 0x4cb72c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3d4]
mov eax, ebx
call fcn.004379c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3e4]
test eax, eax
je 0x4cb747
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3c8]
call fcn.004379c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3e8]
test eax, eax
je 0x4cb762
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3cc]
call fcn.004379c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ec]
test eax, eax
je 0x4cb77d
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3d0]
call fcn.004379c0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3f0], 0
je 0x4cb84c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d8]
call fcn.00413260
test al, al
jne 0x4cb84c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3d8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3f0]
call fcn.004379c0
push 0x4cbb50
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d8]
call fcn.00406fd8
push eax
push 0x4cbb78
push 0x4cbb84
call sub.KERNEL32.DLL_WritePrivateProfileStringW
push 0x4cbb50
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d8]
call fcn.00406fd8
push eax
push 0x4cbb94
push 0x4cbb84
call sub.KERNEL32.DLL_WritePrivateProfileStringW
push 0x4cb9b4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d8]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x4cbba8
mov edx, 0x80000002
mov al, 1
call fcn.004c6e70
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3d8]
call fcn.00406fd8
push eax
push 0x4cbc08
mov eax, dword [ebp - 0xc]
call fcn.00487fdc
push eax
call sub.shell32.dll_ShellExecuteW
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3f4]
call fcn.004085a8
test eax, eax
jl 0x4cb898
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3f4]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4cb890
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3f8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edx + ecx*4]
call fcn.004379c0
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x4cb869
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb8d3
lea eax, [ebp - 0x2c]
call fcn.00406f3c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00406f44
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f44
ret