Function at 0x10022467
Capabilities:
Create thread
Delete file
Download url
Get common file path
Receive data

Disassembly:
push 0x4d0
mov eax, 0x1006f09c
call fcn.100521f6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4b4], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x424], ax
xor esi, esi
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.10051a60
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.10051a60
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push esi
push 0x1007a884
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ebx, [ebp - 0x4c4]
mov dword [ebp - 0x4c4], str.360Tray.exe
mov dword [ebp - 0x4c0], str.ZhuDongFangYu.exe
mov dword [ebp - 0x4bc], esi
call fcn.1002206b
push esi
test eax, eax
je 0x100228e0
push esi
lea eax, [ebp - 0x21c]
push eax
push str.http:__c.pc.qq.com_fcgi_bin_busxml_busid13supplyid80001guidCQEjCF9zN8bp7XbWNFHMrXkEn1ukpXJQ4r04zEWo0civ7F36PFeOxaExkajJ11zTdm1
push esi
call sub.urlmon.dll_URLDownloadToFileW
mov ebx, eax
lea eax, [ebp - 0x4b8]
push eax
lea edi, [ebp - 0x21c]
call fcn.100230e2
mov dword [ebp - 4], esi
cmp ebx, esi
jne 0x1002254e
mov eax, edi
push eax
call fcn.1002241a
test eax, eax
jne 0x10022572
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
push 0x1002234c
push esi
push esi
call fcn.1004f23f
add esp, 0x18
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x21c]
push eax
call fcn.1002241a
test eax, eax
je 0x100228bc
mov eax, dword [ebp - 0x4b8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4bc], esp
mov edi, esp
call fcn.10022df9
push dword [ebp - 0x4b4]
add eax, 0x10
mov dword [edi], eax
call fcn.10022b3b
cmp eax, esi
je 0x100228bc
xor eax, eax
mov edi, 0x10094c38
cmp eax, edi
jne 0x100225d5
mov eax, dword [ebp - 0x4b8]
add eax, 0xfffffff0
call fcn.10011a8a
xor al, al
jmp 0x100228f6
push edi
lea esi, [ebp - 0x440]
call fcn.100040e3
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x47c], 7
mov dword [ebp - 0x480], ebx
mov word [ebp - 0x490], ax
push edi
lea esi, [ebp - 0x478]
mov byte [ebp - 4], 2
call fcn.100040e3
mov edi, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x494]
push ecx
lea eax, [edi + 0x38]
push ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x4b4], eax
call fcn.100281b7
pop ecx
pop ecx
cmp dword [edi + 0x70], ebx
je 0x1002267a
lea ecx, [ebp - 0x45c]
call fcn.100228fe
push str..exe
lea eax, [ebp - 0x45c]
push eax
mov byte [ebp - 4], 4
call fcn.10004241
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x45c]
call fcn.1002770a
pop ecx
push ebx
push 1
lea esi, [ebp - 0x45c]
mov byte [ebp - 4], 3
call fcn.1000457f
jmp 0x1002268d
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x494]
call fcn.1002770a
pop ecx
push str..new
lea eax, [ebp - 0x440]
push eax
call fcn.10004241
cmp dword [edi + 0x74], ebx
je 0x100226d4
lea ecx, [ebp - 0x45c]
call fcn.100228fe
lea eax, [edi + 0x54]
push eax
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 5
call fcn.1002822f
pop ecx
push ebx
push 1
lea esi, [ebp - 0x45c]
mov byte [ebp - 4], 3
call fcn.1000457f
push str.TsService.exe.new
lea esi, [ebp - 0x45c]
call fcn.100040e3
lea eax, [ebp - 0x478]
push eax
mov eax, esi
mov byte [ebp - 4], 6
call fcn.1002770a
pop ecx
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.1000457f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4bc], esp
push edi
call fcn.10004fcb
lea ecx, [ebp - 0x4b0]
call fcn.100221fc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x428], 8
mov ecx, dword [ebp - 0x43c]
jae 0x10022738
lea ecx, [ebp - 0x43c]
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x1002274d
lea eax, [ebp - 0x4ac]
push ebx
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebx
jne 0x10022873
cmp dword [ebp - 0x428], 8
mov ecx, dword [ebp - 0x43c]
jae 0x10022774
lea ecx, [ebp - 0x43c]
call fcn.1002f7b8
test eax, eax
je 0x10022873
mov ecx, dword [ebp - 0x4b4]
lea eax, [ebp - 0x4c0]
call fcn.10022caf
mov ecx, dword [ebp - 0x4b4]
mov esi, eax
lea eax, [ebp - 0x4d4]
call fcn.10022ccf
mov ecx, dword [ebp - 0x4b4]
mov ebx, eax
lea eax, [ebp - 0x4cc]
call fcn.10022caf
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x4dc]
push eax
call fcn.10022d31
add edi, 0x54
add esp, 0x1c
lea eax, [ebp - 0x4dc]
mov ecx, edi
call fcn.10022caf
mov esi, eax
lea eax, [ebp - 0x4cc]
mov ecx, edi
call fcn.10022ccf
mov ebx, eax
lea eax, [ebp - 0x4d4]
mov ecx, edi
call fcn.10022caf
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x4c0]
push eax
call fcn.10022d31
mov ecx, dword [ebp - 0x4b4]
add esp, 0x1c
mov eax, edi
call fcn.100222b7
push 0
push 1
test al, al
jne 0x10022846
push str._moduleAssistant.dll__installtxservice
call fcn.10020509
add esp, 0xc
jmp 0x1002286f
push str._moduleAssistant.dll__installtxservice2
call fcn.10020509
mov eax, dword [ebp - 0x474]
add esp, 0xc
cmp dword [ebp - 0x460], 8
jae 0x10022868
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
jmp 0x10022883
push ebx
push 1
push str._moduleAssistant.dll__installtxservice
call fcn.10020509
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x4b0]
call fcn.1000457f
push ebx
push edi
lea esi, [ebp - 0x478]
call fcn.1000457f
push ebx
push edi
lea esi, [ebp - 0x494]
call fcn.1000457f
push ebx
push edi
lea esi, [ebp - 0x440]
call fcn.1000457f
jmp 0x100228cc
push esi
push 1
push str._moduleAssistant.dll__installtxservice
call fcn.10020509
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4b8]
add eax, 0xfffffff0
call fcn.10011a8a
jmp 0x100228ef
push 1
push str._moduleAssistant.dll__installtxservice
call fcn.10020509
add esp, 0xc
call fcn.10021d2b
mov al, 1
call fcn.10052279
ret 4