joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004004
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test r8, r8
je 0x140004025
sub edi, ebp
jmp 0x140004032
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + rdx], 0
jne 0x140004029
cmp dword [rcx], 0
mov r14d, 1
mov edx, dword [rcx + 4]
cmovne r14d, dword [rcx]
lea ebx, [r14 + rdi]
cmp ebx, edx
jl 0x140004056
add edx, edx
cmp ebx, edx
cmovg edx, ebx
call fcn.1400241a4
mov ecx, dword [rsi + 4]
cmp ebx, ecx
jle 0x140004080
test ecx, ecx
je 0x14000406c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140004071
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, rsi
cmovg edx, eax
call fcn.1400241a4
sub r14d, 1
mov dword [rsi], ebx
movsxd r12, edi
js 0x140004090
cmp r14d, ebx
jl 0x1400040aa
mov r8d, 0x6ca
lea rdx, [0x14007b710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword gs:[0x60]
movsxd rdi, r14d
add rdi, qword [rsi + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r11d, dword [rcx + r8 + 0x88]
add r11, r8
cmp r11, r8
je 0x14000412b
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14000412b
mov r15d, dword [r11 + 0x20]
dec r9d
mov r10d, 0x13151e1d
mov r14d, r9d
lea rcx, [r15 + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140004126
movsx ecx, cl
xor ecx, r10d
imul r10d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140004107
cmp r10d, 0x3a53410c
je 0x140004130
test r9d, r9d
jne 0x1400040e7
mov rax, qword [rax]
jmp 0x1400040c2
mov r9d, dword [r11 + 0x24]
mov rdx, rbp
add r9, r8
mov rcx, rdi
movzx r10d, word [r9 + r14*2]
mov r9d, dword [r11 + 0x1c]
add r9, r8
mov eax, dword [r9 + r10*4]
add rax, r8
mov r8, r12
call rax
test ebx, ebx
jle 0x14000415d
cmp ebx, dword [rsi]
jle 0x140004177
mov r8d, 0x6ca
lea rdx, [0x14007b710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 8]
movsxd rcx, ebx
mov byte [rcx + rax - 1], 0
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140005a80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
jg 0x140005aaf
mov r8d, 0x6d4
lea rdx, [0x14007b710]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0x108]
mov r9d, 4
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x14006dd80]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x140005ad0
not r8d
mov ecx, r8d
call fcn.140005cf0
mov eax, r8d
add rsp, 0x20
pop rbx
ret
Function at 0x140005b08
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140005b3b
mov r8d, 0x6d4
lea rdx, [0x14007b710]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx + 0x108]
xor edx, edx
mov r8, qword [rbx + 0x110]
mov rcx, rdi
mov r8d, dword [r8 + rax*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140003738
Function at 0x1400116cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140093028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x140094fa0]
mov dword [rsp + 0x20], ecx
mov rbx, qword [rax + 0x1d18]
cmp dword [rbx + 0x108], 0
jg 0x140011716
mov r8d, 0x6d4
lea rdx, [0x14007b710]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x108]
mov r9d, 4
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x14006dd80]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x140011737
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x108]
mov dword [rsp + 0x20], r8d
call fcn.140023e44
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140069020
add rsp, 0x30
pop rbx
ret

Function at 0x14001769c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017735
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x1400176ed
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400241a4
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400041b8
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140094f98]
movsxd r8, eax
mov rax, qword [rdi + 0x3270]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14001773d
mov rcx, rbx
call fcn.1400041b8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001801c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140094fa0]
mov rbx, rcx
and dword [rax + 0x31fc], 0
test rcx, rcx
je 0x140018085
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140018090
lea rdx, [0x14007ffac]
mov rcx, rbx
mov rdi, rax
call fcn.1400037e4
mov rbx, rax
test rax, rax
je 0x140018085
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140045000
Capabilities:
Encode data using xor
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov rax, qword [0x140093028]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov esi, 0x20a
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
or rbx, 0xffffffffffffffff
cmp eax, 0x104
ja 0x1400450c3
lea rcx, [rbp - 0x50]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140045074
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x14004509d
lea rax, [rax*2 - 2]
cmp rax, rsi
jae 0x140045233
mov word [rbp + rax - 0x50], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x50]
mov r8, rbx
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400450b3
lea rdx, [rbp - 0x50]
jmp 0x1400450dc
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
xor r8d, r8d
lea rdx, [0x1400855cc]
lea rcx, [rbp - 0x70]
call fcn.14004bb28
nop
mov rsi, qword [rbp - 0x60]
test rsi, rsi
jne 0x140045127
mov word [rsp + 0x40], r15w
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140045108
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14004bb28
jmp 0x1400451f5
lea rcx, [rsp + 0x70]
call fcn.140044df0
mov r14, rax
mov ecx, dword [0x140085234]
mov dword [rsp + 0x40], ecx
cmp word [0x140085236], r15w
je 0x14004517c
mov r8, r15
movabs rax, 0x97b425ed097b425f
mul r8
shr rdx, 5
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [rsp + r8*2 + 0x40], ax
inc r8
cmp r8, 2
jb 0x14004514b
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140045181
movabs rax, 0x7ffffffffffffffe
sub rax, rsi
cmp rax, rbx
jb 0x14004522d
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x50]
call fcn.14004c0c4
nop
mov r9, r14
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.14004bebc
nop
lea rcx, [rsp + 0x50]
call fcn.1400494ec
nop
lea rcx, [rsp + 0x70]
call fcn.1400494ec
nop
lea rcx, [rbp - 0x70]
call fcn.1400494ec
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140069020
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140044d30
nop
call fcn.140069600
int3
Function at 0x140046348
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
and qword [rbp + 0x7f], 0
mov edi, edx
cmp qword [0x140095208], 0
mov rbx, rcx
jne 0x1400464cf
mov eax, dword [0x140085480]
xor r8d, r8d
movups xmm0, xmmword [str.J_f_v_n_tO_ABCDEF]
mov dword [rbp + 0x27], eax
movabs r9, 0x97b425ed097b425f
movzx eax, word [0x140085484]
mov r10b, 0x32
movups xmm1, xmmword [0x140085470]
mov word [rbp + 0x2b], ax
mov al, byte [0x140085486]
mov byte [rbp + 0x2d], al
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm1
mov rax, r9
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r10b
xor byte [rbp + r8 + 7], al
inc r8
cmp r8, 0x27
jb 0x1400463ba
mov eax, dword [0x140085310]
xor r8d, r8d
movups xmm0, xmmword [0x1400852f0]
mov dword [rbp + 0x4f], eax
movzx eax, word [0x140085314]
movups xmm1, xmmword [0x140085300]
mov word [rbp + 0x53], ax
mov al, byte [0x140085316]
mov byte [rbp + 0x55], al
movups xmmword [rbp + 0x2f], xmm0
movups xmmword [rbp + 0x3f], xmm1
mov rax, r9
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r10b
xor byte [rbp + r8 + 0x2f], al
inc r8
cmp r8, 0x27
jb 0x140046416
mov eax, dword [0x1400850f0]
xor r8d, r8d
mov dword [rbp + 0x77], eax
movzx eax, word [0x1400850f4]
mov word [rbp + 0x7b], ax
mov al, byte [0x1400850f6]
mov byte [rbp + 0x7d], al
mov rax, r9
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r10b
xor byte [rbp + r8 + 0x77], al
inc r8
cmp r8, 7
jb 0x14004645c
mov r8, qword [0x140095028]
lea rax, [rbp + 7]
lea r9, [rbp + 0x2f]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.140048228
mov qword [0x140095208], rax
test rax, rax
je 0x1400464e2
mov r9d, 5
mov rdx, rax
mov rcx, rbx
lea r8d, [r9 - 4]
call fcn.14004752c
mov qword [0x140095208], rax
test rax, rax
je 0x1400464e2
mov r9d, edi
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call fcn.140049d0c
test al, al
jne 0x1400464e6
xor eax, eax
jmp 0x1400464ea
mov rax, qword [rbp + 0x7f]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140046500
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
cmp qword [0x1400951f8], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x14004665b
mov eax, dword [0x1400852c0]
xor r8d, r8d
movups xmm0, xmmword [str.JKLMNO_AB]
mov dword [rbp - 0x20], eax
movabs r10, 0x97b425ed097b425f
mov al, byte [0x1400852c4]
mov r11b, 0x32
movups xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x1c], al
mov rax, r10
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r11b
xor byte [rbp + r8 - 0x30], al
inc r8
cmp r8, 0x15
jb 0x14004655b
mov eax, dword [0x140085408]
xor r8d, r8d
movups xmm0, xmmword [0x1400853f8]
mov dword [rbp - 8], eax
mov al, byte [0x14008540c]
movups xmmword [rbp - 0x18], xmm0
mov byte [rbp - 4], al
mov rax, r10
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r11b
xor byte [rbp + r8 - 0x18], al
inc r8
cmp r8, 0x15
jb 0x1400465a1
mov eax, dword [0x140085278]
xor r9d, r9d
mov dword [rbp + 0x28], eax
mov al, byte [0x14008527c]
mov byte [rbp + 0x2c], al
mov rax, r10
mul r9
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r9b
sub al, cl
add al, r11b
xor byte [rbp + r9 + 0x28], al
inc r9
cmp r9, 5
jb 0x1400465dc
mov r8, qword [0x140095028]
lea rax, [rbp - 0x30]
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.140048228
mov qword [0x1400951f8], rax
test rax, rax
je 0x140046657
mov r9d, 5
lea rdx, [rax + 8]
mov rcx, rbx
mov qword [0x1400951f8], rdx
lea r8d, [r9 - 4]
call fcn.14004752c
mov qword [0x1400951f8], rax
test rax, rax
jne 0x14004665b
xor al, al
jmp 0x140046673
and qword [rbp + 0x28], 0
lea rdx, [rbp + 0x28]
mov r9, rsi
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.14004a134
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14004668c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140046839
cmp qword [0x1400951e8], 0
jne 0x140046819
cmp byte [0x140085365], 0
movabs r10, 0x97b425ed097b425f
movups xmm0, xmmword [str.JK_v_n_t_b_]
mov eax, dword [0x140085360]
mov r11b, 0x32
mov dword [rbp - 0x28], eax
movzx eax, word [0x140085364]
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x24], ax
movsd xmm0, qword [0x140085358]
movsd qword [rbp - 0x30], xmm0
je 0x14004672b
xor r8d, r8d
mov rax, r10
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r11b
xor byte [rbp + r8 - 0x40], al
inc r8
cmp r8, 0x1e
jb 0x140046705
cmp byte [0x1400853f5], 0
movups xmm0, xmmword [0x1400853d8]
mov eax, dword [0x1400853f0]
mov dword [rbp - 8], eax
movzx eax, word [0x1400853f4]
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 4], ax
movsd xmm0, qword [0x1400853e8]
movsd qword [rbp - 0x10], xmm0
je 0x140046789
xor r8d, r8d
mov rax, r10
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r11b
xor byte [rbp + r8 - 0x20], al
inc r8
cmp r8, 0x1e
jb 0x140046763
mov eax, dword [0x140085278]
xor r9d, r9d
mov dword [rbp + 0x28], eax
mov al, byte [0x14008527c]
mov byte [rbp + 0x2c], al
mov rax, r10
mul r9
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r9b
sub al, cl
add al, r11b
xor byte [rbp + r9 + 0x28], al
inc r9
cmp r9, 5
jb 0x14004679e
mov r8, qword [0x140095028]
lea rax, [rbp - 0x40]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.140048228
mov qword [0x1400951e8], rax
test rax, rax
je 0x140046839
mov r9d, 5
lea rdx, [rax + 0xc]
mov rcx, rbx
mov qword [0x1400951e8], rdx
lea r8d, [r9 - 4]
call fcn.14004752c
mov qword [0x1400951e8], rax
test rax, rax
je 0x140046839
mov r9, rdi
mov byte [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov dword [rsp + 0x20], esi
mov rcx, rbx
call fcn.14004a55c
test al, al
je 0x140046839
mov al, byte [rbp + 0x38]
jmp 0x14004683b
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004684c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400469a3
mov edx, select
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400952cc], eax
jle 0x14004698a
lea rcx, [0x1400952cc]
call fcn.1400690e8
or r8, 0xffffffffffffffff
cmp dword [0x1400952cc], r8d
jne 0x14004698a
movsd xmm0, qword [str.wKrGSRhVUW_]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x140085380]
mov word [rbp - 0x28], ax
mov al, byte [0x140085382]
mov byte [rbp - 0x26], al
xor r9d, r9d
movabs rax, 0x97b425ed097b425f
mul r9
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r9b
sub al, cl
add al, 0x32
xor byte [rbp + r9 - 0x30], al
inc r9
cmp r9, 0xb
jb 0x1400468ce
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea rax, [rbp - 0x30]
inc r8
cmp byte [rax + r8], 0
jne 0x14004690d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14004bc48
nop
lea r8, [rbp - 0x20]
mov rdx, qword [0x140095028]
mov rcx, rdi
call fcn.1400469b8
mov qword [0x1400952a8], rax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14004697e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046978
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
lea rcx, [0x1400952cc]
call fcn.14006907c
mov r8, qword [0x1400952a8]
test r8, r8
je 0x1400469a3
mov r9, rbx
mov rcx, rdi
call fcn.140049900
jmp 0x1400469a5
xor al, al
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x140047594
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140047714
mov ecx, select
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ebx, 1
mov eax, dword [rcx + rax]
cmp dword [0x1400952f0], eax
jle 0x1400476eb
lea rcx, [0x1400952f0]
call fcn.1400690e8
or r8, 0xffffffffffffffff
cmp dword [0x1400952f0], r8d
jne 0x1400476eb
movups xmm0, xmmword [str.wKuVGBQK_iYNQJ2_]
movups xmmword [rbp - 0x48], xmm0
movsd xmm0, qword [0x1400850b0]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x1400850b8]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1400850bc]
mov word [rbp - 0x2c], ax
mov al, byte [0x1400850be]
mov byte [rbp - 0x2a], al
xor r9d, r9d
movabs rax, 0x97b425ed097b425f
mul r9
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r9b
sub al, cl
add al, 0x32
xor byte [rbp + r9 - 0x48], al
add r9, rbx
cmp r9, 0x1f
jb 0x14004762f
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x48]
inc r8
cmp byte [rax + r8], 0
jne 0x14004766e
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14004bc48
nop
lea r8, [rbp - 0x28]
mov rdx, qword [0x140095028]
mov rcx, rsi
call fcn.1400469b8
mov qword [0x1400952f8], rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400476df
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400476d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400476d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
lea rcx, [0x1400952f0]
call fcn.14006907c
cmp qword [0x1400952f8], 0
je 0x140047714
mov r9, rdi
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14004a988
test al, al
je 0x14004770e
cmp byte [rbp - 0x50], 0
jne 0x140047710
xor bl, bl
mov al, bl
jmp 0x140047716
xor al, al
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004772c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140047888
mov edx, select
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400952d8], eax
jle 0x140047871
lea rcx, [0x1400952d8]
call fcn.1400690e8
or r8, 0xffffffffffffffff
cmp dword [0x1400952d8], r8d
jne 0x140047871
movups xmm0, xmmword [str.wKfPZRYJ_iYNQJ2_]
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [0x140085110]
mov dword [rbp - 0x30], eax
movzx eax, word [0x140085114]
mov word [rbp - 0x2c], ax
cmp byte [0x140085115], 0
je 0x1400477e1
xor r9d, r9d
movabs rax, 0x97b425ed097b425f
mul r9
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r9b
sub al, cl
add al, 0x32
xor byte [rbp + r9 - 0x40], al
inc r9
cmp r9, 0x16
jb 0x1400477b5
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x40]
inc r8
cmp byte [rax + r8], 0
jne 0x1400477f4
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.14004bc48
nop
lea r8, [rbp - 0x28]
mov rdx, qword [0x140095028]
mov rcx, rdi
call fcn.1400469b8
mov qword [0x140095280], rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140047865
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004785f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004785f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
lea rcx, [0x1400952d8]
call fcn.14006907c
cmp qword [0x140095280], 0
je 0x140047888
mov r9, rbx
mov rcx, rdi
call fcn.14004adac
jmp 0x14004788a
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004789c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140047a11
mov ecx, select
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ebx, 1
mov eax, dword [rcx + rax]
cmp dword [0x1400952c8], eax
jle 0x1400479e3
lea rcx, [0x1400952c8]
call fcn.1400690e8
or r8, 0xffffffffffffffff
cmp dword [0x1400952c8], r8d
jne 0x1400479e3
movups xmm0, xmmword [str._GXqS__M_PXSZ.5]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [0x140085168]
movups xmmword [rbp - 0x38], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140047953
xor r9d, r9d
movabs rax, 0x97b425ed097b425f
mul r9
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r9b
sub al, cl
add al, 0x32
xor byte [rbp + r9 - 0x48], al
add r9, rbx
cmp r9, 0x20
jb 0x140047927
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x48]
inc r8
cmp byte [rax + r8], 0
jne 0x140047966
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14004bc48
nop
lea r8, [rbp - 0x28]
mov rdx, qword [0x140095028]
mov rcx, rsi
call fcn.1400469b8
mov qword [0x140095288], rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400479d7
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400479d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400479d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
lea rcx, [0x1400952c8]
call fcn.14006907c
cmp qword [0x140095288], 0
je 0x140047a11
mov qword [rsp + 0x20], r14
mov r9, rdi
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14004b1bc
test al, al
je 0x140047a0b
cmp byte [rbp - 0x50], 0
jne 0x140047a0d
xor bl, bl
mov al, bl
jmp 0x140047a13
xor al, al
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret