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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140051737
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140051737
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140051737
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140051737
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140051737
cmp dword [rcx + 0x84], 0xe
jbe 0x140051737
cmp dword [rcx + 0xf8], 0
je 0x140051737
mov ecx, ebx
call fcn.1400517e8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400515c4
nop
cmp dword [rbp + 0x20], 0
je 0x140051785
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140051790
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400516c8

Function at 0x1400518cc
Capabilities:
Parse pe header

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

Function at 0x140057f24
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140057f3a
mov al, 1
jmp 0x140057f9a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140057f4b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140057f98
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005e2a4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140057f98
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140057f98
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140057f98
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140057f9a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400592e8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140059308
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005098c
or eax, 0xffffffff
jmp 0x14005930a
xor eax, eax
add rsp, 0x28
ret

Function at 0x140059790
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.140046580
sub rsp, rax
mov rax, qword [0x14007c0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400573c8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400597df
mov rax, rbp
jmp 0x1400598e7
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 + 0x848c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005a6dc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x848c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400598e3
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 0x1400598e3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005a6dc
test rax, rax
js 0x1400598e3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400598e3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400598d5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400598d5
cmp byte [rcx], 0xd
jne 0x1400598bb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400598ca
cmp byte [rcx + 1], 0xa
jne 0x1400598ca
inc rcx
jmp 0x1400598ca
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x7c4e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005989d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400598e7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140045b30
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 0x140059a7c
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, [0x1400848c0]
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 0x140059ad3
cmp word [rdx], r13w
jne 0x140059ad3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140059ad8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140059bfd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140059c1e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140059b11
mov rdx, r9
mov word [rbx], cx
jmp 0x140059b38
cmp r9, r8
jae 0x140059b48
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 0x140059af2
jmp 0x140059bfd
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 0x140059bf2
cmp dword [rsp + 0x80], esi
je 0x140059bf2
lea r8, [0x1400848c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140059bca
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140059b9a
mov word [rbx], r13w
jmp 0x140059bfa
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 0x140059ba7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140059bfa
cmp word [rsp + 0x70], r13w
jne 0x140059bd7
cmp rbx, r14
je 0x140059b94
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005a6e4
cmp word [rsp + 0x70], r13w
je 0x140059bfd
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, [0x1400848c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140059bf7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140059bfd
Function at 0x14005d628
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 0x14005d658
xor eax, eax
jmp 0x14005d71b
mov rbp, rbx
cmp word [rax], si
je 0x14005d67d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005d664
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005d660
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.14005bd38
movsxd r14, eax
test eax, eax
jne 0x14005d6bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005d651
mov rcx, r14
call fcn.14005616c
mov rdi, rax
test rax, rax
jne 0x14005d6d4
xor ecx, ecx
call fcn.14005531c
jmp 0x14005d6b0
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.14005bd38
test eax, eax
jne 0x14005d705
mov rcx, rdi
call fcn.14005531c
jmp 0x14005d70f
xor ecx, ecx
call fcn.14005531c
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 0x1400607f8
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.140054f44
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 0x140060899
cmp ebx, dword [rsp + 0x30]
je 0x140060892
test esi, esi
je 0x140060892
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14006086d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14006087a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140060857
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14006087e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14006089b
mov eax, 1
jmp 0x14006089b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140064474
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.14004e1b0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400644fe
cmp byte [rbp - 0x21], r15b
je 0x1400644f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140064534
call fcn.140055620
test eax, eax
jne 0x140064520
cmp byte [rbp - 0x21], r15b
je 0x140064518
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140064534
cmp byte [rbp - 0x21], r15b
je 0x140064531
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.14004eb1c
test eax, eax
jne 0x1400645d4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14004e1b0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140064573
cmp byte [rbp - 0x21], r15b
je 0x1400645a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400645a8
call fcn.140055620
test eax, eax
jne 0x140064594
cmp byte [rbp - 0x21], r15b
je 0x14006458d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400645a8
cmp byte [rbp - 0x21], r15b
je 0x1400645a5
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.14004eb1c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400645d4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400645d7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400645e5
mov rcx, rdi
call fcn.14005531c
cmp byte [rbp + 0x3f], r15b
je 0x1400645f4
mov rcx, qword [rbp + 0x27]
call fcn.14005531c
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 0x1400653c0
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.14005a6e4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005a6e4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140065510
cmp rax, 0xffffffffffffffff
je 0x140065510
xor edi, edi
test rbp, rbp
jle 0x1400654bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400552a4
mov rbx, rax
test rax, rax
jne 0x140065448
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400654b1
mov edx, 0x8000
mov ecx, r14d
call fcn.14005275c
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.140058b4c
cmp eax, 0xffffffff
je 0x140065491
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140065458
mov edx, r15d
mov ecx, r14d
call fcn.14005275c
jmp 0x1400654b1
cmp byte [rsi + 0x38], dil
je 0x1400654a8
cmp dword [rsi + 0x34], 5
jne 0x1400654a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400654b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14005531c
jmp 0x140065524
jns 0x140065524
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005a6e4
cmp rax, 0xffffffffffffffff
jne 0x1400654dc
cmp byte [rsi + 0x30], dil
je 0x140065524
mov edi, dword [rsi + 0x2c]
jmp 0x140065524
mov ecx, r14d
call fcn.14005e2a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140065524
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 0x140065524
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14006551d
mov eax, dword [rsi + 0x2c]
jmp 0x140065522
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005a6e4
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 0x140066140
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140066168
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140066168
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1806df64b
Capabilities:
Parse pe header

Disassembly:
add r10, rax
mov rax, qword [r11 + rbp + 0x74ccf2cb]
call fcn.18076ec73

Function at 0x1806dfd6b
Capabilities:
Parse pe header

Disassembly:
ror di, cl
rol r8b, 1
sub r8b, 0xbe
not cx
neg r8b
pop rcx
movsx ecx, sil
xor bl, r8b
add r8, rsp
shl si, cl
ror edi, cl
mov qword [r8 + r9*2 - 0x59750f06], rdx
shl ax, 0x6a
sub eax, ecx
mov rdi, qword [r9 + r10 - 0x2cba8782]
mov edx, 0x799a8532
ror sil, cl
lea r8, [r9 + rdx*2 + 0x3d823c18]
xor rdi, rbx
shl dx, cl
btr eax, esi
xor rdi, 0x14010531
xor dl, 0x35
bswap rdi
neg r9d
add r8b, 0x2d
sub r8d, esi
ror rdi, 2
lea rdi, [rax + rdi - 0x65340ebb]
sar r8d, 0xae
bswap rdi
xor rbx, rdi
shr edx, cl
mov qword [rbp + rsi*2 - 0x59747806], rdi
sbb r8, rcx
mov edx, dword [rax + r10 - 0x7ebc286c]
inc si
mov edi, r8d
xor edx, ebx
inc r9
ror al, 0xe1
sbb eax, 0x3c074339
not edx
rol sil, 0x25
ror edx, 2
shl r9w, cl
and cx, r8w
dec r8b
bswap edx
shl eax, 0xc2
or sil, al
lea rax, [r8*2 + 0x5885e0a3]
dec edx
lea rax, [r8 + r9*2 - 0x2ade6eef]
push rbx
btr ecx, 0xb6
xor dword [rsp + rsi - 0x2cba3c80], edx
and r8d, edi
jnp 0x180734ca6
xor r8d, 0x371276af
shl qword [rsp + rdx - 0x18329d47], 0x4a
mov qword [rsp + rbx*2 - 0x4ad20228], rdi
bt rdx, rdx
xor dword [rsp + rbx - 0x25690110], r8d
mov rdi, qword [rsp + rbx - 0x25690110]
movzx ebp, al
cbw
bts r9, r9
movsxd r8, r8d
lea rcx, [r9*8 + 0x30be8081]
dec ecx
adc r10, r8
mov ecx, dword [r11 + rbx*2 - 0x4ad20234]
sub rbx, rax
sbb dl, byte [rsp + rbx - 0x43fb011d]
cdqe
movzx r8d, byte [rsi + rax*4 + 0x7a480016]
push rbp
adc rbx, 0xffffffff9ab796ac
rol rax, 0x68
xor r8b, dil
and r9w, 0xc9be
call fcn.18075c229
mov ecx, 0xdbbc8d13
movsx edx, cl
mov edi, dword [r10 + rdx*2 - 0x26]
lea r10, [rdx + r10 - 0xf]
mov r8d, ecx
xor edi, ebx
mov r9d, 0xc9a4ecaf
jmp 0x180722191
Function at 0x1806e1f86
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
call 0x1804f79d0
cwde
and edi, dword [rbx - 0x3d]
xchg cl, bl
invalid
push 0x35326302
sub rsi, 4
mov qword [rsp + 8], 0x56143e18
mov edx, dword [rsi]
push 0xffffffffb00c9c1f
mov r9d, dword [rsp + 0x11]
movzx ebx, word [rsp + r9*4 - 0x15850ea]
xor edx, edi
movzx ecx, r9w
call fcn.1807937f7
mov r9d, 0x989eea82
mov rdx, qword [rbp + riz]
lea rdi, [r9 + r9*2 + 0x7cae563f]
mov ecx, edi
shl di, cl
mov r8, qword ss:[rcx + rdx - 0x468b15c5]
movsx edx, r9b
ror rcx, cl
not r9b
mov qword [rbp + riz], r8
movsx r8d, cl
bswap rcx
movzx eax, di
mov edi, dword [r10 + rax*2 - 0x17140]
lea r10, [r10 + rax*4 - 0x2e27c]
ror al, 0xc7
lea rax, [r8*8 + 0x318f5ca5]
bt r9w, dx
xor edi, ebx
ror r8w, cl
shr r9b, 0xc5
bswap edi
movsx esi, dx
not edi
btc rsi, rdx
dec edi
cbw
xadd r8b, sil
lea rax, [r9*2 - 0x7e621d78]
xor edi, esi
call fcn.180754e1a
adc al, r8b
sub cl, dl
lea r9, [rbp*4 + 0x4b8d1cb6]
neg al
sal r8, cl
jbe 0x18079e177
mov eax, dword [r11]
mov ebp, 0x6f96f3ab
push rbp
mov r8d, ebp
mov ecx, dword [r8 + r11 - 0x6f96f3a7]
or qword [rsp + rbp - 0x6f96f3ab], 0x2f1a7713
cpuid
dec r8w
push r8
mov dword [rbp + r11 - 0x6f96f3a7], eax
pop rax
mov dword [rbp + r11 - 0x6f96f3ab], ebx
mov dword [r11 + rbp - 0x6f96f3af], ecx
cdqe
lea r9, [r8*2 - 0x48c295da]
xchg dword [rsp + rbp - 0x6f96f3ab], r8d
mov dword [r11 + r8 - 0x6f9ef7c3], edx
setl byte [rsp + r8 - 0x6f9ef7bb]
call fcn.180754c29
mov eax, dword [r10]
call fcn.180793e64
movsxd rbx, ebx
add r10, rbx
not word [rsp + 0xe]
lea rsp, [rsp + 0x30]
jmp 0x180518343
add bpl, bpl
movsxd rbx, ebx
add r10, rbx
and bp, bp
shl rcx, cl
lea rsi, [rsi + r8*8 - 4]
cwd
mov ebp, dword [rsi + r8]
xor ebp, edi
lea r9, [rcx - 0x1277165f]
dec ecx
movsx ebx, ax
add ebp, ecx
bts r8w, r9w
ror ebp, 3
push rax
rol byte [rsp + r8*2 - 3], 0x87
shr cx, 0xe7
inc ebp
bt r9w, 0x85
add byte [rsp + r8 + 3], 0xa6
jb 0x1807453f3
neg ebp
mov qword [rsp + r8 - 2], rdi
sub rbx, 0x57352785
xor dword [rsp + r8 - 2], ebp
not bx
call fcn.1806ea8f6
jmp 0x1806f3dfd
mov word [rbx + r11 - 0x92a7], bp
mov ebp, 0x4a93e612
not r8w
btr bx, ax
lea rsi, [rsi + rbx - 0x92ab]
mov eax, dword [rsi + rbp - 0x4a93e612]
bt r8, 9
xor eax, edi
call fcn.18074a345
sar ecx, 0x9f
xor al, dl
dec r9w
shl edx, 0xfd
jb 0x1807cd1cd
pop rbx
pop rbp
ja fcn.180764d25
sbb al, r8b
dec rcx
xor dil, al
push r8
xor rdx, 0xffffffffc9b4ad2f
push r8
lea r11, [r11 + r8*2 - 8]
and ecx, ebp
mov dword [rsp + r8], r8d
xor bp, word [rsp + r8 + 0xe]
mov qword [r11 + r8*2], rax
dec ebp
je 0x18071685f
jnp 0x1807c194f

Function at 0x1806e3394
Capabilities:
Authenticate hmac

Disassembly:
lea rsp, [rsp + 0x18]
jne 0x18073594e

Function at 0x1806e9271
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using chaskey
Parse pe header

Disassembly:
add dword [rsp + rax*4 + 2], edx
pop rbx
pop rdx
jge fcn.180764d25
Function at 0x1806e9d5a
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using chaskey
Execute anti-debugging instructions
Parse pe header

Disassembly:
mov r8d, 0x2180bfa8
mov cx, word [rbp + r8 - 0x2180bfa0]
lea rbp, [r8 + rbp - 0x2180bf9e]
btr r8d, 0xa
mov word [r8 + rsi - 0x2180bba8], cx
or r8d, r8d
mov qword [rsp + r8 - 0x2180bba8], r8
ror byte [rsp + r8*2 - 0x43017750], 0x61
mov r9d, dword [r10 + r8 - 0x2180bba8]
movzx ecx, r8b
lea r10, [rcx + r10 - 0xa4]
lea rdx, [rcx*4 - 0x6adc5ac4]
shl r8w, 0xe2
xor r9d, ebx
sar word [rsp + rcx - 0xa8], cl
movsx eax, cx
shr cl, 0x63
xor r9d, 0x9c33e325
jmp 0x1806fb553
neg r9d
call fcn.18070e3ab
mov r8d, 0x792bbaa9
mov esi, dword [r8 + r10 - 0x792bbaa9]
movzx edi, r8b
rol r8, 0x78
lea r10, [r10 + rdi*2 - 0x14e]
lea rcx, [rdi + rdi*2 - 0x416de1ed]
xor esi, ebx
lea esi, [rsi + rdi*2 + 0x38ac346c]
xor esi, 0x8d805294
dec ecx
not esi
mov eax, r8d
rol r8d, 0x35
cmovae cx, ax
ror esi, 1
ror rdi, cl
btr rax, rdi
lea esi, [rsi + rax - 0x3d05a5d1]
push rcx
mov qword [rsp + r8 - 0x77400f25], rbx
movsx ebx, cx
cdqe
bts bx, di
xor dword [rsp + r8 - 0x77400f25], esi
btr r8, 0x82
jb 0x180785d5d
mov r9d, 0xc7a46e26
movzx r8d, r9b
movzx esi, byte [r10 + r8*4 - 0x98]
movzx edx, r8w
movzx eax, dx
xor sil, bl
lea rdi, [rdx*2 + 0x23a7d694]
btr ax, 0xa6
shr dil, 0x42
sbb sil, 0x8e
bswap r9
ror sil, 1
sal al, 0x82
sal r8b, 2
not sil
movsx ecx, dil
bts edi, ecx
ror sil, 1
bts dx, 0x88
xadd edx, r8d
xor sil, 0x86
and r8, rax
xadd r8b, cl
inc sil
lea rcx, [r9 + r9*8 + 0x5796da94]
xor bl, sil
push r8
lea rsi, [rsp + rsi + 8]
shr word [rsp + r8 - 0x33], 0x2c
cqo
mov di, word [rsi + rdx*2]
btc ax, cx
shr byte [rsp + r8 - 0x36], 0x24
movsx esi, word [rsp + r8*2 - 0x6d]
mov word [rbp + r8 - 0x3a], di
dec r9b
mov ax, word [rbp + r8*4 - 0xe2]
mov cl, byte [rbp + r8 - 0x38]
xchg r9w, r8w
jno 0x1807bd771
cdq
bswap esi
rol dil, 0xe5
ror esi, 1
bswap esi
xchg ecx, r8d
ror esi, 3
inc r11
dec rdi
cdqe
add rsi, r10
xchg rcx, rax
btr cx, dx
ror r8, cl
adc rsi, rbx
mov qword [rsp + r8*2 + 0x80], r9
sub r8, rax
mov r11, rsp
or cx, cx
sub ax, di
lea rax, [r11 + rcx - 0x47993dd4]
lea r9, [rdi*4 - 0x4a6e315c]
mov ebp, 0x5886fc14
shr ax, cl
mov word [rbp + r8 - 0xff], ax
bt r9w, r8w
shr r8b, 0x27
pop rax
mov ecx, dword [r10 + r8]
lea r10, [r10 + r8*4 + 1]
xor ecx, ebx
bt r9d, r9d
movzx edi, dl
sbb ecx, r8d
lea rdi, [rdx + rdx*8 + 0x1bbcfba1]
btc r8d, edx
bswap ecx
lea ecx, [rcx + rdi*4 + 0x740ea4a0]
add dl, r9b
sar rsi, 0xb9
xor ecx, 0x6f22c301
dec r8b
push rbx
dec r8w
xor di, ax
call fcn.1807a2370
Function at 0x1806eb68c
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
neg cl
and eax, 0x3bf7682
adc cl, 0x81
ror cl, 1
push r8
mov qword [rsp + rax*8 - 0x3f8], rdx
sar byte [rsp + r8 - 0x59f68bdf], 6
xor dil, cl
lea rcx, [rsp + rcx + 0x10]
xadd word [rsp + r8 - 0x59f68bd2], dx
mov qword [rcx + rax*8 - 0x400], rbp
movsx ebp, ax
xadd qword [rsp + r8 - 0x59f68bde], rdx
mov rbx, qword [rax + r11 - 0x78]
jg 0x1806ed460
xadd word [rsp + rbp - 0x7a], dx
mov r8, qword [r11 + r8 - 0x59f68bd0]
mov ecx, eax
adc rbx, r8
xadd qword [rsp + rax*2 - 0xfd], rbp
movsx r9d, dl
or cl, ah
mov qword [r11 + rax - 0x70], rbx
mov r8d, r9d
mov ebx, dword [rsi + rax*4 - 0x205]
shr rax, 0xea
je 0x180718db8
ror ebp, 1
cdq
inc ebp
dec r8b
rol ebp, 1
mov ecx, 0xbb00e40d
shl r9b, 2
push rdi
xor dword [rsp + rax - 0x8120000], ebp
pop rdi
sar r9, 0xe5
dec ebx
movsxd rbp, ebp
xadd ebx, edx
sbb bl, 0x80
add r10, rbp
cbw
add r9, r10
jmp r9

Function at 0x1806ebecc
Capabilities:
Execute anti-debugging instructions
Parse pe header

Disassembly:
not r9d
neg edx
ror r9, 0x92
xadd rsi, r9
jo 0x1806fd18a
ror edx, 3
mov qword [rsp + r8 - 0x8810808], rbx
and ecx, r8d
jp 0x18076b217