Function at 0x4025b0
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 0x45a2ae
mov eax, dword fs:[0]
push eax
mov eax, 0x20054
call fcn.00445b30
mov eax, dword [0x47a480]
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
mov dword [ebp - 0x20050], esi
mov eax, dword [str.JEE_Session]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x2005c], edi
cmp edi, ebx
jne 0x40263e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CHtml____Read____InternetOpen_:__d
push 0x400
push esi
call fcn.004447a6
add esp, 0x10
cmp dword [ebp + 0x20], 0x10
jb 0x402637
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041b7ab
add esp, 4
xor al, al
jmp 0x40291e
mov eax, 0xf
mov dword [ebp - 0x20014], eax
mov dword [ebp - 0x20018], ebx
mov byte [ebp - 0x20028], bl
mov dword [ebp - 0x20030], eax
mov dword [ebp - 0x20034], ebx
mov byte [ebp - 0x20044], bl
lea edx, [ebp - 0x20048]
push edx
lea ecx, [ebp - 0x20054]
push ecx
lea edx, [ebp - 0x2002c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20060], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], eax
push ebx
lea eax, [ebp + 8]
mov dword [ecx + 0x14], ebx
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x20054], 0x50
mov byte [ebp - 0x20049], 1
mov byte [ecx + 4], bl
call fcn.00402110
mov ecx, esi
call fcn.00402350
cmp al, bl
jne 0x4026cd
mov edi, dword [ebp - 0x20050]
mov byte [ebp - 0x20049], bl
jmp 0x402889
cmp dword [ebp - 0x20014], 0x10
mov eax, dword [ebp - 0x20028]
jae 0x4026e2
lea eax, [ebp - 0x20028]
mov ecx, dword [ebp - 0x20054]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x20054], eax
cmp eax, ebx
jne 0x40272c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CHtml____Read____InternetConnect_:__d
push 0x400
push esi
call fcn.004447a6
mov edi, dword [ebp - 0x20050]
add esp, 0x10
mov byte [ebp - 0x20049], bl
jmp 0x402889
cmp dword [ebp - 0x20030], 0x10
mov ecx, dword [ebp - 0x20044]
jae 0x402741
lea ecx, [ebp - 0x20044]
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push 0x45fc5c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
jne 0x40277e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CHtml____Read____HttpOpenRequest_:__d
push 0x400
push esi
call fcn.004447a6
add esp, 0x10
mov byte [ebp - 0x20049], bl
jmp 0x402894
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4027b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CHtml____Read____HttpSendRequest_:__d
push 0x400
push esi
call fcn.004447a6
add esp, 0x10
mov byte [ebp - 0x20049], bl
jmp 0x402889
push 0xffff
lea edx, [ebp - 0x2000f]
push ebx
push edx
mov byte [ebp - 0x20010], bl
call fcn.004446a0
add esp, 0xc
lea eax, [ebp - 0x20058]
push eax
push 0x1000
lea ecx, [ebp - 0x20010]
push ecx
push edi
xor esi, esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40281b
lea ecx, [ecx]
mov eax, dword [ebp - 0x20058]
cmp eax, ebx
jbe 0x402843
lea edx, [ebp - 0x20058]
push edx
add esi, eax
push 0x1000
lea eax, [ebp + esi - 0x20010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4027f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20050]
push eax
push 0x45fbe4
push 0x400
push ecx
call fcn.004447a6
add esp, 0x10
mov byte [ebp - 0x20049], bl
jmp 0x402889
push 0xffff
lea edx, [ebp - 0x1000f]
push ebx
push edx
mov byte [ebp - 0x10010], bl
call fcn.004446a0
lea eax, [ebp - 0x20010]
push eax
lea ecx, [ebp - 0x10010]
push ecx
call fcn.00401d70
mov ecx, dword [ebp - 0x20050]
add esp, 0x14
lea edx, [ebp - 0x10010]
push edx
add ecx, 0x400
call fcn.00402320
cmp edi, ebx
je 0x402894
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x20054]
cmp eax, ebx
jne 0x4028a4
mov eax, dword [ebp - 0x2005c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x20030], esi
jb 0x4028c7
mov ecx, dword [ebp - 0x20044]
push ecx
call fcn.0041b7ab
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x20030], edi
mov dword [ebp - 0x20034], ebx
mov byte [ebp - 0x20044], bl
cmp dword [ebp - 0x20014], esi
jb 0x4028f5
mov edx, dword [ebp - 0x20028]
push edx
call fcn.0041b7ab
add esp, 4
mov dword [ebp - 0x20014], edi
mov dword [ebp - 0x20018], ebx
mov byte [ebp - 0x20028], bl
cmp dword [ebp + 0x20], esi
jb 0x402918
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041b7ab
add esp, 4
mov al, byte [ebp - 0x20049]
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.0044471a
mov esp, ebp
pop ebp
ret 0x1c