Function at 0x44daa0
Capabilities:
Check if file exists
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59aa24
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x44db00
mov eax, dword [ecx]
call dword [eax + 8]
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x44e0a8
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x44db10
xor eax, eax
jmp 0x44e0a8
add ecx, 0xfffffff0
call fcn.0040c3c0
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x298], 0
mov ecx, dword [ebx + 0xc]
sub ecx, 0x10
call fcn.0040c3c0
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x298], 1
push dword [ebx + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040c2d0
mov byte [esp + 0x298], 2
mov ecx, dword [ebx + 0xc]
sub ecx, 0x10
call fcn.0040c3c0
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov byte [esp + 0x298], 3
mov ebx, 1
mov eax, dword [edi - 8]
mov ecx, ebx
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44dba1
push 0x104
lea ecx, [esp + 0x34]
call fcn.0040c110
mov edi, dword [esp + 0x30]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [edi - 8]
push edi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x44dee2
cmp eax, dword [edi - 8]
jg 0x44dee2
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [esp + 0x14]
push 0x5b5504
call fcn.0040c2d0
xor edx, edx
mov byte [esp + 0x298], 4
mov ecx, dword [esp + 0x38]
test ecx, ecx
setne dl
test edx, edx
jne 0x44dbfd
push 0x80004005
call fcn.0040c390
push ecx
push dword [eax]
call fcn.00551d79
add esp, 8
mov byte [esp + 0x298], 3
mov edx, dword [esp + 0x14]
test eax, eax
sete byte [esp + 0x23]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44dc35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00431cf0
add esp, 4
mov ecx, eax
call fcn.00414de0
cmp byte [esp + 0x23], 0
je 0x44ddfe
test eax, eax
jne 0x44decc
mov ecx, dword [esp + 0x1c]
call fcn.00426700
test eax, eax
jns 0x44decc
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x44], 0x440
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 1
call fcn.0040b840
lea ecx, [esp + 0x14]
call fcn.0040b840
mov byte [esp + 0x298], 6
mov ecx, ebx
mov eax, dword [esp + 0x14]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x44dcf6
push 0x104
lea ecx, [esp + 0x18]
call fcn.0040c110
mov ebx, dword [esp + 0x18]
mov ecx, 1
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x44dd20
push 0x104
lea ecx, [esp + 0x1c]
call fcn.0040c110
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edx, ebx
push ecx
push dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0050b560
add esp, 8
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.0040b920
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0040b920
cmp dword [ebx - 0xc], 0
je 0x44ddc2
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ddc2
cmp dword [ebx - 0xc], eax
jge 0x44dd67
or ebx, 0xffffffff
jmp 0x44dd88
push str.__x86_
push ebx
call fcn.00552a08
add esp, 8
test eax, eax
jne 0x44dd7e
or ebx, 0xffffffff
jmp 0x44dd88
sub eax, ebx
sar eax, 1
mov dword [esp + 0x28], eax
mov ebx, eax
call fcn.0050acc0
cmp dword [0x640f9c], 0
je 0x44ddc2
test ebx, ebx
js 0x44ddc2
push 6
push ebx
lea ecx, [esp + 0x20]
call fcn.00415140
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ddc2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.0040b7d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0040c450
lea ecx, [esp + 0x18]
mov byte [esp + 0x298], 3
call fcn.0040c450
jmp 0x44de93
test eax, eax
jne 0x44e005
push 0x38
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00559380
add esp, 0xc
mov dword [esp + 0x40], 0x3c
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x44de6e
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, 0x104
or eax, ebx
jge 0x44de4a
push 0x104
lea ecx, [esp + 0x30]
call fcn.0040c110
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [esi - 8], 0x104
jl 0x44dee2
xor eax, eax
mov dword [esi - 0xc], 0x104
mov word [esi + 0x208], ax
lea eax, [esp + 0x40]
mov dword [esp + 0x50], esi
push eax
mov dword [esp + 0x60], 1
mov dword [esp + 0x48], 0x440
mov dword [esp + 0x5c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test ebx, ebx
jne 0x44e00a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x44e016
push ecx
mov ecx, dword [esp + 0x20]
mov ebx, esp
lea ecx, [ecx - 0x10]
call fcn.0040c3c0
add eax, 0x10
mov dword [ebx], eax
call fcn.0044d780
add esp, 4
test eax, eax
je 0x44deec
push dword [esp + 0x1c]
push 3
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
mov ebx, 1
jmp 0x44e016
push 0x80070057
call fcn.0040c390
push 0x208
lea eax, [esp + 0x80]
push 0
push eax
call fcn.00559380
add esp, 0xc
lea eax, [esp + 0x7c]
push 0x104
push eax
push str._windir__system32_rundll32.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.shell32__OpenAs_RunDLL
lea ecx, [esp + 0x18]
call fcn.0040c2d0
mov byte [esp + 0x298], 7
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
push dword [eax - 0xc]
push eax
call fcn.00411f30
push 0x5bc584
lea ecx, [esp + 0x38]
call fcn.0040c2d0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x298], 8
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00414260
add esp, 4
push 0x5bf010
mov edx, eax
mov byte [esp + 0x29c], 9
lea ecx, [esp + 0x28]
call fcn.00414260
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00428a60
add esp, 4
mov byte [esp + 0x298], 0xb
lea ecx, [esp + 0x18]
mov edx, dword [eax]
call fcn.0050cfc0
lea ecx, [esp + 0x28]
call fcn.0040c450
lea ecx, [esp + 0x24]
call fcn.0040c450
lea ecx, [esp + 0x3c]
call fcn.0040c450
lea ecx, [esp + 0x34]
call fcn.0040c450
push 1
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, 0x1f
cmp ecx, eax
lea ecx, [esp + 0x18]
sbb ebx, ebx
call fcn.0040c450
lea ecx, [esp + 0x14]
call fcn.0040c450
neg ebx
je 0x44e016
jmp 0x44e00a
mov ebx, 1
push dword [esp + 0x1c]
push 3
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
lea edx, [edi - 0x10]
mov byte [esp + 0x298], 2
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44e03a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x298], 1
mov ecx, edi
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44e05f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x298], 0
mov ecx, edi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44e084
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [esp + 0x298], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x44e0a6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret