joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040d40
Capabilities:
Parse pe header

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

Function at 0x140052c34
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400812a8]
mov rbp, rcx
call fcn.14006047c
xor edi, edi
test rax, rax
je 0x140052d1a
mov ebx, edi
call fcn.14004c40c
mov r14d, dword [rax]
call fcn.14004c40c
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400603c8
mov rsi, rax
test rax, rax
je 0x140052cab
call fcn.14004c40c
mov dword [rax], r14d
jmp 0x140052cd5
call fcn.14004c40c
cmp dword [rax], 0x22
jne 0x140052d12
call fcn.14004c40c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400603c8
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140052d12
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140052cd9
cmp rax, 3
je 0x140052cf4
mov rcx, rsi
call fcn.140052b90
test al, al
je 0x140052d05
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140052d05
mov dil, 1
mov rcx, rbx
call fcn.140046c68
mov al, dil
jmp 0x140052d1c
mov rcx, rbx
call fcn.140046c68
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140040450
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140052f38
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14005fdf0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005fdf0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140053088
cmp rax, 0xffffffffffffffff
je 0x140053088
xor edi, edi
test rbp, rbp
jle 0x140053033
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14005c2a0
mov rbx, rax
test rax, rax
jne 0x140052fc0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140053029
mov edx, 0x8000
mov ecx, r14d
call fcn.140058b00
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140053f18
cmp eax, 0xffffffff
je 0x140053009
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140052fd0
mov edx, r15d
mov ecx, r14d
call fcn.140058b00
jmp 0x140053029
cmp byte [rsi + 0x38], dil
je 0x140053020
cmp dword [rsi + 0x34], 5
jne 0x140053020
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140053029
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14005b604
jmp 0x14005309c
jns 0x14005309c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005fdf0
cmp rax, 0xffffffffffffffff
jne 0x140053054
cmp byte [rsi + 0x30], dil
je 0x14005309c
mov edi, dword [rsi + 0x2c]
jmp 0x14005309c
mov ecx, r14d
call fcn.140055d88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14005309c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14005309c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140053095
mov eax, dword [rsi + 0x2c]
jmp 0x14005309a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005fdf0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140055804
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14005584e
call fcn.14004c3ec
mov dword [rax], 0xf
call fcn.14004c40c
mov dword [rax], 0xd
call fcn.140046b10
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140040450
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140055859
lea eax, [rbx + 1]
jmp 0x14005583b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140055839
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14005583b

Function at 0x1400579ec
Capabilities:
Parse pe header

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

Function at 0x14005ecc8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140040740
sub rsp, rax
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005d574
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005ed17
mov rax, rbp
jmp 0x14005ee1f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x9d070]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005fde8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x9d070]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005ee1b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005ee1b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005fde8
test rax, rax
js 0x14005ee1b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005ee1b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005ee0d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005ee0d
cmp byte [rcx], 0xd
jne 0x14005edf3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005ee02
cmp byte [rcx + 1], 0xa
jne 0x14005ee02
inc rcx
jmp 0x14005ee02
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x995c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005edd5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005ee1f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140040450
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005f040
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005f056
mov al, 1
jmp 0x14005f0b6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005f067
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005f0b4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140055d88
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005f0b4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005f0b4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005f0b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005f0b6
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14005f188
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14009d070]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14005f1df
cmp word [rdx], r13w
jne 0x14005f1df
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005f1e4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005f309
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005f32a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005f21d
mov rdx, r9
mov word [rbx], cx
jmp 0x14005f244
cmp r9, r8
jae 0x14005f254
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14005f1fe
jmp 0x14005f309
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005f2fe
cmp dword [rsp + 0x80], esi
je 0x14005f2fe
lea r8, [0x14009d070]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005f2d6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005f2a6
mov word [rbx], r13w
jmp 0x14005f306
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14005f2b3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005f306
cmp word [rsp + 0x70], r13w
jne 0x14005f2e3
cmp rbx, r14
je 0x14005f2a0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005fdf0
cmp word [rsp + 0x70], r13w
je 0x14005f309
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14009d070]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005f303
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005f309
Function at 0x140064d10
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140064d40
xor eax, eax
jmp 0x140064e03
mov rbp, rbx
cmp word [rax], si
je 0x140064d65
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140064d4c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140064d48
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140060998
movsxd r14, eax
test eax, eax
jne 0x140064da3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140064d39
mov rcx, r14
call fcn.14005c318
mov rdi, rax
test rax, rax
jne 0x140064dbc
xor ecx, ecx
call fcn.14005b604
jmp 0x140064d98
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140060998
test eax, eax
jne 0x140064ded
mov rcx, rdi
call fcn.14005b604
jmp 0x140064df7
xor ecx, ecx
call fcn.14005b604
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140064e20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140064ea7
mov rsi, rbx
cmp word [rax], bp
je 0x140064e66
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140064e50
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140064e4c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14005c318
mov rdi, rax
test rax, rax
je 0x140064e94
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140041410
mov rbp, rdi
xor ecx, ecx
call fcn.14005b604
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140067d10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14005b2a4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140067db1
cmp ebx, dword [rsp + 0x30]
je 0x140067daa
test esi, esi
je 0x140067daa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140067d85
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140067d92
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140067d6f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140067d96
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140067db3
mov eax, 1
jmp 0x140067db3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006b1a4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14004d274
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006b22e
cmp byte [rbp - 0x21], r15b
je 0x14006b229
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006b264
call fcn.14005dd4c
test eax, eax
jne 0x14006b250
cmp byte [rbp - 0x21], r15b
je 0x14006b248
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006b264
cmp byte [rbp - 0x21], r15b
je 0x14006b261
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400524dc
test eax, eax
jne 0x14006b304
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14004d274
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006b2a3
cmp byte [rbp - 0x21], r15b
je 0x14006b2d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14006b2d8
call fcn.14005dd4c
test eax, eax
jne 0x14006b2c4
cmp byte [rbp - 0x21], r15b
je 0x14006b2bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14006b2d8
cmp byte [rbp - 0x21], r15b
je 0x14006b2d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400524dc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006b304
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006b307
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006b315
mov rcx, rdi
call fcn.14005b604
cmp byte [rbp + 0x3f], r15b
je 0x14006b324
mov rcx, qword [rbp + 0x27]
call fcn.14005b604
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180e62fe3
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using aes mixcolumns step
Parse pe header

Disassembly:
inc ecx
neg r9d
dec bpl
mov qword [rsp + rbp*2 - 0x22b9ee76], r11
lea rdx, [rdi + r10*2 + 0x1a8de311]
pop r11
jg 0x180ee125f
mov ecx, 0xaf014439
movzx ebp, cx
mov rdi, qword [rbx + rbp*2 - 0x8872]
mov rbp, qword [rbp + rbx - 0x4431]
mov r10d, 0x1387bc88
lea rdx, [r10*8 + 0x54b18c16]
lea rbx, [rbx + r10 - 0x1387bc80]
and rdi, rbp
mov ebp, edx
imul dx, r10w
not rdi
shl r10w, 0x29
sar ebp, 0xa4
mov qword [r10 + rbx - 0x13871000], rdi
js 0x180edc4b3
lea rsi, [rsi + r10*2 - 0x270e2004]
sal r10w, 0xea
xchg ecx, ebp
mov ecx, dword [rsi + r10*2 - 0x270e0000]
neg ebp
lea r9, [rbp*2 - 0x4d4b4dd1]
xor ecx, r11d
call fcn.180ef100b

Function at 0x180e64755
Capabilities:
Authenticate hmac
Encrypt data using aes mixcolumns step

Disassembly:
sar cl, cl
lea rbx, [rbx + r9*2 + 0x6bd6cac8]
mov qword [rsp + r9*2 + 0x6bd6cabe], r9
dec r10
lea rax, [rsp + r9*2 + 0x6bd6cb1e]
jle 0x180e787e3
sal dword [rsp + r9 + 0x35eb655f], cl
mov qword [r9 + rax + 0x35eb655f], rdx
not qword [rsp + r9 + 0x35eb655f]
mov r9d, dword [rsi + r9 + 0x35eb655b]
neg r10
call fcn.180ed83e4
movsxd r9, r9d
sbb r10b, cl
sub rbp, rbp
push r10
adc r8, r9
sal edx, 0x61
mov rcx, qword [rdx + rbx]
setg byte [rsp + rdx*4]
lea rbx, [rbx + rbp*4 + 8]
adc bpl, dl
or ebp, dword [rsp + rbp*2 + 1]
movsx edi, al
lea rsi, [rsi + rdx*4 - 1]
imul r10b
btc bp, dx
cwde
or dl, byte [rsi + rdx*2]
pop rbp
or rax, rax
lea r9, [rbp + rdi*8 - 0x35fcc86c]
xor dl, r11b
and bp, 0xa619
rol dl, 1
xadd rax, r9
sbb dl, 0xb
jmp 0x180ecd416
xor r11b, bpl
add rbp, rsp
movzx r10w, byte [rbp + rdi*2 - 0x1956]
add ax, r10w
sar edi, cl
setae cl
movzx edx, byte [rsi + rdi - 2]
movsx ebp, cx
dec edi
xchg edi, r9d
xor dl, r11b
mov r10d, 0xa8b24739
ror dl, cl
lea rdi, [r9*2 + 0x5ea760b5]
imul r9d, ebp
adc dl, r9b
rol r9d, cl
xadd rbp, r9
sub dil, dil
ror dl, cl
btr rdi, r9
dec ebp
inc rdi
sbb dl, dil
add r10b, 0x2b
xor r11b, dl
jmp 0x180e7c5a2
add rdx, rsp
mov word [rdx + r9*8 - 0x2d808], ax
mov edi, dword [rsi + r9*8 - 0x2d80e]
lea rsi, [rsi + r9*4 - 0x16c0a]
movsx eax, bpl
cbw
xor edi, r11d
neg r10
or r9, r10
and cx, bp
sbb edi, eax
imul r10d, ebp
neg ebp
neg edi
rol edi, cl
neg cx
lea rdx, [rax + rcx*4 + 0x4f936a23]
xadd edx, ecx
bswap edi
imul r9w
xor edi, 0x4881a424
and al, ah
ror rdx, 0xbb
imul rax, rcx
push r11
movzx r11d, cx
xor dword [rsp + rbp*8 - 0x2d808], edi
mul r9b
pop r11
movsxd rdi, edi
seto cl
ror r10d, 0x91
btr r9w, 0x29
add r8, rdi
or r10d, ecx
sar r10d, 0xa7
jmp r8
neg dl
push r10
xor byte [rsp + 6], 0xa4
ror qword [rsp], 0x2d
sbb dl, 0xc
pop r9
call fcn.180ef6ff8
mov word [rcx + rbx + 0x8468465], dx
mov edi, ecx
mov word [rcx + rbx + 0x8468467], ax
call fcn.180ede15e
mov eax, 0x9d090cac
mov ebp, eax
movzx ebp, byte [rsi + riz - 1]
movzx edi, ax
lea r9, [rax*4 - 0x14f25f48]
add r9, 0x6c26db87
xor bpl, r11b
not bpl
add rax, rax
dec di
xor bpl, 0x85
btc r9d, eax
neg r9
lea rcx, [r9*4 - 0x6be9e86f]
ror bpl, 1
movzx r10d, r9w
add bpl, 0x1c
ror bpl, 1
bswap rax
dec bpl
xor bpl, 0xa6
neg r9w
jne 0x180e7b893
Function at 0x180e64b5a
Capabilities:
Authenticate hmac

Disassembly:
cmp ebx, 4
push 0x3a05a14
call fcn.180e696b9
Function at 0x180e6524d
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + rdx*4], rdi
not ecx
sbb ecx, 0xb5a8ee0b
mov qword [rsp + rdx*2], r11
xor dword [rsp + rdx], ecx
mov eax, r9d
push rdi
idiv bpl
mov r11, qword [rsp + rdx + 8]
pop rax
pop r9
movsxd rcx, ecx
sal rdi, 0xbc
movzx r9d, bp
adc r8, rcx
ror rax, 0x65
mov rbp, qword [rbx + rdx*2]
xor edx, dword ss:[rdx + rbp]
mov ecx, edi
sal r10b, 0xc4
rol ax, 0xad
mov eax, edx
mov edx, dword [rbx + r10 - 0x7a2d5678]
and di, cx
sal rcx, 0x59
not eax
not edx
adc r10w, r10w
or eax, edx
mov edx, r9d
mov dword [rbx + r10 - 0x7a2dacf8], eax
btr r10w, r9w
shr rcx, 0x43
lea rbx, [rbx + r9*2 - 0x1ff24]
xchg r9, rdi
push rcx
jp 0x180ea4c3f
mov ecx, 0xa99a2fb5
lea rax, [rcx + rcx*8 - 0x2c484049]
mov bp, word [rbx + riz]
movzx r9d, byte [rsi + riz - 1]
movzx r10d, cl
lea rdi, [rax + rax*8 - 0x7b7da2d6]
movzx edx, cx
xor r9b, r11b
sub r9b, 0xb1
not edx
neg r9b
or al, 0x11
adc r9b, 0xb4
neg r9b
shr r10d, cl
sbb r10d, 0x3034e8b5
bswap r10
xor r11b, r9b
push rdi
lea r9, [rsp + r9 + 8]
cwde
cdqe
mov qword [rsp + rax*2 - 0xda2a], rcx
mov byte [rax + r9 - 0x6d15], bpl
shr qword [rsp + rax*8 - 0x368a8], cl
movzx edi, byte [rax + rsi - 0x6d17]
xor dil, r11b
movzx ebp, word [rsp + rax - 0x6d13]
sub dil, 0xad
shr r10d, 0x89
or rcx, qword [rsp + rax*2 - 0xda2a]
shl qword [rsp + rax*4 - 0x1b454], 0xc7
rol dil, 1
movsx r9d, byte [rsp + rax - 0x6d11]
inc dil
bt rdx, r9
imul ax
not word [rsp + rax*2 - 0x1c771]
rol dil, 1
xor r11b, dil
lea rdi, [rsp + rdi + 8]
xchg qword [rsp + rax*2 - 0x1c772], r10
xchg byte [rsp + rax - 0xe3b5], cl
cdqe
movzx cx, byte [rdi + rax*2 - 0x1c772]
jmp 0x180e95472
call fcn.180e6de12
mov byte [rbp + rcx - 0x6b25a51c], r10b
neg rbp
dec r9b
mov ecx, dword [rbp + rsi + 0x6b25a518]
lea rdx, [rbp*2 - 0x4a5ba255]
lea rsi, [rsi + r9*8 - 0xdc]
sal ebp, 0x73
je 0x180e74349
xor ecx, r11d
inc ecx
movsx eax, dx
bt r9w, 9
rol ecx, 3
imul rbp, rbp
xchg rdx, rax
xor ecx, 0x92a7d82c
xchg ebp, r9d
add ecx, 0xce88ad87
xor ecx, 0xd194bbb0
call fcn.180f080cd
mov ecx, 0x7c298e27
movzx edx, cl
mov rdx, qword [rbx + rdx*2 - 0x4e]
movsx ebp, cl
movzx r9w, byte ss:[rcx + rdx - 0x7c298e27]
mov eax, ebp
neg cl
mov word [rbx + rcx - 0x7c298ed3], r9w
dec bp
mul cl
movzx edx, bp
mov cx, 0x31
mov word [rbp + rbx - 0x22], cx
or eax, 0x16ad5213
add eax, 0x2b8dc616
mov ecx, dword [rbp + rsi - 0x2a]
cdqe
xor ecx, r11d
or edx, eax
inc ecx
shl bp, 4
movsx edi, al
push rax
ror ecx, 1
xor ecx, 0x398a7e99
call fcn.180e8533d
adc cl, 0xa4
xor r11b, cl
sub dword [rsp + r9 - 0xd], edx
xadd rdi, r10
call fcn.180ee0e90
mov word [rbx + rax - 0xe3b9], cx
cdqe
cdq
add ebp, dword [rsi + rax*4 - 0x38eea]
cdq
or r9, 0x32b1f53b
or al, 0x24
xor ebp, r11d
sub byte [rsp + rax*2 - 0x1c773], dh
cqo
neg byte [rsp + rax - 0xe3b6]
rol ebp, 1
mul edx
not ebp
xadd al, r9b
lea ebp, [rbp + rax*4 - 0x211223a6]
cdqe
setg al
sbb edx, edx
bswap ebp
jo 0x180ec6dc7
mov qword [rsp + rax - 1], r11
xor dword [rsp + rax*2 - 2], ebp
sal r9b, 0x21
jae 0x180e8145a
mov rcx, qword [rbx]
mov r10b, byte [rbx + 8]
mov ebp, 0x6b25a51c
movsx r9d, bpl
jmp 0x180e7bd10
xor qword [rsp + rdi*8 - 0x7fcb0], r8
ret