Function at 0x40b710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x503d4c
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
push str.360util.dll
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40b883
lea eax, [esp + 0x18]
push str.360util.dll
push eax
call fcn.0045b262
xor edi, edi
lea ecx, [esp + 0x1c]
push edi
push ecx
mov dword [esp + 0x170], edi
call fcn.0045b262
add esp, 0x10
mov byte [esp + 0x160], 1
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], edi
je 0x40b7a3
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [esp + 0x18]
push edx
call fcn.004051e0
add esp, 4
test eax, eax
jne 0x40b82e
mov eax, dword [esp + 0x18]
push eax
push str.load__s_error
call fcn.00401f50
mov edx, str.UploadLog
mov ecx, eax
call fcn.00401fd0
mov byte [esp + 0x168], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x160], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40ba3c
mov byte [esp + 0x160], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b856
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x160], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b885
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b885
xor edi, edi
mov eax, dword [0x549230]
cmp eax, edi
je 0x40ba23
lea esi, [ebx + 0x2c]
push esi
push 0x515344
call eax
cmp eax, edi
jl 0x40ba23
mov eax, dword [esi]
cmp eax, edi
je 0x40ba23
mov ecx, dword [ebx + 0x30]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jl 0x40ba3c
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
cmp eax, edi
jl 0x40ba3c
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, 0x20019
mov ecx, str.Software360safe
mov edx, SysReAllocString
lea esi, [esp + 0x18]
mov dword [esp + 0x160], 2
call fcn.00406ae0
cmp eax, edi
jne 0x40b928
push str.EnableUE
mov ecx, esi
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0040bf60
cmp eax, edi
jne 0x40b928
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x3c], edx
cmp dword [ebx + 0x3c], edi
je 0x40ba13
push 0x114
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004d7710
add esp, 0xc
push str.ntdll.dll
mov dword [esp + 0x38], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b999
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b999
lea ecx, [esp + 0x34]
push ecx
call eax
test eax, eax
jl 0x40b999
mov edi, dword [esp + 0x38]
shl edi, 0x10
or edi, dword [esp + 0x3c]
call fcn.0040b4f0
mov edx, dword [esp + 0x40]
mov esi, eax
neg esi
sbb esi, esi
neg esi
shl edx, 0x10
or esi, edx
lea eax, [esp + 0x20]
push str.MultiTip.exe
push eax
call fcn.0045b533
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x17c], 3
call fcn.0045bbe4
add esp, 0x1c
lea ecx, [esp + 0x14]
call fcn.004087f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x160], 2
call fcn.004087f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push edi
push esi
push str.os_I64uver_u._u._u._u
lea edi, [ebx + 0x38]
call fcn.00404c10
add esp, 0x1c
lea esi, [esp + 0x18]
call fcn.00406cc0
mov eax, 1
jmp 0x40ba3e
push str.create_log_error
call fcn.00401f50
mov edx, str.UploadLog
mov ecx, eax
call fcn.00401fd0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004cb38b
mov esp, ebp
pop ebp
ret