Function at 0x1400474d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1400cb060]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rdi, r8
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x50], rdx
mov qword [rbp + 0xb0], r8
xor ebx, ebx
mov dword [rbp - 0x58], ebx
call fcn.140048650
mov dword [rsp + 0x30], 0x776f7830
mov dword [rsp + 0x34], 0x7975697f
mov word [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_35
mov byte [rsp + 0x3a], 1
mov ecx, ebx
nop dword [rax]
lea eax, [rcx + 0x16]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140047540
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x40], 0x74797930
mov dword [rsp + 0x44], 0x100267f
mov dword [rsp + 0x68], 0xc9dccb91
mov dword [rsp + 0x6c], 0xd0d2d5c8
mov dword [rsp + 0x70], 0xfca4d6
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xd6d0de91
mov dword [rsp + 0x4c], 0x83d9d5de
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0x7c686e62
mov dword [rsp + 0x5c], 0x71757d27
mov word [rsp + 0x60], 0x7b
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140047fc0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400475d6
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14004a030
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.140046a30
nop
lea rdx, [r14 + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140047628
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004a030
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
lea rcx, [rbp]
call fcn.1400467d0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14004766e
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14004a030
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400476c0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb8]
call fcn.14004a030
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [r14 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140047717
mov rdx, qword [rdx]
lea rcx, [rbp - 0x48]
call fcn.14004a030
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140047782
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004777d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004777d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1400477d6
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400477d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400477d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14004782d
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14004787c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047876
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047876
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1400478ba
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400478b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400478b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140047909
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047903
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047903
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140047947
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
lea rax, [rbp - 0x20]
mov qword [rbp + 0x80], rax
lea rdx, [r14 + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.140043780
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x88], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp + 0x90]
call fcn.140043780
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea r12, [rbp + 0x108]
mov rsi, qword [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae r12, rsi
movabs rcx, 0x7fffffffffffffff
mov r13, qword [rbp + 0x118]
cmp r13, 0x10
jae 0x1400479e8
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140047a5a
mov rbx, r13
or rbx, 0xf
cmp rbx, rcx
cmova rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140047a35
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140047fae
mov rcx, rax
call fcn.1400a527c
mov rcx, rax
test rax, rax
je 0x140047a2e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140047a43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140047a41
call fcn.1400a527c
jmp 0x140047a43
xor eax, eax
mov qword [rbp - 0x78], rax
lea r8, [r13 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], rbx
mov r9, qword [rbp - 0x50]
mov r8, rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xe8]
call fcn.1400482c0
nop
call fcn.140048650
xor r13d, r13d
mov qword [rbp + 0x78], r13
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xd8]
call fcn.14004b470
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x68]
call fcn.140049ce0
mov rdx, rax
mov rcx, r14
call fcn.140045680
lea rdx, str.success
lea rcx, [rbp + 0xd8]
call fcn.14004b260
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r13
cmp byte [rcx], r13b
je 0x140047e71
lea rdx, str.contents
lea rcx, [rbp + 0xd8]
call fcn.14004b260
nop
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], r13b
mov dword [rbp - 0x58], 0xbe
cmp byte [rax], 3
jne 0x140047b24
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x78]
cmp rax, rdx
je 0x140047b3f
jmp 0x140047b27
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140047b35
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.140043950
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xb8]
call fcn.140048130
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140047b8e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047b89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047b89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov r14, qword [rbp + 0xc8]
lea r12, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae r12, qword [rbp + 0xb8]
cmp r14, 0x10
jae 0x140047bd1
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x68], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140047c48
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140047c25
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140047fb4
mov rcx, rax
call fcn.1400a527c
mov rcx, rax
test rax, rax
je 0x140047cff
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140047c34
test rcx, rcx
je 0x140047c31
call fcn.1400a527c
jmp 0x140047c34
mov rax, r13
mov qword [rsp + 0x68], rax
lea r8, [r14 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x140047c74
lea r13, [r14 + rcx]
mov r12, rcx
jmp 0x140047c7d
lea r13, [r14 + rax]
lea r12, [rsp + 0x68]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov r14, r13
sub r14, r12
je 0x140047cd4
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140047fa8
mov rdx, r14
mov rcx, r15
call fcn.140043860
mov rbx, qword [r15]
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r12
add rbx, r13
mov qword [r15 + 8], rbx
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x140047d0b
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047d06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047d06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], r13b
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x140047d64
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047d5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], 0
movzx edx, byte [rbp + 0xd8]
lea rcx, [rbp + 0xe0]
call fcn.14004a8d0
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x140047dd5
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047dd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047dd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xe8], 0
mov rax, qword [rbp + 0x120]
cmp rax, 0x10
jb 0x140047e30
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047e27
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047e27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400a4ab0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140047f65
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140047f60
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140047f5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [r15], r13
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
movzx edx, byte [rbp + 0xd8]
lea rcx, [rbp + 0xe0]
call fcn.14004a8d0
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x140047ed4
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047ecf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047ecf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4ab0
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xe8], 0
mov rax, qword [rbp + 0x120]
cmp rax, 0x10
jb 0x140047f2f
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047f26
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047f26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400a4ab0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140047f65
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140047f60
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047fa1
mov rcx, r8
call fcn.1400a4ab0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, r15
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400a49c0
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140044390
nop
call fcn.140033ee0
nop
call fcn.140033ee0
int3