Function at 0x402110
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x46fe22
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
push 0x18e
xor edi, edi
lea ecx, [esp + 0x18a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x190], ax
call fcn.00453e20
add esp, 0xc
push 0xc8
lea edx, [esp + 0x188]
push edx
call fcn.0044f050
mov eax, dword [0x48b9d0]
mov ecx, 0x477c20
shr ecx, 0x10
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x4021a7
mov edx, 0x477c20
movzx ecx, dx
lea edx, [esp + 0x18]
call fcn.0040d380
jmp 0x4021e4
push 0x477c20
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, edi
je 0x4021e4
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.0040e0f0
test eax, eax
je 0x4021e4
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x4021e4
mov edx, dword [esp + 0x18]
push eax
push 0x477c20
push edx
call fcn.00454ea0
add esp, 0xc
push 0x110
lea eax, [esp + 0x74]
push edi
push eax
mov dword [esp + 0x32c], edi
call fcn.00453e20
add esp, 0xc
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x114
call fcn.00401fa0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push edx
push str._d._d
lea edx, [esp + 0x24]
call fcn.0040ddc0
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call fcn.0040aaa0
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x324], 1
call fcn.004095a0
push str.channel
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, 0x474780
call fcn.004067a0
push str.appname
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, 0x477e4c
mov byte [esp + 0x32c], 2
call fcn.004067a0
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x324], 3
call fcn.00427b80
add esp, 4
mov ecx, dword [0x48b9d0]
mov dword [esp + 0x28], ecx
push edi
mov byte [esp + 0x324], 5
call fcn.00450367
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 4
push edx
push eax
mov eax, dword [esp + 0x2c]
push ebp
lea edx, [esp + 0x190]
push edx
push ebx
push eax
push str.0.0.0.0
push 0x474798
push ecx
push str.https:__orion.ts.360.com_promo_opera_ch_ssch_sver_slan_sos_smid_smver_stime_I64d
lea edx, [esp + 0x50]
call fcn.0040ddc0
push 0x14
call fcn.0044ff4d
add esp, 0x2c
mov dword [esp + 0x2c], eax
mov byte [esp + 0x320], 6
cmp eax, edi
je 0x40230c
push eax
lea edi, [esp + 0x2c]
call fcn.00401850
mov edi, eax
mov esi, dword [0x48f230]
cmp edi, esi
je 0x40231f
test esi, esi
je 0x40231f
call fcn.00404050
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push 0x401f00
push 0
mov dword [0x48f230], edi
push 0
mov dword [edi + 4], 0xffffffff
mov dword [esp + 0x34], 0
call fcn.0045099f
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
add esp, 0x18
cmp ecx, 0x48b9c0
je 0x402375
lea edi, [eax - 0xc]
push edi
call esi
test eax, eax
jg 0x402375
push edi
call fcn.004501ef
add esp, 4
lea edx, [ebp - 0xc]
cmp edx, 0x48b9c0
je 0x402393
lea edi, [ebp - 0xc]
push edi
call esi
test eax, eax
jg 0x402393
push edi
call fcn.004501ef
add esp, 4
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x4023bc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4023bc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov eax, dword [esp + 0x20]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x4023e5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4023e5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x324], 0
call fcn.00409a50
lea ecx, [ebx - 0xc]
cmp ecx, 0x48b9c0
je 0x402415
lea edi, [ebx - 0xc]
push edi
call esi
test eax, eax
jg 0x402415
push edi
call fcn.004501ef
add esp, 4
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.0044fcda
add esp, 0x310
ret