Function at 0x140001f4c
Capabilities:
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, r9
mov r15, r8
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
mov qword [rbp - 0x80], rbx
xor r13d, r13d
mov dword [rsp + 0x48], r13d
mov rsi, r9
cmp qword [r9 + 0x18], 0xf
jbe 0x140001fa7
mov rsi, qword [r9]
mov rcx, rsi
call fcn.140016540
mov qword [rsp + 0x60], rax
mov rdx, r14
lea rcx, [rbp + 0x38]
call fcn.140001e40
nop
mov rdx, r15
lea rcx, [rbp + 0x18]
call fcn.140001e40
nop
mov qword [r12], r13
mov qword [r12 + 8], r13
mov qword [r12 + 0x10], r13
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x4c], r13d
mov qword [rsp + 0x50], r13
mov rdi, r13
mov qword [rsp + 0x58], r13
mov cl, 0x64
mov dword [rbp - 0x78], 0x50b2864
mov word [rbp - 0x74], r13w
mov rax, r13
xor byte [rbp + rax - 0x77], cl
inc rax
cmp rax, 4
jae 0x14000201e
mov cl, byte [rbp - 0x78]
jmp 0x14000200c
mov byte [rbp - 0x73], r13b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
lea rcx, [rbp - 0x77]
call fcn.140016540
mov r8, rax
lea rdx, [rbp - 0x77]
lea rcx, [rbp - 0x70]
call fcn.1400078e8
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140001e40
lea rcx, [rbp - 0x50]
call fcn.140006424
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000209d
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002098
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000255c
call fcn.14000ac40
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Load
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400020ea
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 7
cmova rdx, qword [rbp + 0x38]
mov r8d, 0x50
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
and qword [rbp - 0x60], 0
and qword [rbp - 0x58], 0
lea rcx, [0x14003946c]
call fcn.140016540
mov r8, rax
lea rdx, [0x14003946c]
lea rcx, [rbp - 0x70]
call fcn.1400078e8
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140001e40
lea rcx, [rbp - 0x50]
call fcn.140006424
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000216d
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002562
call fcn.14000ac40
mov rax, qword [rsp + 0x50]
xor edx, edx
test rax, rax
je 0x1400021b2
lea r8, [rbp + 0x18]
cmp qword [rbp + 0x30], 7
cmova r8, qword [rbp + 0x18]
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
mov qword [rsp + 0x58], rax
xor edx, edx
movdqa xmm0, xmmword [0x140039a70]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140039a30]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140039a80]
movdqu xmmword [rbp], xmm0
mov word [rbp + 0x10], 0x181f
xor eax, eax
mov byte [rbp + 0x12], al
mov rcx, rdx
mov al, byte [rbp - 0x20]
xor byte [rbp + rcx - 0x1f], al
inc rcx
cmp rcx, 0x31
jb 0x1400021e7
mov byte [rbp + 0x12], dl
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rdx
lea rcx, [rbp - 0x1f]
call fcn.140016540
mov r8, rax
lea rdx, [rbp - 0x1f]
lea rcx, [rbp - 0x70]
call fcn.1400078e8
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140001e40
lea rcx, [rbp - 0x50]
call fcn.140006424
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140002275
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002270
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002568
call fcn.14000ac40
test rdi, rdi
je 0x1400023dc
and qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, rsi
or r8d, 0xffffffff
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor esi, esi
test eax, eax
je 0x1400023de
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400023de
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x140002330
movdqa xmm0, xmmword [0x140039a60]
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140039aa0]
movdqu xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0x7d7e7376
mov dword [rbp - 0x2c], 0x15317a73
xor eax, eax
mov byte [rbp - 0x28], al
mov rcx, rsi
mov al, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4f], al
inc rcx
cmp rcx, 0x27
jb 0x14000230b
mov byte [rbp - 0x28], sil
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x4f]
call fcn.140001158
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.14000af20
mov r13, rax
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14002c460
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x40]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140002380
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpReadData._n
call fcn.140001158
jmp 0x1400023c4
cmp dword [rsp + 0x40], 0
jbe 0x1400023c2
mov rdi, r13
mov al, byte [rdi]
mov byte [rsp + 0x44], al
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x1400023a5
mov byte [rdx], al
inc qword [r12 + 8]
jmp 0x1400023b2
lea r8, [rsp + 0x44]
mov rcx, r12
call fcn.140008934
inc esi
inc rdi
cmp esi, dword [rsp + 0x40]
jb 0x14000238a
mov rdi, qword [rsp + 0x58]
xor esi, esi
mov rcx, r13
call fcn.14000ac40
cmp dword [rsp + 0x40], esi
ja 0x1400022c5
mov r13, qword [rbp - 0x78]
jmp 0x14000242b
xor esi, esi
movdqa xmm0, xmmword [str.x_n_n]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0xa0a0d1b
mov dword [rbp - 0x5c], 0x72561c1d
xor eax, eax
mov byte [rbp - 0x58], al
mov rcx, rsi
mov al, byte [rbp - 0x70]
xor byte [rbp + rcx - 0x6f], al
inc rcx
cmp rcx, 0x17
jb 0x140002401
mov byte [rbp - 0x58], sil
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x6f]
call fcn.140001158
test rdi, rdi
je 0x140002434
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140002447
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r13, r13
je 0x140002456
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rcx, [rbp + 0x18]
call fcn.140006424
nop
lea rcx, [rbp + 0x38]
call fcn.140006424
nop
mov rdx, qword [r14 + 0x18]
mov edi, 0xf
mov r13d, 0x1000
cmp rdx, rdi
jbe 0x1400024aa
mov rcx, qword [r14]
inc rdx
cmp rdx, r13
jb 0x1400024a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000256e
mov rcx, r8
call fcn.14000ac40
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rdi
mov byte [r14], sil
mov rdx, qword [r15 + 0x18]
cmp rdx, rdi
jbe 0x1400024e6
mov rcx, qword [r15]
inc rdx
cmp rdx, r13
jb 0x1400024e1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002550
mov rcx, r8
call fcn.14000ac40
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], rdi
mov byte [r15], sil
mov rdx, qword [rbx + 0x18]
cmp rdx, rdi
jbe 0x140002522
inc rdx
mov rcx, qword [rbx]
cmp rdx, r13
jb 0x14000251d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002556
mov rcx, r8
call fcn.14000ac40
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rdi
mov byte [rbx], sil
mov rax, r12
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14000ac20
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140016e34
nop
call fcn.140016e34
nop
call fcn.140016e34
int3
call fcn.140016e34
int3
call fcn.140016e34
nop
call fcn.140016e34
int3