Function at 0x100b2dd0
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 0x1024d2a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push esi
xor eax, eax
mov dword [ebp - 0x34], 0
push edi
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push 7
push str.http:__
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.1001a600
mov byte [ebp - 4], 2
lea eax, [ebp - 0x64]
mov esi, dword [ebp + 8]
mov ecx, esi
cmp dword [ebp - 0x50], 8
cmovae eax, dword [ebp - 0x64]
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x100b2e55
mov ecx, dword [esi]
mov edx, dword [ebp - 0x54]
push edx
push eax
push 0
mov edx, edi
call fcn.1001d720
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x10], ecx
add ecx, dword [ebp - 0x54]
push ecx
push 0x2f
mov ecx, esi
call fcn.1001ce80
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, 0xffffffff
je 0x100b2f60
mov ecx, eax
xor eax, eax
sub ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x10]
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x54]
cmp edi, eax
jb 0x100b334e
sub edi, eax
cmp edi, ecx
cmovb ecx, edi
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x100b2ebf
mov edi, dword [esi]
push ecx
lea eax, [edi + eax*2]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a600
lea ecx, [ebp - 0x44]
call fcn.1001a5a0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.1001a5a0
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, edx
jb 0x100b3353
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esi + 0x14], 8
jb 0x100b2f37
mov esi, dword [esi]
push ecx
lea eax, [esi + edx*2]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a600
lea ecx, [ebp - 0x7c]
call fcn.1001a5a0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x6c], xmm0
jmp 0x100b2fae
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x10]
cmp edi, eax
jb 0x100b3358
sub edi, eax
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [esi + 0x14], 8
jb 0x100b2f87
mov esi, dword [esi]
push ecx
lea eax, [esi + eax*2]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a600
lea ecx, [ebp - 0x44]
call fcn.1001a5a0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x34], xmm0
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.1001a5a0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp + 0xb], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x48], edi
test edi, edi
je 0x100b3323
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push 0
cmovae ecx, dword [ebp - 0x44]
push 0
push 3
push 0
push 0
push 0x50
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100b331c
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x7c]
push 0
cmovae ecx, dword [ebp - 0x7c]
push 0x80000
push 0
push 0
push str.HTTP_1.0
push ecx
push 0x10267c4c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x100b3311
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
mov ecx, dword [edx]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
je 0x100b30d3
nop dword [eax]
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ecx + 0x28]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x100b3083
mov eax, dword [eax]
add ecx, 0x10
cmp dword [ecx + 0x14], 8
jb 0x100b308e
mov ecx, dword [ecx]
push eax
push ecx
lea eax, [ebp - 0x28]
push 0x10267a0c
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0x20000000
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
lea ecx, [ebp - 0x10]
call fcn.1001d260
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [edi]
jne 0x100b3060
mov eax, dword [0x10320968]
mov dword [ebp - 0x10], 0x10320968
test eax, eax
je 0x100b30ea
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1031bf20
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.1001a380
mov eax, dword [0x10320968]
test eax, eax
je 0x100b310e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x100b313b
cmp dword [ebp - 0x80], 8
lea eax, [ebp - 0x94]
push 0x20000000
cmovae eax, dword [ebp - 0x94]
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100b32f8
push 0x400
lea eax, [ebp - 0x494]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
push 0x400
lea eax, [ebp - 0x494]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100b3255
cmp dword [ebp - 0x10], 0
je 0x100b3255
lea edi, [ebp - 0x494]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100b31b7
mov edx, dword [ebp - 0x14]
sub edi, ecx
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x100b31fa
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x494]
add esi, ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x2c]
jmp 0x100b3211
lea eax, [ebp - 0x494]
mov byte [ebp + 8], 0
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push edi
call fcn.1001c8e0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
push 0x400
push 0
add dword [ecx], eax
lea eax, [ebp - 0x494]
push eax
mov dword [ebp - 0x10], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x494]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100b31a4
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x100b32be
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100b3284
push eax
call fcn.1006e708
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
test edi, edi
je 0x100b32bb
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.10020ab0
push edi
push dword [ebp + 8]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 4]
add esp, 0xc
cmp edi, eax
cmovbe eax, edi
mov dword [esi + 0xc], eax
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov byte [ebp + 0xb], 1
cmp edx, 0x10
jb 0x100b32f8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b32ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b32ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1001a5a0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov edi, dword [ebp - 0x48]
jmp 0x100b3317
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x4c]
call esi
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x64]
call fcn.1001a5a0
lea ecx, [ebp - 0x7c]
call fcn.1001a5a0
lea ecx, [ebp - 0x44]
call fcn.1001a5a0
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1001c4c0
call fcn.1001c4c0
call fcn.1001c4c0
int3