joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008084
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x37]
sub rsp, 0xd0
xor ebx, ebx
mov esi, edx
mov r15, r8
mov r14d, r9d
mov rdi, rcx
lea rcx, [rbp - 0x71]
lea r12d, [rbx + 0x40]
mov r8d, r12d
lea edx, [rbx + 0x36]
call fcn.1400c5710
mov r8d, r12d
lea edx, [rbx + 0x5c]
lea rcx, [rbp - 0x31]
call fcn.1400c5710
test esi, esi
je 0x1400080ff
lea rax, [rbp - 0x71]
mov edx, ebx
sub rdi, rax
mov r8d, esi
lea rax, [rbp - 0x71]
add rax, rdx
mov cl, byte [rdi + rax]
xor byte [rbp + rdx - 0x31], cl
inc rdx
xor byte [rax], cl
sub r8, 1
jne 0x1400080e6
lea rdx, [r14 + 0x40]
mov ecx, r12d
call qword [0x1400eb9e8]
mov rsi, rax
test rax, rax
je 0x14000822a
movaps xmm0, xmmword [rbp - 0x71]
lea rcx, [rax + 0x40]
movaps xmm1, xmmword [rbp - 0x61]
mov r8, r14
movups xmmword [rax], xmm0
mov rdx, r15
movaps xmm0, xmmword [rbp - 0x51]
movups xmmword [rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x41]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
call fcn.1400c5b50
lea r8d, [r14 + 0x40]
mov dword [rsp + 0x20], 0x14
lea r9, [rsp + 0x30]
mov rdx, rsi
mov ecx, 0x8004
call fcn.14000391c
test eax, eax
je 0x140008221
mov r15d, dword [rbp + 0x77]
mov ecx, r12d
mov r14d, dword [rbp + 0x67]
lea rdx, [r15 + 0x54]
add rdx, r14
call qword [0x1400eb9e8]
mov rdi, rax
test rax, rax
je 0x140008221
movaps xmm0, xmmword [rbp - 0x31]
movaps xmm1, xmmword [rbp - 0x21]
mov rdx, qword [rbp + 0x5f]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [rbp - 0x11]
movups xmmword [rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 1]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x40], xmm0
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x50], eax
test rdx, rdx
je 0x1400081d9
test r14d, r14d
je 0x1400081d9
lea rcx, [rdi + 0x54]
mov r8d, r14d
call fcn.1400c5b50
mov rdx, qword [rbp + 0x6f]
test rdx, rdx
je 0x1400081f6
test r15d, r15d
je 0x1400081f6
lea rcx, [r14 + 0x54]
mov r8, r15
add rcx, rdi
call fcn.1400c5b50
mov r9, qword [rbp + 0x7f]
lea r8d, [r15 + 0x54]
add r8d, r14d
mov dword [rsp + 0x20], 0x14
mov rdx, rdi
mov ecx, 0x8004
call fcn.14000391c
mov rcx, rdi
mov ebx, eax
call qword [0x1400eb9b0]
mov rcx, rsi
call qword [0x1400eb9b0]
lea r11, [rsp + 0xd0]
mov eax, ebx
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
Function at 0x14000f88c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
movzx edi, r9b
mov r15, r8
mov bl, dl
mov word [rsp + 0x30], 0x103
mov r14, rcx
xorps xmm0, xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
lea eax, [rdi + 5]
mov r8d, 0x100
mov byte [rsp + 0x32], al
xor esi, esi
xor eax, eax
mov dword [rsp + 0x43], eax
mov byte [rsp + 0x47], al
movups xmmword [rsp + 0x33], xmm0
call fcn.1400c5710
cmp dil, 0x12
jae 0x14000fad4
mov r8d, edi
mov byte [rsp + 0x33], bl
mov rdx, r15
lea rcx, [rsp + 0x34]
call fcn.1400c5b50
xor dl, dl
lea r8d, [rdi + 3]
xor cl, cl
test r8d, r8d
je 0x14000f927
movzx eax, cl
inc cl
xor dl, byte [rsp + rax + 0x31]
movzx eax, cl
cmp eax, r8d
jb 0x14000f916
mov byte [rsp + rdi + 0x34], dl
mov rcx, r14
mov edx, 0xc
mov byte [rsp + rdi + 0x35], 4
call qword [0x1400eb7f8]
mov edi, 0x64
mov ecx, edi
call qword [0x1400eb9d8]
and qword [rsp + 0x20], rsi
lea r9, [rbp + 0x88]
lea r8d, [rdi - 0x4c]
mov rcx, r14
lea rdx, [rsp + 0x30]
call qword [0x1400eb9f0]
test eax, eax
je 0x14000fac0
cmp dword [rbp + 0x88], 0x18
jne 0x14000fac0
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [0x1400eb7f0]
mov ecx, edi
call qword [0x1400eb9d8]
and qword [rsp + 0x20], rsi
lea r9, [rbp + 0x88]
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [0x1400eb9f8]
test eax, eax
je 0x14000fab1
mov edx, dword [rbp + 0x88]
cmp edx, 6
jb 0x14000faa8
cmp byte [rsp + 0x50], 5
jne 0x14000fa9a
cmp byte [rsp + 0x51], 1
jne 0x14000fa9a
mov cl, byte [rsp + 0x52]
cmp cl, 5
jb 0x14000fa91
or bl, 0x80
cmp byte [rsp + 0x53], bl
jne 0x14000fa91
sub cl, 5
xor r8b, r8b
movzx r10d, cl
xor dl, dl
lea r9d, [r10 + 3]
test r9d, r9d
je 0x14000fa22
movzx eax, dl
inc dl
xor r8b, byte [rsp + rax + 0x51]
movzx eax, dl
cmp eax, r9d
jb 0x14000fa10
cmp byte [rsp + r10 + 0x54], r8b
jne 0x14000fa88
cmp byte [rsp + r10 + 0x55], 4
jne 0x14000fa88
mov esi, 1
test cl, cl
je 0x14000fad4
mov rbx, qword [rbp + 0x90]
test rbx, rbx
je 0x14000fad4
mov rax, qword [rbp + 0x98]
test rax, rax
je 0x14000fad4
movzx edi, cl
mov byte [rax], cl
mov edx, edi
lea ecx, [rsi + 0x3f]
call qword [0x1400eb9e8]
mov qword [rbx], rax
test rax, rax
je 0x14000fa84
mov r8d, edi
lea rdx, [rsp + 0x54]
mov rcx, rax
call fcn.1400c5b50
jmp 0x14000fad4
xor esi, esi
jmp 0x14000fad4
lea rcx, str.ERROR_sr98_send_receive___Bad_CRC_data_n
jmp 0x14000faa1
lea rcx, str.ERROR_sr98_send_receive___Bad_data_size_ctl_code_n
jmp 0x14000faa1
lea rcx, str.ERROR_sr98_send_receive___Bad_header_n
call fcn.14000be84
jmp 0x14000fad4
lea rcx, str.ERROR_sr98_send_receive___Read_size___u_n
jmp 0x14000facf
call qword [0x1400eb9d0]
lea rcx, str.ERROR_sr98_send_receive___ReadFile__0x_08x__n
jmp 0x14000facd
call qword [0x1400eb9d0]
lea rcx, str.ERROR_sr98_send_receive___WriteFile__0x_08x__n
mov edx, eax
call fcn.14000be84
lea r11, [rsp + 0x150]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001ccac
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd r10, dword [rcx + 0xc]
mov r9, rcx
movsxd rbx, r8d
test r8d, r8d
jle 0x14001cd05
mov rsi, qword [rcx]
mov r11, r10
movsxd rbp, dword [rcx + 8]
xor edi, edi
mov al, byte [rdi + rdx]
lea rcx, [r11 + 1]
xor byte [r11 + rsi], al
lea eax, [r10 + 1]
xor r10d, r10d
cmp rcx, rbp
cmovl r10d, eax
xor r11d, r11d
inc rdi
cmp rcx, rbp
cmovl r11, rcx
cmp rdi, rbx
jl 0x14001ccda
add dword [r9 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r9 + 0xc], r10d
ret
Function at 0x14002f8ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r13, rcx
mov ebp, edx
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov ecx, dword [r11 + 0x30]
mov r8d, ecx
mov r10, qword [rax + 8]
mov r14, qword [r11]
mov dword [rsp + 0x80], ecx
movsxd rax, dword [r10 + 0x30]
cmp eax, ecx
mov r12, rax
cmovl r8d, eax
xor ebx, ebx
imul rbp, rax
mov dword [rsp + 0x88], r8d
cmp eax, ecx
je 0x14002f91b
cmp byte [r14 + 0x10], bl
je 0x14002f91b
mov ebx, 8
jmp 0x14002fa1f
mov rdi, rbp
sub rdi, r12
cmp rdi, rbp
jge 0x14002fa1f
and qword [rsp + 0x20], 0
mov rax, rdi
cqo
movsxd r15, ecx
idiv r15
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x14002fa0d
xor r9d, r9d
lea r8, [rsp + 0x20]
mov edx, r10d
mov rcx, r14
call qword [r14 + 0x108]
mov ebx, eax
test eax, eax
jne 0x14002f9fe
mov rcx, qword [rsp + 0x20]
call fcn.14002224c
mov ebx, eax
test eax, eax
jne 0x14002f9fe
movsxd r8, dword [rsp + 0x88]
mov rax, rdi
cqo
idiv r15
mov rax, qword [rsp + 0x20]
mov rsi, rdx
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv r12
add rdx, qword [rsp + 0x90]
call fcn.1400c5b50
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x14002f9fe
cmp dword [rsp + 0x98], edi
jne 0x14002f9fe
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x1e], al
mov byte [rsi + 0x1f], dl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14002fa0d
call fcn.140021c70
mov ecx, dword [rsp + 0x80]
add rdi, r15
test ebx, ebx
je 0x14002f921
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400374a4
Capabilities:
Encode data using xor
Encrypt data using speck
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1d8
mov r15, qword [rcx + 0x88]
mov r11, rcx
xor ecx, ecx
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rdi, r15
mov qword [rsp + 0x40], r15
mov r14d, ecx
mov r12, qword [r11]
mov bl, cl
mov r10, qword [r11 + 0x68]
lea eax, [rcx + 7]
lea r13d, [rcx + 1]
mov dword [rsp + 0x34], ecx
mov r9d, ecx
mov qword [rsp + 0x48], r12
mov edx, ecx
mov sil, byte [r12 + 0x5e]
mov byte [rbp + 0x130], sil
mov byte [rbp + 0x128], cl
mov dword [rsp + 0x30], ecx
mov dword [rbp - 0x20], ecx
mov qword [rsp + 0x38], r10
cmp dword [r11 + 0x38], eax
je 0x14003a16a
mov qword [r11 + 0x48], rcx
mov qword [r11 + 0xa0], rcx
mov eax, dword [r12 + 0x160]
mov dword [r12 + 0x228], ecx
test eax, eax
jne 0x1400390ab
movsxd rax, dword [r11 + 0x34]
lea r8d, [r13 + 1]
xorps xmm7, xmm7
lea rcx, [rax + rax*2]
lea eax, [r13 + 4]
lea rdi, [r15 + rcx*8]
lea ecx, [rax - 1]

Function at 0x1400488c8
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
lea r9, str.sqlite_master
mov dword [rax - 0x10], ebx
mov rdi, rdx
mov qword [rax - 0x18], rdx
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.14004cee0
test ebx, ebx
jne 0x14004891b
mov r9, rdi
lea r8, str.sqlite_master
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.14004cee0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140059940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, qword [rcx]
mov rdi, rcx
mov rbp, qword [rcx + 0x10]
mov rsi, qword [rcx + 0x88]
jmp 0x140059a17
movsxd r8, dword [rsi + 0x10]
xor edx, edx
mov rax, qword [r15 + 0x20]
mov r9, r8
mov ebx, dword [rsi + 0x14]
mov rcx, rdi
shl r9, 5
mov dword [rsp + 0x20], 0x61
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.1400594f8
mov r8, qword [rsi + 8]
lea r14d, [rbx - 1]
mov edx, r14d
mov rcx, rbp
mov r8, qword [r8]
call fcn.140031bb8
lea r8, [0x1400f9b60]
mov edx, 0xc
mov rcx, rbp
call fcn.14003208c
test rax, rax
je 0x140059a20
lea edx, [rbx + 2]
mov dword [rax + 8], ebx
lea ecx, [rbx + 1]
mov dword [rax + 0xc], edx
mov dword [rax + 0x68], ecx
mov dword [rax + 0xb0], edx
mov dword [rax + 0x3c], ebx
mov dword [rax + 0x4c], r14d
mov dword [rax + 0x54], ebx
mov word [rax + 0x4a], 0x10
mov dword [rax + 0x84], ebx
mov dword [rax + 0x94], ebx
mov dword [rax + 0xac], ebx
mov dword [rax + 0xf8], ebx
cmp dword [rdi + 0x34], 0
jne 0x140059a14
mov dword [rdi + 0x34], 1
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14005996e
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140059a3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x88]
mov rbx, rcx
mov r13, qword [rcx + 0x10]
mov r15, qword [rcx]
test rdi, rdi
je 0x140059b41
mov r12d, 8
movsxd rbp, dword [rdi + 0x10]
mov al, byte [rbx + 0x1f]
mov r14d, dword [rdi + 0x14]
shl rbp, 5
add rbp, qword [r15 + 0x20]
test al, al
jne 0x140059a97
inc dword [rbx + 0x38]
mov esi, dword [rbx + 0x38]
jmp 0x140059aa6
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0xbc]
mov r9d, dword [r13 + 0x90]
lea r8d, [r14 + 2]
add r9d, 7
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, r13
call fcn.140031b3c
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rdi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x62
mov r9, qword [r9 + 0x68]
call fcn.1400594f8
lea r8, [0x1400fa620]
mov edx, 5
mov rcx, r13
call fcn.14003208c
test rax, rax
je 0x140059b41
mov dword [rax + 0x3c], esi
lea edx, [r14 + 1]
mov dword [rax + 4], edx
lea ecx, [r14 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], esi
mov word [rax + 0x4a], r12w
test esi, esi
je 0x140059b35
cmp byte [rbx + 0x1f], r12b
jae 0x140059b35
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], esi
inc byte [rbx + 0x1f]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140059a78
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14008d1e4
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x47]
sub rsp, 0xc0
mov esi, edx
mov r14, r9
mov rdi, rcx
cmp edx, 3
jb 0x14008d323
movzx eax, word [rcx]
cmp ax, word [0x1400ffdb8]
jne 0x14008d323
mov al, byte [rcx + 2]
cmp al, byte [0x1400ffdba]
jne 0x14008d323
test r8, r8
je 0x14008d315
test r9, r9
je 0x14008d315
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000be84
xor edx, edx
lea rcx, [rbp - 0x21]
lea r8d, [rdx + 0x58]
call fcn.1400c5710
lea rax, [rdi + 3]
mov dword [rbp - 0x21], 0x58
mov qword [rbp - 0x19], rax
lea rcx, [rdi - 0x10]
add rcx, rsi
mov dword [rbp - 0x1d], 1
lea eax, [rsi - 0x1f]
mov qword [rbp + 7], rcx
mov edx, eax
mov ecx, 0x40
mov dword [rbp - 0x11], 0xc
mov dword [rbp + 0xf], 0x10
mov dword [rbp + 0x57], eax
call qword [0x1400eb9e8]
mov rdi, rax
test rax, rax
je 0x14008d383
and dword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r8d, dword [rbp + 0x57]
lea r9, [rbp - 0x21]
mov edx, dword [rbp - 0x11]
mov rcx, r14
add rdx, qword [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rdi
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
js 0x14008d302
mov r8d, dword [rbp + 0x57]
lea rcx, str._s:__.S_n
mov rdx, qword [rbp + 0x7f]
mov r9, rdi
call fcn.14000be84
jmp 0x14008d310
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
call fcn.14000be84
mov rcx, rdi
jmp 0x14008d37d
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000be84
jmp 0x14008d383
and qword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r9d, dword [rbp + 0x6f]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov edx, esi
lea rax, [rbp - 0x31]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x77]
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.14008b4a8
test eax, eax
je 0x14008d383
mov r9, qword [rbp - 0x31]
lea rcx, str._s:__.S_n
mov r8d, dword [rbp + 0x57]
mov rdx, qword [rbp + 0x7f]
call fcn.14000be84
mov rcx, qword [rbp - 0x31]
call qword [0x1400eb9b0]
lea r11, [rsp + 0xc0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400aaf84
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, r8w
mov r11, r9
movzx r10d, dl
xor r9b, r9b
shl r10d, 0x10
mov rsi, rcx
or r10d, eax
movabs rax, 0x2004000000
lea edi, [r10 + r10]
xor r10b, r10b
or rdi, rax
xor r8b, r8b
movzx edx, r8b
mov rax, rdi
inc r8b
lea ecx, [rdx + 0xd]
shr rax, cl
lea ecx, [rdx + 1]
and al, 1
xor r10b, al
mov rax, rdi
shr rax, cl
and al, 1
xor r9b, al
cmp r8b, 0xc
jb 0x1400aafc2
xor eax, eax
movzx ecx, r10b
and ecx, 1
shl rcx, 0x19
test r9b, r9b
sete al
or rcx, rax
or rdi, rcx
test r11, r11
je 0x1400ab00c
mov qword [r11], rdi
mov rcx, rdi
mov dword [rsi], 0x90625062
shr rcx, 0x28
call fcn.1400aaf4c
movzx ebx, al
mov rcx, rdi
or ebx, 0x1d00
shr rcx, 0x24
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x20
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x1c
mov dword [rsi + 4], ebx
call fcn.1400aaf4c
movzx ebx, al
mov rcx, rdi
shr rcx, 0x18
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x14
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x10
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0xc
mov dword [rsi + 8], ebx
call fcn.1400aaf4c
movzx ebx, al
mov rcx, rdi
shr rcx, 8
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 4
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
mov cl, dil
or ebx, eax
shl ebx, 8
call fcn.1400aaf4c
movzx eax, al
or ebx, eax
mov dword [rsi + 0xc], ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ab0fc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
and dword [rax + 8], 0
mov rdi, rdx
xor r10b, r10b
mov r11, rcx
movabs r8, 0xff80000000000000
movzx esi, r10b
lea rdx, [rsp + 8]
mov ecx, 9
mov r9, rdi
sub ecx, esi
shl ecx, 2
shr r9, cl
xor cl, cl
and r9b, 0xf
xor bl, bl
mov al, r9b
shr al, cl
inc cl
and al, 1
xor byte [rdx], al
xor bl, al
inc rdx
cmp cl, 4
jb 0x1400ab143
imul eax, esi, 0xfffffffb
inc r10b
movzx edx, bl
lea ecx, [rax + 0x32]
shl rdx, cl
lea ecx, [rax + 0x33]
movzx eax, r9b
shl rax, cl
or rdx, rax
or r8, rdx
cmp r10b, 0xa
jb 0x1400ab122
movzx eax, byte [rsp + 0xa]
movzx ecx, byte [rsp + 0xb]
mov rbx, qword [rsp + 0x10]
add ecx, ecx
mov rsi, qword [rsp + 0x18]
or ecx, eax
movzx eax, byte [rsp + 9]
add ecx, ecx
mov rdi, qword [rsp + 0x20]
or ecx, eax
movzx eax, byte [rsp + 8]
add ecx, ecx
or ecx, eax
mov dword [r11], 0x148040
lea eax, [rcx + rcx]
or r8, rax
mov rax, r8
mov dword [r11 + 8], r8d
shr rax, 0x20
mov dword [r11 + 4], eax
ret
Function at 0x1400b9be8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [0x1400eb8b8]
xor esi, esi
lea r9, [rsp + 0x60]
mov dword [rsp + 0x30], esi
mov r8, rax
mov dword [rsp + 0x28], esi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 4
call qword [0x1400eb8b0]
test eax, eax
je 0x1400b9d3b
mov rcx, qword [rsp + 0x60]
lea edx, [rsi + 4]
xor r9d, r9d
mov qword [rsp + 0x20], 0x61c
xor r8d, r8d
call qword [0x1400eb828]
mov rdi, rax
test rax, rax
je 0x1400b9d1a
mov edx, 0x610
lea ecx, [rsi + 0x40]
call qword [0x1400eb9e8]
mov rbx, rax
test rax, rax
je 0x1400b9d0f
mov rcx, rax
lea rdx, [rdi + 0xc]
mov r8d, 0x610
call fcn.1400c5b50
mov edx, 0x610
lea r8d, [rsi + 1]
mov rcx, rbx
call qword [0x1400eb2f0]
test eax, eax
jne 0x1400b9cf8
mov eax, dword [rbx + 0x400]
lea r9, [rbx + 0x404]
test eax, eax
je 0x1400b9cca
mov rdx, r9
mov r8d, eax
mov cl, byte [rdx]
mov al, cl
xor al, sil
mov sil, cl
xor al, 0x43
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1400b9cb3
mov eax, dword [rbx + 0x604]
lea r8, [rbx + 0x200]
mov dword [rsp + 0x28], eax
lea rcx, str._Username__:__s_n_Domain____:__s_n_Password__:__.s_n_flags_type:_0x_08x_n
mov qword [rsp + 0x20], r9
mov rdx, rbx
mov r9d, dword [rbx + 0x400]
call fcn.14000be84
jmp 0x1400b9d06
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___RtlDecryptMemory:_0x_08x_n
call fcn.14000be84
mov rcx, rbx
call qword [0x1400eb9b0]
mov rcx, rdi
call qword [0x1400eb838]
jmp 0x1400b9d2e
call qword [0x1400eb9d0]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___MapViewOfFile__0x_08x__n
call fcn.14000be84
mov rcx, qword [rsp + 0x60]
call qword [0x1400eb9c0]
jmp 0x1400b9d4f
call qword [0x1400eb9d0]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___DuplicateHandle__0x_08x__n
call fcn.14000be84
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c3af4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, sym.MZ___XQyuac_E6hl_E_brO_Y_lxr_4UP:_ut
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400c3b6c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400c3b6c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400c3b6c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400c3b60
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400c3b7e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400c3b4e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400c3b6e

Function at 0x1400c47c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400eb950]
test rax, rax
je 0x1400c480e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c480e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c480e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c480e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c480e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c4810
xor al, al
add rsp, 0x28
ret

Function at 0x1400db030
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400dae20