Function at 0x477179
Capabilities:
Create thread

Disassembly:
push 0x8d4
mov eax, 0x5eb2b5
call fcn.0059bbd7
mov edi, ecx
push 0x802
lea eax, [ebp - 0x81c]
push 0
push eax
call fcn.005b24a0
and dword [ebp - 0x8dc], 0
lea eax, [ebp - 0x8dc]
add esp, 0xc
mov ebx, str.Software360360huabaohuabao
mov esi, reloc.WS2_32.dll_accept
mov edx, ebx
mov ecx, esi
push eax
push str.enable
call fcn.004261bf
and dword [ebp - 0x8e0], 0
lea eax, [ebp - 0x8e0]
push eax
push str.request_ver_app_lv
mov edx, ebx
mov ecx, esi
call fcn.004261bf
add esp, 0x10
lea ecx, [ebp - 0x87c]
push 0x6335fc
call fcn.0040b0d5
and dword [ebp - 4], 0
lea eax, [ebp - 0x87c]
push eax
push 0x642ce4
mov edx, ebx
mov ecx, esi
call fcn.004261ea
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x894]
push 0x642cf8
push eax
call fcn.00445efc
add esp, 0x14
push 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x81c]
push dword [ebp - 0x8dc]
push dword [ebp - 0x8e0]
push str.sv_dohb_dmt_d
push 0x801
push eax
call fcn.00412a13
add esp, 0x18
lea ecx, [ebp - 0x834]
push 0x6335fc
call fcn.0040b0d5
mov byte [ebp - 4], 2
call fcn.0042709e
mov esi, str.http:__app.huabao.360.cn_hb_nvf_
cmp eax, 5
je 0x47727c
mov esi, str.https:__app.huabao.360.cn_hb_nvf_
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b566
mov esi, 0x64ec3c
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
call fcn.004cde44
push 8
pop ebx
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x4772c4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.0040b67e
mov esi, str.m2
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
call fcn.00421d56
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x477313
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.0040b67e
mov esi, str.pid
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
call fcn.00410595
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x477362
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.0040b67e
mov esi, str.it
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
call fcn.0041063d
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x4773b1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.0040b67e
mov esi, 0x642454
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
call fcn.004d4eb0
mov byte [ebp - 4], 7
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x477400
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.0040b67e
mov esi, 0x64ec5c
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x834]
call fcn.0040b220
xor ebx, ebx
lea edx, [edi + 0x374]
push ebx
lea ecx, [ebp - 0x84c]
call fcn.00426ce7
pop ecx
mov byte [ebp - 4], 8
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x47745a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.0040b67e
lea eax, [ebp - 0x81c]
push eax
call fcn.005c2f90
pop ecx
push eax
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x834]
call fcn.0040b220
lea ecx, [ebp - 0x8d4]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 9
call fcn.0059a7c1
pop ecx
mov dword [ebp - 0x8d8], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040b6b1
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov esi, eax
lea eax, [ebp - 0x834]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x84c]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0040b8cb
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 9
call fcn.00404812
sub esp, 0x18
lea eax, [ebp - 0x894]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x84c]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0040b939
lea ecx, [ebp - 0x84c]
call fcn.00404812
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], 0xf
mov byte [ebp - 0x864], bl
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 0xd
push eax
push esi
call fcn.0040bc7f
test eax, eax
jne 0x477608
sub esp, 0x18
lea eax, [ebp - 0x864]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
mov ecx, edi
call fcn.00479671
mov esi, str.HealthMgr::DoGetAppVideoConfigInfo
test al, al
je 0x4775ae
push 0xb57
push esi
push str.__s__d___HttpDownloadAppVideoData_info_prase_ok
call fcn.0040a649
add esp, 0xc
mov eax, dword [edi + 0x3c4]
sub eax, dword [edi + 0x3c0]
push 0x34
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4775f5
push 0xb60
push esi
push str.__s__d___GetVideoConfigInfo_download_begin
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x8d8], ebx
lea eax, [ebp - 0x8d8]
push eax
push ebx
push edi
push 0x478055
push ebx
push ebx
call fcn.005c30ff
add esp, 0x18
push 0xb64
push esi
push str.__s__d___GetVideoConfigInfo_ok_begin
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x864]
call fcn.00404812
lea ecx, [ebp - 0x8d4]
call fcn.0040ba62
lea ecx, [ebp - 0x834]
call fcn.0040b67e
lea ecx, [ebp - 0x894]
call fcn.0040b67e
lea ecx, [ebp - 0x87c]
call fcn.0040b67e
call fcn.0059bb81
ret