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

Disassembly:
push 0x10c
mov eax, 0x5dec8b
call fcn.004c299a
mov dword [ebp - 0xac], edx
mov ebx, ecx
mov dword [ebp - 0xa4], ebx
lea edi, [ebx + 0x78]
cmp dword [edi + 0x14], 0x10
jb 0x46f342
mov eax, dword [edi]
jmp 0x46f344
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46f73b
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00419930
mov esi, eax
xor ebx, ebx
lea ecx, [ebp - 0xa0]
push 7
mov edx, 0x6176dc
mov dword [ebp - 4], ebx
call fcn.0046b613
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00420f80
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00405680
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00405680
push dword [ebp - 0xac]
lea eax, [ebp - 0x58]
push eax
call fcn.00419930
mov esi, eax
push 0xb
mov edx, 0x6176e4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0046b613
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.00420f80
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004066a0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.00405680
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00405680
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00405680
push 9
mov edx, 0x6176b0
lea ecx, [ebp - 0x7c]
call fcn.0046b613
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0xa4]
mov edx, eax
push esi
call fcn.0046feb8
pop ecx
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.004066a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00405680
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00405680
cmp dword [esi + 0x28], ebx
je 0x46f499
lea eax, [esi + 0x18]
mov edx, 0x620504
push eax
lea ecx, [ebp - 0x58]
call fcn.00433bf0
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004066a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00405680
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ebx
call fcn.0046cc82
mov edx, edi
mov dword [esp], 0x620504
lea ecx, [ebp - 0x7c]
call fcn.004419e0
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.0046feb8
pop ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00411840
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00405680
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00405680
push 0x44
pop esi
push esi
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.0050ba40
xor eax, eax
mov dword [ebp - 0x118], esi
mov esi, dword [ebp - 0xa4]
lea edi, [ebp - 0xcc]
stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esi + 0x78]
stosd dword es:[edi], eax
push 0xffffffffffffffff
push 0x623a14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00411750
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
push ebx
mov edi, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
call fcn.00406d00
mov byte [ebp - 4], 0xd
cmp edi, 0xffffffff
je 0x46f575
lea eax, [edi + 1]
push eax
push ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x78]
call fcn.00411710
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00411840
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.00405680
cmp dword [ebp - 0x30], 0
jne 0x46f57f
mov ecx, ebx
jmp 0x46f58a
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0xcc]
push edx
lea edx, [ebp - 0x118]
push edx
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x46f5cb
push dword [ebp - 0xc8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xcc]
call esi
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0xa3b5a0], 0
je 0x46f723
push 0xa3b590
lea ecx, [ebp - 0xbc]
call fcn.00405430
push ebx
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0xa0]
call fcn.00419950
pop ecx
mov ecx, dword [ebp - 0xac]
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
call fcn.00485bb5
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.004054e0
push ebx
call fcn.00512d8b
pop ecx
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x64]
mov dword [ebp - 0xa8], esi
push eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xb0], edx
call fcn.0046fe60
mov edi, 0x76c
test eax, eax
je 0x46f66a
mov esi, dword [eax + 0x14]
add esi, edi
jmp 0x46f66c
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fe60
test eax, eax
je 0x46f689
mov eax, dword [eax + 0x14]
add eax, edi
jmp 0x46f68b
mov eax, ebx
cmp esi, eax
jne 0x46f723
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0046fe60
test eax, eax
je 0x46f6ac
mov esi, dword [eax + 0x10]
inc esi
jmp 0x46f6ae
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fe60
test eax, eax
je 0x46f6ca
mov eax, dword [eax + 0x10]
inc eax
jmp 0x46f6cc
mov eax, ebx
cmp esi, eax
jne 0x46f723
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0046fe60
test eax, eax
je 0x46f6e8
mov esi, dword [eax + 0xc]
jmp 0x46f6ea
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fe60
test eax, eax
je 0x46f703
mov ebx, dword [eax + 0xc]
cmp esi, ebx
jne 0x46f723
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00405680
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405680
mov al, 1
jmp 0x46f73d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00405680
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405680
xor al, al
call fcn.004c2944
ret