Function at 0x100315c0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c34d
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10089430]
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 edi, ecx
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
push 8
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.100498c3
add esp, 4
test eax, eax
jne 0x10031629
call fcn.10048d4b
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xa0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0xa0]
mov dword [eax], ecx
lea ecx, [edi + 0x3c]
mov dword [ebp - 4], 0
call fcn.10041280
cmp dword [edi + 0x64], 0
jne 0x10031668
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 0
call fcn.10041290
jmp 0x10031bb3
lea edx, [edi + 0x54]
lea eax, [ebp - 0xa0]
cmp eax, edx
je 0x100316e1
mov ecx, dword [edx]
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], ecx
mov dword [edx], eax
test ecx, ecx
je 0x10031691
lea eax, [ebp - 0xa0]
mov dword [ecx], eax
mov eax, dword [edx]
test eax, eax
je 0x10031699
mov dword [eax], edx
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x9c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x90], eax
mov dword [edx + 0x10], ecx
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 0
call fcn.10041290
cmp dword [ebp - 0x90], 0
je 0x10031bb3
lea ebx, [ebx]
cmp byte [edi + 0x68], 0
jne 0x10031bb3
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10040fa0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x10031726
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
push 0
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x58]
push esi
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.10002420
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.10002420
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0x9c]
dec eax
and eax, dword [ebp - 0x94]
mov byte [ebp - 4], 3
mov esi, dword [esi + eax*4]
cmp dword [esi + 0x2c], 0x10
jb 0x100317a3
push dword [esi + 0x18]
call fcn.100498af
add esp, 4
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov byte [esi + 0x18], 0
cmp dword [esi + 0x14], 0x10
jb 0x100317c5
push dword [esi]
call fcn.100498af
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
dec dword [ebp - 0x90]
jne 0x100317ea
mov dword [ebp - 0x94], 0
jmp 0x100317f0
inc dword [ebp - 0x94]
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10030520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x1007aace
push str.http:__log.kuwo.cn_music.yl
mov byte [ebp - 4], 4
call fcn.10036730
add esp, 0x14
test eax, eax
jne 0x1003184b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x1007aace
push str.http:__log.kuwo.cn_music.yl
call fcn.10036730
add esp, 0x14
cmp dword [edi + 0x94], 0
je 0x10031a6d
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x164], 0x1007d9b0
mov dword [ebp - 0x154], 0x1007d9b8
push 0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov dword [ebp - 0xfc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
or ebx, 1
mov dword [ebp - 0x100], 0x50
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xa4], ebx
movlpd qword [ebp - 0x15c], xmm0
call fcn.100104a0
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x158], eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x168], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xb
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x168], eax
lea ecx, [ebp - 0x14c]
call fcn.10011360
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
push 0x10070b24
lea eax, [ebp - 0x58]
push eax
lea eax, [edi + 0x84]
push eax
lea eax, [ebp - 0x154]
push str.http:__g.haluoha.com_g.real_aidtext_ad_2689text
push eax
call fcn.10012230
add esp, 8
push eax
call fcn.10014c40
add esp, 8
push eax
call fcn.10014c40
add esp, 8
push eax
call fcn.10012230
add esp, 8
push eax
call fcn.10014c40
add esp, 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x164]
push eax
call fcn.100101a0
cmp dword [eax + 0x14], 0x10
jb 0x100319cd
mov eax, dword [eax]
push 0
push 0
push eax
push 0
call sub.urlmon.dll_URLOpenStreamA
test eax, eax
sets bl
cmp dword [ebp - 0x5c], 0x10
jb 0x100319ef
push dword [ebp - 0x70]
call fcn.100498af
add esp, 4
test bl, bl
je 0x10031a3b
lea eax, [ebp - 0x154]
push str.Retry:1
push eax
call fcn.10012230
add esp, 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x164]
push eax
call fcn.100101a0
cmp dword [eax + 0x14], 0x10
jb 0x10031a1e
mov eax, dword [eax]
push 0
push 0
push eax
push 0
call sub.urlmon.dll_URLOpenStreamA
cmp dword [ebp - 0x5c], 0x10
jb 0x10031a3b
push dword [ebp - 0x70]
call fcn.100498af
add esp, 4
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 5
call fcn.10010120
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], vtable.std::ios_base.0
push eax
call fcn.10049221
mov ebx, dword [ebp - 0xa4]
add esp, 4
mov byte [ebp - 4], 4
cmp dword [edi + 4], 0
je 0x10031b4b
mov eax, dword [edi + 8]
test eax, eax
je 0x10031b4b
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0x89]
mov byte [ebp - 0x89], 1
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push 0x100301d5
push eax
call fcn.1002fd80
add esp, 0x18
push eax
push 0x100303a0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xe
call fcn.1003d950
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
push eax
call fcn.1003d940
push eax
push 0xbb
push str.KwStatTask.cpp
push str.KwStatTask::Run
lea ecx, [ebp - 0x180]
call fcn.1003d8d0
mov ecx, dword [edi + 4]
push eax
call fcn.10040040
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xe
call fcn.10015d70
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 4], 4
test eax, eax
je 0x10031b4b
lea esi, [eax + 4]
mov ecx, esi
call fcn.10041240
test al, al
je 0x10031b4b
test esi, esi
je 0x10031b4b
lea ecx, [esi - 4]
test ecx, ecx
je 0x10031b4b
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 0x14], 0x10
jb 0x10031b5c
push dword [ebp - 0x28]
call fcn.100498af
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
jb 0x10031b83
push dword [ebp - 0x40]
call fcn.100498af
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x10031ba6
push dword [ebp - 0x58]
call fcn.100498af
add esp, 4
cmp dword [ebp - 0x90], 0
jne 0x10031700
lea ecx, [ebp - 0xa0]
call fcn.10031d70
push dword [ebp - 0xa0]
call fcn.100498af
add esp, 4
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.100498b4
mov esp, ebp
pop ebp
ret