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

Disassembly:
push 0x10c
mov eax, 0x5dec95
call fcn.004c2889
mov dword [ebp - 0xac], edx
mov ebx, ecx
mov dword [ebp - 0xa4], ebx
lea edi, [ebx + 0x78]
cmp dword [edi + 0x14], 0x10
jb 0x46f217
mov eax, dword [edi]
jmp 0x46f219
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46f610
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00419460
mov esi, eax
xor ebx, ebx
lea ecx, [ebp - 0xa0]
push 7
mov edx, 0x6176f0
mov dword [ebp - 4], ebx
call fcn.0046b4e6
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00420060
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.00419460
mov esi, eax
push 0xb
mov edx, 0x617710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0046b4e6
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.00420060
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, 0x617704
lea ecx, [ebp - 0x7c]
call fcn.0046b4e6
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0xa4]
mov edx, eax
push esi
call fcn.0046fd8d
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 0x46f36e
lea eax, [esi + 0x18]
mov edx, 0x620520
push eax
lea ecx, [ebp - 0x58]
call fcn.00433700
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.0046cb57
mov edx, edi
mov dword [esp], 0x620520
lea ecx, [ebp - 0x7c]
call fcn.004414f0
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.0046fd8d
pop ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00411380
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.0050b930
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 0x623a2c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00411290
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 0x46f44a
lea eax, [edi + 1]
push eax
push ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x78]
call fcn.00411250
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00411380
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004051e0
cmp dword [ebp - 0x30], 0
jne 0x46f454
mov ecx, ebx
jmp 0x46f45f
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 0x46f4a0
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 0x46f5f8
push 0xa3bd90
lea ecx, [ebp - 0xbc]
call fcn.00404f90
push ebx
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0xa0]
call fcn.00419480
pop ecx
mov ecx, dword [ebp - 0xac]
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
call fcn.00485a89
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.0046fd35
mov edi, 0x76c
test eax, eax
je 0x46f53f
mov esi, dword [eax + 0x14]
add esi, edi
jmp 0x46f541
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fd35
test eax, eax
je 0x46f55e
mov eax, dword [eax + 0x14]
add eax, edi
jmp 0x46f560
mov eax, ebx
cmp esi, eax
jne 0x46f5f8
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0046fd35
test eax, eax
je 0x46f581
mov esi, dword [eax + 0x10]
inc esi
jmp 0x46f583
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fd35
test eax, eax
je 0x46f59f
mov eax, dword [eax + 0x10]
inc eax
jmp 0x46f5a1
mov eax, ebx
cmp esi, eax
jne 0x46f5f8
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0046fd35
test eax, eax
je 0x46f5bd
mov esi, dword [eax + 0xc]
jmp 0x46f5bf
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fd35
test eax, eax
je 0x46f5d8
mov ebx, dword [eax + 0xc]
cmp esi, ebx
jne 0x46f5f8
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 0x46f612
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.004c2833
ret