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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fc1b
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004c7190
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x103c], esi
mov dword [ebp - 0x1028], eax
test esi, esi
jne 0x4496b7
xor eax, eax
jmp 0x449b2a
cmp dword [0x58f238], 0
je 0x44976e
push str.ntdll.dll
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1018], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x449764
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44973b
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1020]
push ecx
lea ecx, [ebp - 0x101c]
push ecx
call eax
movzx eax, word [ebp - 0x1014]
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1018], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x1018], 0
je 0x449764
mov eax, dword [0x596868]
mov ecx, 1
cmp dword [ebp - 0x101c], 6
cmovae eax, ecx
mov dword [0x596868], eax
mov dword [0x58f238], 0
cmp dword [0x596868], 0
mov edi, dword [ebp + 0x18]
je 0x4499ce
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4499ce
test edi, edi
je 0x4497a2
push esi
call fcn.004de090
add esp, 4
test eax, eax
je 0x4499ce
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0
push eax
push str.seclogon
call fcn.0044c700
add esp, 8
test eax, eax
js 0x4499ce
cmp dword [ebp - 0x101c], 0
je 0x4499ce
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1018], 0
push eax
push str.seclogon
call fcn.0044c660
add esp, 8
test eax, eax
js 0x4499ce
cmp dword [ebp - 0x1018], 0
jne 0x44981b
push 0
push str.seclogon
call fcn.0044c560
add esp, 8
test eax, eax
js 0x4499ce
call fcn.0040c500
mov ecx, eax
test ecx, ecx
je 0x449b45
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 0x1024]
mov eax, 0x549970
test ecx, ecx
mov dword [ebp - 4], 0
cmovne eax, ecx
push eax
push esi
lea eax, [ebp - 0x1014]
push str._s__s
push eax
call fcn.00411a40
xorps xmm0, xmm0
mov dword [ebp - 0x1080], 0x44
xor eax, eax
movlpd qword [ebp - 0x107c], xmm0
add esp, 0x10
mov word [ebp - 0x103e], ax
mov eax, dword [ebp + 0x14]
xor edi, edi
movlpd qword [ebp - 0x1074], xmm0
movlpd qword [ebp - 0x106c], xmm0
movlpd qword [ebp - 0x1064], xmm0
movlpd qword [ebp - 0x105c], xmm0
movlpd qword [ebp - 0x104e], xmm0
movlpd qword [ebp - 0x1046], xmm0
movups xmmword [ebp - 0x1038], xmm0
mov dword [ebp - 0x1054], 0x81
mov word [ebp - 0x1050], ax
call fcn.00449470
mov esi, dword [ebp - 0x1014]
mov dword [ebp - 0x1020], eax
test eax, eax
je 0x44999e
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x44990d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x449992
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x449992
lea ecx, [ebp - 0x1038]
push ecx
lea ecx, [ebp - 0x1080]
push ecx
push 0
push 0
push 0
push esi
push 0
push 0
push dword [ebp - 0x1020]
call eax
test eax, eax
je 0x449992
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x449956
push eax
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x1028]
test edi, edi
je 0x449977
push edi
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x449977
mov dword [edi], 1
push dword [ebp - 0x1034]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1038]
call edi
mov edi, 1
push dword [ebp - 0x1020]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4499bd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x449b28
mov esi, dword [ebp - 0x103c]
mov edi, dword [ebp + 0x18]
cmp word [esi], 0
je 0x449b26
test edi, edi
je 0x4499ed
push esi
call fcn.004de090
add esp, 4
test eax, eax
je 0x449b26
xorps xmm0, xmm0
mov dword [ebp - 0x1080], 0x44
lea eax, [ebp - 0x1080]
movlpd qword [ebp - 0x107c], xmm0
push eax
movlpd qword [ebp - 0x1074], xmm0
movlpd qword [ebp - 0x106c], xmm0
movlpd qword [ebp - 0x1064], xmm0
movlpd qword [ebp - 0x105c], xmm0
movlpd qword [ebp - 0x1054], xmm0
movlpd qword [ebp - 0x104c], xmm0
movlpd qword [ebp - 0x1044], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x1010]
push 0
push eax
mov dword [ebp - 0x1054], 1
movups xmmword [ebp - 0x1038], xmm0
call fcn.00509f10
mov eax, dword [ebp - 0x1024]
add esp, 0xc
test eax, eax
je 0x449a9d
push eax
push esi
lea eax, [ebp - 0x1010]
push str.__s___s
push eax
call fcn.0042bb90
add esp, 0x10
jmp 0x449ab2
push esi
lea eax, [ebp - 0x1010]
push str.__s_
push eax
call fcn.0042bb90
add esp, 0xc
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1080]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x449b28
cmp dword [ebp + 0x1c], 0
jbe 0x449af6
push dword [ebp + 0x20]
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1028]
test eax, eax
je 0x449b0e
push dword [eax]
push dword [ebp - 0x1038]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x1034]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1038]
call esi
jmp 0x449b28
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409540
int3