Function at 0x401fa0
Capabilities:
Create process on windows
Persist via run registry key
Read .ini file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf90
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, dword [esp + 0xfa8]
push edi
call esi
test eax, eax
jg 0x401fcb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf90
ret
push edi
lea eax, [esp + 0x68c]
push 0x104
push eax
push 0x4117d0
push str.StatusMonitor
push str.LPRMonitor
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x688]
push ecx
call esi
test eax, eax
jle 0x402586
lea edx, [esp + 0x688]
push 0x40e6e8
push edx
mov byte [esp + 0xa0], 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x402586
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [esp + 0x7c]
push eax
call ebp
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x402586
lea ecx, [esp + 0x98]
push eax
push ecx
call ebp
lea edx, [esp + 0x98]
push edx
call esi
test eax, eax
jle 0x402586
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x402586
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x402586
push eax
lea eax, [esp + 0xdc]
push eax
call ebp
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x4020c0
lea ecx, [esp + 0xf8]
push eax
push ecx
call ebp
jmp 0x4020c8
mov byte [esp + 0xf8], 0
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x4020e8
lea edx, [esp + 0x178]
push eax
push edx
call ebp
jmp 0x4020f0
mov byte [esp + 0x178], 0
xor eax, eax
mov ax, word [0x412e54]
dec eax
cmp eax, 7
ja case.0x4020fe.7
jmp dword [eax*4 + 0x402598]
push str.Files9x
jmp 0x402129
lea ecx, [esp + 0x58]
push str.FilesNT
push ecx
jmp 0x40212e
lea edx, [esp + 0x58]
push str.FilesXP
push edx
jmp 0x40212e
push str.FilesX64
lea eax, [esp + 0x5c]
push eax
call ebp
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
xor edi, edi
push edi
lea ecx, [esp + 0xbc]
push str.File_03d
push ecx
call ebx
mov edx, dword [esp + 0xfb4]
add esp, 0xc
lea eax, [esp + 0x37c]
lea ecx, [esp + 0xb8]
push edx
push 0x104
push eax
push 0x4117d0
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x37c]
push eax
call esi
test eax, eax
jle 0x4021c9
lea ecx, [esp + 0x37c]
push 0x40e6e8
push ecx
call fcn.00407c02
add esp, 8
lea edx, [esp + 0x78]
mov ebp, eax
push edx
call esi
push eax
lea eax, [esp + 0x7c]
push ebp
push eax
call fcn.00407ca0
add esp, 0xc
test eax, eax
je 0x4021c3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc edi
jmp 0x402138
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x37c]
push ecx
call esi
test eax, eax
jg 0x4021e4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf90
ret
mov edx, dword [esp + 0xfa8]
lea eax, [esp + 0x37c]
push edx
push 0x104
push eax
lea ecx, [esp + 0xc4]
push 0x4117d0
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x37c]
push 0x40e6e8
push eax
call fcn.00407c02
add esp, 8
test eax, eax
jne 0x402235
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf90
ret
push 0x40e6e8
push 0
call fcn.00407c02
mov edi, eax
add esp, 8
test edi, edi
je 0x402322
push 1
push edi
lea ecx, [esp + 0x58c]
push 0x104
push ecx
call fcn.00406330
mov al, byte [edi]
add esp, 0x10
cmp al, 0x5c
jne 0x40229d
lea edx, [esp + 0xa94]
lea eax, [esp + 0x78c]
push edx
push eax
call ebp
lea ecx, [esp + 0x584]
lea edx, [esp + 0x78c]
push ecx
push 0x104
push edx
call fcn.00406200
add esp, 0xc
jmp 0x4022af
lea eax, [esp + 0x584]
lea ecx, [esp + 0x78c]
push eax
push ecx
call ebp
push 0x40e6e8
push 0
call fcn.00407c02
mov edi, eax
add esp, 8
test edi, edi
je 0x402334
push 1
push edi
lea edx, [esp + 0x58c]
push 0x104
push edx
call fcn.00406330
mov al, byte [edi]
add esp, 0x10
cmp al, 0x5c
jne 0x402310
lea eax, [esp + 0x480]
push 0x411b04
push eax
call ebp
lea ecx, [esp + 0x584]
lea edx, [esp + 0x480]
push ecx
push 0x104
push edx
call fcn.00406200
add esp, 0xc
jmp 0x402343
lea eax, [esp + 0x584]
lea ecx, [esp + 0x480]
push eax
push ecx
jmp 0x402341
lea eax, [esp + 0xa94]
lea ecx, [esp + 0x78c]
push eax
push ecx
call ebp
lea edx, [esp + 0x480]
push 0x411b04
push edx
call ebp
lea eax, [esp + 0x480]
lea ecx, [esp + 0x278]
push eax
push ecx
call ebp
lea edx, [esp + 0x78]
lea eax, [esp + 0x278]
push edx
push 0x104
push eax
call fcn.00406200
add esp, 0xc
lea ecx, [esp + 0xf8]
push ecx
call esi
test eax, eax
jg 0x402399
lea edx, [esp + 0x278]
lea eax, [esp + 0x1f8]
push edx
push 0x40e7f8
push eax
call ebx
add esp, 0xc
jmp 0x4023bb
lea ecx, [esp + 0xf8]
lea edx, [esp + 0x278]
push ecx
push edx
lea eax, [esp + 0x200]
push str._s__s
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x1f8]
push ecx
call esi
mov ebp, dword [esp + 0xfa4]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1fc]
push eax
lea edx, [esp + 0xe0]
push ecx
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
push ebp
mov dword [esp + 0x34], 1
call fcn.00401ac0
lea eax, [esp + 0xdb8]
lea ecx, [esp + 0xcb8]
push eax
lea edx, [esp + 0x9b4]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x2a0]
push eax
push ecx
call fcn.00407d8e
add esp, 0x30
lea edx, [esp + 0x994]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xb98]
push edx
push eax
push 0x40e7b8
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0xe9c]
lea eax, [esp + 0x278]
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jg 0x402478
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf90
ret
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0xb98]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x178]
lea ecx, [esp + 0x278]
push eax
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], str.open
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], 5
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0x8040
call esi
test eax, eax
jle 0x4024d8
lea ecx, [esp + 0x178]
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4024ff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0xfa8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esp + 0x68c]
push 0x104
push ecx
push 0x4117d0
push str.StatusMonitor
push str.LPRMonitor
call edi
lea edx, [esp + 0x688]
push edx
call esi
test eax, eax
jle 0x402586
push ebx
lea eax, [esp + 0x894]
push 0x104
push eax
push 0x4117d0
push str.UnInstLog
push str.UnInstLog
call edi
lea ecx, [esp + 0x890]
push ecx
call esi
test eax, eax
jle 0x402586
lea edx, [esp + 0x890]
lea eax, [esp + 0x688]
push edx
push eax
push str.StatusMonitor
push 0x40e7a0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf90
ret