Function at 0x100d0610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10208e22
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x10283a3c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x2e8], ebx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x100d06c7
mov dword [ebp - 0x2e0], 0
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov dword [ebp - 0x2d0], 0
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0
push 0xa
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x100d06c7
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [ecx]
lea edx, [ebp - 0x2cc]
push edx
push 0x10225620
push 0
push dword [ebp - 0x2d0]
push ecx
call dword [eax + 0x14]
test eax, eax
je 0x100d06dd
push dword [ebp - 0x2d0]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10020960
xor al, al
jmp 0x100d0a08
mov dword [ebp - 0x2e4], 0
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [ecx]
lea edx, [ebp - 0x2e4]
push edx
push 0xc0
push 0
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x100d071f
push dword [ebp - 0x2d0]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100d06c7
mov dword [ebp - 0x2d4], 0
mov byte [ebp - 0x2c5], 0
mov esi, dword [sym.imp.SHLWAPI.dll_StrRetToStrW]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [eax]
mov ecx, dword [ebp - 0x2e4]
mov eax, dword [ecx]
lea edx, [ebp - 0x2ec]
push edx
lea edx, [ebp - 0x2d4]
push edx
push 1
push ecx
call dword [eax + 0xc]
cmp eax, 1
je 0x100d09f3
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x2d4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100d0740
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [ecx]
lea edx, [ebp - 0x594]
push edx
push 0x8000
push dword [ebp - 0x2d4]
push ecx
call dword [eax + 0x2c]
test eax, eax
jne 0x100d0740
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [ecx]
lea edx, [ebp - 0x48c]
push edx
push 0
push dword [ebp - 0x2d4]
push ecx
call dword [eax + 0x2c]
test eax, eax
jne 0x100d0740
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2d8]
push eax
push 0
lea eax, [ebp - 0x48c]
push eax
call esi
push dword [ebp - 0x2d8]
lea ecx, [ebp - 0x27c]
call fcn.1001fc30
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.100982b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.100d56f0
test al, al
je 0x100d0a35
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10057550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.10099c60
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c4]
call fcn.10020960
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push dword [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
call fcn.100d5640
test al, al
je 0x100d0a26
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2dc]
push eax
push 0
lea eax, [ebp - 0x594]
push eax
call esi
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x264]
call fcn.1001fc30
mov byte [ebp - 4], 0xa
call fcn.100f8ff0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push 1
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100d0978
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpiproducttpiultraultramainwnd.cpp
lea ecx, [ebp - 0x2ac]
call fcn.100442d0
mov byte [ebp - 4], 0xb
push 0x1021ddf8
lea ecx, [ebp - 0x294]
call fcn.100442d0
mov byte [ebp - 4], 0xc
push 0xb0
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x384]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0xd
push str.match_it._path:
push esi
call fcn.1001ed80
add esp, 8
lea eax, [ebp - 0x264]
push eax
mov ecx, esi
call fcn.10042520
mov esi, eax
call fcn.100f8ff0
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x384]
call fcn.100212b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x294]
call fcn.100208e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2ac]
call fcn.100208e0
lea eax, [ebp - 0x264]
push eax
mov ecx, ebx
call fcn.100c5fa0
mov byte [ebp - 0x2c5], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.10020960
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2dc]
test eax, eax
je 0x100d09ad
push eax
call edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10020960
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.10020960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.10020960
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2d8]
test eax, eax
je 0x100d09ef
push eax
call edi
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10020960
mov al, byte [ebp - 0x2c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1017034a
mov esp, ebp
pop ebp
ret 0x1c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10020960
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.10020960
mov dword [ebp - 4], 2
jmp 0x100d0a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.10020960
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2d8]
test eax, eax
je 0x100d0740
push eax
call edi
jmp 0x100d0740