Function at 0x413660
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x490bd1
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4b99e4]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b99e4]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.CheckAndStatOtherBHOInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
xor ebx, ebx
cmp eax, ebx
je 0x4136c5
add eax, 8
jmp 0x4136c7
xor eax, eax
push str.Enter_
push eax
call fcn.0040d500
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040d990
mov ecx, esi
call fcn.0040c6d0
call fcn.0040d1e0
mov ecx, eax
call fcn.00408270
lea eax, [esp + 0x4c]
push eax
call fcn.00412590
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x47c], ebx
call fcn.00412780
add esp, 8
push ebx
push 0x497a4e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x47c], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00402910
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x478], 2
call fcn.00403430
push 0x3ff
lea eax, [esp + 0x71]
push ebx
push eax
mov byte [esp + 0x78], bl
call fcn.0044c250
mov edx, dword [esp + 0x28]
mov ebp, 0x10
add esp, 0x10
cmp dword [esp + 0x2c], ebp
jae 0x413774
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x64], ebp
jae 0x413782
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x413790
lea eax, [esp + 0x34]
push edx
push ecx
push eax
lea ecx, [esp + 0x74]
push str.http:__stat.download.xunlei.com:8080__aid1021id507val1_sval2_sval3_s
push ecx
call fcn.0044ce53
add esp, 0x14
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.CheckAndStatOtherBHOInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
cmp eax, ebx
je 0x4137cd
add eax, 8
jmp 0x4137cf
xor eax, eax
lea edx, [esp + 0x68]
push edx
push str.szOtherBHOInfoUrl_
push eax
call fcn.0040d500
add esp, 8
push eax
call fcn.0040d500
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040d990
mov ecx, esi
call fcn.0040c6d0
call fcn.0040d1e0
mov ecx, eax
call fcn.00408270
push ebx
push ebx
push ebx
push ebx
push str.HTTP_Downloader
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push SysReAllocString
push ebx
mov esi, eax
push ebx
lea eax, [esp + 0x78]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
call esi
push edi
call esi
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.CheckAndStatOtherBHOInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
cmp eax, ebx
je 0x413864
add eax, 8
jmp 0x413866
xor eax, eax
push str.End_
push eax
call fcn.0040d500
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040d990
mov ecx, esi
call fcn.0040c6d0
call fcn.0040d1e0
mov ecx, eax
call fcn.00408270
cmp dword [esp + 0x2c], ebp
jb 0x4138a5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00418a35
add esp, 4
mov esi, 0xf
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x48], ebp
jb 0x4138c9
mov edx, dword [esp + 0x34]
push edx
call fcn.00418a35
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x64], ebp
jb 0x4138e8
mov eax, dword [esp + 0x50]
push eax
call fcn.00418a35
add esp, 4
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.0044c23d
add esp, 0x464
ret