Function at 0x43ffa7
Capabilities:
Accept command line arguments
Create process on windows
Read file via mapping
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xc], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [esp + 8], 0x105
lea edx, [ebp - 0x129]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call eax
sub esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4403bf
cmp dword [ebp - 0x14], 0x104
ja 0x4403bf
mov dword [ebp - 0x138], 0xc
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
call eax
sub esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4403c2
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
lea eax, [ebp - 0x184]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x184], 0x44
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call eax
lea edx, [ebp - 0x194]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x184]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x129]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x440343
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.0043fdff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x10c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov dword [esp], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call eax
sub esp, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0xc], 0
je 0x44017d
cmp dword [ebp - 0x20], 0xb7
jne 0x440189
mov dword [ebp - 0x10], 0
jmp 0x440347
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
call eax
sub esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4401ce
mov dword [ebp - 0x10], 0
jmp 0x440347
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call eax
sub esp, 4
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ResumeThread]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x440222
mov eax, dword [ebp - 0x194]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
jmp 0x440347
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x13c], eax
mov dword [esp + 0xc], 0x493e0
mov dword [esp + 8], 0
lea eax, [ebp - 0x140]
mov dword [esp + 4], eax
mov dword [esp], 2
mov eax, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call eax
sub esp, 0x10
test eax, eax
sete al
and eax, 0xff
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x440346
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
call eax
sub esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4402be
mov dword [ebp - 0x10], 0
jmp 0x440347
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 4]
test al, al
je 0x4402f3
mov eax, dword [ebp - 0x24]
add eax, 5
mov dword [esp + 8], 0x105
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memchr
test eax, eax
jne 0x4402f3
mov dword [ebp - 0x10], 0
jmp 0x440347
mov eax, dword [ebp - 0x18c]
mov dword [esp + 4], eax
mov dword [esp], str.Continuing_in_background__pid__lu._n
call fcn.0047edf1
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 4]
test al, al
je 0x440331
mov eax, dword [ebp - 0x24]
add eax, 5
mov dword [esp], eax
call fcn.00461905
mov dword [esp + 4], eax
mov dword [esp], str.Output_will_be_written_to__s._n
call fcn.0047edf1
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call eax
sub esp, 4
jmp 0x440347
nop
jmp 0x440347
nop
cmp dword [ebp - 0x18], 0
je 0x44035d
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0xc], 0
je 0x440373
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x440390
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x194]
test eax, eax
je 0x4403ad
mov eax, dword [ebp - 0x194]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x10], 0
je 0x4403c3
mov dword [esp], 0
call sub.msvcrt.dll_exit
nop
jmp 0x4403c3
nop
leave
ret