Function at 0x40815d
Capabilities:
Check if file exists
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x48
call fcn.00413e71
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x18
call fcn.00413e71
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4081d3
push eax
mov ebx, eax
call fcn.00401030
inc eax
push eax
call fcn.00413e71
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4081e4
push ebx
call fcn.00413e6b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40820a
push 6
call fcn.00413e7d
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4082f4
push 0x440283
push dword [ebp - 4]
call fcn.00402738
add esp, 8
cmp eax, 0
jne 0x40823a
mov eax, 0
jmp 0x408933
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x442899
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40826b
mov eax, 0x440283
push eax
push 4
mov ebx, 0x14c
call fcn.004148b0
add esp, 0x34
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
call fcn.00403fa8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4082c1
mov eax, 0x440283
push eax
push 3
mov ebx, 0x13c
call fcn.004156e0
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4082eb
push ebx
call fcn.00413e6b
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4081e8
push 0x440283
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00402738
add esp, 8
cmp eax, 0
jne 0x408338
lea eax, [ebp - 4]
push eax
call fcn.004089af
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40832f
push ebx
call fcn.00413e6b
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40836b
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x408356
push eax
mov ebx, eax
call fcn.00401030
inc eax
push eax
call fcn.00413e71
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408367
push ebx
call fcn.00413e6b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x44
call fcn.00413e71
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40845b
push 6
call fcn.00413e7d
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov edi, dword [ebp - 0x20]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00402701
call fcn.00402701
call fcn.00402701
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00413e6b
add esp, 4
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov eax, 0x440283
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408532
push ebx
call fcn.00413e6b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
cmp dword [ebp + 0x28], 0
jne 0x408549
mov dword [ebp + 0x1c], 0
cmp dword [ebp + 0x34], 0
jle 0x4086ab
cmp dword [0x44543d], 0
jne 0x408688
mov ebx, dword [0x445431]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, 0x4429af
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004023fb
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40859f
push ebx
call fcn.00413e6b
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call fcn.00408bd0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4085c0
push ebx
call fcn.00413e6b
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [0x44543d], eax
cmp dword [0x44543d], 0
je 0x4085fd
push 0x80000006
push 0
push 0x4104e1
push 1
mov ebx, 0x9dc
call fcn.004153c0
add esp, 0x10
mov dword [0x445441], eax
jmp 0x408688
mov ebx, dword [0x445431]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, 0x4429c8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004023fb
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40863c
push ebx
call fcn.00413e6b
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call fcn.00408bd0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40865d
push ebx
call fcn.00413e6b
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [0x44543d], eax
push 0x80000006
push 0
push 0x4105d5
push 1
mov ebx, 0x9dc
call fcn.004153c0
add esp, 0x10
mov dword [0x445441], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push 1
push dword [ebp + 0x34]
push dword [0x445441]
push dword [0x44543d]
call fcn.00408bef
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov eax, dword [ebp - 0xc]
push eax
push 0x44
call fcn.00413e71
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 8]
push 0
push 4
push 0
push 0
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4087c6
push 6
call fcn.00413e7d
add esp, 4
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov edi, dword [ebp - 0x20]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00402701
call fcn.00402701
call fcn.00402701
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00413e6b
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x34], 0
jle 0x408896
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0040b6c5
cmp dword [ebp - 0x14], 0
je 0x40892b
push 0x440283
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402738
add esp, 8
cmp eax, 0
je 0x4088e2
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push 1
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push dword [ebp + 0x2c]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call fcn.0040b752
cmp dword [ebp + 0x1c], 0
jne 0x4088fe
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call fcn.0040e7b9
cmp dword [ebp + 0x28], 0
jne 0x40892b
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
call fcn.0040d1ed
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
call fcn.0040d1ed
mov eax, dword [ebp - 0x14]
jmp 0x408933
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408944
push ebx
call fcn.00413e6b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408954
push ebx
call fcn.00413e6b
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40896b
push ebx
call fcn.00413e6b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40897f
push ebx
call fcn.00413e6b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408993
push ebx
call fcn.00413e6b
add esp, 4
pop ebx
call fcn.00413e6b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00413e6b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x34