Function at 0x100fb810
Capabilities:
Connect to http server
Create http request
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 0x101c50b8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], eax
xor ecx, ecx
mov dword [ebp - 0x100], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], cl
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], cl
push 0x21
push str._oauth2_v1_userinfo_access_token
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10029a60
sub esp, 0x18
mov ecx, esi
mov edx, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fb8e0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10002470
lea ecx, [ebp - 0x60]
call fcn.10024490
add esp, 0x18
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x100fb911
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0x18]
mov eax, esi
mov edx, dword [ebp - 0x1c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x100fb946
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x100fb95c
mov byte [ebp - 0xf4], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0xf4]
push edi
call fcn.1002e720
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100fb996
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fb98c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fb98c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
push 0
push 0
push 0
push 0
push str.WinHTTP_Example_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
xor edi, edi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf4], edi
test eax, eax
je 0x100fb9da
push edi
push edi
push 3
push edi
push edi
push 0x1bb
push str.www.googleapis.com
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [ebp - 0xf4], eax
xor esi, esi
test edi, edi
je 0x100fba9a
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, dword [ebp - 0x2c]
push 0x800000
push esi
push esi
push esi
push eax
push 0x101d6c20
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x100fba9a
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x100fba9a
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.100fc0a0
mov edi, eax
lea eax, [ebp - 0x44]
cmp eax, edi
je 0x100fba5e
mov ecx, eax
call fcn.100293d0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100fba94
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fba8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fba8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov edi, dword [ebp - 0xf4]
cmp dword [ebp - 0x34], 0
je 0x100fbb58
push 0
lea ecx, [ebp - 0x60]
call fcn.10080090
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 4
call fcn.100812a0
push 1
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf0]
call fcn.100828b0
sub esp, 0x18
lea ecx, [ebp - 0x60]
push esp
push str.email
call fcn.100806d0
mov ecx, eax
call fcn.10080c10
lea ecx, [ebp - 0x78]
call fcn.100245e0
mov ecx, dword [ebp - 0xf8]
add esp, 0x18
mov dword [ebp - 0xf4], eax
cmp ecx, eax
je 0x100fbb3d
call fcn.100023a0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf8]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x78]
call fcn.100023a0
lea ecx, [ebp - 0xf0]
call fcn.10024a30
lea ecx, [ebp - 0x60]
call fcn.10080330
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x100fbb69
push esi
call eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x100fbb70
push edi
call eax
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x100fbb81
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100fbbb7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fbbad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fbbad
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x100fbbff
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fbbf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fbbf5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov eax, dword [ebp - 0xf8]
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.1008548c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret