Function at 0x4195d0
Capabilities:
Create process on windows
Read file on windows

Disassembly:
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x208]
lea eax, [esp + 0x170]
xor ebp, ebp
push eax
push edi
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call fcn.00419900
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x419623
mov eax, dword [esp + 0x200]
mov esi, 1
push eax
push edi
push ebp
call fcn.00419b70
add esp, 0xc
mov edi, eax
jmp 0x4196d7
lea ecx, [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x78]
push 0xff
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4198c6
mov eax, dword [esp + 0x14]
cmp eax, 2
jb 0x4198c6
cmp byte [esp + 0x70], 0x23
jne 0x4196b1
cmp byte [esp + 0x71], 0x21
jne 0x4196b1
mov byte [esp + eax + 0x70], 0
lea eax, [esp + 0x70]
push 0xa
push eax
call fcn.0041a870
add esp, 8
cmp eax, ebp
je 0x419678
mov byte [eax], 0
lea ecx, [esp + 0x70]
push 0xd
push ecx
call fcn.0041a870
add esp, 8
cmp eax, ebp
je 0x41968e
mov byte [eax], 0
lea edx, [esp + 0x70]
push 0x2f
push edx
call fcn.0041aa10
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x4196ad
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4196b8
lea ebx, [esp + 0x72]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x200]
lea edx, [esp + 0x178]
push ecx
push edx
push ebx
call fcn.00419b70
mov esi, dword [esp + 0x24]
add esp, 0xc
mov edi, eax
cmp edi, ebp
jne 0x4196fa
mov eax, dword [esp + 0x1fc]
pop edi
pop esi
mov dword [eax + 0x40], ebp
mov dword [eax + 0x44], 0x67
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1e8
ret
mov eax, dword [esp + 0x204]
cmp eax, ebp
je 0x41973f
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0041a060
add esp, 8
test eax, eax
jne 0x41973f
mov eax, dword [esp + 0x1fc]
push edi
mov dword [eax + 0x40], ebp
mov dword [eax + 0x44], 0x67
call fcn.0041a198
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e8
ret
cmp ebx, ebp
jne 0x41974e
cmp esi, ebp
jne 0x41974e
lea ebp, [esp + 0x178]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor ecx, ecx
mov dword [esp + 0x58], 0x100
cmp ebx, ecx
mov dword [esp + 0x30], ecx
mov word [esp + 0x5e], cx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], ebx
jne 0x41977c
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x1fc]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20c]
cmp eax, ecx
mov dword [esp + 0x68], edx
je 0x4197c6
mov eax, dword [esp + 0x10]
cmp eax, ecx
je 0x4198e4
push eax
call fcn.0041a198
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e8
ret
test byte [0x432060], 4
je 0x4197f5
cmp ebp, ecx
mov eax, ebp
jne 0x4197da
mov eax, str.NULL
push edi
push eax
push str.CreateProcess__s__s_...__n
call fcn.0041a948
push 0x42ea10
call fcn.0041b104
add esp, 0x10
xor ecx, ecx
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push ecx
push 1
push ecx
push ecx
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41986b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebp, ebp
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0x68
jne 0x41982f
mov ebp, str.NULL
push edi
push ebp
push str.process_begin:_CreateProcess__s___s__...__failed._n
push 0x42ea30
call fcn.0041b0c8
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x419854
push eax
call fcn.0041a198
add esp, 4
push edi
call fcn.0041a198
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e8
ret
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [esi + 0x34], eax
call ebx
mov edx, dword [esi + 4]
push edx
call ebx
mov eax, dword [esi + 0xc]
push eax
call ebx
mov ecx, dword [esi + 0x14]
push ecx
call ebx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
call fcn.0041a198
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
je 0x4198b6
push eax
call fcn.0041a198
add esp, 4
mov dword [esi + 0x44], ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1fc]
push esi
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], 0x66
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1e8
ret