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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7733
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4f0464]
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.0040f380
mov ecx, eax
test ecx, ecx
je 0x41fa5b
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.0040d070
test al, al
jne 0x41f814
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.0040fcd0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
call fcn.00421800
mov ecx, eax
call fcn.004166c0
push str.inst_ludashi_forwin11assistant.exe
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0041ea80
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
cmp dword [esi - 0xc], 0
je 0x41fa01
cmp dword [eax - 0xc], 0
je 0x41fa01
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f86a
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x41f88f
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.0040f2f0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41f8c3
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x41f8c5
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 0x41f8c5
xor edi, edi
push 0
push 0
push 1
push 0
push str.instonline_down_start
mov dword [ebx + 0x104], edi
call fcn.00421770
mov ecx, eax
call fcn.004684a0
cmp dword [ebx + 0x104], 0
je 0x41f9fa
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41f9af
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.00411d10
push 3
push 0x4c1b84
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.00411d10
mov byte [ebp - 4], 4
call fcn.00445180
mov ebx, eax
lea ecx, [ebp - 0xe4]
push 0x2e8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004092d0
mov edi, eax
push str.start_download_lds
push edi
mov byte [ebp - 4], 5
call fcn.00407110
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.0040a7e0
lea ecx, [ebp - 0x28]
call fcn.00409da0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00409da0
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.0041e860
mov eax, dword [ebp - 0x44]
mov ebx, 1
jmp 0x41fa03
mov eax, dword [ebp - 0x44]
xor ebx, ebx
jmp 0x41fa03
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 0x41fa21
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 0x41fa3d
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.004670b3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b080
int3