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

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6ec64b
call fcn.006899cc
sub esp, 0x30
and dword [ebp + 0x70], 0
push esi
mov esi, ecx
mov byte [ebp + 0x6b], 1
call fcn.00489fdc
and dword [ebp - 4], 0
lea eax, [esi + 0x39]
push eax
call fcn.004a006a
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x64274f
push ebx
push 0x1e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.005c5439
mov ebx, eax
mov dword [ebp + 0x4c], ebx
cmp ebx, 0xffffffff
je 0x64274e
push edi
call fcn.005e02b8
mov edi, 0x7e6130
test al, al
je 0x642530
mov ecx, dword [esi + 0x54]
imul eax, ebx, 0xe0
test byte [eax + ecx + 0x8c], 2
je 0x642530
cmp byte [eax + ecx + 0xd4], 0
je 0x642530
cmp dword [0x7e6144], 0x10
mov eax, edi
jb 0x6424df
mov eax, dword [0x7e6130]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0048fdc9
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
push 3
pop edx
jb 0x6424f8
mov eax, dword [ebp + 0x30]
mov ecx, str.Default_Media_Player
mov bx, word [eax]
cmp bx, word [ecx]
jne 0x642523
test bx, bx
je 0x64251f
mov bx, word [eax + 2]
cmp bx, word [ecx + 2]
jne 0x642523
add eax, 4
add ecx, 4
test bx, bx
jne 0x6424fd
xor eax, eax
jmp 0x642528
sbb eax, eax
or eax, 1
test eax, eax
je 0x642533
mov bl, 1
jmp 0x642535
mov edx, dword [ebp + 0x70]
xor bl, bl
test dl, 1
je 0x642542
lea ecx, [ebp + 0x30]
call fcn.0044823e
imul eax, dword [ebp + 0x4c], 0xe0
mov edx, dword [esi + 0x54]
mov ecx, dword [ebp + 0x6c]
test bl, bl
je 0x642741
imul eax, dword [eax + edx + 0x58], 0xa0
mov ecx, dword [ecx + 0xec]
add eax, dword [ecx + 4]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0051c96f
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
jb 0x642582
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push str.__s_
push eax
call fcn.00475719
add esp, 0xc
cmp dword [ebp - 0x10], 8
push 0x31
pop eax
mov word [ebp + 0x48], ax
lea eax, [ebp - 0x24]
jb 0x6425a7
mov eax, dword [ebp - 0x24]
cmp dword [0x7e6144], 0x10
mov dword [ebp + 0x4c], eax
mov eax, edi
jb 0x6425ba
mov eax, dword [0x7e6130]
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.00415d50
cmp dword [ebp + 0x64], 0x10
lea eax, [ebp + 0x50]
jb 0x6425f4
mov eax, dword [ebp + 0x50]
cmp dword [0x7e6144], 0x10
mov ecx, dword [0x7e6130]
jae 0x642608
mov ecx, 0x7e6130
push edi
push eax
push ecx
call esi
push 0x10
pop edi
lea ecx, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
jb 0x64261b
mov ecx, dword [ebp + 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64261e
sub ecx, edx
push ebx
push ecx
lea ecx, [ebp + 0x50]
call fcn.00415d50
lea eax, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
jb 0x64263c
mov eax, dword [ebp + 0x50]
push eax
lea eax, [ebp]
push eax
call fcn.0048fdc9
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
mov byte [ebp - 4], 6
jb 0x642656
mov eax, dword [ebp]
push 1
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00498b79
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.0044823e
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x64267e
mov eax, dword [ebp + 0x30]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0048fcb1
lea eax, [ebp + 0x18]
cmp dword [ebp + 0x2c], edi
jb 0x642693
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.0040fad0
cmp esi, 0x20
jg 0x6426e6
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x6426b7
mov eax, dword [ebp + 0x30]
push eax
push 0x39e
call fcn.005ba91d
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00475719
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 9
call fcn.004a03db
lea ecx, [ebp + 0x18]
call fcn.0044823e
lea ecx, [ebp + 0x30]
call fcn.0044823e
mov eax, dword [ebp + 0x64]
cmp eax, edi
jb 0x642722
mov ecx, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x642719
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.0068976d
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.0044823e
lea ecx, [ebp - 0x3c]
call fcn.0044823e
jmp 0x64274d
push 0
push dword [eax + edx + 0x58]
push ecx
call fcn.005c08e4
pop edi
pop ebx
mov dword [ebp - 4], 0xa
call fcn.0048a01d
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret 4