Function at 0x1011b210
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0x58
mov eax, 0x10194cfe
call fcn.10145d80
xor ebx, ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.10116120
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.10116282
movzx eax, al
cmp eax, ebx
je 0x1011b2ae
cmp dword [ebp - 0x30], 3
jne 0x1011b2ae
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.10007ade
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.100100f8
cmp word [ebp - 0x2c], bx
movzx eax, word [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], eax
jne 0x1011b27f
mov dword [ebp - 0x20], 0x50
push 4
pop edi
push ebx
push ebx
push ebx
push ebx
push str.BaiduToolbar_Get
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1011b2c9
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.10116185
lea ecx, [ebp + 8]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push edi
lea ecx, [ebp + 0x10]
push ecx
push 2
push eax
call esi
cmp eax, ebx
jne 0x1011b2e8
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1011b29e
push edi
lea eax, [ebp + 0x10]
push eax
push 5
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x1011b2dd
push edi
lea eax, [ebp + 0x10]
push eax
push 5
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x1011b2dd
push edi
lea eax, [ebp + 0x10]
push eax
push 6
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x1011b2dd
push edi
lea eax, [ebp + 0x10]
push eax
push 6
push dword [ebp - 0x10]
call esi
mov edi, eax
cmp edi, ebx
je 0x1011b2dd
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x1011b3d3
cmp dword [ebp + 0x18], ebx
push ebx
je 0x1011b353
push ebx
jmp 0x1011b358
push 0x44000000
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push 0x101ad7a8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x1011b3ca
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edi, eax
cmp edi, ebx
je 0x1011b3c3
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
cmp edi, ebx
je 0x1011b3c3
cmp dword [ebp - 0x1c], 0xc8
je 0x1011b3b2
cmp dword [ebp - 0x1c], 0x130
je 0x1011b3b2
xor edi, edi
jmp 0x1011b3c3
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.1011ae7b
add esp, 0xc
mov edi, eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.10116185
lea ecx, [ebp + 8]
call fcn.10003b75
mov eax, edi
jmp 0x1011b2c3