Function at 0x417ca0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47edf3
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
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 ebx, ecx
mov dword [ebp - 0x4c], ebx
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x417f5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_inst_inst_ludashi_forwin11assistant.exe
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00408bc0
test al, al
jne 0x417d14
push 0x5f
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_inst_inst_ludashi_forwin11assistant.exe
lea ecx, [ebp - 0x48]
call fcn.0040b820
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
call fcn.00419380
mov ecx, eax
call fcn.004121b0
push str.inst_ludashi_forwin11assistant.exe
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00417060
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
cmp dword [esi - 0xc], 0
je 0x417f01
cmp dword [eax - 0xc], 0
je 0x417f01
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417d6a
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x417d8f
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [ebx + 0x104]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebx + 0x104], 0
call fcn.0040ae40
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x417dc3
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x417dc5
mov edx, dword [edi]
mov ecx, edi
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [edi]
mov ecx, edi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x417dc5
xor edi, edi
push 0
push 0
push 1
push 0
push str.instonline_down_start
mov dword [ebx + 0x104], edi
call fcn.004192f0
mov ecx, eax
call fcn.00448450
cmp dword [ebx + 0x104], 0
je 0x417efa
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 0x417eaf
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d860
mov byte [ebp - 4], 4
call fcn.0042e4b0
mov ebx, eax
lea ecx, [ebp - 0xe4]
push 0x2ca
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404e20
mov edi, eax
push str.start_download_lds
push edi
mov byte [ebp - 4], 5
call fcn.00402c60
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00406330
lea ecx, [ebp - 0x28]
call fcn.004058f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004058f0
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x104]
lea eax, [ebx + 0x74]
mov edx, ebx
neg edx
mov edi, dword [ecx]
sbb edx, edx
and edx, eax
push edx
call dword [edi]
mov ecx, dword [ebx + 0x104]
push dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebx + 0x104]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebx + 0x114]
call fcn.00416de0
mov eax, dword [ebp - 0x44]
mov ebx, 1
jmp 0x417f03
mov eax, dword [ebp - 0x44]
xor ebx, ebx
jmp 0x417f03
xor ebx, ebx
or edi, 0xffffffff
mov byte [ebp - 4], 1
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417f21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x417f3d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
int3