Function at 0x1004ee90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x2a4], eax
push esi
push edi
mov dword [ebp - 0x298], ebx
cmp byte [ebx + 8], 3
jae 0x1004f004
cmp byte [ebx + 0xe3], 0
jne 0x1004ef17
cmp dword [ebx + 0x78], 0
je 0x1004ef17
push 0
lea edi, [ebx + 0x68]
push 0x7c
mov ecx, edi
lea esi, [ebx + 0xd0]
call fcn.10050a10
cmp eax, 0xffffffff
je 0x1004eef9
push 0
push esi
push 0x7c
push edi
call fcn.100076c0
add esp, 0x10
jmp 0x1004ef17
mov eax, dword [esi + 4]
push edi
cmp eax, dword [esi + 8]
je 0x1004ef0f
mov ecx, eax
call fcn.10006aa0
add dword [esi + 4], 0x18
jmp 0x1004ef17
push eax
mov ecx, esi
call fcn.10006600
cmp dword [ebx + 0x48], 0
je 0x1004f7c7
cmp dword [ebx + 0x4c], 8
lea edx, [ebx + 0x38]
mov esi, edx
jb 0x1004ef2e
mov esi, dword [edx]
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x1004ef52
mov eax, esi
jmp 0x1004ef40
cmp word [eax], 0x7c
je 0x1004efcf
add eax, 2
sub ecx, 1
jne 0x1004ef40
lea esi, [ebx + 0xc8]
push edx
lea eax, [ebp - 0x23c]
push eax
call fcn.10044b20
add esp, 8
mov ecx, esi
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10031ed0
lea ecx, [ebp - 0x23c]
call fcn.1001d6d0
mov eax, dword [ebx + 0xc8]
add ebx, 0xc8
mov esi, dword [eax]
mov dword [ebp - 0x29c], esi
cmp esi, eax
je 0x1004f6fc
mov edi, edi
mov ecx, dword [esi + 0x20]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1004f824
mov ebx, dword [edi + 0x14]
mov eax, edi
cmp ebx, 8
jb 0x1004efba
mov eax, dword [edi]
cmp word [eax], 0x3c
jne 0x1004f6d3
mov eax, ecx
cmp ebx, 8
jb 0x1004eff2
mov edx, dword [edi]
jmp 0x1004eff4
sub eax, esi
lea esi, [ebx + 0xc8]
sar eax, 1
cmp eax, 0xffffffff
je 0x1004ef58
push 0
push esi
push 0x7c
push edx
call fcn.100076b0
add esp, 0x10
jmp 0x1004ef82
mov edx, edi
mov esi, edx
cmp word [esi], 0x3e
je 0x1004f019
add esi, 2
sub eax, 1
jne 0x1004eff6
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4
sub esi, edx
sar esi, 1
cmp esi, 0xffffffff
je 0x1004f004
lea edx, [esi + 1]
mov dword [ebp - 0x274], 0
xor eax, eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp ecx, edx
jb 0x1004f824
mov eax, ecx
sub ecx, edx
sub eax, esi
cmp ecx, eax
jb 0x1004f056
mov ecx, eax
mov eax, edi
cmp ebx, 8
jb 0x1004f05f
mov eax, dword [edi]
push ecx
lea eax, [eax + edx*2]
push eax
lea ecx, [ebp - 0x284]
call fcn.10008240
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
mov eax, dword [edi + 0x10]
cmp eax, 1
jb 0x1004f824
dec esi
dec eax
cmp eax, esi
jb 0x1004f0a0
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x1004f0a8
mov edi, dword [edi]
push eax
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x26c]
call fcn.10008240
push 0
lea eax, [ebp - 0x294]
mov dword [ebp - 0x294], 0
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x290], 0
push 0x2c
push eax
mov dword [ebp - 0x28c], 0
call fcn.100076c0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
mov edi, dword [ebp - 0x290]
xor ecx, ecx
mov esi, dword [ebp - 0x294]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x288], ecx
add esp, 0x1c
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004f56c
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [esi + ebx]
cmp dword [eax + 0x14], 8
jb 0x1004f148
mov eax, dword [eax]
push eax
call fcn.1021354d
mov esi, eax
add esp, 4
cmp esi, 0x10000
jl 0x1004f161
lea eax, [esi - 0x10000]
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1004f536
cmp esi, 0x1a
jne 0x1004f187
push str.MicrosoftInternet_ExplorerQuick_Launch_
jmp 0x1004f194
cmp esi, 0x1001a
jne 0x1004f1a1
push str.MicrosoftWindowsStart_MenuProgramsAccessories_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x240], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004f1d4
sub eax, edx
lea ecx, [ebp - 0x254]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008240
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
jb 0x1004f20b
mov eax, dword [ebp - 0x284]
push dword [ebp - 0x274]
lea ecx, [ebp - 0x254]
push eax
call fcn.10007e60
cmp dword [ebp - 0x240], 8
lea eax, [ebp - 0x254]
jb 0x1004f232
mov eax, dword [ebp - 0x254]
push 1
push 0x1021cd78
push 0
push dword [ebp - 0x244]
push eax
call fcn.1002d2d0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x1004f487
push 1
xor eax, eax
mov dword [ebp - 0x22c], 0
push 0x10219e0c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.10008240
push 1
xor eax, eax
mov dword [ebp - 0x214], 0
push 0x1021cffc
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
call fcn.10008240
push esi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10007650
mov edx, dword [ebp - 0x210]
add esp, 0x10
cmp edx, 8
jb 0x1004f311
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f307
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
cmp edx, 8
jb 0x1004f36e
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x22c], 0
push 0x10219e0c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.10008240
push 2
xor eax, eax
mov dword [ebp - 0x214], 0
push 0x1021cff4
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
call fcn.10008240
push esi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10007650
mov edx, dword [ebp - 0x210]
add esp, 0x10
cmp edx, 8
jb 0x1004f42a
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f420
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
cmp edx, 8
jb 0x1004f487
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f47d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.10044b20
mov ecx, dword [ebp - 0x298]
add esp, 8
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ecx + 0xc8]
call fcn.10031ed0
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x1004f4f6
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f4ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x1004f536
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f52c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edi, dword [ebp - 0x290]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x294]
mov ecx, edi
inc dword [ebp - 0x288]
sub ecx, esi
imul ecx
add ebx, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x288], eax
jb 0x1004f134
test esi, esi
je 0x1004f636
cmp esi, edi
je 0x1004f5d1
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x1004f5b1
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1004f5a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
mov eax, edx
push ecx
push eax
call fcn.102134ff
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x1004f578
mov esi, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x28c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1004f60e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push ecx
push esi
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov edx, dword [ebp - 0x258]
cmp edx, 8
jb 0x1004f676
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f66c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x270]
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
cmp edx, 8
jb 0x1004f6d3
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f6c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f81f
push edx
push ecx
call fcn.102134ff
add esp, 8
lea ecx, [ebp - 0x29c]
call fcn.100175d0
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x29c]
add ebx, 0xc8
mov eax, dword [ebx]
cmp esi, eax
jne 0x1004efa0
mov esi, dword [eax]
mov dword [ebp - 0x288], esi
cmp esi, eax
je 0x1004f7c7
lea ebx, [ebx]
cmp dword [esi + 0x20], 0
lea edi, [esi + 0x10]
jbe 0x1004f824
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1004f727
mov eax, dword [edi]
movzx eax, word [eax]
cmp eax, 0x3c
je 0x1004f783
cmp eax, 0x25
jne 0x1004f7e4
mov eax, dword [ebp - 0x2a4]
add eax, 0x74
cmp dword [eax + 0x14], 8
jb 0x1004f749
mov eax, dword [eax]
push eax
push edi
call fcn.10046d90
add esp, 8
push edi
test al, al
jne 0x1004f7dc
mov eax, dword [ebp - 0x298]
movzx eax, byte [eax + 0xe0]
push eax
call fcn.10037fc0
add esp, 8
test eax, eax
jne 0x1004f7e4
push edi
call fcn.10046a40
add esp, 4
test al, al
jne 0x1004f7e4
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x29c], esi
call fcn.100175d0
push esi
mov ecx, ebx
call fcn.10017940
mov esi, eax
lea ecx, [esi + 0x10]
push ecx
push ebx
call fcn.100218c0
push 0x28
push esi
call fcn.102134ff
mov esi, dword [ebp - 0x29c]
add esp, 0x10
mov dword [ebp - 0x288], esi
cmp esi, dword [ebx]
jne 0x1004f710
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4
call fcn.100383f0
add esp, 4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1004f7ee
mov eax, dword [edi]
push 1
push 0x1021cd78
push 0
push dword [edi + 0x10]
push eax
call fcn.1002d2d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x1004f783
lea ecx, [ebp - 0x288]
call fcn.100175d0
mov esi, dword [ebp - 0x288]
jmp 0x1004f7bf
call fcn.10200ab0
call fcn.10007c40
int3