Function at 0x42f340
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514da8
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x55d3e4]
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
lea ecx, [ebp - 0x258]
call fcn.0043aa60
push 0x526a74
push 0xfa
push dword [0x587c54]
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0
call fcn.0043acb0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bc5f0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00439230
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x42f74f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
lea edi, [ebp - 0x218]
mov byte [ebp - 4], 1
shr edi, 0x10
test edi, edi
jne 0x42f414
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x24c]
push esi
call fcn.00410890
jmp 0x42f44b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f420
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00412010
lea eax, [ebp - 0x218]
movzx esi, ax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x258]
call fcn.0043aeb0
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f483
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x52699c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x42f759
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 3
test edi, edi
jne 0x42f4c8
push esi
lea ecx, [ebp - 0x24c]
call fcn.00410890
jmp 0x42f4f3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f4d1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00412010
mov byte [ebp - 4], 4
call fcn.0040f550
mov esi, dword [ebp - 0x24c]
mov ebx, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f598
push esi
call fcn.00451ae0
add esp, 4
test eax, eax
je 0x42f598
cmp dword [ebx], 0
jne 0x42f57f
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x42f598
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call edi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call edi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call edi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x42f57f
call eax
mov dword [ebx + 0xc], eax
cmp dword [ebx + 8], 0
je 0x42f598
cmp dword [ebx + 4], 0
je 0x42f598
cmp dword [ebx + 0xc], 0
je 0x42f598
mov ebx, 1
jmp 0x42f59a
xor ebx, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f5b6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42f726
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 6
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0x2f0]
push 0x91
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00409f40
mov esi, eax
push str.Init
push esi
mov byte [ebp - 4], 7
call fcn.0040ada0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0040d7d0
push str._return_:
push esi
call fcn.0040ada0
add esp, 0x18
mov ecx, esi
push ebx
call fcn.0040ec60
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f0]
call fcn.0040ae60
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x42f6d5
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f6cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f763
push edx
push ecx
call fcn.004759bb
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x42f726
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f71c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f768
push edx
push ecx
call fcn.004759bb
add esp, 8
lea ecx, [ebp - 0x258]
call fcn.0043aa80
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.00475dd9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407af0
push 0x80004005
call fcn.00407af0
call fcn.004c7638
call fcn.004c7638
int3