Function at 0x471000
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b3e1
mov eax, dword fs:[0]
push eax
mov eax, 0x11d4
call fcn.004a40a0
mov eax, dword [0x604654]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x1114]
push 0x800
push 0
push eax
mov dword [ebp - 0x1148], ebx
call fcn.0053c7b0
add esp, 0xc
lea eax, [ebp - 0x1114]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x102
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0053c7b0
push 0x800
lea eax, [ebp - 0x914]
push 0
push eax
call fcn.0053c7b0
add esp, 0x18
xor edi, edi
nop
push 0x80
lea eax, [ebp - 0x114]
push eax
call fcn.00474460
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1114]
push eax
lea eax, [ebp - 0x914]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x914]
push 0x400
push eax
call fcn.0054ed79
add esp, 0xc
lea eax, [ebp - 0x914]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4712b5
lea eax, [ebp - 0x914]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x47113a
lea eax, [ebp - 0x914]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x4712fd
push eax
lea eax, [ebp - 0x914]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4712fd
cmp eax, 0x50
je 0x4712fd
cmp eax, 0xb7
je 0x4712fd
call fcn.0049dde0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4712b5
push 0x55
push str.d:jenkins.jenkinsworkspacemgamezipper_biscuitzip_biscuitzip_biscuitziputils.cpp
lea ecx, [ebp - 0x1144]
mov dword [ebp - 0x1134], eax
mov dword [ebp - 0x1130], 0xf
mov byte [ebp - 0x1144], al
call fcn.00434740
push 3
push 0x5aba5c
lea ecx, [ebp - 0x112c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x111c], 0
mov dword [ebp - 0x1118], 0xf
mov byte [ebp - 0x112c], 0
call fcn.00434740
push 0x63e
lea eax, [ebp - 0x1144]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x112c]
push eax
lea ecx, [ebp - 0x11e0]
call fcn.00428520
mov esi, eax
push str.Create_Dir_Failed
push esi
mov byte [ebp - 4], 2
call fcn.0040f1b0
add esp, 8
call fcn.0049dde0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x11e0]
call fcn.0042a600
mov edx, dword [ebp - 0x1118]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x47123e
mov ecx, dword [ebp - 0x112c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471339
push edx
push ecx
call fcn.004a3dd5
add esp, 8
mov edx, dword [ebp - 0x1130]
mov dword [ebp - 0x111c], 0
mov dword [ebp - 0x1118], 0xf
mov byte [ebp - 0x112c], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x47129a
mov ecx, dword [ebp - 0x1144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471339
push edx
push ecx
call fcn.004a3dd5
add esp, 8
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0xf
mov byte [ebp - 0x1144], 0
inc edi
cmp edi, 0xa
jl 0x471090
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push 0x5ab0c0
mov ecx, ebx
call fcn.00413b10
mov eax, ebx
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.004a408b
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebx + 0x10], 0
lea ecx, [ebp - 0x914]
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471320
sub ecx, edx
lea eax, [ebp - 0x914]
sar ecx, 1
push ecx
push eax
jmp 0x4712d8
call fcn.0053fae3
int3