Function at 0x140004580
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor edi, edi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea ecx, [rdi + 0x38]
call fcn.14000fa58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
call fcn.1400043a0
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [rbp + 0xe0], dil
mov qword [rbp + 0x118], rax
mov qword [rbp + 0xf0], rax
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
lea rax, [rdx + 4]
mov qword [rbp + 0xf8], rax
add rax, 0x14
mov qword [rbp + 0x100], rax
movzx r8d, word [rdx + 0x14]
add r8, rax
mov qword [rbp + 0x108], r8
movzx r9d, word [rdx + 6]
mov dword [rbp + 0x110], r9d
mov edx, edi
test r9d, r9d
je 0x14000469d
lea r10, str..idata
nop dword [rax]
movsxd rax, edx
lea rcx, [rax + rax*4]
lea rbx, [r8 + rcx*8]
mov rcx, rdi
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140004696
cmp rcx, 7
jne 0x140004680
jmp 0x1400046a0
inc edx
cmp edx, r9d
jb 0x140004670
mov rbx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [rbx + 0xc]
add rsi, rax
lea rdx, str.First_entry_filename:
lea rcx, [0x14005b940]
call fcn.14000af20
mov rcx, rax
lea rdx, [rsi + 0xc]
call fcn.14000af20
mov rcx, rax
call fcn.14000b1d0
lea rcx, [0x140043938]
call fcn.14001d184
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140004700
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14000bac0
nop
call fcn.140004190
mov byte [rsp + 0x30], al
mov rcx, qword [rbp + 0xa0]
cmp dword [rsi + 8], 0
je 0x140004bfe
movabs r10, 0x7fffffffffffffff
movabs r8, 0x8000000000000000
mov r9d, 0x16
mov r13, qword [rbp + 0xb0]
cmp byte [rsi + 1], 0
jne 0x140004765
xor al, 1
cmp al, 1
jne 0x140004be4
mov edx, dword [rsi + 4]
mov eax, dword [rsi + 8]
test eax, eax
je 0x1400047c4
lea r8, [rsi + 0x2c]
mov r9d, eax
nop word [rax + rax]
mov ecx, edx
rol ecx, 1
movzx eax, dl
mov edx, ecx
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
add cl, al
mov eax, edx
shr eax, 8
add cl, al
add cl, dl
xor byte [r8], cl
lea r8, [r8 + 1]
sub r9, 1
jne 0x140004780
mov rcx, qword [rbp + 0xa0]
movabs r8, 0x8000000000000000
mov r9d, 0x16
mov rax, r10
sub rax, r13
cmp rax, 1
jb 0x140004ca9
lea r15, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
lea r14, [r13 + 1]
mov ebx, 0xf
lea rdi, [rsp + 0x38]
cmp r14, rbx
jbe 0x140004878
mov rbx, r14
or rbx, 0xf
cmp rbx, r10
jbe 0x140004821
mov rbx, r10
lea rax, [r8 + 0x27]
jmp 0x140004843
cmp rbx, 0x16
cmovb rbx, r9
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004862
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004c91
mov rcx, rax
call fcn.14000fa58
test rax, rax
je 0x140004c8b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140004873
test rcx, rcx
je 0x140004871
call fcn.14000fa58
mov rdi, rax
jmp 0x140004873
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rbx
mov r8, r13
mov rdx, r15
mov rcx, rdi
call fcn.140035b50
mov byte [rdi + r13], 0x5c
mov byte [rdi + r14], 0
lea rbx, [rsi + 0xc]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400048a5
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140009a80
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xor r14d, r14d
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140004932
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000492d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c97
call fcn.14000fa50
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140004950
lea r9, [rsi + 0xc]
add r9, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
cmp rbx, r9
jne 0x14000499d
mov r15, r14
mov qword [rbp + 0xd0], r14
mov edi, 7
mov qword [rbp + 0xd8], rdi
mov word [rbp + 0xc0], r14w
jmp 0x1400049bd
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.14000d590
mov rdi, qword [rbp + 0xd8]
mov r15, qword [rbp + 0xd0]
lea rdx, str.Dropping_to:
lea rcx, [0x14005b940]
call fcn.14000af20
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rax
call fcn.14000d6e0
mov rcx, rax
call fcn.14000b1d0
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call fcn.140035790
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1400094c0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r8, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], r8
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rsp + rcx + 0x70]
mov qword [rsp + rcx + 0x60], r8
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.140007080
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x10]
call fcn.140012484
nop
mov r14, qword [rbp + 0xc0]
test ebx, ebx
jne 0x140004b27
mov rcx, qword [rbp + 0x90]
mov rax, qword [rcx]
cmp rax, rcx
je 0x140004b38
lea rcx, [rbp + 0xc0]
cmp rdi, 7
cmova rcx, r14
lea r9, [rax + 0x10]
cmp qword [rax + 0x28], 7
jbe 0x140004aee
mov r9, qword [rax + 0x10]
mov r8, qword [rax + 0x20]
cmp r8, r15
jne 0x140004b16
test r8, r8
je 0x140004b47
sub r9, rcx
nop
movzx edx, word [rcx]
cmp word [r9 + rcx], dx
jne 0x140004b16
add rcx, 2
sub r8, 1
jne 0x140004b00
jmp 0x140004b47
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, qword [rbp + 0x90]
jne 0x140004ad0
jmp 0x140004b38
mov r8d, dword [rsi + 8]
lea rdx, [rsi + 0x2c]
lea rcx, [rbp + 0x70]
call fcn.140003d80
cmp byte [rsi], 0
je 0x140004b47
lea rcx, [rbp + 0x70]
call fcn.140004020
nop
cmp rdi, 7
jbe 0x140004b83
lea rdx, [rdi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004b7a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c9d
mov rcx, r14
call fcn.14000fa50
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140004bc1
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ca3
call fcn.14000fa50
mov r9d, 0x16
movabs r8, 0x8000000000000000
movabs r10, 0x7fffffffffffffff
xor edi, edi
mov rcx, qword [rbp + 0xa0]
mov eax, dword [rsi + 8]
add rsi, 0x2c
add rsi, rax
cmp dword [rsi + 8], 0
je 0x140004bfe
movzx eax, byte [rsp + 0x30]
jmp 0x140004755
mov rax, qword [rbp + 0xb8]
cmp rax, 0xf
jbe 0x140004c36
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c85
call fcn.14000fa50
nop
mov rdx, qword [rbp + 0x90]
call fcn.14000b670
mov edx, 0x38
mov rcx, qword [rbp + 0x90]
call fcn.14000fa50
mov al, 1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14000fa30
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14001d020
nop
call fcn.14001d020
int3
call fcn.140002a50
nop
call fcn.14001d020
int3
call fcn.14001d020
nop
call fcn.14001d020
int3
call fcn.140002af0
int3