Function at 0x423580
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c987
mov eax, dword fs:[0]
push eax
sub esp, 0xc28
mov eax, dword [0x465944]
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 - 0xc34], ebx
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc30], eax
jne 0x4235da
call fcn.00423280
mov dword [ebx + 4], 1
cmp dword [ebp + 0xc], 9
je 0x4235e7
xor eax, eax
jmp 0x423acb
mov eax, dword [0x4644dc]
mov dword [ebp - 0xc24], eax
push 0x89
lea ecx, [ebp - 0xc24]
mov dword [ebp - 4], 0
call fcn.0040f380
lea ecx, [ebp - 0xc24]
call fcn.0040bf20
mov esi, dword [ebp - 0xc24]
push esi
call dword [sym.imp.USER32.dll_CharLowerW]
mov edi, dword [0x4644dc]
mov ecx, 0x44e644
mov eax, ecx
mov dword [ebp - 0xc2c], edi
shr eax, 0x10
test eax, eax
jne 0x423732
movzx eax, cx
lea ecx, [ebp - 0xc2c]
push eax
call fcn.0040f380
mov edi, dword [ebp - 0xc2c]
push 0x410
lea eax, [ebp - 0xc20]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0042c930
mov eax, dword [0x467098]
add esp, 0xc
test eax, eax
jne 0x423817
mov eax, dword [0x467094]
test eax, eax
jne 0x42378b
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [0x467090]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ebx, ebx
cmp dword [0x466dd0], ebx
jle 0x4236d6
nop word [eax + eax]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc ebx
cmp ebx, dword [0x466dd0]
jl 0x4236c0
push str.360Common.dll
lea eax, [ebp - 0x810]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.0040f880
add esp, 4
test eax, eax
lea eax, [ebp - 0x810]
push eax
jne 0x42377c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423723
push 1
lea eax, [ebp - 0x810]
push section..data
push eax
call fcn.0040c100
add esp, 0xc
mov dword [0x467094], 0
jmp 0x42380a
push 0x44e644
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x423654
push ebx
lea ecx, [ebp - 0xc2c]
call fcn.00407630
test eax, eax
je 0x42364e
mov edi, dword [ebp - 0xc2c]
lea eax, [ebx + ebx]
push eax
push 0x44e644
add eax, 2
push eax
push edi
call fcn.0040fcc0
add esp, 0x10
jmp 0x423654
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x467094], eax
test eax, eax
je 0x42380a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call ebx
push str.Get360ProductHistoryManager
push dword [0x467094]
mov dword [0x467098], eax
call ebx
push str.Create360FireWareStateFunction
push dword [0x467094]
mov dword [0x4670a0], eax
call ebx
push str.GetFireWallState
push dword [0x467094]
mov dword [0x4670a4], eax
call ebx
push str.Create360FireWareStateFunction2
push dword [0x467094]
mov dword [0x4670a8], eax
call ebx
push str.GetIAdMgr
push dword [0x467094]
mov dword [0x4670ac], eax
call ebx
push str.GetExcludeChecker
push dword [0x467094]
mov dword [0x46709c], eax
call ebx
mov dword [0x4670b0], eax
mov eax, dword [0x467098]
test eax, eax
je 0x423a83
call eax
test eax, eax
je 0x423a83
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
je 0x423a83
cmp dword [esi - 8], 0
jl 0x423a06
push str.src
push esi
call fcn.0042b5ee
add esp, 8
test eax, eax
je 0x42387a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x42387a
mov eax, dword [ebp - 0xc28]
mov eax, dword [eax]
cmp dword [eax - 8], 0
je 0x42387a
push eax
push str.src
lea ecx, [ebp - 0xc24]
call fcn.00414e40
mov esi, dword [ebp - 0xc24]
cmp dword [esi - 8], 0
jl 0x423a06
push str.status
push esi
call fcn.0042b5ee
add esp, 8
test eax, eax
je 0x423907
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x423907
mov eax, dword [0x4644dc]
mov dword [ebp - 0xc28], eax
push 9
lea eax, [ebp - 0xc28]
mov byte [ebp - 4], 2
push 0x452458
push eax
call fcn.0040c330
mov esi, dword [ebp - 0xc28]
lea ecx, [ebp - 0xc24]
add esp, 0xc
push esi
push str.status
call fcn.00414e40
lea eax, [esi - 0xc]
mov byte [ebp - 4], 1
cmp eax, dword [0x4644d8]
je 0x423901
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423901
push esi
call fcn.00425cdd
add esp, 4
mov esi, dword [ebp - 0xc24]
cmp dword [esi - 8], 0
jl 0x423a06
push str.from
push esi
call fcn.0042b5ee
add esp, 8
test eax, eax
je 0x423979
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x423979
mov ecx, dword [ebp - 0xc30]
mov eax, dword [ecx]
cmp dword [eax - 8], 0
je 0x423979
push ecx
lea eax, [ebp - 0xc28]
push eax
call fcn.00423af0
add esp, 8
push dword [ebp - 0xc28]
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 3
push str.from
call fcn.00414e40
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 1
call fcn.00406d40
mov esi, dword [ebp - 0xc24]
cmp dword [esi - 8], 0
jl 0x423a06
push str.mid
push esi
call fcn.0042b5ee
add esp, 8
test eax, eax
je 0x4239cd
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x4239cd
mov eax, dword [ebx]
lea ecx, [ebp - 0xc20]
push 0x207
push ecx
push ebx
call dword [eax + 8]
lea eax, [ebp - 0xc20]
push eax
push str.mid
lea ecx, [ebp - 0xc24]
call fcn.00414e40
mov esi, dword [ebp - 0xc24]
cmp dword [esi - 8], 0
jl 0x423a06
push str.modver
push esi
call fcn.0042b5ee
add esp, 8
test eax, eax
je 0x423a06
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x423a06
mov eax, dword [ebp - 0xc34]
lea ecx, [ebp - 0xc24]
push dword [eax]
push str.modver
call fcn.00414e40
mov eax, dword [0x4644dc]
mov dword [ebp - 0xc28], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0xc28]
mov byte [ebp - 4], 4
push str.progress_d
push eax
call fcn.0040c330
add esp, 0xc
lea eax, [ebp - 0xc28]
lea ecx, [ebp - 0xc24]
push eax
call fcn.00423180
mov eax, dword [ebx]
mov esi, dword [ebp - 0xc24]
push esi
push ebx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0xc28]
mov ebx, eax
mov dword [ebp - 0xc2c], ebx
lea edx, [ecx - 0xc]
cmp edx, dword [0x4644d8]
je 0x423a85
lea ebx, [ecx - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423a7b
push ebx
call fcn.00425cdd
add esp, 4
mov ebx, dword [ebp - 0xc2c]
jmp 0x423a85
xor ebx, ebx
lea eax, [edi - 0xc]
cmp eax, dword [0x4644d8]
je 0x423aa7
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423aa7
push edi
call fcn.00425cdd
add esp, 4
lea eax, [esi - 0xc]
cmp eax, dword [0x4644d8]
je 0x423ac9
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423ac9
push esi
call fcn.00425cdd
add esp, 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.0042a853
mov esp, ebp
pop ebp
ret 0x10