Function at 0x1004cdb0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f425e
mov eax, dword fs:[0]
push eax
sub esp, 0x330
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
xor edi, edi
mov dword [ebp - 0x284], edi
mov dword [ebp - 4], edi
push 0x208
push edi
lea eax, [ebp - 0x21c]
push eax
call fcn.101be270
add esp, 0xc
push edi
push 0x19
lea eax, [ebp - 0x21c]
push eax
push edi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004d027
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.10042380
mov byte [ebp - 4], 1
push 2
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x294]
call fcn.10044490
mov byte [ebp - 4], 2
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x280], esp
lea eax, [ebp - 0x294]
push eax
call fcn.10044420
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 2
call fcn.10056fb0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, esp
mov dword [ebp - 0x280], esp
lea eax, [ebp - 0x294]
push eax
call fcn.10044420
mov byte [ebp - 4], 5
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 4
call fcn.10057480
add esp, 0xc
mov byte [ebp - 4], 6
nop dword [eax]
mov esi, dword [ebp - 0x28c]
cmp esi, dword [ebp - 0x29c]
je 0x1004cfe1
call fcn.100f8ff0
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 1
call eax
movzx eax, al
sub eax, 1
jne 0x1004cfca
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
lea ecx, [ebp - 0x24c]
call fcn.100442d0
mov byte [ebp - 4], 7
push 0x1021ddf8
lea ecx, [ebp - 0x234]
call fcn.100442d0
mov byte [ebp - 4], 8
push 0xb73
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x338]
call fcn.1001fd50
mov ebx, eax
mov byte [ebp - 4], 9
push str.file_:
push ebx
call fcn.100211a0
add esp, 8
lea ecx, [esi + 0x20]
lea eax, [ebp - 0x27c]
push eax
call fcn.10057550
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x1004cf63
mov eax, dword [eax]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2a0]
push eax
mov ecx, ebx
call fcn.100424f0
mov esi, eax
call fcn.100f8ff0
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.10020960
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x338]
call fcn.100212b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.100208e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24c]
call fcn.100208e0
inc edi
mov dword [ebp - 0x284], edi
lea ecx, [ebp - 0x28c]
call fcn.10045520
jmp 0x1004cec0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.10045220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.10045220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.10045220
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.10020960
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.101be270
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x21c]
push eax
push 0
call ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004d253
push 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10042380
mov byte [ebp - 4], 0xe
push 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x28c]
call fcn.10044490
mov byte [ebp - 4], 0xf
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x280], esp
lea eax, [ebp - 0x28c]
push eax
call fcn.10044420
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 0xf
call fcn.10056fb0
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, esp
mov dword [ebp - 0x280], esp
lea eax, [ebp - 0x28c]
push eax
call fcn.10044420
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 0x11
call fcn.10057480
add esp, 0xc
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x294]
cmp esi, dword [ebp - 0x29c]
je 0x1004d213
call fcn.100f8ff0
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 1
call eax
movzx eax, al
sub eax, 1
jne 0x1004d1fc
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
lea ecx, [ebp - 0x24c]
call fcn.100442d0
mov byte [ebp - 4], 0x14
push 0x1021ddf8
lea ecx, [ebp - 0x264]
call fcn.100442d0
mov byte [ebp - 4], 0x15
push 0xb7e
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x338]
call fcn.1001fd50
mov ebx, eax
mov byte [ebp - 4], 0x16
push str.file_:
push ebx
call fcn.100211a0
add esp, 8
lea ecx, [esi + 0x20]
lea eax, [ebp - 0x27c]
push eax
call fcn.10057550
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
jb 0x1004d195
mov eax, dword [eax]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x280]
push eax
mov ecx, ebx
call fcn.100424f0
mov esi, eax
call fcn.100f8ff0
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x1c]
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x27c]
call fcn.10020960
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x338]
call fcn.100212b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x264]
call fcn.100208e0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x24c]
call fcn.100208e0
inc edi
mov dword [ebp - 0x284], edi
lea ecx, [ebp - 0x294]
call fcn.10045520
jmp 0x1004d0f2
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x29c]
call fcn.10045220
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x294]
call fcn.10045220
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28c]
call fcn.10045220
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10020960
mov dword [ebp - 4], 0xffffffff
mov eax, edi
jmp 0x1004d271
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