Function at 0x445940
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4236
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x510200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
push str.CommonProgramW6432
mov dword [ebp - 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test esi, esi
je 0x445b04
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402100
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x445b04
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
cmp esi, 8
cmovae eax, dword [ebp - 0x28]
cmp word [eax + edx*2 - 2], di
jne 0x445a5e
xor eax, eax
mov dword [ebp - 0x30], edi
lea ecx, [edx - 1]
mov word [ebp - 0x40], ax
cmp edx, ecx
mov dword [ebp - 0x2c], 7
lea eax, [ebp - 0x28]
cmovb ecx, edx
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.00401ff0
mov ecx, dword [ebp - 0x14]
mov edi, 2
cmp ecx, 8
jb 0x445a49
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445a3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445b83
push ecx
push edx
call fcn.0049da2e
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
or edi, 1
lea eax, [edx + 0x20]
mov dword [ebp - 0x2c], 7
push eax
mov dword [ebp - 0x44], edi
call fcn.00408d10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402860
push 0x20
push str.microsoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x40]
call fcn.00402860
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x445ae8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445ade
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445b83
push ecx
push edx
call fcn.0049da2e
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x445b13
push 0x3e
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.00401ff0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x445b68
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445b5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445b83
push ecx
push edx
call fcn.0049da2e
add esp, 8
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.0049da3c
mov esp, ebp
pop ebp
ret
call fcn.004a9f9f
int3