Function at 0x442580
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4e8c38
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x250]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x30], ebx
call fcn.004cc620
mov edx, dword [0x5195cc]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x250]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
push 0x208
lea eax, [esp + 0x48]
push 0
push eax
mov dword [esp + 0x46c], 0
call fcn.004cc620
add esp, 0xc
push str..._360Desktop.exe
lea ecx, [esp + 0x250]
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4426aa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x442674
mov ecx, 0x104
lea eax, [esp + 0x20]
call fcn.00406d30
mov esi, dword [esp + 0x20]
push 0x104
push esi
lea edi, [esp + 0x4c]
call fcn.0044b4c0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ca0b4
add esp, 0x10
test eax, eax
jl 0x442802
cmp eax, dword [esi - 8]
jg 0x442802
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edx, dword [0x5195ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5195ac
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x460], 1
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x4426ef
mov ecx, 0x104
lea eax, [esp + 0x2c]
call fcn.00406d30
mov ebp, dword [esp + 0x2c]
push 0x104
push ebp
lea edi, [esp + 0x254]
call fcn.0044b4c0
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.004ca0b4
xor edi, edi
add esp, 0x10
cmp eax, edi
jl 0x442802
cmp eax, dword [ebp - 8]
jg 0x442802
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov word [ebp + eax*2], cx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x460], 3
mov edx, dword [0x5195ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5195ac
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x460], 4
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x44276e
mov dword [esp + 0x1c], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x51a22c]
cmp eax, edi
je 0x442845
lea ecx, [esp + 0x1c]
push ecx
push 0x28
call eax
cmp eax, edi
jl 0x442845
lea esi, [esp + 0x34]
lea eax, [esp + 0x1c]
call fcn.0044b590
mov byte [esp + 0x460], 5
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x4427b9
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x14]
push edx
push esi
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x460], 4
call fcn.00409540
lea esi, [esp + 0x34]
lea eax, [esp + 0x18]
call fcn.0044b590
mov byte [esp + 0x460], 6
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
cmp eax, edi
jne 0x44280c
xor ecx, ecx
jmp 0x442820
push 0x80070057
call fcn.00406e60
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x442811
sub ecx, esi
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x2c]
call fcn.00406af0
lea ecx, [esp + 0x34]
mov byte [esp + 0x460], 4
call fcn.00409540
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x460], 7
call fcn.00412cf0
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 4]
push esi
push ebp
push ecx
push eax
push str.http:__cdn.apc.360.cn_index.php_cAppRelateashowappid_lumid_smodulever_sappver_s
lea edi, [esp + 0x38]
call fcn.00406e20
mov esi, dword [esp + 0x38]
add esp, 0x14
push 0x24009d
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov edx, dword [ebx + 4]
mov dword [esp + 0x3c], esp
push edx
push esi
lea ecx, [ebx + 0x3d0]
call fcn.0042b120
lea eax, [esi - 0x10]
mov dword [ebx + 0x530], 1
mov byte [esp + 0x460], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4428e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x460], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44290d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x460], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x442925
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x460], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44293d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add ebp, 0xfffffff0
mov byte [esp + 0x460], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x442962
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov dword [esp + 0x460], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44298d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.004c961b
add esp, 0x450
ret