Function at 0x44ba40
Capabilities:
Create process on windows
Persist via run registry key
Print debug messages
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a7fb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
mov ebx, ecx
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x30], eax
jne 0x44baa0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x44baa0
xor eax, eax
jmp 0x44bd1f
mov edi, 7
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebp
mov word [esp + 0xbc], bp
push ebx
mov byte [esp + 0xe8], 1
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebp
mov word [esp + 0xa0], bp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x44bb02
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0xa4]
call fcn.00406d50
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0xa0]
mov esi, 8
cmp dword [esp + 0xb4], esi
jae 0x44bb43
lea eax, [esp + 0xa0]
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44bd47
mov edi, str.__regserver
mov ecx, ebx
call fcn.0044ad60
cmp eax, 1
je 0x44be41
push 1
push 0x4b53e0
lea esi, [esp + 0x88]
call fcn.00406d50
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x44bb84
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x88]
call fcn.00408260
push 1
push 0x4b53e0
lea ecx, [esp + 0x88]
call fcn.00408260
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x88]
lea ecx, [esp + 0xc0]
call fcn.00406430
mov esi, 8
mov edi, 7
cmp dword [esp + 0xb4], esi
mov eax, dword [esp + 0xa0]
jae 0x44bbeb
lea eax, [esp + 0xa0]
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44bc24
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x88]
call fcn.00406430
push 0xb
push str.__regserver
lea ecx, [esp + 0x88]
call fcn.00408260
lea edx, [esp + 0x1c]
push edx
push 0xf003f
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44bc8d
cmp dword [esp + 0x98], esi
mov ecx, dword [esp + 0x84]
jae 0x44bc5a
lea ecx, [esp + 0x84]
cmp dword [esp + 0xd0], esi
mov eax, dword [esp + 0xbc]
jae 0x44bc71
lea eax, [esp + 0xbc]
mov edx, dword [esp + 0x94]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebp
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x44bca3
mov byte [eax], 1
cmp dword [esp + 0xb4], esi
jb 0x44bcbc
mov edx, dword [esp + 0xa0]
push edx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0xd0], esi
mov word [esp + 0xa0], bp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], edi
jb 0x44bceb
mov eax, dword [esp + 0xbc]
push eax
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x98], esi
mov word [esp + 0xbc], bp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], edi
jb 0x44bd1a
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004692b1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00483bf3
add esp, 0xd4
ret
call fcn.004560b0
call fcn.00456260
push 1
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x88]
push edx
mov ecx, ebx
call fcn.0044be50
add esp, 0xc
push 0x44
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.0048a580
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x98], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x18], 0x63
jae 0x44bdb6
lea eax, [esp + 0x84]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
push ebp
push 0x20
push ebp
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44be28
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x18], ebp
je 0x44be14
cmp dword [esp + 0x98], esi
mov eax, dword [esp + 0x84]
jae 0x44be0d
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [esp + 0x20]
push ecx
call ebx
call fcn.004560b0
call fcn.004562f0
cmp dword [esp + 0x18], ebp
jne 0x44bbd4
jmp 0x44bca3
mov edi, 7
jmp 0x44bca3