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

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6c3fde
call fcn.00664608
sub esp, 0x30
and dword [ebp + 0x70], 0
push esi
mov esi, ecx
mov byte [ebp + 0x6b], 1
call fcn.0046bca7
and dword [ebp - 4], 0
lea eax, [esi + 0x39]
push eax
call fcn.00481ac4
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x61f525
push ebx
push 0x1e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.005a3ada
mov ebx, eax
mov dword [ebp + 0x4c], ebx
cmp ebx, 0xffffffff
je 0x61f524
push edi
call fcn.005c1423
mov edi, 0x7b670c
test al, al
je 0x61f306
mov ecx, dword [esi + 0x54]
imul eax, ebx, 0xe0
test byte [eax + ecx + 0x8c], 2
je 0x61f306
cmp byte [eax + ecx + 0xd4], 0
je 0x61f306
cmp dword [0x7b6720], 0x10
mov eax, edi
jb 0x61f2b5
mov eax, dword [0x7b670c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00471937
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
push 3
pop edx
jb 0x61f2ce
mov eax, dword [ebp + 0x30]
mov ecx, str.Default_Media_Player
mov bx, word [eax]
cmp bx, word [ecx]
jne 0x61f2f9
test bx, bx
je 0x61f2f5
mov bx, word [eax + 2]
cmp bx, word [ecx + 2]
jne 0x61f2f9
add eax, 4
add ecx, 4
test bx, bx
jne 0x61f2d3
xor eax, eax
jmp 0x61f2fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x61f309
mov bl, 1
jmp 0x61f30b
mov edx, dword [ebp + 0x70]
xor bl, bl
test dl, 1
je 0x61f318
lea ecx, [ebp + 0x30]
call fcn.00427afc
imul eax, dword [ebp + 0x4c], 0xe0
mov edx, dword [esi + 0x54]
mov ecx, dword [ebp + 0x6c]
test bl, bl
je 0x61f517
imul eax, dword [eax + edx + 0x58], 0xa0
mov ecx, dword [ecx + 0xd8]
add eax, dword [ecx + 4]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004fac95
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
jb 0x61f358
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push str.__s_
push eax
call fcn.004577f2
add esp, 0xc
cmp dword [ebp - 0x10], 8
push 0x31
pop eax
mov word [ebp + 0x48], ax
lea eax, [ebp - 0x24]
jb 0x61f37d
mov eax, dword [ebp - 0x24]
cmp dword [0x7b6720], 0x10
mov dword [ebp + 0x4c], eax
mov eax, edi
jb 0x61f390
mov eax, dword [0x7b670c]
mov esi, dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
xor ebx, ebx
push ebx
push ebx
push eax
call esi
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], bl
lea edi, [eax + 1]
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp + 0x50]
call fcn.0043b05e
cmp dword [ebp + 0x64], 0x10
lea eax, [ebp + 0x50]
jb 0x61f3ca
mov eax, dword [ebp + 0x50]
cmp dword [0x7b6720], 0x10
mov ecx, dword [0x7b670c]
jae 0x61f3de
mov ecx, 0x7b670c
push edi
push eax
push ecx
call esi
push 0x10
pop edi
lea ecx, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
jb 0x61f3f1
mov ecx, dword [ebp + 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x61f3f4
sub ecx, edx
push ebx
push ecx
lea ecx, [ebp + 0x50]
call fcn.0043b05e
lea eax, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
jb 0x61f412
mov eax, dword [ebp + 0x50]
push eax
lea eax, [ebp]
push eax
call fcn.00471937
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
mov byte [ebp - 4], 6
jb 0x61f42c
mov eax, dword [ebp]
push 1
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0047a68e
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.00427afc
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x61f454
mov eax, dword [ebp + 0x30]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0047181f
lea eax, [ebp + 0x18]
cmp dword [ebp + 0x2c], edi
jb 0x61f469
mov eax, dword [ebp + 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
lea ecx, [ebp + 0x18]
mov esi, eax
call fcn.00410858
cmp esi, 0x20
jg 0x61f4bc
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x61f48d
mov eax, dword [ebp + 0x30]
push eax
push 0x39c
call fcn.00599084
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.004577f2
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 9
call fcn.00481e35
lea ecx, [ebp + 0x18]
call fcn.00427afc
lea ecx, [ebp + 0x30]
call fcn.00427afc
mov eax, dword [ebp + 0x64]
cmp eax, edi
jb 0x61f4f8
mov ecx, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x61f4ef
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], bl
call fcn.00427afc
lea ecx, [ebp - 0x3c]
call fcn.00427afc
jmp 0x61f523
push 0
push dword [eax + edx + 0x58]
push ecx
call fcn.0059f04b
pop edi
pop ebx
mov dword [ebp - 4], 0xa
call fcn.0046bce8
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret 4