joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400588f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14009b0b8]
test ecx, ecx
je 0x1400589f2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058922
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x1400589ec
mov ecx, dword [0x14009b0b8]
test ecx, ecx
je 0x140058a14
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058a31
mov rdi, rax
test rax, rax
jne 0x140058998
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140002dd0
test rax, rax
je 0x140058a50
mov rdi, rax
lea rax, case.0x140034552.140
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b0b8]
test ecx, ecx
je 0x140058a3d
dec ecx
mov rdx, rdi
call fcn.1400983f4
test rsi, rsi
je 0x1400589b2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x1400589b4
mov rax, qword [rsi + 8]
jmp 0x1400589b4
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x1400589ec
test rcx, rcx
je 0x1400589ec
lock dec qword [rcx]
jne 0x1400589ec
lea rcx, [rsp + 0x30]
call fcn.14000f7a0
add rdi, 0x10
jmp 0x140058a33
lea rcx, case.0x140034552.140
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058914
jmp 0x140058922
lea rcx, case.0x140034552.140
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058941
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, case.0x140034552.140
call fcn.14004f070
mov ecx, eax
jmp 0x140058990
mov ecx, 8
mov edx, 0x18
call fcn.1400754c0
int3

Function at 0x140058a60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14009b0d8]
test ecx, ecx
je 0x140058a8f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058aa8
cmp byte [rax + 8], 0
je 0x140058aa8
add rax, 9
jmp 0x140058b50
lea rcx, [0x14009b0c0]
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058a80
mov ecx, dword [0x14009b0d8]
test ecx, ecx
je 0x140058b31
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058b4e
mov rdi, rax
test rax, rax
jne 0x140058b0e
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140002dd0
test rax, rax
je 0x140058b67
mov rdi, rax
lea rax, [0x14009b0c0]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14009b0d8]
test ecx, ecx
je 0x140058b57
dec ecx
mov rdx, rdi
call fcn.1400983f4
xor ecx, ecx
test rsi, rsi
je 0x140058b24
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x140058b50
lea rcx, [0x14009b0c0]
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058ac3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14009b0c0]
call fcn.14004f070
mov ecx, eax
jmp 0x140058b06
mov ecx, 8
mov edx, 0x10
call fcn.1400754c0
int3
Function at 0x140058b80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x140058baf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058bc8
cmp byte [rax + 8], 0
je 0x140058bc8
add rax, 9
jmp 0x140058c70
lea rcx, [0x14009b0e0]
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058ba0
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x140058c51
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058c6e
mov rdi, rax
test rax, rax
jne 0x140058c2e
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140002dd0
test rax, rax
je 0x140058c87
mov rdi, rax
lea rax, [0x14009b0e0]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x140058c77
dec ecx
mov rdx, rdi
call fcn.1400983f4
xor ecx, ecx
test rsi, rsi
je 0x140058c44
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x140058c70
lea rcx, [0x14009b0e0]
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058be3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14009b0e0]
call fcn.14004f070
mov ecx, eax
jmp 0x140058c26
mov ecx, 8
mov edx, 0x10
call fcn.1400754c0
int3

Function at 0x140058e20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14009b138]
test ecx, ecx
je 0x140058f22
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058e52
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x140058f1c
mov ecx, dword [0x14009b138]
test ecx, ecx
je 0x140058f44
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058f61
mov rdi, rax
test rax, rax
jne 0x140058ec8
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140002dd0
test rax, rax
je 0x140058f80
mov rdi, rax
lea rax, [0x14009b120]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b138]
test ecx, ecx
je 0x140058f6d
dec ecx
mov rdx, rdi
call fcn.1400983f4
test rsi, rsi
je 0x140058ee2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x140058ee4
mov rax, qword [rsi + 8]
jmp 0x140058ee4
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x140058f1c
test rcx, rcx
je 0x140058f1c
lock dec qword [rcx]
jne 0x140058f1c
lea rcx, [rsp + 0x30]
call fcn.14000f800
add rdi, 0x10
jmp 0x140058f63
lea rcx, [0x14009b120]
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058e44
jmp 0x140058e52
lea rcx, [0x14009b120]
call fcn.14004f070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058e71
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x14009b120]
call fcn.14004f070
mov ecx, eax
jmp 0x140058ec0
mov ecx, 8
mov edx, 0x18
call fcn.1400754c0
int3
Function at 0x14008d6b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008d72a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14008d720
cmp r11, r10
ja 0x14008d7c1
cmp r10, rdx
ja 0x14008d7d3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008d722
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008d700
jmp 0x14008d797
ja 0x14008d72a
mov r11, r10
cmp rax, r8
jne 0x14008d6d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008d79b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14008d770
mov r8, r10
sub ecx, r9d
jns 0x14008d78e
jmp 0x14008d79d
cmp r10, rdx
je 0x14008d7a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008d79d
xor al, 1
cmp r8, rdx
jne 0x14008d750
jmp 0x14008d79d
xor eax, eax
jmp 0x14008d79d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140185551]
lea r8, [0x1401873a0]
mov edx, 0x2b
call fcn.140084520
lea r8, [0x1401873b8]
mov rcx, r11
mov rdx, r10
call fcn.14008a9b0
lea r8, [0x1401873b8]
mov rcx, r10
call fcn.14008a930
int3

Function at 0x1400991e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14009a070
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14009a070
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140099250
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401a0224]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400993e0
mov rax, qword [0x1401a0228]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14009929c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140099325
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140099280
mov rcx, rdi
call fcn.140099db0
test rax, rax
mov r12, rax
je 0x140099432
mov rax, qword [0x1401a0228]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140099ef0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401a0228]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140099415
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14009931e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140099390
add dword [0x1401a0224], 1
cmp ebx, 8
jae 0x140099351
test bl, 4
jne 0x1400993f0
test ebx, ebx
je 0x140099346
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140099404
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140099346
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14009936a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1401a0228]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009931e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400991e0
xor esi, esi
jmp 0x1400992a7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140099346
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140099346
mov rax, qword [0x1401a0228]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.1400991e0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.1400991e0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140099a00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401a0280]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401a0260]
test rbx, rbx
je 0x140099a54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140099a4b
test rsi, rsi
je 0x140099a4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140099a30
lea rcx, [0x1401a0280]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140099db0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140192260]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140099e1f
mov rcx, r9
call fcn.140099c80
test eax, eax
je 0x140099e1f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140099e1d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140099e14
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140099e1f
add rdx, 0x28
cmp rdx, r9
jne 0x140099e00
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x1800113f2
Capabilities:
Create thread

Disassembly:
jmp 0x18001d9f0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x18003305e]
call fcn.180011776
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x18001dab2
cmp dword [rbp + 0xc0], 1
je 0x18001da4e
cmp dword [rbp + 0xc0], 2
je 0x18001dab2
cmp dword [rbp + 0xc0], 3
je 0x18001dab2
jmp 0x18001dac7
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rax, qword [rbp + 0xf0]
mov qword [0x18002d4c8], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xf0]
lea r8, [0x18001173a]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18002d4c0], rax
cmp qword [0x18002d4c0], 0
je 0x18001dab0
mov rcx, qword [0x18002d4c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001dac7
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x180011460
Capabilities:
Terminate process

Disassembly:
jmp 0x18001f750
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x180011735
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x18001ae50
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x18002d040]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x180033008]
call fcn.180011776
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbp + 0x110]
mov r8d, eax
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.1800113de
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x180027420]
call fcn.180011640
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1800113d9
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x18001d4d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18002d040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x180033064]
call fcn.180011776
lea rcx, str.C:_Windows_System32_version.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x18001d52c
xor eax, eax
jmp 0x18001d6a0
lea rax, sym.version.dll_GetFileVersionInfoA
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
add rax, 0x198
mov qword [rbp + 0x68], rax
jmp 0x18001d55b
mov rax, qword [rbp + 0x48]
add rax, 0x18
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x68]
cmp qword [rbp + 0x48], rax
je 0x18001d69c
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rdx, qword [rax + 8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
cmp eax, 0xe9
jne 0x18001d5e1
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 1]
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
add eax, 5
cdqe
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov byte [rbp + 0x108], 0xff
mov byte [rbp + 0x109], 0x25
mov byte [rbp + 0x10a], 0
mov byte [rbp + 0x10b], 0
mov byte [rbp + 0x10c], 0
mov byte [rbp + 0x10d], 0
lea rax, [rbp + 0x10e]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x10e], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x178], rax
lea r9, [rbp + 0x134]
mov r8d, 0x40
mov edx, 0xe
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9d, 0xe
lea r8, [rbp + 0x108]
mov edx, 0xe
mov rcx, qword [rbp + 0x178]
call fcn.18001dbe0
lea r9, [rbp + 0x154]
mov r8d, dword [rbp + 0x134]
mov edx, 0xe
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x18001d54f
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180026d40]
call fcn.180011640
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.1800113d9
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0xa00800
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xa0080d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa0081d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa00805
lea eax, [rcx + 1]
jmp 0xa0082b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa0083e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa00824
sub eax, 3
jb 0xa0085e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa008ad
sar eax, 1
movsxd rbp, eax
jb 0xa00894
jmp 0xa0086c
add ebx, ebx
jne 0xa0086a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa00894
inc ecx
add ebx, ebx
jne 0xa0087a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa00894
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa0088d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa0087c
add ecx, 2
jmp 0xa00899
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a007c2
jmp 0xa0080d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x385200
mov dl, 0x53
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa008f9
cmp rsi, rcx
jae 0xa00901
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa008e0
cmp al, 0x8f
ja 0xa008e0
cmp byte [rsi - 2], 0xf
je 0xa008e6
sub al, 0xe8
cmp al, 1
ja 0xa008ca
cmp rsi, rcx
jae 0xa00901
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa008d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa00901
lodsb al, byte [rsi]
jmp 0xa008e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5e5000]
mov eax, dword [rdi]
or eax, eax
je 0xa0095e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x60d9bc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xa0090e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xa00958
mov qword [rbx], rax
add rbx, 8
jmp 0xa0092e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xa00998
cmp al, 0xef
ja 0xa0098a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xa0096a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0xa00979
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa009ec
sub rsp, 0xffffffffffffff80
jmp 0x76f390
Function at 0x14007f91c
Capabilities:
Encrypt data using rc4 prga

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, 0xb0
mov rax, qword [0x14010d0f8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x80
call sub.msvcrt.dll_memset
xor ebp, ebp
lea rdi, [0x1400eebd0]
mov r8, rdi
lea r10d, [rbp + 0x11]
mov r9, qword [r8]
jmp 0x14007f992
shr ax, 6
lea r9, [r9 + 2]
movzx edx, ax
shr rdx, 3
movzx eax, ax
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
mov byte [rsp + rdx + 0x20], cl
movzx eax, word [r9]
test ax, ax
jne 0x14007f971
add r8, 8
sub r10, 1
jne 0x14007f96c
lea edx, [r10 + 0x20]
mov r9d, ebp
lea r8, [rsp + 0x20]
mov ecx, dword [r8]
dec edx
lea r8, [r8 + 4]
jmp 0x14007f9cf
mov eax, ecx
lea r10, [0x1400f7c80]
and eax, 0xf
add r9d, dword [r10 + rax*4]
shr ecx, 4
test ecx, ecx
jne 0x14007f9bc
test edx, edx
jne 0x14007f9b1
lea esi, [rcx + 0x40]
lea ebx, [r9 + 1]
mov edx, esi
shl ebx, 6
mov ecx, ebx
call fcn.1400839b0
mov edx, esi
mov qword [0x140114ea8], rax
mov ecx, 0x400
call fcn.1400839b0
mov r14, qword [0x140114ea8]
mov rsi, rax
mov qword [0x140114eb0], rax
test r14, r14
je 0x14007faa9
test rax, rax
je 0x14007faa9
movsxd r8, ebx
or edx, 0xffffffff
mov rcx, r14
call sub.msvcrt.dll_memset
mov r8, rsi
mov r9d, 1
mov ecx, ebp
movsxd rax, ecx
mov dl, byte [rsp + rax + 0x20]
mov eax, 8
test dl, 1
je 0x14007fa50
mov byte [r8], r9b
inc r9d
shr dl, 1
inc r8
sub rax, 1
jne 0x14007fa45
inc ecx
cmp ecx, 0x80
jb 0x14007fa39
mov r8d, ebp
mov r9, qword [rdi]
jmp 0x14007fa8c
movzx edx, ax
lea r9, [r9 + 2]
mov eax, edx
and edx, 0x3f
shr rax, 6
movzx ecx, byte [rax + rsi]
shl rcx, 6
add rcx, r14
mov byte [rdx + rcx], r8b
movzx eax, word [r9]
test ax, ax
jne 0x14007fa6d
inc r8d
add rdi, 8
cmp r8d, 0x11
jl 0x14007fa68
mov eax, 1
jmp 0x14007faab
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400e6ab0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret