Function at 0x407df0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e8
mov eax, dword [0x4600a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x449]
push ebx
push esi
push edi
mov dword [ebp - 0x450], eax
call fcn.00404400
push 0
push 0
push str.ldsmain
call fcn.004040b0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00424fc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
add esp, 0x18
push 0x104
push eax
push 0
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push 0x449700
push eax
call esi
push str.ludashi.log
lea eax, [ebp - 0x414]
push eax
call esi
push 0x4492b8
push 0x6400000
push 0
push 1
lea eax, [ebp - 0x414]
push eax
call fcn.00411cd0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00424fc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call ebx
lea eax, [ebp - 0x20c]
push eax
call edi
push str.ComputerZ_CN.dll
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407fd7
call fcn.00411be0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4082b0
push 0x60
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashilds_carrier_srcmain.cc
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], al
call fcn.00406210
push 3
push 0x4497ac
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00406210
call fcn.00411be0
mov edi, eax
lea ecx, [ebp - 0x4e8]
push 0x23
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00401e00
mov esi, eax
push str.ComputerZ_CN.dll_not_exists
push esi
call fcn.00402f90
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4e8]
call fcn.004031f0
lea ecx, [ebp - 0x430]
call fcn.00402800
lea ecx, [ebp - 0x448]
call fcn.00402800
call fcn.00412360
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004130cb
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x20c]
push eax
call fcn.00408d70
add esp, 4
test eax, eax
jne 0x4080d4
call fcn.00411be0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4082b0
push 0x60
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashilds_carrier_srcmain.cc
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], al
call fcn.00406210
push 3
push 0x4497ac
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00406210
call fcn.00411be0
mov edi, eax
lea ecx, [ebp - 0x4e8]
push 0x28
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00401e00
mov esi, eax
push str.Check_sign_failed
push esi
call fcn.00402f90
add esp, 8
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4e8]
call fcn.004031f0
lea ecx, [ebp - 0x448]
call fcn.00402800
lea ecx, [ebp - 0x430]
call fcn.00402800
call fcn.00412360
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004130cb
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x418], ebx
test ebx, ebx
jne 0x4081ae
call fcn.00411be0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4082b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x60
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashilds_carrier_srcmain.cc
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov ebx, eax
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00406210
push 3
push 0x4497ac
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00406210
call fcn.00411be0
mov edi, eax
lea ecx, [ebp - 0x4e8]
push 0x2e
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00401e00
mov esi, eax
push str.Load_ComputerZ_CN.dll_failed:
push esi
call fcn.00402f90
add esp, 8
mov ecx, esi
push ebx
call fcn.00402df0
jmp 0x408091
push str.LudashiRun
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4082ca
call fcn.00411be0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4082a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x60
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashilds_carrier_srcmain.cc
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov ebx, eax
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00406210
push 3
push 0x4497ac
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00406210
call fcn.00411be0
mov edi, eax
lea ecx, [ebp - 0x4e8]
push 0x35
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00401e00
mov esi, eax
push str.GetProc_failed:
push esi
call fcn.00402f90
add esp, 8
mov ecx, esi
push ebx
call fcn.00402df0
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4e8]
call fcn.004031f0
lea ecx, [ebp - 0x448]
call fcn.00402800
lea ecx, [ebp - 0x430]
call fcn.00402800
mov ebx, dword [ebp - 0x418]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00412360
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004130cb
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0x450]
call eax
mov dword [ebp - 0x418], eax
call fcn.00411be0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4083b1
push 0x60
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashilds_carrier_srcmain.cc
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], al
call fcn.00406210
push 3
push 0x449820
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00406210
call fcn.00411be0
mov edi, eax
lea ecx, [ebp - 0x4e8]
push 0x3a
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00401e00
mov esi, eax
push str.Ludashi_run_end:
push esi
call fcn.00402f90
add esp, 8
mov ecx, esi
push dword [ebp - 0x418]
call fcn.00402c50
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4e8]
call fcn.004031f0
lea ecx, [ebp - 0x448]
call fcn.00402800
lea ecx, [ebp - 0x430]
call fcn.00402800
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004130cb
mov esp, ebp
pop ebp
ret 0x10