Function at 0x18006cbc0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
movaps xmmword [rsp + 0x670], xmm6
mov rax, qword [0x1800f50c0]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov rax, r8
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x70], rcx
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], rax
xor ebx, ebx
mov dword [rsp + 0x44], ebx
lea rcx, [rbp + 0x180]
call fcn.18006fd50
nop
mov r8d, 0x104
lea rdx, [rbp + 0x350]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x350]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x18006cc70
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.18005fa40
nop
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 7
cmova rdx, qword [rbp + 0x140]
mov rax, qword [rbp + 0x150]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x140]
cmova rdx, qword [rbp + 0x140]
lea r9, [rsp + 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.18005efa0
nop
mov r13, qword [rbp + 0x190]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, r13
cmp rax, 8
jb 0x18006e4c4
lea r12, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova r12, qword [rbp + 0x180]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], rbx
lea rsi, [r13 + 8]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp + 0xc0]
movabs rcx, 0x8000000000000000
lea eax, [rbx + 7]
cmp rsi, rbx
jbe 0x18006cdae
mov rbx, rsi
or rbx, 0xf
cmp rbx, r15
jbe 0x18006cd72
mov rbx, r15
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.1800c8930
test rax, rax
je 0x18006e3cf
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18006cda7
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18006cd95
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006e47c
jmp 0x18006cd53
test rcx, rcx
je 0x18006cda4
call fcn.1800c8930
mov rdi, rax
jmp 0x18006cda7
mov rdi, rcx
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], rbx
mov r8, r13
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x6874754179654b5c
mov qword [rdi + r13], rax
mov byte [rdi + rsi], 0
mov rax, qword [rbp + 0x1b0]
lea r8, [rax - 4]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0xe0]
call fcn.180004f30
nop
mov r13, qword [rbp + 0xd0]
mov rax, r15
sub rax, r13
cmp rax, 7
jb 0x18006e4ca
lea r12, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova r12, qword [rbp + 0xc0]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea rsi, [r13 + 7]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp + 0xa0]
cmp rsi, rbx
jbe 0x18006cf03
mov rbx, rsi
or rbx, 0xf
cmp rbx, r15
jbe 0x18006cebb
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800c8930
test rax, rax
je 0x18006cee4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18006cefc
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18006ceeb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006e482
jmp 0x18006cea0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x18006cef7
call fcn.1800c8930
jmp 0x18006cef9
xor eax, eax
mov rdi, rax
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], rbx
mov r8, r13
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [str.Debug_]
mov dword [rdi + r13], eax
movzx eax, word [0x1800cd5dc]
mov word [rdi + r13 + 4], ax
movzx eax, byte [0x1800cd5de]
mov byte [rdi + r13 + 6], al
mov byte [rdi + rsi], 0
lea r9, [rbp + 0xe0]
lea r8, [rbp + 0xa0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x120]
call fcn.180005120
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18006cfac
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006cfa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006cfa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18006cff0
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006cfeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006cfeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
mov rdi, qword [rbp + 0xd0]
lea rsi, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rsi, qword [rbp + 0xc0]
call fcn.1800c8230
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xor ebx, ebx
mov qword [rbp + 0xf0], rbx
mov edx, 7
mov qword [rbp + 0xf8], rdx
mov word [rbp + 0xe0], bx
mov dword [rsp + 0x44], 0x2780
test rdi, rdi
je 0x18006d0dc
cmp rdi, 0x7fffffff
ja 0x18006e4d0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.1800c8258
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e4db
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp + 0xe0]
call fcn.1800752e0
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova r9, qword [rbp + 0xe0]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r12d
call fcn.1800c8258
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e4e7
mov rdx, qword [rbp + 0xf8]
xor ebx, ebx
mov edi, 0x1f81
mov dword [rsp + 0x44], edi
lea rcx, [rbp + 0xe0]
cmp rdx, 7
cmova rcx, qword [rbp + 0xe0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.1800c8544
mov ecx, eax
mov esi, 0xa
mov r8d, 0x16d
test eax, eax
jne 0x18006d168
mov edx, dword [rbp + 0x110]
test dl, 1
mov eax, 0x1ff
cmovne eax, r8d
mov dword [rsp + 0x74], eax
bt edx, 0xa
jae 0x18006d15a
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x18006d14f
lea eax, [rcx + 4]
jmp 0x18006d18b
cmp eax, 0xa0000003
jne 0x18006d15a
mov eax, esi
jmp 0x18006d18b
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x18006d18b
mov dword [rsp + 0x74], 0xffff
sub eax, 2
je 0x18006d186
sub eax, 1
je 0x18006d186
sub eax, 0x32
je 0x18006d186
cmp eax, 0x46
mov eax, ebx
jne 0x18006d18b
mov eax, 1
mov dword [rsp + 0x70], ecx
lea rdx, [0x1800f5030]
mov qword [rsp + 0x78], rdx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
test eax, eax
jne 0x18006d237
test ecx, ecx
jne 0x18006e4f1
mov bl, 1
test dil, 8
je 0x18006d1cb
and edi, 0xfffffff7
lea rcx, [rbp - 0x60]
call fcn.18006bf10
nop
test dil, 4
je 0x18006d1df
and edi, 0xfffffffb
lea rcx, [rsp + 0x50]
call fcn.18006bf10
nop
test dil, 2
je 0x18006d4b0
and edi, 0xfffffffd
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18006d499
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006d494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp eax, 1
je 0x18006d1b6
mov r13, qword [rbp + 0xd0]
mov rax, r15
sub rax, r13
cmp rax, 6
jb 0x18006e50a
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea r12, [r13 + 6]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp + 0xa0]
cmp r12, rbx
jbe 0x18006d329
mov rbx, r12
or rbx, 0xf
cmp rbx, r15
jbe 0x18006d2e2
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800c8930
test rax, rax
je 0x18006d230
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rax, qword [rsp + 0x48]
jmp 0x18006d322
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18006d30b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006e488
jmp 0x18006d2be
test rcx, rcx
je 0x18006d31f
call fcn.1800c8930
mov rdi, rax
mov rax, qword [rsp + 0x48]
jmp 0x18006d322
mov rdi, rcx
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], rbx
mov r8, r13
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.Debug]
mov dword [rdi + r13], eax
movzx eax, word [0x1800cd5e4]
mov word [rdi + r13 + 4], ax
mov byte [rdi + r12], 0
mov dword [rsp + 0x44], 0x5f83
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.18005f0d0
nop
mov edi, 0x5f87
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.1800c8544
mov r8d, eax
test eax, eax
jne 0x18006d403
mov edx, dword [rbp + 0x110]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x74], ecx
bt edx, 0xa
jae 0x18006d3f5
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x18006d3ea
lea eax, [r8 + 4]
jmp 0x18006d428
cmp eax, 0xa0000003
jne 0x18006d3f5
mov eax, esi
jmp 0x18006d428
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x18006d428
mov dword [rsp + 0x74], 0xffff
sub eax, 2
je 0x18006d423
sub eax, 1
je 0x18006d423
sub eax, 0x32
je 0x18006d423
cmp eax, 0x46
je 0x18006d423
xor eax, eax
jmp 0x18006d428
mov eax, 1
mov dword [rsp + 0x70], r8d
lea rcx, [0x1800f5030]
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
test eax, eax
jne 0x18006d456
test r8d, r8d
jne 0x18006e48e
jmp 0x18006d1b6
cmp eax, 1
je 0x18006d1b6
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x60]
call fcn.18005f0d0
nop
mov edi, 0x5f8f
mov dword [rsp + 0x44], edi
lea rcx, [rbp - 0x60]
call fcn.18006fc50
test al, al
je 0x18006d1b6
xor bl, bl
jmp 0x18006d1b8
call fcn.1800c8cdc
movdqa xmm0, xmmword [0x1800e1ac0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
test dil, 1
je 0x18006d4c5
and edi, 0xfffffffe
lea rcx, [rbp + 0xe0]
call fcn.18006bf10
test bl, bl
je 0x18006d9c2
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x70], rax
mov r12, qword [rbp + 0xd0]
lea r13, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova r13, qword [rbp + 0xc0]
call fcn.1800c8230
mov dword [rsp + 0x48], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xor ebx, ebx
mov qword [rbp + 0xf0], rbx
mov edx, 7
mov qword [rbp + 0xf8], rdx
mov word [rbp + 0xe0], bx
bts edi, 0x11
mov dword [rsp + 0x44], edi
test r12, r12
je 0x18006d5bb
cmp r12, 0x7fffffff
ja 0x18006e510
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov ecx, eax
call fcn.1800c8258
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e51b
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp + 0xe0]
call fcn.1800752e0
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova r9, qword [rbp + 0xe0]
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov rdx, r13
mov ecx, dword [rsp + 0x48]
call fcn.1800c8258
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e527
mov rdx, qword [rbp + 0xf8]
xor ebx, ebx
btr edi, 0x11
or edi, 0x18000
lea rcx, [rbp + 0xe0]
cmp rdx, 7
cmova rcx, qword [rbp + 0xe0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.1800c8544
mov edx, eax
test eax, eax
jne 0x18006d640
mov eax, dword [rbp + 0x110]
test al, 1
mov ecx, 0x1ff
mov r8d, 0x16d
cmovne ecx, r8d
mov dword [rsp + 0x74], ecx
bt eax, 0xa
jae 0x18006d632
mov ecx, dword [rbp + 0x114]
cmp ecx, 0xa000000c
jne 0x18006d62a
lea esi, [rdx + 4]
jmp 0x18006d663
cmp ecx, 0xa0000003
je 0x18006d663
movzx esi, al
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x18006d663
mov dword [rsp + 0x74], 0xffff
sub eax, 2
je 0x18006d65e
sub eax, 1
je 0x18006d65e
sub eax, 0x32
je 0x18006d65e
cmp eax, 0x46
mov esi, ebx
jne 0x18006d663
mov esi, 1
mov dword [rsp + 0x70], edx
lea rax, [0x1800f5030]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
test esi, esi
je 0x18006d782
cmp esi, 1
sete bl
lea rcx, [rbp + 0xe0]
call fcn.18006bf10
test bl, bl
je 0x18006d6e0
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.18005f0d0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.1800c8490
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e531
lea rcx, [rsp + 0x50]
call fcn.18006bf10
mov r13, qword [rbp + 0xd0]
mov rax, r15
sub rax, r13
cmp rax, 6
jb 0x18006e547
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea r12, [r13 + 6]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp + 0xa0]
cmp r12, rbx
jbe 0x18006d7d8
mov rbx, r12
or rbx, 0xf
cmp rbx, r15
jbe 0x18006d791
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800c8930
test rax, rax
je 0x18006d87f
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rsp + 0x48]
jmp 0x18006d7d1
mov bl, 1
test edx, edx
jne 0x18006e4a5
jmp 0x18006d68c
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18006d7ba
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006e4be
jmp 0x18006d75e
test rcx, rcx
je 0x18006d7ce
call fcn.1800c8930
mov rsi, rax
mov rax, qword [rsp + 0x48]
jmp 0x18006d7d1
mov rsi, rcx
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], rbx
mov r8, r13
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.Debug]
mov dword [rsi + r13], eax
movzx eax, word [0x1800cd5e4]
mov word [rsi + r13 + 4], ax
mov byte [rsi + r12], 0
bts edi, 0x12
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x100]
call fcn.18005f0d0
nop
lea rcx, [rbp + 0x100]
call fcn.18006fc50
movzx ebx, al
lea rcx, [rbp + 0x100]
call fcn.18006bf10
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18006d88b
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d886
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006d886
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
test bl, bl
jne 0x18006d948
mov rax, r15
mov rcx, qword [rbp + 0xd0]
sub rax, rcx
cmp rax, 6
jb 0x18006e54d
lea r9, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova r9, qword [rbp + 0xc0]
mov qword [rsp + 0x30], 6
lea rax, str.Debug
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xc0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.180068690
bts edi, 0x1e
xor r8d, r8d
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call fcn.18005f0d0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.1800c8490
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e553
lea rcx, [rsp + 0x50]
call fcn.18006bf10
nop
lea rcx, [rbp + 0x100]
call fcn.180004a00
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x100]
call fcn.18005f0d0
nop
lea rcx, [rbp + 0x100]
call fcn.18006fc50
movzx ebx, al
lea rcx, [rbp + 0x100]
call fcn.18006bf10
test bl, bl
jne 0x18006d9c2
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.18005f0d0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.1800c8490
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006e569
lea rcx, [rsp + 0x50]
call fcn.18006bf10
mov r12, qword [rbp - 0x40]
cmp qword [r12 + 0x10], 0xc8
jb 0x18006db30
mov r8, qword [rbp + 0x138]
cmp r8, 0xf
jbe 0x18006d9f5
mov rdx, qword [rbp + 0x120]
lea rcx, [rbp + 0x120]
call fcn.180004eb0
xor r14d, r14d
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], r14b
mov r8, qword [rbp + 0xd8]
cmp r8, 0xf
jbe 0x18006da31
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.180004eb0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov r8, qword [rbp + 0x1b8]
cmp r8, 0xf
jbe 0x18006da6b
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1a0]
call fcn.180004eb0
nop
mov r8, qword [rbp + 0x158]
cmp r8, 7
jbe 0x18006da8b
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.18006aea0
movdqa xmm0, xmmword [0x1800ce880]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r14w
mov r8, qword [rbp + 0x198]
cmp r8, 0xf
jbe 0x18006dac3
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
call fcn.180004eb0
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov rcx, rbx
call fcn.180004a00
nop
mov rcx, rdi
call fcn.180004a00
nop
mov rcx, r12
call fcn.180004a00
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.1800c8910
mov rbx, qword [rsp + 0x6d8]
movaps xmm6, xmmword [rsp + 0x670]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x1e0], rax
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rsi, rax
mov r9, rax
lea r8, str._m__d__Y
mov edx, 0x50
lea rcx, [rbp + 0x300]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll_memset
mov rcx, r15
mov rdx, qword [rbp + 0x130]
sub rcx, rdx
cmp rcx, 1
jb 0x18006e57f
lea r9, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova r9, qword [rbp + 0x120]
mov qword [rsp + 0x30], 1
lea rax, [0x1800cd5fc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x120]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.180068690
bts edi, 0x13
lea rax, [rbp + 0x300]
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x18006dbf0
mov r8, r14
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x100]
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
bts edi, 0x14
lea r8d, [r14 + 4]
lea rdx, str..txt
lea rcx, [rsp + 0x50]
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
bts edi, 0x15
mov dword [rsp + 0x44], edi
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x20], 1
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 8]
lea rcx, [rbp + 0x1f0]
call fcn.180068480
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1f0], r13
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1ec], edx
lea rcx, [rbp + 0xa0]
call fcn.180004a00
nop
lea rcx, [rsp + 0x50]
call fcn.180004a00
nop
lea rcx, [rbp + 0x100]
call fcn.180004a00
mov ebx, dword [rsi + 8]
mov edx, dword [rsi + 4]
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x178], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x170], 2
mov byte [rbp + 0x162], r14b
cmp ebx, 0xc
jge 0x18006dd60
mov eax, 0x4d41
jmp 0x18006dd68
mov eax, 0x4d50
sub ebx, 0xc
mov word [rbp + 0x160], ax
cmp edx, 0xa
jge 0x18006ddd2
lea rcx, [rbp - 0x60]
call fcn.180077a60
nop
or edi, 0x10
mov dword [rsp + 0x44], edi
mov r9d, 1
lea r8, str.0ACLO
xor edx, edx
mov rcx, rax
call fcn.1800718e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 0x80000000
lea rax, [rbp + 0x100]
or edi, 0x20
jmp 0x18006ddde
lea rcx, [rbp + 8]
call fcn.180077a60
or edi, 0x40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
test dil, 0x40
je 0x18006de15
and edi, 0xffffffbf
lea rcx, [rbp + 8]
call fcn.180004a00
nop
test dil, 0x20
je 0x18006de2b
and edi, 0xffffffdf
lea rcx, [rbp + 0x100]
call fcn.180004a00
nop
test dil, 0x10
je 0x18006de3a
lea rcx, [rbp - 0x60]
call fcn.180004a00
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.180077a60
nop
mov r8d, 1
lea rdx, [0x1800cd600]
mov rcx, rax
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
lea rcx, [rbp - 0x38]
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1800e0b24]
lea rcx, [rsp + 0x70]
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x170]
lea rcx, [rsp + 0x50]
call fcn.18006c040
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.180004a00
nop
lea rcx, [rsp + 0x70]
call fcn.180004a00
nop
lea rcx, [rbp - 0x38]
call fcn.180004a00
nop
lea rcx, [rbp + 0x28]
call fcn.180004a00
movq rcx, xmm6
sub r15, rcx
cmp r15, 4
jb 0x18006e476
lea rax, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rax, qword [rbp + 0xa0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str._n_n_
lea r8, [rbp + 0xa0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.180068690
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._nData_sent_:
lea rcx, [rbp + 8]
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rbx, qword [rbp - 0x70]
mov r8, rbx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x68]
call fcn.18005f500
nop
mov r8d, ntohs
lea rdx, str._nResponse_:
mov rcx, rax
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, r12
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x48]
call fcn.18005f500
nop
mov r8d, 9
lea rdx, str.Sent_to:
mov rcx, rax
call fcn.18006c040
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdi, qword [rbp - 0x68]
mov r8, rdi
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x1c0]
call fcn.18005f500
nop
lea rcx, [rbp - 0x18]
call fcn.180004a00
nop
lea rcx, [rbp + 0x48]
call fcn.180004a00
nop
lea rcx, [rbp - 0x60]
call fcn.180004a00
nop
lea rcx, [rbp + 0x68]
call fcn.180004a00
nop
lea rcx, [rbp + 0x100]
call fcn.180004a00
nop
lea rcx, [rbp + 8]
call fcn.180004a00
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rdx, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x1f0]
call fcn.1800618c0
lea rcx, [rbp + 0x1f8]
call fcn.18006c8c0
test rax, rax
jne 0x18006e1a4
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1f0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x18006e1e8
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e1e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e1e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
mov qword [rbp + 0x1d0], r14
mov qword [rbp + 0x1d8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18006e246
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e240
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e240
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18006e28b
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e285
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e285
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0xf
jbe 0x18006e2cf
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e2ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e2ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
mov qword [rbp + 0x170], r14
mov qword [rbp + 0x178], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x160], 0
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1f0], r13
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1ec], edx
lea rcx, [rbp + 0x1f8]
call fcn.180069490
lea rcx, [rbp + 0x200]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0xf
jbe 0x18006e37e
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e379
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e379
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x18006e3db
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e3d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e3d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8cdc
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov r8, qword [rbp + 0x1b8]
cmp r8, 0xf
jbe 0x18006e415
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1a0]
call fcn.180004eb0
nop
mov r8, qword [rbp + 0x158]
cmp r8, 7
jbe 0x18006e435
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.18006aea0
movdqa xmm0, xmmword [0x1800ce880]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r14w
mov r8, qword [rbp + 0x198]
cmp r8, 0xf
jbe 0x18006dacb
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
call fcn.180004eb0
jmp 0x18006dacb
call fcn.180001c30
nop
call fcn.180001b90
nop
call fcn.180001b90
nop
call fcn.180001b90
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.18006bd00
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.18006bd00
nop
call fcn.180001b90
nop
call fcn.180001c30
nop
call fcn.180001c30
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.18006bdd0
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.18006be10
int3
shr rcx, 0x20
call fcn.18006be10
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.18006bd00
int3
call fcn.180001c30
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.18006bdd0
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.18006be10
int3
shr rcx, 0x20
call fcn.18006be10
nop
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.create_directory
call fcn.18006bd60
nop
call fcn.180001c30
int3
call fcn.180001c30
nop
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.create_directory
call fcn.18006bd60
nop
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.create_directory
call fcn.18006bd60
nop
call fcn.180001c30
int3