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

Disassembly:
push 0xf0
mov eax, 0x49a5a2
call fcn.0043525d
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
call fcn.00401eac
and dword [ebp - 4], 0
mov ecx, eax
call fcn.004023f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
push 0
push 1
mov esi, eax
call fcn.004012eb
test esi, esi
jne 0x4138b3
xor al, al
jmp 0x413afb
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x28]
call fcn.00401eac
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004176ee
push eax
lea ecx, [ebp - 0x28]
call fcn.00401bc5
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004012eb
push dword [ebp - 0xa8]
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00416998
pop ecx
test al, al
je 0x413aa8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413aa8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.00403eb9
mov byte [ebp - 4], 4
cmp dword [edi + 0x10], 0
je 0x41397e
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00401eac
push eax
mov edx, 0x4b1e84
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00406878
pop ecx
push 0xffffffffffffffff
xor ebx, ebx
mov byte [ebp - 4], 6
push ebx
push eax
lea ecx, [ebp - 0x88]
call fcn.0040554f
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004012eb
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004012eb
jmp 0x413980
xor ebx, ebx
push 0x44
pop edi
push edi
lea eax, [ebp - 0xfc]
push ebx
push eax
call fcn.00437ab0
mov dword [ebp - 0xfc], edi
lea ecx, [ebp - 0x28]
xor eax, eax
lea edi, [ebp - 0xb8]
stosd dword es:[edi], eax
add esp, 4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00413cf8
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], cx
mov byte [ebp - 4], 7
cmp eax, 0xffffffff
je 0x4139fd
inc eax
lea ecx, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
call fcn.0040dfe3
push eax
lea ecx, [ebp - 0x58]
call fcn.00401bc5
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004012eb
cmp dword [ebp - 0x48], 0
je 0x4139fd
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
jmp 0x4139ff
mov ecx, ebx
cmp dword [ebp - 0x74], 8
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0xfc]
push edx
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x413a73
push str.ZXhlY3V0ZS1mYWlsdXJl
lea ecx, [ebp - 0x70]
call fcn.00401aca
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.00403408
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004012eb
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004012eb
jmp 0x413a8b
push dword [ebp - 0xb8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb4]
call esi
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004012eb
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.004012eb
jmp 0x413aed
push str.ZG93bmxvYWQtZmFpbHVyZQ
lea ecx, [ebp - 0x70]
call fcn.00401aca
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00403408
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004012eb
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.004012eb
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004012eb
mov al, bl
call fcn.00435207
ret 0x14