Function at 0x1002b2b0
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1006c
call fcn.10139950
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x108]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x1002b4cc
cmp dword [eax + 4], ebx
je 0x1002b4cc
test dword [eax + 0x1c], 0x100
je 0x1002b4cc
cmp dword [ebp + 0xc], ebx
jne 0x1002b300
push 0xe00b1001
mov eax, 0x1018aa68
jmp 0x1002b4d6
push 8
pop ecx
push ebx
push ebx
push ebx
push ebx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x2c]
push str.HebcaP11Client
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, ebx
jne 0x1002b334
push 0xe00b1014
mov eax, 0x1018a920
jmp 0x1002b4d6
push ebx
lea eax, [ebp - 0x2c]
push 0x84000100
push eax
call fcn.101319ca
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
jne 0x1002b362
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1002b325
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push edi
mov dword [ebp - 0xc], 0xc8
mov dword [ebp + 8], 4
call esi
test eax, eax
je 0x1002b4b9
cmp dword [ebp - 0xc], 0xc8
jne 0x1002b4b9
xor eax, eax
push 0x3e
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.10131950
add esp, 0xc
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
push 5
push edi
mov dword [ebp + 8], 0x40
call esi
mov esi, 0x10000
test eax, eax
je 0x1002b400
lea eax, [ebp - 0x6c]
push eax
call fcn.101348c7
cmp edx, ebx
pop ecx
jl 0x1002b400
jg 0x1002b3e3
cmp eax, esi
jb 0x1002b400
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push 0xe00b1010
mov eax, 0x1018a968
jmp 0x1002b4d6
push 0xffff
lea eax, [ebp - 0x1006b]
push ebx
push eax
mov byte [ebp - 0x1006c], bl
call fcn.10131950
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x1006c]
push eax
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp + 0xc], eax
call esi
push edi
call esi
cmp dword [ebp + 0xc], ebx
je 0x1002b325
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x1006c]
push eax
push ebx
push ebx
call esi
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101317de
lea ecx, [edi + edi + 2]
push ecx
push ebx
push eax
mov dword [ebp + 0xc], eax
call fcn.10131950
add esp, 0x10
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x1006c]
push dword [ebp - 4]
push eax
push ebx
push ebx
call esi
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.101317e9
pop ecx
xor eax, eax
jmp 0x1002b4e5
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
jmp 0x1002b325
push 0xe00b101b
mov eax, 0x1018a898
push 0x1018af0c
push 0x1018af8c
call fcn.10004ead
pop edi
pop esi
pop ebx
leave
ret 0xc