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

Disassembly:
push 0x58
mov eax, 0x1014aa91
call fcn.101018b2
xor ebx, ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.100d7b79
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.100d7cdb
movzx eax, al
cmp eax, ebx
je 0x100dbe34
cmp dword [ebp - 0x30], 3
jne 0x100dbe34
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000584b
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.1000c751
cmp word [ebp - 0x2c], bx
movzx eax, word [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], eax
jne 0x100dbe05
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 0x100dbe4f
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.100d7bde
lea ecx, [ebp + 8]
call fcn.100015d9
xor eax, eax
call fcn.1010198a
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 0x100dbe6e
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x100dbe24
push edi
lea eax, [ebp + 0x10]
push eax
push 5
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x100dbe63
push edi
lea eax, [ebp + 0x10]
push eax
push 5
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x100dbe63
push edi
lea eax, [ebp + 0x10]
push eax
push 6
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x100dbe63
push edi
lea eax, [ebp + 0x10]
push eax
push 6
push dword [ebp - 0x10]
call esi
mov edi, eax
cmp edi, ebx
je 0x100dbe63
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 0x100dbf59
cmp dword [ebp + 0x18], ebx
push ebx
je 0x100dbed9
push ebx
jmp 0x100dbede
push 0x44000000
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push 0x1015e748
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x100dbf50
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edi, eax
cmp edi, ebx
je 0x100dbf49
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 0x100dbf49
cmp dword [ebp - 0x1c], 0xc8
je 0x100dbf38
cmp dword [ebp - 0x1c], 0x130
je 0x100dbf38
xor edi, edi
jmp 0x100dbf49
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.100dba04
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.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.100d7bde
lea ecx, [ebp + 8]
call fcn.100015d9
mov eax, edi
jmp 0x100dbe49