Function at 0x413910
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x490c37
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x4b99e4]
xor eax, esp
mov dword [esp + 0x4b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b99e4]
xor eax, esp
push eax
lea eax, [esp + 0x4cc]
mov dword fs:[0], eax
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.StatBHOInstallInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
test eax, eax
je 0x413973
add eax, 8
jmp 0x413975
xor eax, eax
mov ebx, dword [esp + 0x4e4]
mov ebp, dword [esp + 0x4e0]
mov edi, dword [esp + 0x4dc]
push ebx
push str.__nFirefoxRet_
push ebp
push str.__nChromeRet_
push edi
push str.Enter_nIERet_
push eax
call fcn.0040d500
add esp, 8
mov ecx, eax
call fcn.0040f370
push eax
call fcn.0040d500
add esp, 8
mov ecx, eax
call fcn.0040f370
push eax
call fcn.0040d500
add esp, 8
mov ecx, eax
call fcn.0040f370
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
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
cmp edi, esi
je 0x413a10
cmp edi, 0x64
je 0x413a10
cmp edi, 0xffffffff
jne 0x413a18
mov dword [esp + 0x1c], 2
jmp 0x413a18
mov dword [esp + 0x1c], 1
cmp ebx, esi
je 0x413a30
cmp ebx, 0x64
je 0x413a30
cmp ebx, 0xffffffff
jne 0x413a38
mov dword [esp + 0x18], 2
jmp 0x413a38
mov dword [esp + 0x18], 1
cmp ebp, esi
je 0x413a50
cmp ebp, 0x64
je 0x413a50
cmp ebp, 0xffffffff
jne 0x413a58
mov dword [esp + 0x14], 2
jmp 0x413a58
mov dword [esp + 0x14], 1
push esi
push 0x497a4e
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.00402910
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x4d8], esi
call fcn.00403430
push 0x400
lea ecx, [esp + 0xd0]
push esi
push ecx
call fcn.0044c250
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp dword [esp + 0x38], 0x10
jae 0x413aae
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0xd8]
push str.http:__stat.download.xunlei.com:8080__aid1021id513val1_dval2_dval3_dval4_s
push edx
call fcn.0044ce53
add esp, 0x18
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.StatBHOInstallInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
cmp eax, esi
je 0x413afb
add eax, 8
jmp 0x413afd
xor eax, eax
lea ecx, [esp + 0xc8]
push ecx
push str.szBHOInstallInfoUrl_
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
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push str.HTTPDownloader
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, dword [sym.imp.WININET.dll_InternetOpenUrlA]
push ebp
push SysReAllocString
push ebp
push ebp
lea edx, [esp + 0xd8]
mov esi, eax
push edx
push esi
call ebx
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
mov eax, 0xf
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x94], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x4d8], 1
call fcn.0040fcb0
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x4dc], 2
call fcn.00412010
add esp, 8
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x4d8], 3
call fcn.00410460
push 0x400
lea eax, [esp + 0xcc]
push ebp
push eax
mov byte [esp + 0x4e0], 4
call fcn.0044c250
mov ecx, dword [esp + 0x30]
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x38], eax
jae 0x413c11
lea ecx, [esp + 0x24]
cmp dword [esp + 0x8c], eax
mov eax, dword [esp + 0x78]
jae 0x413c22
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x4ec]
push eax
push ecx
push edx
lea eax, [esp + 0xd8]
push str.http:__stat.download.xunlei.com:8080__aid1021id857val1_dval2_dval3_sval4_s
push eax
call fcn.0044ce53
add esp, 0x18
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.StatBHOInstallInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
cmp eax, ebp
je 0x413c6e
add eax, 8
jmp 0x413c70
xor eax, eax
lea ecx, [esp + 0xc8]
push ecx
push str.szBHOInstallInfoUrl_
push eax
call fcn.0040d500
add esp, 8
push eax
call fcn.0040d500
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040d990
mov ecx, ebp
call fcn.0040c6d0
call fcn.0040d1e0
mov ecx, eax
call fcn.00408270
push 0
push SysReAllocString
push 0
push 0
lea edx, [esp + 0xd8]
push edx
push esi
call ebx
push eax
call edi
push 0x400
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.0044c250
mov ecx, dword [esp + 0x30]
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x38], eax
jae 0x413cf0
lea ecx, [esp + 0x24]
cmp dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
jae 0x413cfe
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x4f0]
push eax
push ecx
push edx
lea eax, [esp + 0xd8]
push str.http:__stat.download.xunlei.com:8080__aid1021id858val1_dval2_dval3_sval4_s
push eax
call fcn.0044ce53
add esp, 0x18
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.StatBHOInstallInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
test eax, eax
je 0x413d4a
add eax, 8
jmp 0x413d4c
xor eax, eax
lea ecx, [esp + 0xc8]
push ecx
push str.szBHOInstallInfoUrl_
push eax
call fcn.0040d500
add esp, 8
push eax
call fcn.0040d500
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040d990
mov ecx, ebp
call fcn.0040c6d0
call fcn.0040d1e0
mov ecx, eax
call fcn.00408270
push 0
push SysReAllocString
push 0
push 0
lea edx, [esp + 0xd8]
push edx
push esi
call ebx
push eax
call edi
push 0x400
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.0044c250
mov ecx, dword [esp + 0x30]
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x38], eax
jae 0x413dcc
lea ecx, [esp + 0x24]
cmp dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
jae 0x413dda
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4f4]
push eax
push ecx
push edx
lea eax, [esp + 0xd8]
push str.http:__stat.download.xunlei.com:8080__aid1021id859val1_dval2_dval3_sval4_s
push eax
call fcn.0044ce53
add esp, 0x18
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.StatBHOInstallInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
test eax, eax
je 0x413e26
add eax, 8
jmp 0x413e28
xor eax, eax
lea ecx, [esp + 0xc8]
push ecx
push str.szBHOInstallInfoUrl_
push eax
call fcn.0040d500
add esp, 8
push eax
call fcn.0040d500
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040d990
mov ecx, ebp
call fcn.0040c6d0
call fcn.0040d1e0
mov ecx, eax
call fcn.00408270
xor ebp, ebp
push ebp
push SysReAllocString
push ebp
push ebp
lea edx, [esp + 0xd8]
push edx
push esi
call ebx
push eax
call edi
push esi
call edi
call fcn.0040d1e0
mov ecx, eax
call fcn.00408250
push str.StatBHOInstallInfo
push 2
call fcn.0040d1e0
mov ecx, eax
call fcn.0040e0a0
cmp eax, ebp
je 0x413ea8
add eax, 8
jmp 0x413eaa
xor eax, eax
push str.After_Stat_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
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x413eee
mov eax, dword [esp + 0x40]
push eax
call fcn.00418a35
add esp, 4
mov edi, 0xf
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
cmp dword [esp + 0x8c], esi
jb 0x413f16
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00418a35
add esp, 4
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
cmp dword [esp + 0x70], esi
jb 0x413f3c
mov edx, dword [esp + 0x5c]
push edx
call fcn.00418a35
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
cmp dword [esp + 0xc4], esi
jb 0x413f62
mov eax, dword [esp + 0xb0]
push eax
call fcn.00418a35
add esp, 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
cmp dword [esp + 0xa8], esi
jb 0x413f91
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00418a35
add esp, 4
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x94], 0
cmp dword [esp + 0x38], esi
jb 0x413fba
mov edx, dword [esp + 0x24]
push edx
call fcn.00418a35
add esp, 4
mov ecx, dword [esp + 0x4cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b4]
xor ecx, esp
call fcn.0044c23d
add esp, 0x4c4
ret