Function at 0x4216b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x499104]
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, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044e2e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x279]
call fcn.0041fdc0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421843
mov dword [ebx + 0x3c], 1
call fcn.0042b330
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4219d8
lea ecx, [ebp - 0x279]
call fcn.0041f140
push 0x57
push str.d:jenkins.jenkinsworkspacemgameultra_uninstallerupdateupdateupdatorfunction.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov edi, eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040cbb0
push 3
push 0x47e748
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040cbb0
push 0x4d
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x318]
call fcn.00406520
mov esi, eax
push edi
push esi
mov byte [ebp - 4], 2
call fcn.00407340
add esp, 8
call fcn.0042b330
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.00409400
lea ecx, [ebp - 0x230]
call fcn.00406dc0
lea ecx, [ebp - 0x248]
call fcn.00406dc0
jmp 0x4219d8
call fcn.00403230
mov ecx, eax
test ecx, ecx
je 0x4219f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x280]
call fcn.00402cc0
test al, al
jne 0x4218a8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421886
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.00403580
lea eax, [ebx + 0x38]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
lea ecx, [ebx + 4]
call fcn.0041ce70
mov edx, dword [ebp - 0x280]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4218ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x4219d8
call fcn.0042b330
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4219d1
lea ecx, [ebp - 0x279]
call fcn.0041edc0
push 0x57
push str.d:jenkins.jenkinsworkspacemgameultra_uninstallerupdateupdateupdatorfunction.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], esi
mov edi, eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.0040cbb0
push 3
push 0x47e748
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 5
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0040cbb0
push 0x54
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.00406520
mov esi, eax
push edi
push esi
mov byte [ebp - 4], 7
call fcn.00407340
add esp, 8
call fcn.0042b330
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b0]
call fcn.00409400
lea ecx, [ebp - 0x260]
call fcn.00406dc0
lea ecx, [ebp - 0x278]
call fcn.00406dc0
mov dword [ebx + 0x3c], 1
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.0042e446
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402ca0
int3