Function at 0x100c7490
Capabilities:
Check http status code
Connect to http server
Create http request
Get http response content encoding
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e834
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2230
call fcn.100ee750
mov eax, dword [0x10159e80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220c], edx
mov esi, ecx
mov dword [ebp - 0x21e8], esi
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x2150]
push esi
mov dword [ebp - 0x21e4], eax
mov dword [ebp - 0x21d8], 0
mov dword [ebp - 0x21dc], 0
call fcn.100022c0
push esi
lea ecx, [ebp - 0x2198]
mov dword [ebp - 4], 0
call fcn.100022c0
mov byte [ebp - 4], 1
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x100c752d
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 5
push str.https
push 0
call fcn.10004c80
add esp, 0xc
mov dword [ebp - 0x219c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2218], 0
lea ecx, [ebp - 0x2228]
mov dword [ebp - 0x2214], 0
movups xmmword [ebp - 0x2228], xmm0
push 3
push 0x1013e574
call fcn.100023d0
cmp dword [ebp - 0x2214], 7
lea edx, [ebp - 0x2228]
mov eax, dword [ebp - 0x2140]
lea ecx, [ebp - 0x2150]
cmova edx, dword [ebp - 0x2228]
cmp dword [ebp - 0x213c], 7
mov esi, dword [ebp - 0x2218]
cmova ecx, dword [ebp - 0x2150]
mov dword [ebp - 0x21e0], edx
mov dword [ebp - 0x2120], ecx
cmp esi, eax
ja 0x100c75f1
test esi, esi
jne 0x100c75c5
xor edi, edi
mov edi, esi
jmp 0x100c75f4
sub eax, esi
mov edi, ecx
inc eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x21d8], eax
sub eax, edi
sar eax, 1
je 0x100c75f1
movzx ecx, word [edx]
nop dword [eax]
cmp word [edi], cx
je 0x100c768c
add edi, 2
sub eax, 1
jne 0x100c75e0
or edi, 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.10002530
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x2230], 0
push 0x101373e0
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x222c], 0
movups xmmword [ebp - 0x2240], xmm0
call fcn.100023d0
cmp dword [ebp - 0x222c], 7
lea edx, [ebp - 0x2240]
mov eax, dword [ebp - 0x2140]
lea esi, [ebp - 0x2150]
cmova edx, dword [ebp - 0x2240]
cmp dword [ebp - 0x213c], 7
mov ecx, dword [ebp - 0x2230]
cmova esi, dword [ebp - 0x2150]
mov dword [ebp - 0x21e0], edx
mov dword [ebp - 0x2120], esi
cmp ecx, eax
ja 0x100c7712
sub eax, ecx
cmp edi, eax
ja 0x100c7712
test ecx, ecx
jne 0x100c76eb
mov esi, edi
jmp 0x100c7938
test edi, edi
je 0x100c75f1
mov ecx, edx
mov edx, edi
test esi, esi
je 0x100c76b3
nop dword [eax]
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100c76d1
add edx, 2
add ecx, 2
sub esi, 1
jne 0x100c76a0
sub edi, dword [ebp - 0x2120]
sar edi, 1
cmp edi, 0xffffffff
je 0x100c75f4
mov esi, dword [ebp - 0x2218]
add edi, esi
jmp 0x100c75f4
mov edx, dword [ebp - 0x21e0]
add edi, 2
mov esi, dword [ebp - 0x2218]
mov eax, dword [ebp - 0x21d8]
jmp 0x100c75d3
inc eax
lea eax, [esi + eax*2]
mov dword [ebp - 0x21d8], eax
lea esi, [esi + edi*2]
sub eax, esi
sar eax, 1
je 0x100c7712
movzx ecx, word [edx]
cmp word [esi], cx
je 0x100c78f7
add esi, 2
sub eax, 1
jne 0x100c7701
or esi, 0xffffffff
lea ecx, [ebp - 0x2240]
call fcn.10002530
mov edx, dword [ebp - 0x21e8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2138], xmm0
mov dword [ebp - 0x2128], 0
mov dword [ebp - 0x2124], 0
mov ecx, dword [edx + 0x10]
cmp ecx, edi
jb 0x100c8066
mov eax, esi
sub ecx, edi
sub eax, edi
dec eax
cmp ecx, eax
cmovb eax, ecx
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x100c7765
mov ecx, dword [edx]
push eax
lea eax, [ecx + edi*2]
push eax
lea ecx, [ebp - 0x2138]
call fcn.100023d0
lea eax, [ebp - 0x2138]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2200]
call fcn.100022c0
lea ecx, [ebp - 0x2150]
call fcn.10002530
movups xmm0, xmmword [ebp - 0x2200]
xor eax, eax
lea ecx, [ebp - 0x2200]
mov word [ebp - 0x2200], ax
movups xmmword [ebp - 0x2150], xmm0
movq xmm0, qword [ebp - 0x21f0]
movq qword [ebp - 0x2140], xmm0
mov dword [ebp - 0x21f0], 0
mov dword [ebp - 0x21ec], 7
call fcn.10002530
lea ecx, [ebp - 0x2138]
mov byte [ebp - 4], 1
call fcn.10002530
mov edx, dword [ebp - 0x21e8]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x2188]
sub ecx, esi
mov dword [ebp - 0x2128], 0
movups xmmword [ebp - 0x2138], xmm0
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2124], 0
cmp eax, esi
jb 0x100c8066
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [edx + 0x14], 7
jbe 0x100c7831
mov edx, dword [edx]
push ecx
lea eax, [edx + esi*2]
push eax
lea ecx, [ebp - 0x2138]
call fcn.100023d0
mov dword [ebp - 0x21d8], 0xc
lea eax, [ebp - 0x2138]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2200]
call fcn.100022c0
lea ecx, [ebp - 0x2198]
call fcn.10002530
movups xmm0, xmmword [ebp - 0x2200]
xor eax, eax
lea ecx, [ebp - 0x2200]
mov word [ebp - 0x2200], ax
movups xmmword [ebp - 0x2198], xmm0
movq xmm0, qword [ebp - 0x21f0]
movq qword [ebp - 0x2188], xmm0
mov dword [ebp - 0x21f0], 0
mov dword [ebp - 0x21ec], 7
call fcn.10002530
lea ecx, [ebp - 0x2138]
mov byte [ebp - 4], 1
call fcn.10002530
mov esi, dword [ebp - 0x21e4]
xor edi, edi
mov dword [ebp - 0x21e0], 0
test esi, esi
je 0x100c795c
cmp dword [esi + 0x10], edi
je 0x100c795c
push ecx
lea eax, [ebp - 0x2138]
mov ecx, esi
push eax
call fcn.100c9da0
lea ecx, [edi + 0xd]
jmp 0x100c798f
test esi, esi
je 0x100c7712
mov eax, dword [ebp - 0x2230]
mov ecx, edx
mov dword [ebp - 0x211c], eax
mov edx, esi
test eax, eax
je 0x100c792a
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100c7948
add edx, 2
add ecx, 2
sub dword [ebp - 0x211c], 1
jne 0x100c7913
sub esi, dword [ebp - 0x2120]
mov ecx, dword [ebp - 0x2230]
sar esi, 1
cmp esi, 0xffffffff
je 0x100c7715
add esi, ecx
jmp 0x100c7715
mov edx, dword [ebp - 0x21e0]
add esi, 2
mov eax, dword [ebp - 0x21d8]
jmp 0x100c76f8
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x21f0], edi
push 0x10137000
lea ecx, [ebp - 0x2200]
mov dword [ebp - 0x21ec], edi
movups xmmword [ebp - 0x2200], xmm0
call fcn.10003040
lea eax, [ebp - 0x2200]
mov ecx, 0xe
mov dword [ebp - 0x2158], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2168], xmm0
mov dword [ebp - 0x2154], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2168], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2158], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 5
test cl, 2
je 0x100c7a2c
mov eax, dword [ebp - 0x21ec]
and ecx, 0xfffffffd
mov dword [ebp - 0x21d8], ecx
cmp eax, 0xf
jbe 0x100c7a2c
mov edx, dword [ebp - 0x2200]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100c7a1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c806b
push ecx
push edx
call fcn.100edbed
mov ecx, dword [ebp - 0x21d8]
add esp, 8
mov byte [ebp - 4], 6
test cl, 1
je 0x100c7a8a
mov ecx, dword [ebp - 0x2124]
cmp ecx, 0xf
jbe 0x100c7a6f
mov edx, dword [ebp - 0x2138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c7a65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c806b
push ecx
push edx
call fcn.100edbed
add esp, 8
mov dword [ebp - 0x2128], 0
mov dword [ebp - 0x2124], 0xf
mov byte [ebp - 0x2138], 0
test esi, esi
je 0x100c7a99
cmp dword [esi + 0x10], 0
mov edx, str.Content_Type:_application_x_www_form_urlencoded_r_n
jne 0x100c7a9e
mov edx, 0x10137ee4
mov ecx, edx
mov dword [ebp - 0x2170], 0
xorps xmm0, xmm0
mov dword [ebp - 0x216c], 0
movups xmmword [ebp - 0x2180], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c7ac1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2180]
call fcn.100023d0
mov eax, dword [ebp - 0x21e4]
mov byte [ebp - 4], 7
test eax, eax
je 0x100c7af8
add eax, 0x18
cmp dword [eax + 0x14], 7
jbe 0x100c7afd
mov eax, dword [eax]
jmp 0x100c7afd
mov eax, 0x10137ee4
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, eax
mov dword [ebp - 0x2210], edx
test edx, edx
je 0x100c7f96
cmp dword [ebp - 0x213c], 7
lea ecx, [ebp - 0x2150]
push 0
cmova ecx, dword [ebp - 0x2150]
mov eax, 0x50
cmp dword [ebp - 0x219c], 0xffffffff
mov esi, 0x1bb
push 0
push 3
push 0
push 0
cmovne eax, esi
movzx eax, ax
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [ebp - 0x21e0], esi
test esi, esi
je 0x100c7f96
mov eax, dword [ebp - 0x21e4]
test eax, eax
je 0x100c7b7f
cmp dword [eax + 0x10], 0
mov edx, str.POST
jne 0x100c7b84
mov edx, 0x1013e5f0
cmp dword [ebp - 0x2184], 7
lea ecx, [ebp - 0x2198]
push 1
cmova ecx, dword [ebp - 0x2198]
mov eax, 0x4400100
cmp dword [ebp - 0x219c], 0xffffffff
mov edi, 0x4c00100
cmovne eax, edi
push eax
push 0
push 0
push 0
push ecx
push edx
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x2208], edi
test edi, edi
je 0x100c7f96
mov edx, dword [ebp - 0x2158]
test edx, edx
je 0x100c7bee
cmp dword [ebp - 0x2154], 0xf
lea eax, [ebp - 0x2168]
cmova eax, dword [ebp - 0x2168]
jmp 0x100c7bf0
xor eax, eax
cmp dword [ebp - 0x2170], 0
je 0x100c7c0f
cmp dword [ebp - 0x216c], 7
lea ecx, [ebp - 0x2180]
cmova ecx, dword [ebp - 0x2180]
jmp 0x100c7c11
xor ecx, ecx
push edx
push eax
push 0xffffffffffffffff
push ecx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100c7f96
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x211c]
push 0
push eax
lea eax, [ebp - 0x2120]
mov dword [ebp - 0x2120], 0
push eax
push 0x20000013
push edi
mov dword [ebp - 0x211c], 4
call esi
mov ecx, dword [ebp - 0x21e4]
mov eax, dword [ebp - 0x2120]
test ecx, ecx
je 0x100c7c6a
mov dword [ecx + 0x30], eax
cmp eax, 0xc8
jne 0x100c7f96
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x118], ax
lea eax, [ebp - 0x116]
push eax
call fcn.100efb50
add esp, 0xc
mov dword [ebp - 0x211c], 0xff
lea eax, [ebp - 0x211c]
push 0
push eax
lea eax, [ebp - 0x118]
push eax
push 0x1d
push edi
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x21f0], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x21ec], 0
movups xmmword [ebp - 0x2200], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c7ce0
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2200]
call fcn.100023d0
cmp dword [ebp - 0x21ec], 7
lea ecx, [ebp - 0x2200]
mov edx, dword [ebp - 0x21f0]
cmova ecx, dword [ebp - 0x2200]
push 4
push str.gzip
push 0
call fcn.10004c80
add esp, 0xc
mov dword [ebp - 0x21e8], eax
lea ecx, [ebp - 0x2200]
call fcn.10002530
xorps xmm0, xmm0
mov dword [ebp - 0x2128], 0
movups xmmword [ebp - 0x2138], xmm0
mov dword [ebp - 0x2124], 0xf
mov byte [ebp - 0x2138], 0
push 0x1000
lea eax, [ebp - 0x1118]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.100efb50
add esp, 0xc
mov dword [ebp - 0x219c], 0
xor esi, esi
lea eax, [ebp - 0x21d4]
push 0x38
push esi
push eax
call fcn.100efb50
add esp, 0xc
cmp dword [ebp - 0x21e8], 0xffffffff
je 0x100c7db9
push 0x38
push str.1.2.11
push 0x1f
lea eax, [ebp - 0x21d4]
push eax
call fcn.100e7940
lea eax, [ebp - 0x219c]
push eax
push 0x1000
lea eax, [ebp - 0x2118]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100c7f8a
nop dword [eax + eax]
mov eax, dword [ebp - 0x219c]
test eax, eax
je 0x100c7f76
cmp dword [ebp - 0x21e8], 0xffffffff
je 0x100c7ee9
mov dword [ebp - 0x21d0], eax
lea eax, [ebp - 0x2118]
mov dword [ebp - 0x21d4], eax
nop dword [eax]
lea eax, [ebp - 0x1118]
mov dword [ebp - 0x2204], esi
mov dword [ebp - 0x21c8], eax
lea eax, [ebp - 0x21d4]
push 0
push eax
mov dword [ebp - 0x21c4], 0x1000
call fcn.100e61b0
cmp eax, 0xfffffffc
je 0x100c7e51
cmp eax, 0xfffffffd
je 0x100c7e51
cmp eax, 2
je 0x100c7e51
mov eax, dword [ebp - 0x21c4]
jmp 0x100c7e5a
or eax, 0xffffffff
mov dword [ebp - 0x21c4], eax
mov edi, 0x1000
sub edi, eax
add esi, edi
lea eax, [esi + 2]
push eax
call fcn.100edc53
mov ecx, dword [ebp - 0x21dc]
add esp, 4
mov dword [ebp - 0x21d8], eax
test ecx, ecx
je 0x100c7ea3
push dword [ebp - 0x2204]
push ecx
push eax
call fcn.100ef570
add esp, 0xc
push dword [ebp - 0x21dc]
call fcn.100edc4e
mov eax, dword [ebp - 0x21d8]
add esp, 4
push edi
lea ecx, [ebp - 0x1118]
sub eax, edi
push ecx
add eax, esi
push eax
call fcn.100ef570
mov edi, dword [ebp - 0x21d8]
lea eax, [ebp - 0x1118]
add esp, 0xc
mov dword [ebp - 0x21dc], edi
push 0x1000
push 0
push eax
call fcn.100efb50
add esp, 0xc
cmp dword [ebp - 0x21c4], 0
je 0x100c7e10
jmp 0x100c7f4e
add esi, eax
lea eax, [esi + 2]
push eax
call fcn.100edc53
mov edi, dword [ebp - 0x21dc]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x2204], ecx
test edi, edi
je 0x100c7f25
mov eax, esi
sub eax, dword [ebp - 0x219c]
push eax
push edi
push ecx
call fcn.100ef570
add esp, 0xc
push edi
call fcn.100edc4e
add esp, 4
mov ecx, dword [ebp - 0x219c]
lea eax, [ebp - 0x2118]
mov edi, dword [ebp - 0x2204]
push ecx
push eax
mov eax, edi
sub eax, ecx
add eax, esi
push eax
call fcn.100ef570
add esp, 0xc
mov dword [ebp - 0x21dc], edi
mov edi, dword [ebp - 0x2208]
lea eax, [ebp - 0x219c]
push eax
push 0x1000
lea eax, [ebp - 0x2118]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100c7de0
mov eax, dword [ebp - 0x21dc]
test eax, eax
je 0x100c7f8a
test esi, esi
je 0x100c7f8a
mov word [esi + eax], 0
mov eax, dword [ebp - 0x220c]
test eax, eax
je 0x100c7f96
mov dword [eax], esi
mov esi, dword [ebp - 0x21e4]
test esi, esi
je 0x100c7fa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x34], eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x100c7fb6
push edi
call esi
mov eax, dword [ebp - 0x21e0]
test eax, eax
je 0x100c7fc3
push eax
call esi
mov eax, dword [ebp - 0x2210]
test eax, eax
je 0x100c7fd0
push eax
call esi
lea ecx, [ebp - 0x2180]
call fcn.10002530
mov ecx, dword [ebp - 0x2154]
cmp ecx, 0xf
jbe 0x100c8011
mov edx, dword [ebp - 0x2168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c8007
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c8070
push ecx
push edx
call fcn.100edbed
add esp, 8
lea ecx, [ebp - 0x2198]
mov dword [ebp - 0x2158], 0
mov dword [ebp - 0x2154], 0xf
mov byte [ebp - 0x2168], 0
call fcn.10002530
lea ecx, [ebp - 0x2150]
call fcn.10002530
mov eax, dword [ebp - 0x21dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100edbdf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002e70
call fcn.100f2e4f
call fcn.100f2e4f
int3