Function at 0x4d2870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov eax, dword [ebp + 8]
push str.70_tKClearDataRemanence::parserFile_tKClearDataRemanence::parserFile
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallkcleardataremanence.cpp
push str._INFO_
push 0x63cbb0
mov dword [ebp - 0x248], eax
call fcn.0046bb20
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0x1c
push 0
push 0x23
push eax
push 0
call ebx
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4d31cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr edi, 0x10
lea eax, [ebp - 0x218]
movzx esi, ax
test edi, edi
jne 0x4d2939
push esi
lea ecx, [ebp - 0x23c]
call fcn.00429d30
jmp 0x4d2964
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d2942
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0042a000
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call ebx
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4d31d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 2
test edi, edi
jne 0x4d29c3
push esi
lea ecx, [ebp - 0x238]
call fcn.00429d30
jmp 0x4d29f2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d29d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0042a000
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0055c530
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1a
call fcn.0047ca40
add esp, 0x18
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4d31df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 4
test edi, edi
jne 0x4d2a52
push esi
lea ecx, [ebp - 0x234]
call fcn.00429d30
jmp 0x4d2a82
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4d2a60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d2a60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0042a000
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.0055c530
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x26
call fcn.0047ca40
add esp, 0x18
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4d31e9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 6
test edi, edi
jne 0x4d2ae2
push esi
lea ecx, [ebp - 0x230]
call fcn.00429d30
jmp 0x4d2b12
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4d2af0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d2af0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0042a000
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.0055c530
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x2a
call fcn.0047ca40
add esp, 0x18
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4d31f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 8
test edi, edi
jne 0x4d2b72
push esi
lea ecx, [ebp - 0x240]
call fcn.00429d30
jmp 0x4d2bab
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4d2b80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d2b80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0042a000
lea eax, [ebp - 0x218]
movzx esi, ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 5
push eax
push 0
call ebx
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4d31fd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0xa
test edi, edi
jne 0x4d2c07
push esi
lea ecx, [ebp - 0x244]
call fcn.00429d30
jmp 0x4d2c32
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d2c10
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.0042a000
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.004291f0
test eax, eax
je 0x4d31cb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xc
test edi, edi
jne 0x4d2c91
push esi
lea ecx, [ebp - 0x22c]
call fcn.00429d30
jmp 0x4d2cc2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d2ca0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042a000
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0047f180
add esp, 4
mov byte [ebp - 4], 0xe
call fcn.004291f0
test eax, eax
je 0x4d31cb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 0xf
call fcn.004291f0
test eax, eax
je 0x4d31cb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0x10
call fcn.004291f0
test eax, eax
je 0x4d31cb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x248]
push 0
push str.remanence_fileitem
mov byte [ebp - 4], 0x11
call fcn.00437f90
mov edi, dword [ebp - 0x240]
or ebx, 0xffffffff
mov esi, dword [ebp - 0x244]
test eax, eax
je 0x4d3078
jmp 0x4d2d70
mov ebx, dword [ebp - 0x248]
lea eax, [ebp - 0x228]
push eax
push str.path
mov ecx, ebx
call fcn.004380e0
lea eax, [ebp - 0x224]
mov ecx, ebx
push eax
push str.style
call fcn.004380e0
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
push str.operate
call fcn.004380e0
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
push eax
call fcn.00429b20
add eax, 0x10
add esp, 4
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0x12
cmp dword [eax - 0xc], 0
je 0x4d2deb
push eax
push str._allusersprofile_
lea ecx, [ebp - 0x21c]
call fcn.00463830
mov eax, dword [ebp - 0x238]
cmp dword [eax - 0xc], 0
je 0x4d2e08
push eax
push str._localappdata_
lea ecx, [ebp - 0x21c]
call fcn.00463830
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x4d2e25
push eax
push str._appdata_
lea ecx, [ebp - 0x21c]
call fcn.00463830
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], 0
je 0x4d2e42
push eax
push str._programFiles_
lea ecx, [ebp - 0x21c]
call fcn.00463830
cmp dword [edi - 0xc], 0
je 0x4d2e59
push edi
push str._programFiles_x86__
lea ecx, [ebp - 0x21c]
call fcn.00463830
cmp dword [esi - 0xc], 0
je 0x4d2e70
push esi
push str._documents_
lea ecx, [ebp - 0x21c]
call fcn.00463830
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], 0
je 0x4d2e8d
push eax
push str._temp_
lea ecx, [ebp - 0x21c]
call fcn.00463830
mov ebx, dword [ebp - 0x228]
mov byte [ebp - 4], 0x13
test ebx, ebx
je 0x4d31cb
mov eax, dword [ebp - 0x21c]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d2ecd
test dx, dx
je 0x4d2ec9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d2ecd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d2ea7
xor eax, eax
jmp 0x4d2ed2
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4d300d
mov ecx, dword [ebp - 0x21c]
add ebx, 0xfffffff0
add ecx, 0xfffffff0
cmp ecx, ebx
je 0x4d2f49
mov eax, dword [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x4d2f35
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4d2f35
push ecx
call fcn.00429b20
add esp, 4
mov dword [ebp - 0x24c], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d2f2a
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24c]
add eax, 0x10
mov dword [ebp - 0x228], eax
jmp 0x4d2f49
push dword [ecx + 4]
lea ecx, [ebp - 0x228]
push dword [ebp - 0x21c]
call fcn.0042a000
mov ecx, dword [ebp - 0x250]
cmp dword [ecx + 4], 0xccccccc
mov eax, dword [ecx]
mov dword [ebp - 0x24c], eax
je 0x4d3207
mov dword [ebp - 0x25c], ecx
push 0x14
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x258], 0
call fcn.00557fd4
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
mov dword [ebp - 0x254], eax
push ecx
lea ebx, [eax + 8]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x260], ebx
call fcn.00429b20
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x15
push eax
call fcn.00429b20
add eax, 0x10
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
push eax
call fcn.00429b20
mov ecx, dword [ebp - 0x250]
add eax, 0x10
mov edx, dword [ebp - 0x24c]
add esp, 0x10
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x12
inc dword [ecx + 4]
mov ecx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
mov dword [ebp - 0x258], 0
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [edx + 4], ecx
mov dword [eax], ecx
push 0x5b5110
lea ecx, [ebp - 0x228]
call fcn.0046b7f0
push 0x5b5110
lea ecx, [ebp - 0x224]
call fcn.0046b7f0
push 0x5b5110
lea ecx, [ebp - 0x220]
call fcn.0046b7f0
mov edx, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d3061
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x248]
push 0
call fcn.00437f50
test eax, eax
jne 0x4d2d70
jmp 0x4d3094
push str.151_tKClearDataRemanence::parserFile_txml_Open__remanence_file__fail
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallkcleardataremanence.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x10
mov edx, dword [ebp - 0x220]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d30b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d30ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d30eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d3108
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d311f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4d3136
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x230]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d3153
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d3170
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d318d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4d31a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push str.list_too_long
call fcn.005595eb
int3