Function at 0x10009fb0
Capabilities:
Encode data using xor

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 0x10019120
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10021008]
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 - 0x7c], edx
mov dword [ebp - 0x80], ecx
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x5c]
push 0x20
xor eax, eax
mov dword [ebp - 0x4c], 0
push str.Content_Type:_application_json_r_n
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.10007570
mov dword [ebp - 4], 0
cmp dword [0x1007c7bc], 0
je 0x1000a107
push 0x1007c7ac
mov edx, str.MAC:
lea ecx, [ebp - 0x74]
call fcn.100087d0
add esp, 4
push 0x1001b534
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10008480
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x34], xmm0
mov word [eax], cx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.10008500
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1000a0c7
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a0bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a0bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100174a3
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x1000a107
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a0fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a0fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100174a3
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
xor esi, esi
mov byte [ebp - 4], 3
test edi, edi
je 0x1000a140
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x44]
mov al, byte [esi + eax]
xor al, 0x36
add al, 2
mov byte [ebp - 0x78], al
push dword [ebp - 0x78]
call fcn.100012f0
inc esi
cmp esi, edi
jb 0x1000a123
push 2
push 0x1001b548
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10001440
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x74]
cmp esi, 0x10
push edi
cmovae edx, dword [ebp - 0x44]
call fcn.10001080
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x1000a18c
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1000a1c2
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x2c]
add esi, edx
mov dword [ebp - 0x1c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x30]
jmp 0x1000a1d2
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x78]
push edi
call fcn.1000a960
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x1000a208
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a1fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a1fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100174a3
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], 8
push 0
cmovae ecx, dword [ebp - 0x5c]
push eax
push eax
push edx
push 0
push ecx
push dword [ebp - 0x80]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edx, dword [ebp - 0x18]
mov edi, eax
cmp edx, 0x10
jb 0x1000a26a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a260
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a260
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100174a3
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp esi, 0x10
jb 0x1000a2af
mov ecx, dword [ebp - 0x44]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x1000a2a5
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a2a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.100174a3
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x1000a2eb
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a2e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a2e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100174a3
add esp, 8
mov eax, edi
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.10016f21
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret