Function at 0x4d3310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab0b9
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x639354]
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.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallkcleardataremanence.cpp
push str._INFO_
push 0x641cc8
mov dword [ebp - 0x248], eax
call fcn.0046b730
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
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.00429250
mov ecx, eax
test ecx, ecx
je 0x4d3c6b
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 0x4d33d9
push esi
lea ecx, [ebp - 0x23c]
call fcn.00429d90
jmp 0x4d3404
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d33e2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0042a060
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call ebx
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d3c75
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 0x4d3463
push esi
lea ecx, [ebp - 0x238]
call fcn.00429d90
jmp 0x4d3492
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d3470
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0042a060
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.00560a80
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1a
call fcn.0047ca90
add esp, 0x18
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d3c7f
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 0x4d34f2
push esi
lea ecx, [ebp - 0x234]
call fcn.00429d90
jmp 0x4d3522
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4d3500
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d3500
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0042a060
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00560a80
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x26
call fcn.0047ca90
add esp, 0x18
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d3c89
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 0x4d3582
push esi
lea ecx, [ebp - 0x230]
call fcn.00429d90
jmp 0x4d35b2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4d3590
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d3590
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0042a060
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00560a80
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x2a
call fcn.0047ca90
add esp, 0x18
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d3c93
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 0x4d3612
push esi
lea ecx, [ebp - 0x240]
call fcn.00429d90
jmp 0x4d364b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4d3620
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d3620
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0042a060
lea eax, [ebp - 0x218]
movzx esi, ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 5
push eax
push 0
call ebx
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d3c9d
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 0x4d36a7
push esi
lea ecx, [ebp - 0x244]
call fcn.00429d90
jmp 0x4d36d2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d36b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.0042a060
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00429250
test eax, eax
je 0x4d3c6b
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 0x4d3731
push esi
lea ecx, [ebp - 0x22c]
call fcn.00429d90
jmp 0x4d3762
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d3740
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042a060
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0047fae0
add esp, 4
mov byte [ebp - 4], 0xe
call fcn.00429250
test eax, eax
je 0x4d3c6b
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.00429250
test eax, eax
je 0x4d3c6b
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.00429250
test eax, eax
je 0x4d3c6b
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.00437ff0
mov edi, dword [ebp - 0x240]
or ebx, 0xffffffff
mov esi, dword [ebp - 0x244]
test eax, eax
je 0x4d3b18
jmp 0x4d3810
mov ebx, dword [ebp - 0x248]
lea eax, [ebp - 0x228]
push eax
push str.path
mov ecx, ebx
call fcn.00438140
lea eax, [ebp - 0x224]
mov ecx, ebx
push eax
push str.style
call fcn.00438140
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
push str.operate
call fcn.00438140
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
push eax
call fcn.00429b80
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 0x4d388b
push eax
push str._allusersprofile_
lea ecx, [ebp - 0x21c]
call fcn.00463440
mov eax, dword [ebp - 0x238]
cmp dword [eax - 0xc], 0
je 0x4d38a8
push eax
push str._localappdata_
lea ecx, [ebp - 0x21c]
call fcn.00463440
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x4d38c5
push eax
push str._appdata_
lea ecx, [ebp - 0x21c]
call fcn.00463440
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], 0
je 0x4d38e2
push eax
push str._programFiles_
lea ecx, [ebp - 0x21c]
call fcn.00463440
cmp dword [edi - 0xc], 0
je 0x4d38f9
push edi
push str._programFiles_x86__
lea ecx, [ebp - 0x21c]
call fcn.00463440
cmp dword [esi - 0xc], 0
je 0x4d3910
push esi
push str._documents_
lea ecx, [ebp - 0x21c]
call fcn.00463440
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], 0
je 0x4d392d
push eax
push str._temp_
lea ecx, [ebp - 0x21c]
call fcn.00463440
mov ebx, dword [ebp - 0x228]
mov byte [ebp - 4], 0x13
test ebx, ebx
je 0x4d3c6b
mov eax, dword [ebp - 0x21c]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d396d
test dx, dx
je 0x4d3969
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d396d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d3947
xor eax, eax
jmp 0x4d3972
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4d3aad
mov ecx, dword [ebp - 0x21c]
add ebx, 0xfffffff0
add ecx, 0xfffffff0
cmp ecx, ebx
je 0x4d39e9
mov eax, dword [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x4d39d5
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4d39d5
push ecx
call fcn.00429b80
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 0x4d39ca
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 0x4d39e9
push dword [ecx + 4]
lea ecx, [ebp - 0x228]
push dword [ebp - 0x21c]
call fcn.0042a060
mov ecx, dword [ebp - 0x250]
cmp dword [ecx + 4], 0xccccccc
mov eax, dword [ecx]
mov dword [ebp - 0x24c], eax
je 0x4d3ca7
mov dword [ebp - 0x25c], ecx
push 0x14
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x258], 0
call fcn.0055c4f4
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.00429b80
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x15
push eax
call fcn.00429b80
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.00429b80
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 0x5ba110
lea ecx, [ebp - 0x228]
call fcn.0046b400
push 0x5ba110
lea ecx, [ebp - 0x224]
call fcn.0046b400
push 0x5ba110
lea ecx, [ebp - 0x220]
call fcn.0046b400
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 0x4d3b01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x248]
push 0
call fcn.00437fb0
test eax, eax
jne 0x4d3810
jmp 0x4d3b34
push str.151_tKClearDataRemanence::parserFile_txml_Open__remanence_file__fail
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallkcleardataremanence.cpp
push str._ERROR_
push 0x641cc8
call fcn.0046b730
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 0x4d3b51
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 0x4d3b6e
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 0x4d3b8b
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 0x4d3ba8
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 0x4d3bbf
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 0x4d3bd6
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 0x4d3bf3
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 0x4d3c10
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 0x4d3c2d
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 0x4d3c48
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.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push str.list_too_long
call fcn.0055db0b
int3