joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013b80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14011b540]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140013ba0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140013ba8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140013ba0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140013bfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140013bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140013ba0
add rax, 0x28
cmp rax, r9
jne 0x140013be0
xor eax, eax
ret

Function at 0x140013c00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14011b540]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140013c1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140013c28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140013c1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140013cc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14011b540]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140013cdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140013ce8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140081470
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400814b8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14008148a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400bbfa0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140114c00]
jmp 0x1400149e0
Function at 0x1400175a0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140017080
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400175df
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1400632e8]
jmp 0x1400175e9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14003bbf0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x140042a00
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140041fc0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140042a67
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1400632f0]
jmp 0x140042a89
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140042d90
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x140044ea0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140061280
sub rsp, rax
mov rax, qword [0x140081020]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140083ae0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140045092
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140044fe6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140044fe6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x140044fcb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140044f68
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140045052
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400450b1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14004508d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400450b1
jmp 0x140044f3e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14000cac0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400450d0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140061280
sub rsp, rax
mov rax, qword [0x140081020]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140083ae0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400452dd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140045229
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140045229
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140045209
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140045198
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004529d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400452fc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1400452d8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400452fc
jmp 0x14004516e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14000cac0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140050d00
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000c310
lea rcx, [rsp + 0x40]
call fcn.140050cc0
movzx eax, al
test eax, eax
jne 0x140050d48
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140050bf0
mov rax, qword [rsp + 0x70]
jmp 0x140050f19
lea rcx, [rsp + 0x40]
call fcn.14000c380
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140050c70
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14000c380
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14004ced0
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140050dee
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140050bf0
mov rax, qword [rsp + 0x80]
jmp 0x140050f19
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14001c200
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c310
lea rcx, [rsp + 0x48]
call fcn.14000ca60
movzx eax, al
test eax, eax
jne 0x140050e55
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14000ca40
lea rcx, [rsp + 0x40]
call fcn.140050bf0
mov rax, qword [rsp + 0x88]
jmp 0x140050f19
lea rcx, [rsp + 0x48]
call fcn.14000c380
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14000c380
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14004ced0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140050eeb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14000ca40
lea rcx, [rsp + 0x40]
call fcn.140050bf0
mov rax, qword [rsp + 0xa0]
jmp 0x140050f19
lea rcx, [rsp + 0x48]
call fcn.14000fc30
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14000ca40
lea rcx, [rsp + 0x40]
call fcn.140050bf0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x14005dda0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400325b0
lea rcx, [rsp + 0x48]
call fcn.1400325b0
call fcn.14003b8e0
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400324a0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14005de0f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.140032640
lea rcx, [rsp + 0x78]
call fcn.140032640
mov eax, dword [rsp + 0x24]
jmp 0x14005dea0
call fcn.14003b8e0
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400324a0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14005de56
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.140032640
lea rcx, [rsp + 0x78]
call fcn.140032640
mov eax, dword [rsp + 0x2c]
jmp 0x14005dea0
lea rcx, [rsp + 0x48]
call fcn.140032970
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140032970
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.140032640
lea rcx, [rsp + 0x78]
call fcn.140032640
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x180005f20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [0x1800c54c8], 0
lea rbx, [0x1800c5980]
mov r10d, edx
mov r11, rcx
jne 0x180005fdc
xor r8d, r8d
mov r9, rbx
mov eax, r8d
shr eax, 1
test r8b, 1
je 0x180005f55
xor eax, 0xedb88320
test al, 1
je 0x180005f62
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f64
shr eax, 1
test al, 1
je 0x180005f71
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f73
shr eax, 1
test al, 1
je 0x180005f80
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f82
shr eax, 1
test al, 1
je 0x180005f8f
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f91
shr eax, 1
test al, 1
je 0x180005f9e
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005fa0
shr eax, 1
test al, 1
je 0x180005fad
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005faf
shr eax, 1
test al, 1
je 0x180005fbc
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005fbe
shr eax, 1
mov dword [r9], eax
inc r8d
add r9, 4
cmp r8d, 0x100
jl 0x180005f45
mov byte [0x1800c54c8], 1
or edx, 0xffffffff
test r10d, r10d
je 0x180006010
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [r11]
lea r11, [r11 + 1]
mov eax, edx
xor rcx, rax
movzx eax, cl
mov ecx, edx
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, ecx
sub r10d, 1
jne 0x180005ff0
mov rbx, qword [rsp + 8]
not edx
mov eax, edx
ret

Function at 0x180006020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 8]
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.180005f20
mov r9d, dword [rbx + 8]
mov r8d, dword [rbx]
mov edx, r8d
mov r10, qword [rbx]
xor r8d, r9d
xor r8d, 0x41433030
xor edx, r9d
xor edx, eax
xor eax, eax
mov word [rsp + 0x31], ax
movzx eax, r8w
shr ax, 8
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], r8b
shr r8d, 0x10
movzx eax, r8w
mov dword [rbx + 0xc], edx
shr ax, 8
mov byte [rsp + 0x32], al
xor eax, eax
mov byte [rsp + 0x33], r8b
test r9d, r9d
je 0x1800060b9
nop word [rax + rax]
mov r8d, eax
lea ecx, [rax + 2]
movzx ecx, cl
lea r9, [rax + r10]
imul edx, ecx, 0xbb
and r8d, 3
inc eax
movzx ecx, byte [rsp + r8 + 0x30]
xor cl, dl
xor byte [r9], cl
cmp eax, dword [rbx + 8]
jb 0x180006090
add rsp, 0x20
pop rbx
ret

Function at 0x1800062d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x18009f2d8]
jmp 0x180ba6452

Function at 0x180028d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x18009f2d8]
jmp 0x180baf060

Function at 0x18002d6f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov byte [rax + 0x18], r8b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, r9
mov r14, rdx
mov r12, rcx
xor r13b, r13b
mov rax, qword [rcx]
Function at 0x180058da0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rcx, [0x1800a3200]
nop
nop
nop
nop
nop
nop
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
mov r8d, dword [rsp + 0x58]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.18002a410
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x180058e54
xor eax, eax
jmp 0x180058f89
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x14]
cmp dword [rax + 8], ecx
jbe 0x180058e74
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
jmp 0x180058e80
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180058e99
cmp dword [rsp + 0x30], 0xc800000
jb 0x180058ea0
xor eax, eax
jmp 0x180058f89
mov eax, dword [rsp + 0x30]
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [0x18008c3c0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180058ece
xor eax, eax
jmp 0x180058f89
mov qword [rsp + 0x88], 0
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0xb8]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x80], rcx
call qword [0x18008c078]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
mov r9, rcx
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call fcn.1800263e0
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x180058f56
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [0x18008c3b8]
xor eax, eax
jmp 0x180058f89
mov eax, dword [rsp + 0x30]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.180028d70
mov dword [rsp + 0x60], eax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [0x18008c3b8]
mov eax, dword [rsp + 0x60]
jmp 0x180058f89
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0xa8
ret
Function at 0x1800d86e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1800d870d
xor al, al
jmp 0x1800d886f
mov rax, qword [0x1800f96c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1800f96c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1800f96d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1800f96d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1800f96e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1800f96e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1800f96f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1800f96f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1800f9700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1800d8861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1800d87b9
mov r11d, 2
jmp 0x1800d87dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1800d87d3
mov r11d, 1
jmp 0x1800d87dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1800d8885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1800d8822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1800d883a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1800d884a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1800d8858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1800d87a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1800d886a

Function at 0x180568325
Capabilities:
Execute syscall

Disassembly:
call fcn.1800601a6
mov r10, rcx
cmove rax, r10
mov eax, dword [0x1800c2c9c]
syscall
ret

Function at 0x180885cee
Capabilities:
Execute syscall

Disassembly:
syscall
ret
call fcn.1800601a6
mov r10, rcx
mov eax, dword [0x1800c2c14]
jmp 0x1807dec02
Function at 0x180a81215
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r11
bswap rbp
movsx ebp, bp
jmp 0x180b0f031
push rbp
xchg bpl, bpl
bswap rbp
push rdi
movsx ebp, ax
cmovbe bp, r10w
not bpl
push r15
jmp 0x180a5cebb
rol edx, 3
test r9b, dl
push rbx
sub rbx, rsp
xor dword [rsp], edx
ror bh, cl
btr bx, dx
or ebx, 0x60517e88
pop rbx
cmp rcx, 0x4e020190
movsxd rdx, edx
cmp rbp, rsi
add rsi, rdx
jmp 0x180b4d30e
push rax
push r12
movsx eax, r10w
push rcx
movsx ax, sil
xchg al, bpl
push rbx
bswap r11w
movzx r11d, r12w
mov r11b, 0xec
pushfq
rol bx, cl
and bpl, dil
movsx r11, r14w
push rdx
test r11, r12
push rsi
push r13
sub esi, 0x7f1c63
dec r11d
setp r11b
push r8
push r14
shl r9b, 0x69
movabs r11, 0
cwde
cmc
clc
push r11
rol r8, 0x3f
sar sil, 0xe0
rdtsc
mov r9, qword [rsp + 0x90]
sub r9d, 0x5cf8152d
clc
not r9d
rdtsc
bswap r9d
cdq
shl ax, cl
sub r9d, 0x57ad56b6
neg rdx
bsf dx, si
movsxd rbp, r13d
add r9, r11
sbb si, 0x17f3
xadd edx, esi
movabs r8, 0x100000000
and bpl, r9b
add r9, r8
adc rbx, 0x1aa57985
shr ebx, cl
mov rbp, rsp
rol rsi, cl
xadd ebx, ebx
sub rsp, 0x180
movzx ebx, r13w
and rsp, 0xfffffffffffffff0
or rbx, 0xad86a57
rcl dl, cl
neg edx
mov rbx, r9
ror ax, cl
test sil, r10b
movsx rsi, di
movabs rax, 0
cwd
shl esi, cl
rcl rdx, cl
sub rbx, rax
ror esi, 0x97
lea rsi, [0x180ac1367]
mov edx, dword [r9]
stc
test r10, r13
add r9, 4
xor edx, ebx
neg edx
ror edx, 2
stc
cmp di, 0x5ec8
test rsp, r9
xor edx, 0x7e423426
clc
jmp 0x180b7444f
push r10
push r9
jmp 0x180ac1270
jmp rsi
not edx
jmp 0x180a95cf4
Function at 0x180cab113
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbp
xchg bpl, bpl
bswap rbp
push rdi
movsx ebp, ax
cmovbe bp, r10w
not bpl
push r15
jmp 0x180d0d33e
not edx
jmp 0x180d8fc8c
push r11
bswap rbp
movsx ebp, bp
jmp 0x180da4cc4
push rax
push r12
movsx eax, r10w
push rcx
movsx ax, sil
xchg al, bpl
push rbx
bswap r11w
movzx r11d, r12w
mov r11b, 0xec
pushfq
rol bx, cl
and bpl, dil
movsx r11, r14w
push rdx
test r11, r12
push rsi
push r13
sub esi, 0x7f1c63
dec r11d
setp r11b
push r8
push r14
shl r9b, 0x69
movabs r11, 0
cwde
cmc
clc
push r11
rol r8, 0x3f
sar sil, 0xe0
rdtsc
mov r9, qword [rsp + 0x90]
sub r9d, 0x5cf8152d
clc
not r9d
rdtsc
bswap r9d
cdq
shl ax, cl
sub r9d, 0x57ad56b6
neg rdx
bsf dx, si
movsxd rbp, r13d
add r9, r11
sbb si, 0x17f3
xadd edx, esi
movabs r8, 0x100000000
and bpl, r9b
add r9, r8
adc rbx, 0x1aa57985
shr ebx, cl
mov rbp, rsp
rol rsi, cl
xadd ebx, ebx
sub rsp, 0x180
movzx ebx, r13w
and rsp, 0xfffffffffffffff0
or rbx, 0xad86a57
rcl dl, cl
neg edx
mov rbx, r9
ror ax, cl
test sil, r10b
movsx rsi, di
movabs rax, 0
cwd
shl esi, cl
rcl rdx, cl
sub rbx, rax
ror esi, 0x97
lea rsi, [0x180d0ea26]
mov edx, dword [r9]
stc
test r10, r13
add r9, 4
xor edx, ebx
neg edx
ror edx, 2
stc
cmp di, 0x5ec8
test rsp, r9
xor edx, 0x7e423426
clc
jmp 0x180cf5b02
jmp rsi
rol edx, 3
test r9b, dl
push rbx
sub rbx, rsp
xor dword [rsp], edx
ror bh, cl
btr bx, dx
or ebx, 0x60517e88
pop rbx
cmp rcx, 0x4e020190
movsxd rdx, edx
cmp rbp, rsi
add rsi, rdx
jmp 0x180d38175
push r10
push r9
jmp 0x180d0e92f