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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7efd
mov eax, dword fs:[0]
push eax
sub esp, 0x198
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 - 0x74], ebx
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 2
je 0x423876
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 0x423bb1
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 dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00411d10
mov byte [ebp - 4], 1
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x2f5
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004092d0
mov esi, eax
push str.ludashi_install_http_failed
push esi
mov byte [ebp - 4], 2
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040a7e0
lea ecx, [ebp - 0x28]
call fcn.00409da0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
jmp 0x423bb1
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x423881
xor ecx, ecx
jmp 0x423895
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423886
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x114]
call fcn.0040fcd0
push dword [ebx + 0x114]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423949
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 0x423bb1
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 4
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x2fb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
mov byte [ebp - 4], 5
push str.ludashi_install_not_exist
jmp 0x423b7b
push dword [ebx + 0x114]
call fcn.00446cf0
add esp, 4
test eax, eax
jne 0x4239f2
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 0x423bb1
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 7
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x300
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
mov byte [ebp - 4], 8
push str.ludashi_install_sign_invalid
jmp 0x423b7b
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 0x423ab3
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 9
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 0xa
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x303
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
push str.ludashi_download_Success
push esi
mov byte [ebp - 4], 0xb
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040a7e0
lea ecx, [ebp - 0x40]
call fcn.00409da0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
push 0
push 0
push 1
push 0
push str.instonline_down_succ
call fcn.00421770
mov ecx, eax
call fcn.004684a0
push 0
push 1
push 1
push str.__pidassistant_11___sceneinst_ludashi
push dword [ebx + 0x114]
call fcn.00446430
add esp, 0x14
test eax, eax
jne 0x423d27
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 0x423bae
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 0xd
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x30c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
mov byte [ebp - 4], 0xe
push str.Run_Ludashi_Install_failed
push esi
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040a7e0
lea ecx, [ebp - 0x40]
call fcn.00409da0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
mov ebx, dword [ebp - 0x74]
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 0x423cf2
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00411d10
mov byte [ebp - 4], 0x13
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x314
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004092d0
mov esi, eax
push str.ludashi_download_Invalid
push esi
mov byte [ebp - 4], 0x14
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.0040a7e0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x423c93
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423c89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423e24
push edx
push ecx
call fcn.00466e06
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x423ce0
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423cd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423e29
push edx
push ecx
call fcn.00466e06
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0
push 0
push 1
push 0
push str.instonline_down_fail
call fcn.00421770
mov ecx, eax
call fcn.004684a0
push dword [ebx + 0x114]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x114]
call fcn.00415030
jmp 0x423e01
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 0x423de8
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 0x10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x30f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
push str.Run_Ludashi_Install_succ
push esi
mov byte [ebp - 4], 0x11
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040a7e0
lea ecx, [ebp - 0x40]
call fcn.00409da0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
push 0
push 0
push 1
push 0
push str.instonline_run
call fcn.00421770
mov ecx, eax
call fcn.004684a0
mov eax, 1
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 4
call fcn.0048f279
call fcn.0048f279
int3