joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100464940
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1004649e6
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x100464970
mov edi, 0x80000
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x100464987
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1004649b6
cmp byte [rcx + 1], 0x25
jne 0x1004649b6
movsxd rax, dword [rcx + 2]
add rcx, 6
add rcx, rax
cmp rcx, rbx
jae 0x1004649cd
cmp rcx, 0xffffffff80000000
jae 0x1004649c4
lea rsi, [rcx + 0x7ff80000]
jmp 0x1004649f0
cmp al, 0xe9
jne 0x1004649f0
movsxd rax, dword [rcx + 1]
add rcx, 5
jmp 0x10046499c
mov rsi, 0xfffffffffff80000
jmp 0x1004649f0
cmp rcx, 0x7ff80000
jbe 0x1004649df
lea rdi, [rcx - 0x7ff80000]
jmp 0x1004649f0
mov edi, 0x80000
jmp 0x1004649f0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rdx, qword [0x1004ae388]
mov rax, qword [0x1004ae5a0]
mov qword [rsp + 0x38], rbp
test rdx, rdx
jne 0x100464a17
test rax, rax
je 0x100464a2e
mov rdx, rax
mov qword [0x1004ae388], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x100464a2e
cmp rcx, rdi
jb 0x100464a2e
cmp rcx, rsi
jbe 0x100464b78
mov qword [0x1004ae388], rax
mov rdx, rax
test rax, rax
je 0x100464a69
test rax, rax
je 0x100464a59
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x100464a59
cmp rax, rdi
jb 0x100464a59
cmp rax, rsi
jbe 0x100464b78
mov rdx, qword [rdx + 8]
mov qword [0x1004ae388], rdx
test rdx, rdx
jne 0x100464a42
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x100464a93
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.100464840
mov rdx, rax
test rax, rax
jne 0x100464b1f
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x100464ab9
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.100464740
mov rdx, rax
test rax, rax
jne 0x100464b1f
cmp rbx, 0x40000000
jbe 0x100464ad9
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.100464740
mov rdx, rax
test rax, rax
jne 0x100464b1f
cmp rbx, rbp
jae 0x100464af5
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.100464840
mov rdx, rax
test rax, rax
jne 0x100464b1f
mov rdx, rbx
mov rcx, rdi
call fcn.100464840
mov rdx, rax
test rax, rax
jne 0x100464b1f
mov rdx, rsi
mov rcx, rbx
call fcn.100464740
mov rdx, rax
test rax, rax
je 0x100464ba4
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x1004ae388], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x1004ae5a0]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x1004ae5a0], rdx
nop dword [rax]
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x100464b60
mov qword [rdx + 0x10], r8
mov rbx, qword [rdx + 0x10]
cmp rbx, rdi
jb 0x100464ba4
cmp rbx, rsi
ja 0x100464ba4
mov rcx, qword [rbx + 0x48]
mov qword [rdx + 0x10], rcx
mov edx, 0xcc
mov rcx, rbx
lea r8d, [rdx - 0x6c]
call sub.VCRUNTIME140.dll_memset
mov rax, rbx
jmp 0x100464ba6
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x100464bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x1004ae178], 0
jne 0x100464c77
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1004ae178], ecx
jne 0x100464c77
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x1004ae5a0]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x1004ae5b0], rdi
mov qword [0x1004ae5a8], rdi
mov qword [0x1004ae598], rdi
test rbx, rbx
je 0x100464c60
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100464c58
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x100464c30
jmp 0x100464c60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x1004adf68], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x100466260
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
mov rdi, rcx
mov qword [rsp + 0x68], rbx
test rdx, rdx
je 0x1004663d0
lea rax, [rsp + 0x68]
xor r8d, r8d
lea r9d, [rbx + 1]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004663cd
mov qword [rsp + 0x30], rsi
lea r8, [0x100472884]
lea rsi, [rdi + 0x1a08]
mov dword [rsp + 0x58], ebx
mov rcx, rsi
mov dword [rsp + 0x60], 0x208
sub r8, rsi
mov edx, 0x104
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1004662f3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1004662f3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1004662d0
test rdx, rdx
lea rax, [rcx - 2]
lea r9, [rsp + 0x58]
cmovne rax, rcx
lea rdx, str.SharedCode
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov word [rax], bx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100466368
cmp dword [rsp + 0x58], 1
jne 0x100466361
mov eax, dword [rsp + 0x60]
test al, 1
jne 0x100466361
cmp eax, 2
jb 0x100466361
shr rax, 1
cmp word [rsi + rax*2 - 2], bx
je 0x100466377
cmp rax, 0x104
jae 0x10046635a
mov word [rsi + rax*2], bx
jmp 0x10046637b
mov ebx, 0x8007007a
jmp 0x100466377
mov ebx, 0x8007000b
jmp 0x100466377
jg 0x10046636e
mov ebx, eax
jmp 0x100466377
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x1004663a9
lea rax, [0x100477958]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rcx, [rdi + 0x1800]
lea r8, str._ls_ls
mov qword [rsp + 0x20], rsi
mov edx, 0x104
call fcn.10042b040
jmp 0x1004663b9
cmp ebx, 0x80070002
jne 0x1004663bb
mov rcx, rdi
call fcn.100466400
mov ebx, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x30]
jmp 0x1004663d7
mov rcx, rdi
call fcn.100466400
mov ebx, eax
test ebx, ebx
jns 0x1004663ef
lea rcx, [rdi + 0x1800]
xor edx, edx
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret

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

Disassembly:
mov r9, rcx
test rcx, rcx
je 0x100467746
mov rax, 0xffffffffffffffff
mov r10d, 0xffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x100467705
add rax, rax
je 0x100467742
lea r11, [0x100477980]
nop dword [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov ecx, r10d
xor rdx, rcx
shr ecx, 8
movzx r8d, dl
mov r10d, dword [r11 + r8*4]
xor r10d, ecx
sub rax, 1
jne 0x100467720
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x100469250
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x40
mov dword [rsp + 0x58], 0
mov r11, qword [rcx + 0x18]
lea rbx, [0x100477980]
nop dword [rax]
test r11, r11
je 0x1004692db
lea r10, [r11 + 0xc]
mov eax, dword [r10]
shl rax, 4
add rax, 0xc
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov qword [rsp + 0x28], r10
nop dword [rax]
nop dword [rax + rax]
mov rcx, rax
dec rax
mov qword [rsp + 0x20], rax
test rcx, rcx
je 0x1004692d2
movzx edx, byte [r10]
mov ecx, r9d
xor rdx, rcx
movzx r8d, dl
shr ecx, 8
mov r9d, dword [rbx + r8*4]
xor r9d, ecx
inc r10
mov qword [rsp + 0x28], r10
jmp 0x1004692a0
mov dword [r11 + 8], r9d
mov r11, qword [r11]
jmp 0x100469270
jmp 0x100469302
mov eax, dword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
Function at 0x140002d30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002d7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002d7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002d7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002d7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002d7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002d7c
xor al, al
add rsp, 0x28
ret
Function at 0x18007132c
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 0x18007135c
xor eax, eax
jmp 0x18007141f
mov rbp, rbx
cmp word [rax], si
je 0x180071381
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180071368
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180071364
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.18007124c
movsxd r14, eax
test eax, eax
jne 0x1800713bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180071355
mov rcx, r14
call fcn.18006b978
mov rdi, rax
test rax, rax
jne 0x1800713d8
xor ecx, ecx
call fcn.18006b93c
jmp 0x1800713b4
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.18007124c
test eax, eax
jne 0x180071409
mov rcx, rdi
call fcn.18006b93c
jmp 0x180071413
xor ecx, ecx
call fcn.18006b93c
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 0x1800737a0
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.180058950
sub rsp, rax
mov rax, qword [0x180092380]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18006f788
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800737ef
mov rax, rbp
jmp 0x1800738f7
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x94480]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800748c0
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x94480]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800738f3
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 0x1800738f3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800748c0
test rax, rax
js 0x1800738f3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800738f3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800738e5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800738e5
cmp byte [rcx], 0xd
jne 0x1800738cb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800738da
cmp byte [rcx + 1], 0xa
jne 0x1800738da
inc rcx
jmp 0x1800738da
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x92ce0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800738ad
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800738f7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800589b0
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 0x180073b18
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180073b2e
mov al, 1
jmp 0x180073b8e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180073b3f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180073b8c
mov ecx, dword [rcx + 0x18]
nop
call fcn.18007a6d8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180073b8c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180073b8c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180073b8c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180073b8e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180073c60
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, [0x180094480]
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 0x180073cb7
cmp word [rdx], r13w
jne 0x180073cb7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180073cbc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180073de1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180073e02
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180073cf5
mov rdx, r9
mov word [rbx], cx
jmp 0x180073d1c
cmp r9, r8
jae 0x180073d2c
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 0x180073cd6
jmp 0x180073de1
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 0x180073dd6
cmp dword [rsp + 0x80], esi
je 0x180073dd6
lea r8, [0x180094480]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180073dae
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180073d7e
mov word [rbx], r13w
jmp 0x180073dde
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 0x180073d8b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180073dde
cmp word [rsp + 0x70], r13w
jne 0x180073dbb
cmp rbx, r14
je 0x180073d78
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800748c8
cmp word [rsp + 0x70], r13w
je 0x180073de1
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, [0x180094480]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180073ddb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180073de1
Function at 0x1800788b8
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.18006be1c
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 0x180078959
cmp ebx, dword [rsp + 0x30]
je 0x180078952
test esi, esi
je 0x180078952
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18007892d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18007893a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180078917
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18007893e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18007895b
mov eax, 1
jmp 0x18007895b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180a71425
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
pushfq
movabs r15, 0xed1dcc1b55a37a9d
movabs rbp, 0xabbe949887bfa782
test rbp, 0x5dbd5f09
mov rbp, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0xffffffff86593ca2
mov r15, qword [rsp + 8]
jo 0x180a71452
call fcn.1806c042c
sbb r9b, byte [r8 + 0x5f507dc]
movsd dword [rdi], dword cs:[rsi]
cmpsb byte [rsi], byte [rdi]
xor dh, byte [rbp + 0x8181d2b]
in al, 0x2f
and eax, 0x5e355e65
push rbx
sbb eax, 0xf919619
xor eax, 0x63083418
shl dword [rcx + 0x6e6a315a], 1
pop rcx
ficom dword cs:[0x180a89539]
and byte [rax], al
in al, 0xca
je 0x180a71462
push rsi
adc al, 0x18
cmc
cmpsb byte [rsi], byte [rdi]
test al, 0x19
invalid

Function at 0x180a9d9ef
Capabilities:
Encode data using xor

Disassembly:
test r10, r10
lea rsp, [rsp + 0x10]
je 0x180a9da47
lea r9, [0x180a90e10]
mov eax, 0x7e1139bf
movzx eax, byte [rdx + rax - 0x7e1139bf]
push 0x6f211a2b
xor eax, esi
and eax, 0xff
mov eax, dword [r9 + rax*4]
shr esi, 8
shr byte [rsp + 5], 0xc6
xor esi, eax
push 0x7e14b109
inc rdx
xor esi, 0x9235d092
dec r10
lea rsp, [rsp + 0x10]
jne 0x180a9da04
call fcn.180acd3ae
mov ecx, 0xfc10952a
mov rcx, qword [rdi]
mov r10d, 0x578ca58b
lea r10, [r10 + r10*8 + 0x21b8a401]
add rdi, 8
sub r10, 0xfffffffffaa5cc9c
movzx r10d, byte [r11]
add r11, 1
xor r10b, r8b
jmp 0x180ac29dd
inc r10b
xor r8b, r10b
lea r10, [rsp + r10 + 8]
push 0x5c873f3d
mov qword [r10], rcx
jmp 0x180ac91cc
push 0x6d171b27
ror r10b, 1
neg r10b
inc r10b
shl word [rsp + 1], 0x4a
neg r10b
jmp 0x180aa3649

Function at 0x180ac7187
Capabilities:
Encode data using xor

Disassembly:
not ebp
call fcn.180aace28
mov qword [rdi], rcx
lea rsp, [rsp + 8]
jmp 0x180ac1048
jmp 0x180a9e11b
adc r8, 0xc
xor ebp, ebp
test rax, rax
lea rsp, [rsp + 8]
je 0x180abdfec
push r8
mov r8d, 0x1ca6f73f
bswap r8
lea r11, [0x180ab8710]
mov r8d, 0x61990a3a
movzx r8d, byte [rdi + r8 - 0x61990a3a]
push 0xffffffff8227d084
xor r8d, ebp
ror dword [rsp], 0xb1
and r8d, 0xff
neg qword [rsp]
mov r8d, dword [r11 + r8*4]
xor dword [rsp + 3], 0x2510b98c
shr ebp, 8
xor ebp, r8d
inc rdi
xor ebp, 0x8e3374bc
dec rax
lea rsp, [rsp + 8]
jne 0x180ac71b0
call fcn.180abdfe2
push 0x2e1e4598
jmp 0x180a9ff3c

Function at 0x180ac8320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], 0x5d96071f
xor edi, edi
test r11, r11
push 0xffffffffad86670f
lea rsp, [rsp + 0x10]
je 0x180aa5239
mov eax, 0x94822a91
and al, 0xf
jne 0x180ac57e8
mov edx, 0xf13d582a
mov rdx, qword [r8]
mov r11, qword [r8 + 8]
add r8, 0xc
jmp 0x180ab1e7d

Function at 0x180acdea5
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x180a8fb41
xor edi, edi
test rdx, rdx
lea rsp, [rsp + 8]
je 0x180acdf06
lea rcx, [0x180aba6d8]
mov r8d, 0x7606319d
movzx r8d, byte [r8 + r9 - 0x7606319d]
push 0xffffffffb13bf703
xor r8d, edi
inc qword [rsp]
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
add word [rsp + 5], 0x93b2
shr edi, 8
xor edi, r8d
inc r9
xor edi, 0xd4b514b6
dec rdx
lea rsp, [rsp + 8]
jne 0x180acdebc
push 0xd0fb112
not edi
push 0xffffffff9713cd29
mov dword [rsi], edi
call fcn.180aa06bd
mov dword [rcx], ebx
jmp 0x180ab0f40
Function at 0x1400021dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140004650], rbx
je 0x140002228
cmp rax, rbx
jne 0x14000221b
mov ebx, 1
mov esi, ebx
jmp 0x14000222d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002200
mov ebx, 1
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x140002243
mov ecx, 0x1f
call fcn.140134000
jmp 0x1400022a8
mov eax, dword [0x140004658]
test eax, eax
jne 0x1400022a2
mov dword [0x140004658], ebx
lea r15, [0x1400033b0]
lea rdi, [0x140003398]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140002294
test eax, eax
jne 0x140002298
cmp qword [rdi], 0
je 0x140002289
mov rax, qword [rdi]
mov rcx, qword [0x140003378]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000226a
test eax, eax
je 0x1400022a8
mov eax, 0xff
jmp 0x140002384
mov dword [0x140004064], ebx
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x1400022cf
lea rdx, [0x140003390]
lea rcx, [0x140003380]
call sub.msvcrt.dll__initterm
mov dword [0x140004658], 2
test esi, esi
jne 0x1400022dc
xor eax, eax
xchg qword [0x140004650], rax
cmp qword [0x140004660], 0
je 0x140002310
lea rcx, [0x140004660]
call fcn.140002540
test eax, eax
je 0x140002310
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140004660]
mov r9, qword [0x140003378]
call r9
mov r8, qword [0x140004078]
mov rdx, qword [0x140004070]
mov ecx, dword [0x140004068]
call fcn.140001800
mov dword [0x140004060], eax
cmp dword [0x140004080], 0
jne 0x140002340
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140004064], 0
jne 0x140002355
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140004060]
jmp 0x140002384
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400025c0
add rsp, 0x28
jmp 0x1400021dc

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000249c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002494
cmp dword [rcx + 0x3c], edx
jl 0x140002494
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002494
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000249c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140009d50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140010b40
nop
lea rax, [0x140008b0c]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400085f0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140009dd5
lea rcx, [rsp + 0x30]
call fcn.14002db14
jmp 0x140009dec
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.140017b84
add rsp, 0x58
ret