Function at 0x4173b0
Capabilities:
Accept command line arguments
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ed54
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x4a62c4]
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 edi, ecx
mov dword [ebp - 0x280], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00455240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x487010
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x4179d6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x27c]
call fcn.00408bc0
test al, al
jne 0x417494
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417472
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.0040b820
mov dword [ebp - 4], 1
call fcn.0040ae40
mov esi, dword [ebp - 0x27c]
mov ebx, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417546
push esi
call fcn.00430020
add esp, 4
test eax, eax
je 0x417546
cmp dword [ebx], 0
jne 0x41752d
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x417546
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 0x417527
call eax
mov dword [ebx + 0xc], eax
mov edi, dword [ebp - 0x280]
cmp dword [ebx + 8], 0
je 0x417546
cmp dword [ebx + 4], 0
je 0x417546
cmp dword [ebx + 0xc], 0
je 0x417546
mov ecx, 1
jmp 0x417548
xor ecx, ecx
or ebx, 0xffffffff
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417575
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x27c]
test ecx, ecx
jne 0x417677
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41765b
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 2
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040d860
mov byte [ebp - 4], 3
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x1f4
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00404e20
mov esi, eax
push 0x487770
push esi
mov byte [ebp - 4], 4
call fcn.00402c60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.00406330
lea ecx, [ebp - 0x248]
call fcn.004058f0
lea ecx, [ebp - 0x230]
call fcn.004058f0
mov ecx, dword [ebp - 0x280]
push 0
push 0
push 0x10
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4179ba
lea ecx, [ebp - 0x278]
call fcn.00438070
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x220], 0
mov ecx, edx
mov dword [ebp - 0x21c], 7
xor eax, eax
mov word [ebp - 0x230], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4176b3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0040d950
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x278]
call fcn.004388a0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00405940
push 0x10
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x487790
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0040d950
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x278]
call fcn.00438800
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
mov esi, eax
call fcn.00405940
test esi, esi
je 0x417846
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x417831
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040d860
mov byte [ebp - 4], 9
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x1fd
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00404e20
mov esi, eax
push str.no_check_upgrade
push esi
mov byte [ebp - 4], 0xa
call fcn.00402c60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.00406330
lea ecx, [ebp - 0x230]
call fcn.004058f0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.004058f0
mov ecx, dword [ebp - 0x280]
call fcn.0041a5f0
mov ebx, 1
jmp 0x4179ad
mov eax, dword [edi + 0x98]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi + 0x9c]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi + 0xa0]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, dword [edi + 0x24]
lea eax, [edi + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x4179e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x280]
push str.http:__cdn_file.ludashi.com_cms_project_48_data_win11check.txt_t_d
push eax
call fcn.0040a700
mov esi, dword [ebp - 0x280]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x4178ec
mov byte [ebp - 4], 5
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4178e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
jmp 0x4179ad
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x417911
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [edi + 0x108], 0
call fcn.0040ae40
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x417945
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x417947
mov edx, dword [ebx]
mov ecx, ebx
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x417947
xor ebx, ebx
mov dword [edi + 0x108], ebx
test ebx, ebx
je 0x41798f
push 0
push 0xbb8
push 0x3e9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [edi + 0x108]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x108]
lea eax, [edi + 0x74]
neg edi
sbb edi, edi
mov edx, dword [ecx]
and edi, eax
push edi
call dword [edx]
mov ebx, 1
jmp 0x417991
xor ebx, ebx
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4179ad
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x278]
call fcn.00438170
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.00447113
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406bd0
push 0x80004005
call fcn.00406bd0
int3