Function at 0x10053910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f542c
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x10283a3c]
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 edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x18]
xor eax, 1
inc eax
shl eax, 8
or eax, 0x20019
push eax
push edx
push ecx
lea ecx, [ebp - 0x26c]
call fcn.10041f00
mov edi, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
test eax, eax
je 0x10053ae2
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10053adb
push 0x46
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10023160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x1021ddf8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10023160
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
push 0x25f
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x30c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 3
push 0x1021f14c
push esi
call fcn.1001ed80
mov eax, dword [ebp - 0x270]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1001ed80
push str._Failed:
push esi
call fcn.1001ed80
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x274]
call fcn.10021010
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30c]
call fcn.100212b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.100208e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.100208e0
xor bl, bl
jmp 0x10053fbc
mov ecx, esi
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10053b20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.10027e50
mov byte [ebp - 4], 5
xor eax, eax
push eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0
push 0x1021dffc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.10027e50
mov byte [ebp - 4], 6
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.10054050
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x248]
call fcn.10020960
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.10020960
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10053cec
push 0x46
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10023160
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x1021ddf8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10023160
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x230]
push 0x264
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x30c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0xc
push str.valu_
push esi
call fcn.1001ed80
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x260]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001ed80
add esp, 0x10
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30c]
call fcn.100212b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x248]
call fcn.100208e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.100208e0
cmp dword [ebp - 0x250], 0
jne 0x10053cfc
xor bl, bl
jmp 0x10053fad
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101be270
add esp, 0xc
lea eax, [ebp - 0x260]
test ebx, ebx
je 0x10053e5e
cmp dword [ebp - 0x24c], 8
push ebx
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
test edi, edi
jne 0x10053fa4
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10053fa2
push 0x46
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10023160
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
push 0x1021ddf8
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10023160
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x230]
push 0x270
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x30c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0x10
push 0x1021f184
push esi
call fcn.1001ed80
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1001ed80
push str._err:
push esi
call fcn.1001ed80
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.10031410
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30c]
call fcn.100212b0
mov byte [ebp - 4], 0xe
jmp 0x10053f88
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
test edi, edi
jne 0x10053fa4
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10053fa2
push 0x46
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10023160
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
push 0x1021ddf8
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10023160
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x230]
push 0x279
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x30c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0x14
push 0x1021f184
push esi
call fcn.1001ed80
add esp, 8
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
call fcn.10042520
mov esi, eax
push str._err:
push esi
call fcn.1001ed80
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.10031410
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30c]
call fcn.100212b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x248]
call fcn.100208e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.100208e0
test edi, edi
mov edi, dword [ebp - 0x26c]
setne bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.10020960
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10053fd8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x26c], 0
mov al, bl
mov dword [ebp - 0x268], 0
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.1017034a
mov esp, ebp
pop ebp
ret