Function at 0x62680c
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6cd174
call fcn.0066bd6c
sub esp, 0x30
and dword [ebp + 0x70], 0
push esi
mov esi, ecx
mov byte [ebp + 0x6b], 1
call fcn.00478ba6
and dword [ebp - 4], 0
lea eax, [esi + 0x39]
push eax
call fcn.0048e9ab
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x626afc
push ebx
push 0x1e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.005abea7
mov ebx, eax
mov dword [ebp + 0x4c], ebx
cmp ebx, 0xffffffff
je 0x626afb
push edi
call fcn.005c9a1e
mov edi, 0x7c13dc
test al, al
je 0x6268dd
mov ecx, dword [esi + 0x54]
imul eax, ebx, 0xe0
test byte [eax + ecx + 0x8c], 2
je 0x6268dd
cmp byte [eax + ecx + 0xd4], 0
je 0x6268dd
cmp dword [0x7c13f0], 0x10
mov eax, edi
jb 0x62688c
mov eax, dword [0x7c13dc]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0047e836
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
push 3
pop edx
jb 0x6268a5
mov eax, dword [ebp + 0x30]
mov ecx, str.Default_Media_Player
mov bx, word [eax]
cmp bx, word [ecx]
jne 0x6268d0
test bx, bx
je 0x6268cc
mov bx, word [eax + 2]
cmp bx, word [ecx + 2]
jne 0x6268d0
add eax, 4
add ecx, 4
test bx, bx
jne 0x6268aa
xor eax, eax
jmp 0x6268d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x6268e0
mov bl, 1
jmp 0x6268e2
mov edx, dword [ebp + 0x70]
xor bl, bl
test dl, 1
je 0x6268ef
lea ecx, [ebp + 0x30]
call fcn.0042756c
imul eax, dword [ebp + 0x4c], 0xe0
mov edx, dword [esi + 0x54]
mov ecx, dword [ebp + 0x6c]
test bl, bl
je 0x626aee
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.00507a71
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
jb 0x62692f
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push str.__s_
push eax
call fcn.004646d1
add esp, 0xc
cmp dword [ebp - 0x10], 8
push 0x31
pop eax
mov word [ebp + 0x48], ax
lea eax, [ebp - 0x24]
jb 0x626954
mov eax, dword [ebp - 0x24]
cmp dword [0x7c13f0], 0x10
mov dword [ebp + 0x4c], eax
mov eax, edi
jb 0x626967
mov eax, dword [0x7c13dc]
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.0043ab4d
cmp dword [ebp + 0x64], 0x10
lea eax, [ebp + 0x50]
jb 0x6269a1
mov eax, dword [ebp + 0x50]
cmp dword [0x7c13f0], 0x10
mov ecx, dword [0x7c13dc]
jae 0x6269b5
mov ecx, 0x7c13dc
push edi
push eax
push ecx
call esi
push 0x10
pop edi
lea ecx, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
jb 0x6269c8
mov ecx, dword [ebp + 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6269cb
sub ecx, edx
push ebx
push ecx
lea ecx, [ebp + 0x50]
call fcn.0043ab4d
lea eax, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
jb 0x6269e9
mov eax, dword [ebp + 0x50]
push eax
lea eax, [ebp]
push eax
call fcn.0047e836
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
mov byte [ebp - 4], 6
jb 0x626a03
mov eax, dword [ebp]
push 1
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0048758d
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.0042756c
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x626a2b
mov eax, dword [ebp + 0x30]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0047e71e
lea eax, [ebp + 0x18]
cmp dword [ebp + 0x2c], edi
jb 0x626a40
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.004102c8
cmp esi, 0x20
jg 0x626a93
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x626a64
mov eax, dword [ebp + 0x30]
push eax
push 0x39b
call fcn.005a1454
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.004646d1
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 9
call fcn.0048ed1c
lea ecx, [ebp + 0x18]
call fcn.0042756c
lea ecx, [ebp + 0x30]
call fcn.0042756c
mov eax, dword [ebp + 0x64]
cmp eax, edi
jb 0x626acf
mov ecx, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x626ac6
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.0066bb0a
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.0042756c
lea ecx, [ebp - 0x3c]
call fcn.0042756c
jmp 0x626afa
push 0
push dword [eax + edx + 0x58]
push ecx
call fcn.005a741b
pop edi
pop ebx
mov dword [ebp - 4], 0xa
call fcn.00478be7
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret 4