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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c1a3
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4a62e4]
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.0040bd70
mov ecx, eax
test ecx, ecx
je 0x419951
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov eax, str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_inst_inst_ludashi_forwin11assistant.exe
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
test eax, 0xffff0000
jne 0x4196fe
movzx eax, ax
push eax
call fcn.0041bd40
jmp 0x41970a
push 0x5f
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_inst_inst_ludashi_forwin11assistant.exe
call fcn.0040c6c0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
call fcn.004133b0
mov ecx, eax
call fcn.004138c0
push str.inst_ludashi_forwin11assistant.exe
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00412b30
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
cmp dword [esi - 0xc], 0
je 0x4198f7
cmp dword [eax - 0xc], 0
je 0x4198f7
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419760
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x100]
test ecx, ecx
je 0x419785
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [ebx + 0x100]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebx + 0x100], 0
call fcn.0040bce0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4197b9
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4197bb
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 0x4197bb
xor edi, edi
push 0
push 0
push 1
push 0
push str.instonline_down_start
mov dword [ebx + 0x100], edi
call fcn.0041acf0
mov ecx, eax
call fcn.00444490
cmp dword [ebx + 0x100], 0
je 0x4198f0
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4198a5
push 0x3a
push str.d:_buildlib_commonwin11_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.0040e510
push 3
push 0x482dd8
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.0040e510
mov byte [ebp - 4], 4
call fcn.0042fcb0
mov ebx, eax
lea ecx, [ebp - 0xe4]
push 0x2ca
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405aa0
mov edi, eax
push str.start_download_lds
push edi
mov byte [ebp - 4], 5
call fcn.00403950
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00406fb0
lea ecx, [ebp - 0x28]
call fcn.00406570
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00406570
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x100]
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 + 0x100]
push dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebx + 0x100]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebx + 0x110]
call fcn.004189f0
mov eax, dword [ebp - 0x44]
mov ebx, 1
jmp 0x4198f9
mov eax, dword [ebp - 0x44]
xor ebx, ebx
jmp 0x4198f9
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 0x419917
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 0x419933
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.00443153
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407850
int3