Function at 0x448a10
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes
Get system information on windows
Query environment variable

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ce082
push eax
mov dword fs:[0], esp
sub esp, 0x488
push edi
xor edi, edi
cmp byte [esp + 0x4a4], 0
je 0x448acc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x448a60
lea ecx, [esp + 0x58]
push ecx
call eax
jmp 0x448a6b
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [esp + 0x58]
cmp eax, 6
je 0x448ac7
cmp eax, 9
je 0x448ac0
push eax
push 0x4e6538
lea edx, [esp + 0x84]
call fcn.00407540
add esp, 8
push 0x10
push 0x4d9784
lea eax, [esp + 0x84]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
add esp, 0x494
ret 0x10
mov edi, 0x51c
jmp 0x448acc
mov edi, 0x51d
mov ecx, dword [esp + 0x4a0]
push ebx
push esi
push ecx
lea ebx, [esp + 0x10]
call fcn.00402bd0
push 0x103
lea edx, [esp + 0x88]
push edx
push 0
mov dword [esp + 0x4a8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x448b31
mov dword [esp + 0x49c], 0xffffffff
mov esi, dword [esp + 0xc]
test esi, esi
je 0x448b2a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x448b2a
push esi
call fcn.0049e96f
add esp, 4
xor al, al
jmp 0x448e96
cmp byte [esp + 0x4ac], 0
push ebp
je 0x448c9c
lea eax, [esp + 0x88]
push eax
lea ebx, [esp + 0x18]
call fcn.00402bd0
push 0x4e659c
lea ebx, [esp + 0x24]
mov byte [esp + 0x4a4], 1
call fcn.00402bd0
mov esi, eax
push str.__originalpath__
lea ebx, [esp + 0x1c]
mov byte [esp + 0x4a4], 2
call fcn.00402bd0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x4ac], 3
call fcn.004907a0
push esi
lea ecx, [esp + 0x20]
push ecx
mov bl, 4
push eax
mov byte [esp + 0x4ac], bl
call fcn.004907a0
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x4a8], 5
call fcn.00490640
mov byte [esp + 0x4a0], bl
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x448be6
push eax
mov esi, eax
call ebp
test eax, eax
jne 0x448be6
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x448c08
push eax
mov esi, eax
call ebp
test eax, eax
jne 0x448c08
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x4a0], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x448c2a
push eax
mov esi, eax
call ebp
test eax, eax
jne 0x448c2a
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x4a0], 1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x448c4c
push eax
mov esi, eax
call ebp
test eax, eax
jne 0x448c4c
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x4a0], 0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x448c6c
push esi
call ebp
test eax, eax
jne 0x448c6c
push esi
call fcn.0049e96f
add esp, 4
lea eax, [esp + 0x88]
push 0x2e
push eax
call fcn.0049ec5c
push 0x4e65a0
lea edx, [esp + 0x94]
xor ecx, ecx
push 0x104
push edx
mov word [eax], cx
call fcn.004a146b
add esp, 0x14
jmp 0x448ca2
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test edi, edi
je 0x448d7c
movzx esi, di
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x4d91d0
push esi
push 0
call edi
test eax, eax
je 0x448cd5
lea ebx, [esp + 0x88]
call fcn.00406b30
test al, al
jne 0x448d7c
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x88]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x448d76
push 0x104
lea ecx, [esp + 0x294]
push ecx
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [esp + 0x88]
push 0x5c
push edx
call fcn.0049ec5c
push eax
lea eax, [esp + 0x29c]
push 0x104
push eax
call fcn.004a146b
lea ecx, [esp + 0x2a4]
push ecx
lea edx, [esp + 0xa0]
push 0x104
push edx
call fcn.0049ee55
add esp, 0x20
push 0x4d91d0
push esi
push 0
call edi
test eax, eax
je 0x448d63
lea ebx, [esp + 0x88]
call fcn.00406b30
test al, al
jne 0x448d76
lea eax, [esp + 0x88]
push eax
call ebp
cmp eax, 0xffffffff
je 0x448e2c
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0x38
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.004a30a0
add esp, 0xc
cmp byte [esp + 0x4b4], 0
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], str.Runas
jne 0x448dbf
mov dword [esp + 0x34], 0x4e5ae8
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x4a8]
lea eax, [esp + 0x88]
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
test esi, esi
je 0x448de8
lea eax, [esi + 8]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x448df0
mov dword [esp + 0x3c], 0x4d9064
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x28]
push ecx
call edi
test eax, eax
jne 0x448e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x448e44
push 0x103
lea edx, [esp + 0x8c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x448e44
lea eax, [esp + 0x10]
mov dword [esp + 0x4a0], 0xffffffff
call fcn.00401970
xor al, al
jmp 0x448e95
mov ecx, dword [esp + 0x60]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x4b0], 0
je 0x448e74
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x4a0], 0xffffffff
test esi, esi
je 0x448e93
push esi
call ebp
test eax, eax
jne 0x448e93
push esi
call fcn.0049e96f
add esp, 4
mov al, 1
pop ebp
mov ecx, dword [esp + 0x494]
pop esi
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x494
ret 0x10