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

Disassembly:
mov eax, 0x10051c1d
call fcn.10041c70
mov eax, 0x4cf0
call fcn.10040d00
mov eax, dword [0x1006099c]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4cb0], ebx
mov dword [ebp - 0x4cac], ebx
mov dword [ebp - 0x4c98], ebx
mov dword [ebp - 0x4c9c], ebx
mov dword [ebp - 0x4ca4], edi
call fcn.10001090
test eax, eax
jbe 0x10032b90
push esi
xor esi, esi
mov dword [ebp - 0x4ca8], ebx
inc esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x4ca8]
add eax, ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.10002100
push 0x3e8
lea eax, [ebp - 0x484]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10041db0
mov eax, dword [ebp - 0x98]
add esp, 0xc
cmp dword [ebp - 0x84], 0x10
jae 0x1003279c
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.10041ea0
lea eax, [ebp - 0x47c]
push 0x100537ac
push eax
call fcn.10040e10
add esp, 0x10
cmp eax, ebx
je 0x100327d6
mov byte [eax], bl
lea eax, [ebp - 0x484]
push 0x10054d20
push eax
call fcn.10041eb0
pop ecx
pop ecx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x4ca0], eax
je 0x10032a83
xor eax, eax
push 0xe
pop ecx
mov dword [ebp - 0x4cf4], 0x3c
lea edi, [ebp - 0x4cf0]
rep stosd dword es:[edi], eax
mov eax, 0x800
mov dword [ebp - 0x4ce0], eax
mov dword [ebp - 0x4cc4], eax
mov dword [ebp - 0x4cd4], eax
mov dword [ebp - 0x4ccc], eax
lea eax, [ebp - 0x4490]
mov dword [ebp - 0x4ce4], eax
lea eax, [ebp - 0xc88]
mov dword [ebp - 0x4cc8], eax
lea eax, [ebp - 0x3c8c]
mov dword [ebp - 0x4cd8], eax
lea eax, [ebp - 0x4c94]
mov dword [ebp - 0x4cd0], eax
lea eax, [ebp - 0x4cf4]
push eax
push ebx
push ebx
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x4ce0]
mov edi, eax
mov eax, dword [ebp - 0x4ce4]
mov byte [eax + ecx], bl
mov eax, dword [ebp - 0x4cc8]
mov ecx, dword [ebp - 0x4cc4]
mov byte [eax + ecx], bl
mov eax, dword [ebp - 0x4cd8]
mov ecx, dword [ebp - 0x4cd4]
mov byte [eax + ecx], bl
mov ecx, dword [ebp - 0x4ccc]
mov eax, dword [ebp - 0x4cd0]
mov byte [eax + ecx], bl
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0xf
call fcn.100015a0
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
call fcn.100015a0
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.100015a0
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.100015a0
cmp edi, ebx
mov byte [ebp - 4], 4
je 0x1003293f
mov eax, dword [ebp - 0x4ce8]
push dword [ebp - 0x4ce4]
mov dword [ebp - 0x4cb4], eax
mov eax, dword [ebp - 0x4cdc]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x4cb8], eax
call fcn.10002130
push dword [ebp - 0x4cc8]
lea ecx, [ebp - 0x64]
call fcn.10002130
push dword [ebp - 0x4cd8]
lea ecx, [ebp - 0x48]
call fcn.10002130
push dword [ebp - 0x4cd0]
lea ecx, [ebp - 0x2c]
call fcn.10002130
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x1003294b
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [ebp - 0x44]
jae 0x10032957
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x68], 0x10
mov eax, dword [ebp - 0x7c]
jae 0x10032963
lea eax, [ebp - 0x7c]
push esi
push ebx
push dword [ebp - 0x4cb4]
push edx
push ecx
push dword [ebp - 0x4cb8]
push eax
push dword [ebp - 0x4ca0]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x4c98], eax
je 0x10032a55
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4cfc], 0x100537e0
mov dword [ebp - 0x4cf8], ebx
jae 0x100329aa
lea eax, [ebp - 0x60]
push esi
push 0x84480000
lea ecx, [ebp - 0x4cfc]
push ecx
push ebx
push 0x100537d4
push eax
push 0x10054ce8
push dword [ebp - 0x4c98]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [ebp - 0x4c9c], eax
je 0x10032a55
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x10032a55
xor eax, eax
mov byte [ebp - 0x3488], bl
mov ecx, 0x9ff
lea edi, [ebp - 0x3487]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x2800
push edi
lea eax, [ebp - 0x3488]
push ebx
push eax
call fcn.10041db0
add esp, 0xc
lea eax, [ebp - 0x4cb0]
push eax
push edi
lea eax, [ebp - 0x3488]
push eax
push dword [ebp - 0x4c9c]
mov dword [ebp - 0x4cb0], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
push 2
lea eax, [ebp - 0x3488]
push 0x10054d1c
push eax
call fcn.1004d713
add esp, 0xc
test eax, eax
je 0x10032af0
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001640
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.10001640
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.10001640
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.10001640
mov edi, dword [ebp - 0x4ca4]
cmp dword [ebp - 0x4c9c], ebx
je 0x10032a97
push dword [ebp - 0x4c9c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4c98], ebx
je 0x10032aab
push dword [ebp - 0x4c98]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4ca0], ebx
je 0x10032abf
push dword [ebp - 0x4ca0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x9c]
call fcn.10001640
mov ecx, dword [ebp + 0xc]
add dword [ebp - 0x4ca8], 0x1c
inc edi
mov dword [ebp - 0x4ca4], edi
call fcn.10001090
cmp edi, eax
jb 0x10032755
jmp 0x10032b35
push ebx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4cac], esi
call fcn.10001640
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.10001640
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.10001640
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.10001640
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x9c]
call fcn.10001640
mov edi, dword [ebp - 0x4ca4]
cmp dword [ebp - 0x4c9c], ebx
pop esi
je 0x10032b4a
push dword [ebp - 0x4c9c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4c98], ebx
je 0x10032b5e
push dword [ebp - 0x4c98]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4ca0], ebx
je 0x10032b72
push dword [ebp - 0x4ca0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4cac], ebx
je 0x10032b90
mov eax, dword [ebp + 0xc]
imul edi, edi, 0x1c
add edi, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov eax, edi
push eax
call fcn.10002100
jmp 0x10032b9d
mov ecx, dword [ebp + 8]
push 0x100534c7
call fcn.10002290
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1003fd01
leave
ret