Function at 0x10067730
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
sub esp, 0xb30
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0xb30], eax
push 0x90
mov eax, 0x101832d2
call fcn.10145db3
mov eax, dword [ebp + 0xb3c]
mov ecx, dword [ebp + 0xb4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xb44]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xb48]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], ecx
jne 0x10067788
xor eax, eax
jmp 0x10067b63
push ebx
push ebx
push ebx
push ebx
push str.BaiduToolarSpaceUpload
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x10067b03
cmp eax, 0xffffffff
je 0x10067b03
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
pop edi
push edi
lea ecx, [ebp - 0x24]
push ecx
push 2
push eax
mov dword [ebp - 0x24], 0x3a98
call esi
push edi
lea eax, [ebp - 0x24]
push eax
push 5
push dword [ebp - 0x18]
call esi
push edi
lea eax, [ebp - 0x24]
push eax
push 5
push dword [ebp - 0x18]
call esi
push edi
lea eax, [ebp - 0x24]
push eax
push 6
push dword [ebp - 0x18]
call esi
push edi
lea eax, [ebp - 0x24]
push eax
push 6
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x20], ebx
je 0x1006781b
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1006781f
xor edi, edi
jmp 0x1006783b
lea esi, [eax + eax]
mov eax, esi
call fcn.101473b0
mov dword [ebp - 0x10], esp
mov eax, esp
push ebx
push esi
push dword [ebp - 0x20]
push eax
call fcn.1000ff6e
mov edi, eax
cmp dword [ebp - 0x1c], ebx
je 0x10067851
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10067855
xor esi, esi
jmp 0x10067871
lea esi, [eax + eax]
mov eax, esi
call fcn.101473b0
mov dword [ebp - 0x10], esp
mov eax, esp
push ebx
push esi
push dword [ebp - 0x1c]
push eax
call fcn.1000ff6e
mov esi, eax
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0xb40]
push edi
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x10067aef
cmp eax, 0xffffffff
je 0x10067aef
push ebx
push 0x4400040
lea ecx, [ebp - 0x70]
push ecx
push ebx
push str.HTTP_1.0
push esi
push 0x101a7c8c
push eax
mov dword [ebp - 0x70], 0x101a7c88
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x10067adb
cmp esi, 0xffffffff
je 0x10067adb
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocString
push 0xffffffffffffffff
push 0x101a7910
push esi
call edi
test eax, eax
jne 0x10067906
mov dword [ebp - 0x54], str.additional_header_failed...
push 0x101eef14
lea eax, [ebp - 0x54]
push eax
call fcn.10145089
push 0x10000000
push 0xffffffffffffffff
push 0x101a7920
push esi
call edi
test eax, eax
jne 0x1006792a
mov dword [ebp - 0x68], str.additional_header_failed...
push 0x101eef14
lea eax, [ebp - 0x68]
jmp 0x10067900
mov esi, dword [ebp - 0x38]
push 0x103
lea eax, [ebp + 0xa2d]
push ebx
add esi, 0x28
push eax
mov dword [ebp - 0x20], esi
mov byte [ebp + 0xa2c], bl
call fcn.10146c80
push esi
push str.Content_Length:__d_r_n
push 0xffffffffffffffff
lea eax, [ebp + 0xa2c]
push 0x104
push eax
call fcn.10147724
add esp, 0x20
push 0xa0000000
push 0xffffffffffffffff
lea eax, [ebp + 0xa2c]
push eax
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x10067992
mov dword [ebp - 0x64], str.additional_header_Len_failed...
push 0x101eef14
lea eax, [ebp - 0x64]
jmp 0x10067900
push 0xa
pop ecx
push ebx
xor eax, eax
push ebx
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x9c], 0x28
mov dword [ebp - 0x80], esi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x100679d7
mov dword [ebp - 0x58], str.http_SendRequestEx_fail_
push 0x101eef14
lea eax, [ebp - 0x58]
jmp 0x10067900
push esi
call fcn.10144fc2
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x38]
push edi
push dword [ebp - 0x2c]
mov byte [ebp - 4], 1
push esi
call fcn.10147010
add esp, 0xc
push 0xa
pop ecx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x20]
add edi, esi
push dword [ebp - 0x1c]
mov esi, 0x101a7970
push dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x48], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x10067a31
mov dword [ebp - 0x60], str.Int_WriteFile
push 0x101eef14
lea eax, [ebp - 0x60]
jmp 0x10067900
push ebx
push 8
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
mov esi, 0xa28
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.10146c80
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x50], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10067a81
mov dword [ebp - 0x3c], str.Response_Failed
push 0x101eef14
lea eax, [ebp - 0x3c]
jmp 0x10067900
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004fac3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100111ce
lea ecx, [ebp - 0x28]
call fcn.10036ba9
push 0x101a2f0c
push dword [ebp - 0x28]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
je 0x10067ac8
mov dword [ebp - 0x5c], str.Response_Error
push 0x101eef14
lea eax, [ebp - 0x5c]
jmp 0x10067900
lea ecx, [ebp - 0x28]
call fcn.10003b75
push dword [ebp - 0x1c]
call fcn.10145084
pop ecx
jmp 0x10067b36
mov dword [ebp - 0x40], str.Open_Request_Fail_
push 0x101eef14
lea eax, [ebp - 0x40]
jmp 0x10067900
mov dword [ebp - 0x44], str.Con_Inter_Fail_
push 0x101eef14
lea eax, [ebp - 0x44]
jmp 0x10067900
mov dword [ebp - 0x4c], str.Open_Inter_Fail
push 0x101eef14
lea eax, [ebp - 0x4c]
jmp 0x10067900
cmp dword [ebp - 0x14], ebx
je 0x10067b44
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x10067b52
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x10067b60
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb30]
xor ecx, ebp
call fcn.10145d71
add ebp, 0xb34
leave
ret 0x14