Function at 0x10032840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e42a6
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x1025e344]
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 edi, ecx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x27c], 0
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100328b7
push 0x3c
call fcn.100cff51
add esp, 4
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100328ab
mov ecx, eax
call fcn.100abd60
jmp 0x100328ad
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x18], eax
mov dword [eax + 0x28], 1
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
mov eax, dword [edi + 0x18]
mov dword [eax + 4], ecx
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x270], 0
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x10033475
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x25c]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x10032952
push 0
push 0x101fe8a0
lea ecx, [ebp - 0x25c]
call fcn.10006ab0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jns 0x10032a94
call fcn.100b5f40
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0
mov ebx, eax
push str.d:jenkins.jenkinsworkspacemaster_lucleanenginecleanenginecleanengine_srclua_engine_scan_scan_file_scan_recycle_bin.cc
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10014280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x10200ec8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10014280
mov byte [ebp - 4], 4
call fcn.100b5f40
mov edi, eax
lea ecx, [ebp - 0x324]
push 0x2e
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10010bd0
mov esi, eax
mov byte [ebp - 4], 5
push str.SHGetDesktopFolder_failed_err:
push esi
call fcn.1000fd60
add esp, 8
mov ecx, esi
push ebx
call fcn.10011f50
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.10012230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.10007910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.10007910
jmp 0x10033434
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jns 0x10032bcf
call fcn.100b5f40
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0
mov ebx, eax
push str.d:jenkins.jenkinsworkspacemaster_lucleanenginecleanenginecleanengine_srclua_engine_scan_scan_file_scan_recycle_bin.cc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10014280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x10200ec8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10014280
mov byte [ebp - 4], 8
call fcn.100b5f40
mov edi, eax
lea ecx, [ebp - 0x324]
push 0x34
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10010bd0
mov esi, eax
mov byte [ebp - 4], 9
push str.SHGetMalloc_failed_err:
push esi
call fcn.1000fd60
add esp, 8
mov ecx, esi
push ebx
call fcn.10011f50
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x324]
call fcn.10012230
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.10007910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10007910
jmp 0x10033434
lea eax, [ebp - 0x274]
push eax
push 0
push 0
push 0xa
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jns 0x10032d12
call fcn.100b5f40
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0
mov ebx, eax
push str.d:jenkins.jenkinsworkspacemaster_lucleanenginecleanenginecleanengine_srclua_engine_scan_scan_file_scan_recycle_bin.cc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10014280
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x10200ec8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10014280
mov byte [ebp - 4], 0xc
call fcn.100b5f40
mov edi, eax
lea ecx, [ebp - 0x324]
push 0x39
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10010bd0
mov esi, eax
mov byte [ebp - 4], 0xd
push str.SHGetFolderLocation_CSIDL_BITBUCKET_failed_err:
push esi
call fcn.1000fd60
add esp, 8
mov ecx, esi
push ebx
call fcn.10011f50
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x324]
call fcn.10012230
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x230]
call fcn.10007910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10007910
jmp 0x10033434
mov eax, dword [ebp - 0x280]
lea edx, [ebp - 0x264]
push edx
push 0x1020b9fc
push 0
push dword [ebp - 0x274]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jns 0x10032e60
call fcn.100b5f40
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0
mov ebx, eax
push str.d:jenkins.jenkinsworkspacemaster_lucleanenginecleanenginecleanengine_srclua_engine_scan_scan_file_scan_recycle_bin.cc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10014280
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x10200ec8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10014280
mov byte [ebp - 4], 0x10
call fcn.100b5f40
mov edi, eax
lea ecx, [ebp - 0x324]
push 0x40
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10010bd0
mov esi, eax
mov byte [ebp - 4], 0x11
push str.BindToObject_RecycleBin_failed_err:
push esi
call fcn.1000fd60
add esp, 8
mov ecx, esi
push ebx
call fcn.10011f50
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x324]
call fcn.10012230
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x230]
call fcn.10007910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10007910
jmp 0x10033434
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x278]
push edx
push 0xe0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ebx, eax
call fcn.100b5f40
push 0
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10032f8e
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
push 0x7d
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x248], cl
lea ecx, [ebp - 0x248]
push str.d:jenkins.jenkinsworkspacemaster_lucleanenginecleanenginecleanengine_srclua_engine_scan_scan_file_scan_recycle_bin.cc
mov dword [ebp - 0x234], 0xf
call fcn.10014280
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x10200ec8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10014280
mov byte [ebp - 4], 0x14
call fcn.100b5f40
mov edi, eax
lea ecx, [ebp - 0x324]
push 0x48
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10010bd0
mov esi, eax
mov byte [ebp - 4], 0x15
push str.EnumObjects_hr:
push esi
call fcn.1000fd60
add esp, 8
mov ecx, esi
push ebx
call fcn.10019660
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x324]
call fcn.10012230
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x230]
call fcn.10007910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10007910
mov edi, dword [ebp - 0x284]
test ebx, ebx
js 0x10033309
mov ecx, edi
call fcn.10048df0
test eax, eax
jne 0x10033309
mov eax, dword [ebp - 0x278]
lea edx, [ebp - 0x28c]
push edx
lea edx, [ebp - 0x268]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
cmp eax, 1
je 0x10033309
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x53c]
push edx
push 0
push dword [ebp - 0x268]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x10032f96
xor ebx, ebx
nop
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x434]
push edx
push ebx
push dword [ebp - 0x268]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x10033191
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x10033475
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x26c], esi
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x42c]
sub eax, 0
je 0x100330bd
sub eax, 2
jne 0x10033104
push 0xfde9
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100d1710
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0x19
cmp dword [edx + 0x14], 8
jb 0x10033080
mov edx, dword [edx]
test edx, edx
jne 0x10033088
xor eax, eax
jmp 0x1003309f
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10033090
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x26c]
call fcn.10006ab0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x230]
call fcn.10003a70
jmp 0x100330fe
mov edx, dword [ebp - 0x428]
test edx, edx
jne 0x100330cb
xor ecx, ecx
jmp 0x100330df
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100330d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x26c]
call fcn.10006ab0
mov eax, dword [ebp - 0x270]
push dword [ebp - 0x428]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, dword [ebp - 0x26c]
cmp ebx, 3
jne 0x1003316b
mov edi, dword [ebp - 0x25c]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
je 0x1003316b
cmp dword [edi + 0xc], 0
jl 0x1003315c
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1003315c
push ecx
call fcn.100041a0
add esp, 4
mov dword [ebp - 0x260], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10033151
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x260]
add eax, 0x10
mov dword [ebp - 0x25c], eax
jmp 0x1003316b
push dword [esi - 0xc]
lea ecx, [ebp - 0x25c]
push esi
call fcn.10006ab0
inc ebx
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10033188
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 4
jl 0x10033000
lea ecx, [ebp - 0x258]
call fcn.1002a0a0
mov byte [ebp - 4], 0x1b
mov edi, dword [ebp - 0x284]
mov dword [ebp - 0x250], 4
mov dword [ebp - 0x24c], 2
mov dword [ebp - 0x244], 2
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
add edx, 0x11c
cmp dword [edx + 0x14], 8
jb 0x100331da
mov edx, dword [edx]
test edx, edx
jne 0x100331e2
xor ecx, ecx
jmp 0x100331f6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100331e7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x23c]
call fcn.10006ab0
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
add edx, 0xdc
cmp dword [edx + 0x14], 8
jb 0x10033219
mov edx, dword [edx]
test edx, edx
jne 0x10033221
xor ecx, ecx
jmp 0x10033235
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033226
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.10006ab0
mov edx, dword [ebp - 0x538]
test edx, edx
jne 0x10033250
xor ecx, ecx
jmp 0x10033264
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033255
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.10006ab0
sub esp, 0x28
lea eax, [ebp - 0x258]
mov ecx, esp
mov dword [ebp - 0x260], esp
push eax
call fcn.1002b530
mov byte [ebp - 4], 0x1c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1b
call dword [eax]
push ecx
mov esi, esp
mov dword [ebp - 0x260], esp
mov dword [ebp - 0x288], esi
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1b
call fcn.10008640
add esp, 4
push edx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
push dword [ebp - 0x538]
call fcn.10003660
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x1b
mov ecx, edi
call fcn.100325d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.1002a250
jmp 0x10032f96
mov ecx, dword [ebp - 0x270]
test ecx, ecx
je 0x1003332b
push dword [ebp - 0x274]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x270]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x278]
test ecx, ecx
je 0x1003333b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x1003334b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x23c]
push eax
call fcn.1002a370
mov byte [ebp - 4], 0x20
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
mov dword [ebp - 0x27c], 1
test ecx, ecx
je 0x100333ea
mov ecx, dword [0x10268af8]
test ecx, ecx
jne 0x100333db
push 0x1025e0e4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10268af8], 0
jne 0x100333ca
push 0x1c
call fcn.100cff51
add esp, 4
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0x21
test eax, eax
je 0x100333b8
mov ecx, eax
call fcn.100aeca0
mov ecx, eax
jmp 0x100333ba
xor ecx, ecx
mov byte [ebp - 4], 0x20
xchg dword [ebp - 0x260], eax
mov dword [0x10268af8], ecx
push 0x1025e0e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10268af8]
push 0
call fcn.100aeee0
test eax, eax
jne 0x100333ea
mov bl, 1
jmp 0x100333ec
xor bl, bl
mov dword [ebp - 4], 2
mov eax, 1
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x23c]
and eax, 0xfffffffe
mov dword [ebp - 0x27c], eax
call fcn.10019380
mov ecx, dword [edi + 0x18]
test bl, bl
je 0x10033423
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [eax + 0x40], ecx
jmp 0x10033434
test ecx, ecx
je 0x1003342d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100d02f2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004040
int3