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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rdi, r8
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov dword [rbp - 0x35], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], recvfrom
mov byte [rcx], bl
mov dword [rbp - 0x35], 1
movsd xmm0, qword [str.bFAQV_7]
movsd qword [rbp - 0x29], xmm0
mov ecx, dword [0x1401d89d8]
mov dword [rbp - 0x21], ecx
movzx eax, word [0x1401d89dc]
mov edx, 0x53
mov word [rbp - 0x29], dx
xor word [rbp - 0x27], 0x32
xor word [rbp - 0x25], 0x33
xor word [rbp - 0x23], 0x34
xor cx, 0x35
mov word [rbp - 0x21], cx
xor word [rbp - 0x1f], 0x36
xor ax, 0x37
mov word [rbp - 0x1d], ax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
test rax, rax
je 0x140083a19
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x1400836ce
mov rdx, qword [r14]
add r8, rdx
jmp 0x1400836d4
add r8, r14
mov rdx, r14
lea rcx, [rbp + 7]
call fcn.1400aa060
cmp qword [rax + 0x18], 7
jbe 0x1400836e7
mov rax, qword [rax]
mov r8d, 0x50
xor r9d, r9d
mov rdx, rax
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
lea rcx, [rbp + 7]
call fcn.1400a5460
test r12, r12
je 0x140083a0f
cmp qword [rdi + 0x18], 0xf
jbe 0x140083724
mov rsi, qword [rdi]
add rsi, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x14008372b
mov rsi, qword [rdi + 0x10]
add rsi, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
mov eax, 7
mov qword [rbp - 1], rax
cmp rdi, rsi
jne 0x14008374d
mov word [rbp - 0x19], bx
jmp 0x1400837f3
sub rsi, rdi
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x140083a45
cmp rsi, rax
jbe 0x1400837a8
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x140083783
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
inc rbx
mov qword [rbp + 0x7f], rbx
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x19]
call fcn.1400c1e80
mov rcx, rax
lea rax, [rbx - 1]
mov qword [rbp - 0x19], rcx
mov qword [rbp - 1], rax
jmp 0x1400837ac
mov rcx, qword [rbp - 0x19]
lea r8, [rbp - 0x19]
cmp rax, 7
cmova r8, rcx
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x1400837e4
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 1]
sub rdx, 1
jne 0x1400837d0
mov qword [rbp - 9], rsi
xor ebx, ebx
mov word [r8 + rsi*2], bx
mov rax, qword [rbp - 1]
lea r8, [rbp - 0x19]
cmp rax, 7
cmova r8, qword [rbp - 0x19]
mov rax, qword [str.vwg4]
mov qword [rbp - 0x31], rax
cmp word [0x1401d655e], 0
je 0x1400838d4
cmp dword [0x1402030d0], 2
jl 0x140083895
movdqa xmm3, xmmword [0x1401dd4f0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401dd820]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401dd820]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401dd520]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.11111111]
movq xmm0, qword [rbp - 0x31]
xorps xmm2, xmm0
movq qword [rbp - 0x31], xmm2
jmp 0x1400838d4
lea r10, [rbp - 0x31]
mov r9d, ebx
nop dword [rax]
mov eax, 0x4d4873ed
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r9w
sub ax, cx
add ax, 0x31
xor word [r10], ax
inc r9d
lea r10, [r10 + 2]
cmp r9d, 4
jl 0x1400838a0
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rbp - 0x31]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140083935
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083a3f
call fcn.14015385c
mov qword [rbp - 9], rbx
mov qword [rbp - 1], 7
mov word [rbp - 0x19], bx
test rdi, rdi
je 0x140083a06
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400839fd
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400839fd
xor r14d, r14d
mov dword [rbp - 0x39], r14d
nop word [rax + rax]
mov dword [rbp + 0x7f], r14d
lea rdx, [rbp + 0x7f]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rbp + 0x7f]
test eax, eax
je 0x1400839f9
lea ecx, [rax + 1]
call fcn.140153900
mov rbx, rax
mov r8d, dword [rbp + 0x7f]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14018c280
lea r9, [rbp - 0x39]
mov r8d, dword [rbp + 0x7f]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400839eb
mov r8d, dword [rbp - 0x39]
mov rdx, rbx
mov rcx, r15
call fcn.140059430
mov rcx, rbx
call fcn.14015385c
cmp dword [rbp + 0x7f], r14d
ja 0x140083990
mov r14, qword [rbp + 0x6f]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, r14
call fcn.1400593d0
mov rax, r15
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140168934
int3
call fcn.140043100
int3