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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011b364
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
mov eax, 0x63dc
call fcn.101188e0
push esi
push edi
lea edi, [ebp - 0x63ec]
mov ecx, 0x18f7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x639c], 0
lea ecx, [ebp - 0x61f8]
call fcn.10076ba0
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x6309], al
xor ecx, ecx
mov byte [ebp - 0x630a], cl
mov esi, esp
push 0
push 0
push 0
push 0
movzx edx, byte [ebp - 0x6309]
push edx
movzx eax, byte [ebp - 0x630a]
push eax
movzx ecx, byte [ebp - 0x630b]
push ecx
lea ecx, [ebp - 0x6210]
call fcn.100a7d00
mov ecx, eax
call fcn.10099340
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x6200], eax
cmp dword [ebp - 0x6200], 0
je 0x10079e4b
xor edx, edx
mov word [ebp - 0x6214], dx
mov dword [ebp - 0x6218], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x63a0], eax
cmp dword [ebp - 0x63a0], 0
je 0x100797db
cmp dword [ebp - 0x63a0], 1
je 0x100797f3
jmp 0x1007980b
mov ecx, 0x50
mov word [ebp - 0x6214], cx
mov dword [ebp - 0x6218], 0x400000
jmp 0x10079841
mov edx, 0x1bb
mov word [ebp - 0x6214], dx
mov dword [ebp - 0x6218], 0x800000
jmp 0x10079841
push 0x10131a7c
mov ecx, dword [ebx + 8]
call fcn.10069b60
mov eax, dword [ebp - 0x639c]
or eax, 1
mov dword [ebp - 0x639c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61f8]
call fcn.10069ad0
mov eax, dword [ebx + 8]
jmp 0x10079e87
mov esi, esp
push 1
push 0
push 3
push 0
push 0
movzx ecx, word [ebp - 0x6214]
push ecx
mov ecx, dword [ebx + 0x14]
call fcn.10069aa0
push eax
mov edx, dword [ebp - 0x6200]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x621c], eax
cmp dword [ebp - 0x621c], 0
je 0x10079e34
lea ecx, [ebp - 0x6238]
call fcn.10076ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6258]
call fcn.10076ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6278]
call fcn.10076ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6298]
call fcn.10076ba0
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x63a4], eax
cmp dword [ebp - 0x63a4], 0
je 0x10079a62
cmp dword [ebp - 0x63a4], 1
je 0x100798e5
jmp 0x10079bff
xor ecx, ecx
mov byte [ebp - 0x630c], cl
xor edx, edx
mov byte [ebp - 0x630d], dl
movzx eax, byte [ebp - 0x630c]
push eax
movzx ecx, byte [ebp - 0x630d]
push ecx
movzx edx, byte [ebp - 0x630e]
push edx
lea ecx, [ebp - 0x62b0]
call fcn.100a7d60
mov ecx, eax
call fcn.10099340
push eax
lea ecx, [ebp - 0x6258]
call fcn.1009d110
nop
mov ecx, dword [ebx + 0x1c]
call fcn.1009c990
movzx eax, al
test eax, eax
je 0x1007997e
push 0x10131a7d
lea ecx, [ebp - 0x632c]
call fcn.10069b60
mov dword [ebp - 0x63a8], eax
mov ecx, dword [ebp - 0x63a8]
mov dword [ebp - 0x63ac], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x639c]
or edx, 2
mov dword [ebp - 0x639c], edx
mov eax, dword [ebp - 0x63ac]
mov dword [ebp - 0x63b0], eax
jmp 0x100799ca
mov ecx, dword [ebx + 0x1c]
push ecx
push 0x10171da0
lea edx, [ebp - 0x6344]
push edx
call fcn.100a7610
add esp, 0xc
mov dword [ebp - 0x63b4], eax
mov eax, dword [ebp - 0x63b4]
mov dword [ebp - 0x63b8], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x639c]
or ecx, 4
mov dword [ebp - 0x639c], ecx
mov edx, dword [ebp - 0x63b8]
mov dword [ebp - 0x63b0], edx
mov eax, dword [ebp - 0x63b0]
mov dword [ebp - 0x6314], eax
mov ecx, dword [ebp - 0x6314]
push ecx
mov edx, dword [ebx + 0x18]
push edx
lea eax, [ebp - 0x635c]
push eax
call fcn.100a54e0
add esp, 0xc
mov dword [ebp - 0x63bc], eax
mov ecx, dword [ebp - 0x63bc]
push ecx
lea ecx, [ebp - 0x6238]
call fcn.1009d1d0
lea ecx, [ebp - 0x635c]
call fcn.10069ad0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x639c]
and edx, 4
je 0x10079a38
and dword [ebp - 0x639c], 0xfffffffb
lea ecx, [ebp - 0x6344]
call fcn.10069ad0
nop
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x639c]
and eax, 2
je 0x10079a5d
and dword [ebp - 0x639c], 0xfffffffd
lea ecx, [ebp - 0x632c]
call fcn.10069ad0
nop
jmp 0x10079c71
xor ecx, ecx
mov byte [ebp - 0x635d], cl
xor edx, edx
mov byte [ebp - 0x635e], dl
movzx eax, byte [ebp - 0x635d]
push eax
movzx ecx, byte [ebp - 0x635e]
push ecx
movzx edx, byte [ebp - 0x635f]
push edx
lea ecx, [ebp - 0x62c0]
call fcn.100a7dc0
mov ecx, eax
call fcn.10099340
push eax
lea ecx, [ebp - 0x6258]
call fcn.1009d110
nop
mov eax, dword [ebx + 0x18]
push eax
lea ecx, [ebp - 0x6238]
call fcn.1009d140
nop
xor ecx, ecx
mov byte [ebp - 0x6360], cl
xor edx, edx
mov byte [ebp - 0x6361], dl
movzx eax, byte [ebp - 0x6360]
push eax
movzx ecx, byte [ebp - 0x6361]
push ecx
movzx edx, byte [ebp - 0x6362]
push edx
lea ecx, [ebp - 0x62f0]
call fcn.100a7e20
mov ecx, eax
call fcn.10097fa0
push eax
lea ecx, [ebp - 0x6278]
call fcn.1009d110
nop
mov ecx, dword [ebx + 0x1c]
call fcn.1009c990
movzx eax, al
test eax, eax
je 0x10079b52
push 0x10131a7e
lea ecx, [ebp - 0x6380]
call fcn.10069b60
mov dword [ebp - 0x63c0], eax
mov ecx, dword [ebp - 0x63c0]
mov dword [ebp - 0x63c4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x639c]
or edx, 8
mov dword [ebp - 0x639c], edx
mov eax, dword [ebp - 0x63c4]
mov dword [ebp - 0x63c8], eax
jmp 0x10079b95
mov ecx, dword [ebx + 0x1c]
push ecx
lea ecx, [ebp - 0x6398]
call fcn.1009d400
mov dword [ebp - 0x63cc], eax
mov edx, dword [ebp - 0x63cc]
mov dword [ebp - 0x63d0], edx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x639c]
or eax, 0x10
mov dword [ebp - 0x639c], eax
mov ecx, dword [ebp - 0x63d0]
mov dword [ebp - 0x63c8], ecx
mov edx, dword [ebp - 0x63c8]
mov dword [ebp - 0x6368], edx
mov eax, dword [ebp - 0x6368]
push eax
lea ecx, [ebp - 0x6298]
call fcn.1009d140
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x639c]
and ecx, 0x10
je 0x10079bd8
and dword [ebp - 0x639c], 0xffffffef
lea ecx, [ebp - 0x6398]
call fcn.10069ad0
nop
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x639c]
and edx, 8
je 0x10079bfd
and dword [ebp - 0x639c], 0xfffffff7
lea ecx, [ebp - 0x6380]
call fcn.10069ad0
nop
jmp 0x10079c71
push 0x10131a7f
mov ecx, dword [ebx + 8]
call fcn.10069b60
mov eax, dword [ebp - 0x639c]
or eax, 1
mov dword [ebp - 0x639c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6298]
call fcn.10069ad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6278]
call fcn.10069ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6258]
call fcn.10069ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6238]
call fcn.10069ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61f8]
call fcn.10069ad0
mov eax, dword [ebx + 8]
jmp 0x10079e87
lea ecx, [ebp - 0x6238]
call fcn.10069aa0
mov dword [ebp - 0x63d4], eax
lea ecx, [ebp - 0x6258]
call fcn.10069aa0
mov dword [ebp - 0x63d8], eax
mov esi, esp
push 1
mov ecx, dword [ebp - 0x6218]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x63d4]
push edx
mov eax, dword [ebp - 0x63d8]
push eax
mov ecx, dword [ebp - 0x621c]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x62f4], eax
cmp dword [ebp - 0x62f4], 0
je 0x10079de1
lea ecx, [ebp - 0x6298]
call fcn.10049990
mov dword [ebp - 0x63dc], eax
lea ecx, [ebp - 0x6298]
call fcn.10069aa0
mov dword [ebp - 0x63e0], eax
lea ecx, [ebp - 0x6278]
call fcn.10049990
mov dword [ebp - 0x63e4], eax
lea ecx, [ebp - 0x6278]
call fcn.10069aa0
mov dword [ebp - 0x63e8], eax
mov esi, esp
mov edx, dword [ebp - 0x63dc]
push edx
mov eax, dword [ebp - 0x63e0]
push eax
mov ecx, dword [ebp - 0x63e4]
push ecx
mov edx, dword [ebp - 0x63e8]
push edx
mov eax, dword [ebp - 0x62f4]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x62f8], eax
cmp dword [ebp - 0x62f8], 0
je 0x10079dca
movzx ecx, byte [ebx + 0x20]
test ecx, ecx
je 0x10079dca
mov dword [ebp - 0x6300], 0
mov dword [ebp - 0x6308], 0
mov esi, esp
lea edx, [ebp - 0x6300]
push edx
push 0x61bf
lea eax, [ebp - 0x61d8]
push eax
mov ecx, dword [ebp - 0x62f4]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp esi, esp
call fcn.10118e91
mov edx, dword [ebp - 0x6300]
push edx
lea eax, [ebp - 0x61d8]
push eax
lea ecx, [ebp - 0x61f8]
call fcn.1009cf00
mov ecx, dword [ebp - 0x6300]
mov byte [ebp + ecx - 0x61d8], 0
mov esi, esp
mov edx, dword [ebp - 0x62f4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.10118e91
nop
mov esi, esp
mov eax, dword [ebp - 0x621c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.10118e91
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6298]
call fcn.10069ad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6278]
call fcn.10069ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6258]
call fcn.10069ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6238]
call fcn.10069ad0
nop
mov esi, esp
mov ecx, dword [ebp - 0x6200]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.10118e91
nop
lea ecx, [ebp - 0x61f8]
call fcn.10069aa0
push eax
mov edx, dword [ebx + 8]
push edx
call fcn.10078bc0
add esp, 8
mov eax, dword [ebp - 0x639c]
or eax, 1
mov dword [ebp - 0x639c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61f8]
call fcn.10069ad0
mov eax, dword [ebx + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10079eac]
call fcn.10118e3d
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret