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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019b69
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x470], edi
mov dword [ebp - 4], 2
cmp dword [ebp + 0x54], 0x10
mov eax, dword [ebp + 0x40]
jae 0x10011e81
lea eax, [ebp + 0x40]
push edi
push edi
push edi
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x470], eax
cmp eax, edi
jne 0x10011f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, str.InternetOpenW_failed_hInternet_:
mov ebx, 0xf
mov dword [esi + 0x10], edi
mov ecx, eax
mov dword [esi + 0x14], ebx
mov byte [esi], 0
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10011ec0
mov esi, dword [ebp - 0x468]
sub ecx, edi
mov edi, ecx
call fcn.100011b0
cmp dword [ebp + 0x1c], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x10011eeb
mov eax, dword [ebp + 8]
push eax
call edi
add esp, 4
mov esi, 0x10
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], esi
jb 0x10011f0c
mov ecx, dword [ebp + 0x24]
push ecx
call edi
add esp, 4
cmp dword [ebp + 0x54], esi
mov dword [ebp + 0x34], 0
mov byte [ebp + 0x24], 0
mov dword [ebp + 0x38], ebx
jb 0x10011f28
mov edx, dword [ebp + 0x40]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x468]
jmp 0x10012587
mov edx, 7
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x438], eax
mov word [ebp - 0x448], cx
mov byte [ebp - 4], 3
xor ebx, ebx
cmp dword [ebp + 0x18], edi
jbe 0x10012044
mov edi, edi
cmp dword [ebp + 0x1c], 0x10
mov ecx, dword [ebp + 8]
jae 0x10011f6c
lea ecx, [ebp + 8]
movsx cx, byte [ecx + ebx]
movzx esi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x10012039
lea edi, [eax + 1]
cmp edi, 0x7ffffffe
ja 0x10012039
cmp edx, edi
jae 0x10011fa5
push eax
push edi
lea edx, [ebp - 0x448]
push edx
call fcn.100151d0
jmp 0x10011fc5
test edi, edi
jne 0x10011fd3
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x438], edi
cmp edx, 8
jae 0x10011fc0
lea eax, [ebp - 0x448]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x438]
mov edx, dword [ebp - 0x434]
test edi, edi
setne cl
test cl, cl
je 0x1001201c
mov ecx, dword [ebp - 0x448]
cmp edx, 8
jae 0x10011feb
lea ecx, [ebp - 0x448]
mov word [ecx + eax*2], si
cmp dword [ebp - 0x434], 8
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x438], edi
jae 0x1001200a
lea eax, [ebp - 0x448]
xor edx, edx
mov word [eax + edi*2], dx
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
inc ebx
cmp ebx, dword [ebp + 0x18]
jb 0x10011f60
cmp edx, 8
jb 0x10012044
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x46c], eax
jmp 0x10012050
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x46c], ecx
mov edx, 7
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], eax
mov word [ebp - 0x42c], cx
xor ebx, ebx
mov byte [ebp - 4], 4
cmp dword [ebp + 0x34], ebx
jbe 0x10012149
jmp 0x10012080
cmp dword [ebp + 0x38], 0x10
mov ecx, dword [ebp + 0x24]
jae 0x1001208c
lea ecx, [ebp + 0x24]
movsx cx, byte [ecx + ebx]
movzx esi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x10012039
lea edi, [eax + 1]
cmp edi, 0x7ffffffe
ja 0x10012039
cmp edx, edi
jae 0x100120bd
push eax
push edi
lea edx, [ebp - 0x42c]
push edx
call fcn.100151d0
jmp 0x100120dd
test edi, edi
jne 0x100120eb
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], edi
cmp edx, 8
jae 0x100120d8
lea eax, [ebp - 0x42c]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x418]
test edi, edi
setne cl
test cl, cl
je 0x10012134
mov ecx, dword [ebp - 0x42c]
cmp edx, 8
jae 0x10012103
lea ecx, [ebp - 0x42c]
mov word [ecx + eax*2], si
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], edi
jae 0x10012122
lea eax, [ebp - 0x42c]
xor edx, edx
mov word [eax + edi*2], dx
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x41c]
inc ebx
cmp ebx, dword [ebp + 0x34]
jb 0x10012080
mov edi, dword [ebp - 0x42c]
cmp edx, 8
jae 0x1001214f
lea edi, [ebp - 0x42c]
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x470]
push 0
push 0
push 3
push 0
push 0
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x1001224e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x468]
mov ebx, 0xf
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
add eax, str.InternetConnectW_failed_hConnect__NULL_:
mov byte [ecx], 0
mov ecx, eax
lea edi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100121a0
mov esi, dword [ebp - 0x468]
sub ecx, edi
mov edi, ecx
call fcn.100011b0
cmp dword [ebp - 0x418], 8
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x100121d1
mov edx, dword [ebp - 0x42c]
push edx
call edi
add esp, 4
xor esi, esi
xor eax, eax
cmp dword [ebp - 0x434], 8
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x418], 7
jb 0x10012201
mov ecx, dword [ebp - 0x448]
push ecx
call edi
add esp, 4
xor edx, edx
cmp dword [ebp + 0x1c], 0x10
mov word [ebp - 0x448], dx
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], 7
jb 0x10012229
mov eax, dword [ebp + 8]
push eax
call edi
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
jb 0x10012242
mov ecx, dword [ebp + 0x24]
push ecx
call edi
add esp, 4
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x34], esi
jmp 0x10011f16
push 0
push 0
lea ecx, [ebp - 0x474]
push ecx
push 0
push 0
push edi
push 0x1001e51c
push eax
mov dword [ebp - 0x474], str.text_
mov dword [ebp - 0x470], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x100122b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x468]
mov ebx, 0xf
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], ebx
add eax, str.HttpOpenRequestW_failed_hRequest__NULL_:
mov byte [ecx], 0
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100122a8
jmp 0x100121a7
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x100123bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x468]
mov ebx, 0xf
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
add eax, str._bRequestSent____HttpSendRequestW_failed_with_error_code
mov byte [ecx], 0
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100122f3
mov esi, dword [ebp - 0x468]
sub ecx, edi
mov edi, ecx
call fcn.100011b0
cmp dword [ebp - 0x418], 8
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x10012324
mov eax, dword [ebp - 0x42c]
push eax
call edi
add esp, 4
xor esi, esi
xor ecx, ecx
cmp dword [ebp - 0x434], 8
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], esi
mov word [ebp - 0x42c], cx
jb 0x10012354
mov edx, dword [ebp - 0x448]
push edx
call edi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], esi
mov word [ebp - 0x448], ax
jb 0x1001237c
mov ecx, dword [ebp + 8]
push ecx
call edi
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
jb 0x10012395
mov edx, dword [ebp + 0x24]
push edx
call edi
add esp, 4
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], esi
mov byte [ebp + 0x24], 0
jb 0x10011f28
mov eax, dword [ebp + 0x40]
push eax
call edi
mov eax, dword [ebp - 0x468]
add esp, 4
jmp 0x10012587
mov ebx, 0xf
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x454], 0
mov byte [ebp - 0x464], 0
lea ecx, [ebp - 0x46c]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
mov byte [ebp - 4], 5
push edi
mov dword [ebp - 0x46c], 0xffffffff
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x46c]
push eax
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x464]
call fcn.10013790
mov esi, dword [ebp - 0x468]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
lea ecx, [ebp - 0x464]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp esi, ecx
je 0x100124ac
cmp dword [esi + 0x14], 0x10
jb 0x1001244a
mov edx, dword [esi]
push edx
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
mov byte [esi], al
cmp dword [ebp - 0x450], 0x10
jae 0x1001248a
mov eax, dword [ebp - 0x454]
inc eax
push eax
lea ecx, [ebp - 0x464]
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x450]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x100124c1
mov edx, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x454]
mov dword [esi], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x100124c1
cmp dword [ebp - 0x450], 0x10
jb 0x100124c1
mov edx, dword [ebp - 0x464]
push edx
call edi
add esp, 4
cmp dword [ebp - 0x418], 8
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x454], 0
mov byte [ebp - 0x464], 0
jb 0x100124ed
mov eax, dword [ebp - 0x42c]
push eax
call edi
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x434], 8
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], cx
jb 0x1001251f
mov edx, dword [ebp - 0x448]
push edx
call edi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], 0
mov word [ebp - 0x448], ax
jb 0x1001254b
mov ecx, dword [ebp + 8]
push ecx
call edi
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x10012568
mov edx, dword [ebp + 0x24]
push edx
call edi
add esp, 4
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], 0
mov byte [ebp + 0x24], 0
jb 0x10012585
mov eax, dword [ebp + 0x40]
push eax
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret