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

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6b5846
call fcn.00640244
sub esp, 0x30
and dword [ebp + 0x6c], 0
push esi
mov esi, ecx
mov byte [ebp + 0x73], 1
call fcn.00478821
and dword [ebp - 4], 0
lea eax, [esi + 0x31]
push eax
call fcn.0048d304
mov dword [ebp + 0x64], eax
test eax, eax
je 0x5fe0e1
push ebx
push 0x1e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.005957ed
mov ebx, eax
mov dword [ebp + 0x68], ebx
cmp ebx, 0xffffffff
je 0x5fe0e0
push edi
call fcn.005ac165
mov edi, 0x7acd60
test al, al
je 0x5fdef8
mov ecx, dword [esi + 0x4c]
imul eax, ebx, 0xdc
test byte [eax + ecx + 0x88], 2
je 0x5fdef8
cmp byte [eax + ecx + 0xd0], 0
je 0x5fdef8
push edi
lea eax, [ebp + 0x30]
push eax
call fcn.00440897
xor edx, edx
inc edx
cmp dword [eax + 0x14], 8
jb 0x5fdebf
mov eax, dword [eax]
mov ecx, dword [str.Default_Media_Player]
mov bx, word [eax]
cmp bx, word [ecx]
jne 0x5fdeeb
test bx, bx
je 0x5fdee7
mov bx, word [eax + 2]
cmp bx, word [ecx + 2]
jne 0x5fdeeb
add eax, 4
add ecx, 4
test bx, bx
jne 0x5fdec5
xor eax, eax
jmp 0x5fdef0
sbb eax, eax
or eax, 1
test eax, eax
je 0x5fdefb
mov bl, 1
jmp 0x5fdefd
mov edx, dword [ebp + 0x6c]
xor bl, bl
test dl, 1
je 0x5fdf0e
push 0
push 1
lea ecx, [ebp + 0x30]
call fcn.004281f2
test bl, bl
je 0x5fe0c6
mov eax, dword [ebp + 0x64]
imul edx, dword [ebp + 0x68], 0xdc
mov ecx, dword [eax + 0xd8]
mov eax, dword [esi + 0x4c]
mov eax, dword [edx + eax + 0x54]
imul eax, eax, 0x9c
add eax, dword [ecx + 4]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00506795
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
jae 0x5fdf50
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp]
push str.__s_
push eax
call fcn.004654e1
add esp, 0xc
cmp dword [ebp + 0x14], 8
push 0x31
pop eax
mov word [ebp + 0x60], ax
mov eax, dword [ebp]
jae 0x5fdf75
lea eax, [ebp]
cmp dword [0x7acd74], 0x10
mov dword [ebp + 0x64], eax
mov eax, dword [0x7acd60]
jae 0x5fdf88
mov eax, edi
mov esi, dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
xor ebx, ebx
push ebx
push ebx
push eax
call esi
mov dword [ebp + 0x5c], 0xf
mov dword [ebp + 0x58], ebx
mov byte [ebp + 0x48], bl
lea ebx, [eax + 1]
mov byte [ebp - 4], 5
push 0
push ebx
lea ecx, [ebp + 0x48]
call fcn.0043fb3b
cmp dword [ebp + 0x5c], 0x10
mov eax, dword [ebp + 0x48]
jae 0x5fdfc0
lea eax, [ebp + 0x48]
cmp dword [0x7acd74], 0x10
jb 0x5fdfcf
mov edi, dword [0x7acd60]
push ebx
push eax
push edi
call esi
cmp dword [ebp + 0x5c], 0x10
mov ecx, dword [ebp + 0x48]
jae 0x5fdfe0
lea ecx, [ebp + 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5fdfe3
sub ecx, edx
xor ebx, ebx
push ebx
push ecx
lea ecx, [ebp + 0x48]
call fcn.0043fb3b
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00440897
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5fe011
mov eax, dword [eax]
xor edi, edi
lea ecx, [ebp + 0x60]
inc edi
push edi
push ecx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00483979
push ebx
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.004281f2
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
jb 0x5fe046
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
push ebx
push edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0040f52f
cmp esi, 0x20
jg 0x5fe09c
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
jae 0x5fe06b
lea eax, [ebp + 0x18]
push eax
push 0x395
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004654e1
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 9
call fcn.0048d678
push ebx
push edi
lea ecx, [ebp - 0x24]
call fcn.004281f2
push ebx
push edi
lea ecx, [ebp + 0x18]
call fcn.004281f2
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040f52f
push ebx
push edi
lea ecx, [ebp]
call fcn.004281f2
push ebx
push edi
lea ecx, [ebp + 0x30]
call fcn.004281f2
jmp 0x5fe0df
imul ecx, dword [ebp + 0x68], 0xdc
mov eax, dword [esi + 0x4c]
push 0
push dword [ecx + eax + 0x54]
mov eax, dword [ebp + 0x64]
push eax
call fcn.00591596
pop edi
pop ebx
mov dword [ebp - 4], 0xa
call fcn.00478862
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
lea esp, [ebp + 0x74]
pop ebp
ret 4