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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00446480
push 0xffffffffffffffff
push 0x466967
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2214]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x2218]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x221c]
mov dword [ebp - 0x14], eax
call fcn.00407325
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00403574
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004163f3
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
test eax, eax
jle 0x416849
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4168eb
push 0x206
lea eax, [ebp + 0x2002]
push esi
push eax
mov word [ebp + 0x2000], si
call fcn.004456a0
mov edi, dword [edi + 0x3c]
add esp, 0xc
push 0x104
push edi
lea eax, [ebp + 0x2000]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea eax, [ebp + 0x2000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.urltest.exe
lea eax, [ebp + 0x2000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x2000]
push eax
call fcn.004163ab
cmp eax, esi
pop ecx
jne 0x4168dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040359a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.00445f93
add ebp, 0x220c
leave
ret
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409002
push 0x40
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.004456a0
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1ffe
stosd dword es:[edi], eax
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 0x78], 0x44
mov word [ebp - 0x48], si
mov word [ebp], si
call fcn.004456a0
add esp, 0x18
cmp dword [ebp - 0x18], esi
je 0x416938
push dword [ebp - 0x18]
call ebx
test eax, eax
mov dword [ebp - 0x24], 1
jg 0x41693b
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x1c], esi
je 0x416950
push dword [ebp - 0x1c]
call ebx
test eax, eax
mov dword [ebp - 0x20], 1
jg 0x416953
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x14], esi
mov edi, 0x46d1ac
je 0x416972
push dword [ebp - 0x14]
call ebx
test eax, eax
jle 0x416972
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x14], str._TURL
jmp 0x416977
mov ebx, edi
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x20], esi
mov edx, dword [ebp - 0x1c]
jne 0x41698f
mov edx, edi
mov ecx, edi
cmp dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
jne 0x416996
mov eax, edi
jmp 0x41699b
mov ecx, str._SubURL
jmp 0x416983
mov edi, str._URL
push ebx
push dword [ebp - 0x14]
push edx
push ecx
push eax
push edi
push dword [ebp - 0x10]
lea eax, [ebp]
push str.__s___s_s__s_s__s_s
push eax
call fcn.004149f7
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x48aef0], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x4000
push 1
push esi
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
inc esi
jmp 0x4168ab