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

Disassembly:
push 0x10c
mov eax, 0x5dec85
call fcn.004c281e
mov dword [ebp - 0xac], edx
mov ebx, ecx
mov dword [ebp - 0xa4], ebx
lea edi, [ebx + 0x78]
cmp dword [edi + 0x14], 0x10
jb 0x46f1a3
mov eax, dword [edi]
jmp 0x46f1a5
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46f59c
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00419470
mov esi, eax
xor ebx, ebx
lea ecx, [ebp - 0xa0]
push 7
mov edx, 0x6176d8
mov dword [ebp - 4], ebx
call fcn.0046b474
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00420080
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.004051e0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.004051e0
push dword [ebp - 0xac]
lea eax, [ebp - 0x58]
push eax
call fcn.00419470
mov esi, eax
push 0xb
mov edx, 0x6176f8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0046b474
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.00420080
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004061f0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.004051e0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.004051e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004051e0
push 9
mov edx, 0x6176ec
lea ecx, [ebp - 0x7c]
call fcn.0046b474
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0xa4]
mov edx, eax
push esi
call fcn.0046fd19
pop ecx
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.004061f0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.004051e0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.004051e0
cmp dword [esi + 0x28], ebx
je 0x46f2fa
lea eax, [esi + 0x18]
mov edx, 0x620530
push eax
lea ecx, [ebp - 0x58]
call fcn.00433720
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004061f0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004051e0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ebx
call fcn.0046cae3
mov edx, edi
mov dword [esp], 0x620530
lea ecx, [ebp - 0x7c]
call fcn.00441520
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.0046fd19
pop ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00411390
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.004051e0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.004051e0
push 0x44
pop esi
push esi
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.0050b8e0
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 0x623a3c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004112a0
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.00406850
mov byte [ebp - 4], 0xd
cmp edi, 0xffffffff
je 0x46f3d6
lea eax, [edi + 1]
push eax
push ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x78]
call fcn.00411260
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00411390
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004051e0
cmp dword [ebp - 0x30], 0
jne 0x46f3e0
mov ecx, ebx
jmp 0x46f3eb
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 0x46f42c
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 [0xa3bda0], 0
je 0x46f584
push 0xa3bd90
lea ecx, [ebp - 0xbc]
call fcn.00404f90
push ebx
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0xa0]
call fcn.00419490
pop ecx
mov ecx, dword [ebp - 0xac]
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
call fcn.00485a1d
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00405040
push ebx
call fcn.00512c7b
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.0046fcc1
mov edi, 0x76c
test eax, eax
je 0x46f4cb
mov esi, dword [eax + 0x14]
add esi, edi
jmp 0x46f4cd
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fcc1
test eax, eax
je 0x46f4ea
mov eax, dword [eax + 0x14]
add eax, edi
jmp 0x46f4ec
mov eax, ebx
cmp esi, eax
jne 0x46f584
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0046fcc1
test eax, eax
je 0x46f50d
mov esi, dword [eax + 0x10]
inc esi
jmp 0x46f50f
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fcc1
test eax, eax
je 0x46f52b
mov eax, dword [eax + 0x10]
inc eax
jmp 0x46f52d
mov eax, ebx
cmp esi, eax
jne 0x46f584
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0046fcc1
test eax, eax
je 0x46f549
mov esi, dword [eax + 0xc]
jmp 0x46f54b
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fcc1
test eax, eax
je 0x46f564
mov ebx, dword [eax + 0xc]
cmp esi, ebx
jne 0x46f584
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004051e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004051e0
mov al, 1
jmp 0x46f59e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004051e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004051e0
xor al, al
call fcn.004c27c8
ret