Function at 0x40634c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x4543cc
push ebx
push esi
push edi
lea esi, [ebp - 0x48]
lea ebx, [ebp + 8]
call fcn.0044938c
mov word [esi + 0x10], 8
push fcn.00424f24
push 3
push 0x40937c
push 3
push 0x1e
push 4
mov edx, dword [ebx]
push edx
call fcn.0044f228
add esp, 0x1c
push fcn.00424f24
push 3
push 0x40937c
push 3
push 0x1e
push 4
mov ecx, dword [ebx]
add ecx, 0x78
push ecx
call fcn.0044f228
add esp, 0x1c
mov eax, dword [ebx]
add eax, 0x1ec
xor edx, edx
mov dword [eax], edx
inc dword [esi + 0x1c]
mov eax, dword [ebx]
add eax, 0x1f0
xor edx, edx
mov dword [eax], edx
inc dword [esi + 0x1c]
mov eax, dword [ebx]
add eax, 0x1f4
xor edx, edx
mov dword [eax], edx
inc dword [esi + 0x1c]
mov eax, dword [ebx]
add eax, 0x1f8
xor edx, edx
mov dword [eax], edx
inc dword [esi + 0x1c]
mov eax, dword [ebx]
add eax, 0x1fc
xor edx, edx
mov dword [eax], edx
inc dword [esi + 0x1c]
mov eax, dword [ebx]
add eax, 0x200
xor edx, edx
mov dword [eax], edx
inc dword [esi + 0x1c]
mov ecx, dword [ebx]
add ecx, 0x434
push ecx
call fcn.00405830
pop ecx
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x14
xor eax, eax
mov dword [ebp - 4], eax
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x20
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x218], ecx
mov eax, dword [ebx]
mov byte [eax + 0x430], 0
mov eax, 0x452be0
mov ecx, dword [0x45b9b0]
mov dl, 1
call fcn.00401528
mov edi, eax
mov eax, dword [ebx]
mov dword [eax + 0x210], edi
mov eax, edi
xor edx, edx
call fcn.0041dd2c
mov eax, dword [0x45b9b4]
call fcn.0042c8d8
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [ecx + 0x210]
mov ecx, dword [ebx]
sub edx, dword [eax + 0x34]
mov eax, dword [ecx + 0x210]
call fcn.0041dd0c
mov edx, dword [ebx]
mov ecx, dword [edx + 0x210]
mov byte [ecx + 0x224], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x208], edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x210]
mov byte [eax + 0x22c], 1
push 0x104
mov edx, dword [ebx]
add edx, 0x320
push edx
call sub.KERNEL32.dll_GetWindowsDirectoryA
mov eax, dword [ebx]
mov ecx, dword [ebx]
add eax, 0x320
push esi
mov edi, eax
add ecx, 0x21c
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
call fcn.00404a30
test eax, eax
je 0x406509
push str._system32
mov eax, dword [ebx]
add eax, 0x21c
push eax
call fcn.00444dd8
add esp, 8
push str.cdplayer.exe__play
mov edx, dword [ebx]
add edx, 0x21c
push edx
call fcn.00444dd8
add esp, 8
mov word [esi + 0x10], 0x2c
push str..mp3
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [ebp - 8]
push eax
inc dword [esi + 0x1c]
call fcn.00404c28
add esp, 8
lea edx, [ebp - 8]
mov eax, dword [ebx]
add eax, 0x200
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00424f24
mov word [esi + 0x10], 0x38
push str..htm
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0xc]
push eax
inc dword [esi + 0x1c]
call fcn.00404c28
add esp, 8
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
add eax, 0x1ec
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00424f24
mov word [esi + 0x10], 0x44
mov ecx, dword [ebx]
push ecx
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
inc dword [esi + 0x1c]
call fcn.0040769c
add esp, 8
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
add eax, 0x1f0
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00424f24
mov word [esi + 0x10], 0x50
mov ecx, dword [ebx]
push ecx
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edx
inc dword [esi + 0x1c]
call fcn.00407fb8
add esp, 8
lea edx, [ebp - 0x14]
mov eax, dword [ebx]
add eax, 0x1f4
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00424f24
mov word [esi + 0x10], 0x5c
mov ecx, dword [ebx]
push ecx
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
inc dword [esi + 0x1c]
call fcn.00408580
add esp, 8
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
add eax, 0x1fc
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00424f24
mov word [esi + 0x10], 0x68
mov edx, dword [ebx]
lea eax, [ebp - 0x1c]
add edx, 0x320
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
add eax, 0x1f8
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00424f24
call fcn.00404a30
test eax, eax
je 0x4066c7
mov word [esi + 0x10], 0x74
mov edx, str._system32cmd.exe_c:
lea eax, [ebp - 0x20]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
add eax, 0x1f8
call fcn.00424f67
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00424f24
jmp 0x4066fc
mov word [esi + 0x10], 0x80
mov edx, str.command.com
lea eax, [ebp - 0x24]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
add eax, 0x1f8
call fcn.00424f67
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00424f24
xor eax, eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + eax*4 + 0xf0], ecx
inc eax
cmp eax, 0x1e
jl 0x4066fe
call sub.KERNEL32.dll_GetVersion
mov ecx, dword [ebx]
xor edx, edx
mov dl, al
mov dword [ecx + 0x424], edx
xor ecx, ecx
movzx edx, ax
sar edx, 8
and dl, 0xff
cmp eax, 0x80000000
mov cl, dl
mov edx, dword [ebx]
mov dword [edx + 0x428], ecx
jae 0x406750
shr eax, 0x10
mov ecx, dword [ebx]
and ax, 0xffff
movzx eax, ax
mov dword [ecx + 0x42c], eax
jmp 0x40677e
mov edx, dword [ebx]
cmp dword [edx + 0x424], 4
jae 0x406774
shr eax, 0x10
mov ecx, dword [ebx]
and ax, 0xffff
movzx eax, ax
and eax, 0xffff7fff
mov dword [ecx + 0x42c], eax
jmp 0x40677e
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x42c], edx
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00424f24
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret