Function at 0x14002c040
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x550
mov rax, qword [0x14012e080]
xor rax, rsp
mov qword [rsp + 0x548], rax
mov r14, rcx
mov qword [rsp + 0x98], rcx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x70], r13d
mov rdi, qword [0x140132808]
xorps xmm0, xmm0
movups xmmword [rsp + 0x1d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1e0], xmm1
mov r8d, 0x2e
lea rdx, str.http:__spain2.firecloudllc.info:36570_getToken
lea rcx, [rsp + 0x1d0]
call fcn.140007f30
nop
call fcn.1400a199c
mov rbx, rax
lea rcx, [rsp + 0x210]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
je 0x14002c11e
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x214]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002c0f5
lea rdx, [rsp + 0x214]
lea rcx, [rsp + 0x30]
call fcn.140007f30
mov r15d, 2
lea rax, [rsp + 0x30]
jmp 0x14002c123
mov rax, qword [rsp + 0x78]
lea rcx, str.HWIDSteamIdTimezone
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x1e
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c145
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x168], rax
movups xmm0, xmmword [rsp + 0x160]
movups xmmword [rsp + 0x1a8], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x1b8], rdi
movabs rax, 0x4000000000000010
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1c0], rbx
movabs rax, 0x3000000000000018
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x160], 3
lea rax, [rsp + 0x190]
mov qword [rsp + 0x168], rax
movaps xmm0, xmmword [rsp + 0x160]
movdqa xmmword [rsp + 0x160], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1f0]
call fcn.14001e770
or r15d, 4
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14002c242
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c23d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca00
call fcn.1400a44dc
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x180], r13
mov qword [rsp + 0x188], socket
mov byte [rsp + 0x170], 0
mov byte [rsp + 0x290], 0
mov ecx, 0x202
lea rdx, [rsp + 0x3a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14002ca06
movzx eax, word [rsp + 0x3a0]
cmp al, 2
jne 0x14002caa8
shr ax, 8
cmp al, 2
jne 0x14002caa8
mov word [rsp + 0x290], 1
lea rdx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 0xf
cmova rdx, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1e0]
add r8, rdx
lea rdx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 0xf
cmova rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x298]
call fcn.14002fca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xb0], xmm1
mov r8d, recv
lea rdx, str.Content_Type
lea rcx, [rsp + 0xa0]
call fcn.140007f30
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xd0], xmm1
mov r8d, 0x21
lea rdx, str.application_x_www_form_urlencoded
lea rcx, [rsp + 0xc0]
call fcn.140007f30
nop
lea rdi, [rsp + 0xa0]
lea rsi, [rsp + 0xe0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], r13
mov ecx, 0x40
call fcn.1400a4190
mov rbx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
lea rcx, [rax + 0x40]
mov qword [rsp + 0x90], rcx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], rbx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1a0], rax
cmp rdi, rsi
je 0x14002c41e
mov qword [rsp + 0x50], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.1400099a0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.1400099a0
nop
add rbx, 0x40
mov qword [rsp + 0x198], rbx
add rdi, 0x40
jmp 0x14002c3e8
mov qword [rsp + 0x88], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 4
lea rdx, str.POST
lea rcx, [rsp + 0x30]
call fcn.140007f30
nop
lea rdi, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 0xf
cmova rdi, qword [rsp + 0x1f0]
add rdi, qword [rsp + 0x200]
lea rsi, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 0xf
cmova rsi, qword [rsp + 0x1f0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
sub rdi, rsi
je 0x14002c4c7
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140038940
mov rbx, qword [rsp + 0x50]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400d3fe0
lea rax, [rbx + rdi]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x290]
call fcn.14002a950
or r15d, 8
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002c53d
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca31
call fcn.1400a44dc
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14002c57a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca37
call fcn.1400a44dc
movdqa xmm0, xmmword [0x140115170]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x80]
call fcn.14002f220
nop
lea r9, [fcn.14002a8a0]
mov edx, 0x40
mov r8d, 1
lea rcx, [rsp + 0xa0]
call fcn.1400a41cc
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov r12, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x258]
mov qword [rsp + 0x1a8], socket
cmp r12, rsi
jne 0x14002c5fb
mov qword [rsp + 0x1a0], r13
mov byte [rsp + 0x190], 0
jmp 0x14002c6f9
sub rsi, r12
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14002ca3d
mov edi, select
cmp rsi, rdi
jbe 0x14002c6c7
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x14002c66e
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a4190
mov rcx, rax
test rax, rax
je 0x14002ca47
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x1a8], rdi
jmp 0x14002c6cf
mov eax, socket
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14002c698
mov rax, r13
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x1a8], rdi
jmp 0x14002c6cf
cmp rcx, 0x1000
jb 0x14002c6b0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002ca42
jmp 0x14002c63c
call fcn.1400a4190
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x1a8], rdi
jmp 0x14002c6cf
mov rax, qword [rsp + 0x190]
lea rbx, [rsp + 0x190]
cmp rdi, 0xf
cmova rbx, rax
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.1400d3fe0
mov qword [rsp + 0x1a0], rsi
mov byte [rbx + rsi], 0
mov rdx, qword [rsp + 0x188]
cmp rdx, 0xf
jbe 0x14002c73c
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c737
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca47
call fcn.1400a44dc
movups xmm0, xmmword [rsp + 0x190]
movups xmmword [rsp + 0x170], xmm0
movups xmm1, xmmword [rsp + 0x1a0]
movups xmmword [rsp + 0x180], xmm1
lea rdx, [rsp + 0x170]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [0x1401311d0]
call fcn.140012350
mov rcx, rax
call fcn.140030ec0
mov qword [rsp + 0x1c8], r13
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x160]
call fcn.140030f50
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8d, 5
lea rdx, str.token
lea rcx, [rsp + 0x30]
call fcn.140007f30
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x160]
call fcn.14000b3a0
nop
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], select
mov byte [r14], 0
bts r15d, 7
mov dword [rsp + 0x70], r15d
cmp byte [rax], 3
jne 0x14002ca4d
mov rdx, qword [rax + 8]
cmp r14, rdx
je 0x14002c844
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14002c83b
mov rdx, qword [rdx]
mov rcx, r14
call fcn.140010d30
nop
movzx edx, byte [rsp + 0x160]
lea rcx, [rsp + 0x168]
call fcn.140009b30
nop
lea rcx, [rsp + 0x210]
call fcn.14002bee0
nop
lea rcx, [rsp + 0x298]
call fcn.14002bc30
cmp byte [rsp + 0x290], 0
je 0x14002c886
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 0xf
jbe 0x14002c8c9
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c8c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca96
call fcn.1400a44dc
mov qword [rsp + 0x180], r13
mov qword [rsp + 0x188], socket
mov byte [rsp + 0x170], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x14002c928
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c923
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca9c
call fcn.1400a44dc
movdqa xmm0, xmmword [0x140115170]
movdqu xmmword [rsp + 0x200], xmm0
mov byte [rsp + 0x1f0], 0
mov rdx, qword [rsp + 0x1e8]
cmp rdx, 0xf
jbe 0x14002c98c
inc rdx
mov rcx, qword [rsp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c97f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002caa2
call fcn.1400a44dc
movdqa xmm0, xmmword [0x140115170]
movdqu xmmword [rsp + 0x1e0], xmm0
mov byte [rsp + 0x1d0], 0
mov rax, r14
jmp 0x14002c9d3
mov rcx, qword [rsp + 0x548]
xor rcx, rsp
call fcn.1400a4170
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400aa3b0
nop
lea r9, str.WSAStartup_failed
mov edx, eax
lea rcx, [rsp + 0xf8]
call fcn.140027360
lea rdx, [0x14012bf70]
lea rcx, [rsp + 0xf8]
call fcn.1400a640c
nop
call fcn.1400aa3b0
nop
call fcn.1400aa3b0
nop
call fcn.140007b20
call fcn.140007a80
call fcn.1400aa3b0
nop
mov rcx, rax
call fcn.14000b5e0
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x30]
call fcn.14000c510
nop
mov r8, rax
lea rcx, [rsp + 0x120]
call fcn.14000c5e0
lea rdx, [0x14012bc90]
lea rcx, [rsp + 0x120]
call fcn.1400a640c
nop
call fcn.1400aa3b0
nop
call fcn.1400aa3b0
nop
call fcn.1400aa3b0
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0xe0]
call fcn.140007c00
lea rdx, [0x14012c100]
lea rcx, [rsp + 0xe0]
call fcn.1400a640c
int3