joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140099090
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 [0x1400e5700]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400d2dd0]
mov rbp, rcx
call fcn.1400a1b10
xor edi, edi
test rax, rax
je 0x140099176
mov ebx, edi
call fcn.14008fc04
mov r14d, dword [rax]
call fcn.14008fc04
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400a1a5c
mov rsi, rax
test rax, rax
je 0x140099107
call fcn.14008fc04
mov dword [rax], r14d
jmp 0x140099131
call fcn.14008fc04
cmp dword [rax], 0x22
jne 0x14009916e
call fcn.14008fc04
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400a1a5c
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14009916e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140099135
cmp rax, 3
je 0x140099150
mov rcx, rsi
call fcn.140098fec
test al, al
je 0x140099161
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140099161
mov dil, 1
mov rcx, rbx
call fcn.14008e25c
mov al, dil
jmp 0x140099178
mov rcx, rbx
call fcn.14008e25c
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140083e00
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 0x140099d08
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140099d3f
call fcn.14008fc04
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.14008b330
xor eax, eax
jmp 0x140099dcd
mov rdx, r9
mov rcx, r8
call fcn.140099ca4
mov rbx, rax
test rax, rax
je 0x140099dca
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140099bd0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140099db7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008fb78
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140099d9e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140099dad
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14009e140
jmp 0x140099dca
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140099dc7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14009b9cc
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, [0x1400f6ac0]
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 0x14009ba23
cmp word [rdx], r13w
jne 0x14009ba23
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14009ba28
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14009bb4d
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14009bb6e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14009ba61
mov rdx, r9
mov word [rbx], cx
jmp 0x14009ba88
cmp r9, r8
jae 0x14009ba98
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 0x14009ba42
jmp 0x14009bb4d
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 0x14009bb42
cmp dword [rsp + 0x80], esi
je 0x14009bb42
lea r8, [0x1400f6ac0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14009bb1a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14009baea
mov word [rbx], r13w
jmp 0x14009bb4a
mov ecx, reloc.WS2_32.dll_listen
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 0x14009baf7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14009bb4a
cmp word [rsp + 0x70], r13w
jne 0x14009bb27
cmp rbx, r14
je 0x14009bae4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14009a060
cmp word [rsp + 0x70], r13w
je 0x14009bb4d
mov ecx, reloc.WS2_32.dll_listen
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, [0x1400f6ac0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14009bb47
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14009bb4d
Function at 0x1400a0830
Capabilities:
Get file size

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

Function at 0x1400a15a0
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.14009a060
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14009a060
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400a16f0
cmp rax, 0xffffffffffffffff
je 0x1400a16f0
xor edi, edi
test rbp, rbp
jle 0x1400a169b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14009e0c8
mov rbx, rax
test rax, rax
jne 0x1400a1628
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400a1691
mov edx, 0x8000
mov ecx, r14d
call fcn.14009b604
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.14009cd84
cmp eax, 0xffffffff
je 0x1400a1671
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400a1638
mov edx, r15d
mov ecx, r14d
call fcn.14009b604
jmp 0x1400a1691
cmp byte [rsi + 0x38], dil
je 0x1400a1688
cmp dword [rsi + 0x34], 5
jne 0x1400a1688
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400a1691
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14009e140
jmp 0x1400a1704
jns 0x1400a1704
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14009a060
cmp rax, 0xffffffffffffffff
jne 0x1400a16bc
cmp byte [rsi + 0x30], dil
je 0x1400a1704
mov edi, dword [rsi + 0x2c]
jmp 0x1400a1704
mov ecx, r14d
call fcn.1400a1490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400a1704
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400a1704
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400a16fd
mov eax, dword [rsi + 0x2c]
jmp 0x1400a1702
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14009a060
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 0x1400a4f80
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 0x1400a4fb0
xor eax, eax
jmp 0x1400a5073
mov rbp, rbx
cmp word [rax], si
je 0x1400a4fd5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a4fbc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a4fb8
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.1400a1f3c
movsxd r14, eax
test eax, eax
jne 0x1400a5013
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a4fa9
mov rcx, r14
call fcn.14009ed24
mov rdi, rax
test rax, rax
jne 0x1400a502c
xor ecx, ecx
call fcn.14009e140
jmp 0x1400a5008
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.1400a1f3c
test eax, eax
jne 0x1400a505d
mov rcx, rdi
call fcn.14009e140
jmp 0x1400a5067
xor ecx, ecx
call fcn.14009e140
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 0x1400a5090
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 0x1400a5117
mov rsi, rbx
cmp word [rax], bp
je 0x1400a50d6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400a50c0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400a50bc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14009ed24
mov rdi, rax
test rax, rax
je 0x1400a5104
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400ab630
mov rbp, rdi
xor ecx, ecx
call fcn.14009e140
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 0x1400a63d0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a63f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008fb78
or eax, 0xffffffff
jmp 0x1400a63f2
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400a82a0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400e5700]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400a82ea
call fcn.14008fbe4
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14008fc04
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14008b330
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140083e00
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400a82f5
lea eax, [rbx + 1]
jmp 0x1400a82d7
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 0x1400a82d5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400a82d7

Function at 0x1400ab260
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ab288
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ab288
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400012a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
nop dword [rax + rax]
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400012b0
cmp byte [0x140005668], bl
jne 0x140001315
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xa
call fcn.140001370
mov rdx, qword [0x140005680]
lea r8, [rsp + 0x40]
mov rcx, qword [0x140005678]
add rdx, 0x17294a0
mov r9d, 4
mov dword [rsp + 0x40], 0x10001
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x140005668], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xa
call fcn.140001370
mov rdx, qword [0x140005680]
lea r8, [rsp + 0x40]
mov rcx, qword [0x140005678]
add rdx, 0x17294a0
mov r9d, 4
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x140005668], bl
jmp 0x1400012b0

Function at 0x140001e18
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054f0]
mov dword [rax], 1
mov rax, qword [0x140005500]
mov dword [rax], 1
mov rax, qword [0x140005510]
mov dword [rax], 1
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x1400053b0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001c10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002842
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009188]
test eax, eax
je 0x1400028da
lea rax, [0x140009160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009190]
mov qword [rbp - 8], rax
jmp 0x1400028be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400028b2
cmp qword [rbp - 0x10], 0
je 0x1400028b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002878
lea rax, [0x140009160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400028db
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400029e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002a08
mov eax, 0
jmp 0x140002a56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002a31
mov eax, 0
jmp 0x140002a56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002a51
mov eax, 0
jmp 0x140002a56
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140002a5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140002ada
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002ad1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140002ad1
mov rax, qword [rbp - 8]
jmp 0x140002aef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140002aa4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400281f8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14003cd00], eax
call fcn.140028cc4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14003cd00], 0
jne case.default.0x14002824e
mov ecx, 1
call fcn.140028cc4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
xor al, 2
mov edx, 0xb05c05ce
outsd dx, dword [rsi]
ficomp word [rax + rbx*2 - 0x3d]
invalid
fnstcw word [rdi]
jb 0x140067b15
cmc
invalid
Function at 0x1400010aa
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009bb10
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14009b8db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009b8db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009b8db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009b8db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009b8db
cmp dword [rcx + 0x84], 0xe
jbe 0x14009b8db
cmp dword [rcx + 0xf8], 0
je 0x14009b8db
mov ecx, ebx
call fcn.14009ba6c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14009b5ec
cmp dword [rbp + 0x20], 0
je 0x14009b928
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14009b960
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14009b874

Function at 0x1400011db
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a4b70
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400e07f8]
mov ecx, 5
lea r8, [0x1400e07f0]
lea rdx, str.FlsGetValue
call fcn.1400a4168
mov ecx, ebx
test rax, rax
je 0x1400a4baa
add rsp, 0x20
pop rbx
jmp qword [0x140111010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140001f41
Capabilities:
Terminate process

Disassembly:
jmp 0x140051e64
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000229d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400bfa74
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400ff098]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x1401042a8]
test r9, r9
lea rdi, [0x1400e2ea3]
mov rax, rdx
mov r15, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1400bfadd
mov rax, 0xfffffffffffffffe
jmp 0x1400bfc2f
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x1400bfb4d
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x1400bfb09
test rsi, rsi
je 0x1400bfafb
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x1400bfc2f
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x1400bfb16
mov r8b, 2
jmp 0x1400bfb32
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x1400bfb23
mov r8b, 3
jmp 0x1400bfb32
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x1400bfc1b
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov r9b, r8b
sub edx, ebp
movzx eax, bl
and edx, eax
jmp 0x1400bfb72
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400bfc1b
cmp r9b, bpl
jb 0x1400bfc1b
cmp r9b, r8b
jae 0x1400bfc1b
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x1400bfba1
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400bfc1b
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, rbx
jb 0x1400bfb81
cmp rbx, rbp
jae 0x1400bfbce
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400bfad1
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400bfc1b
cmp edx, 0x110000
jae 0x1400bfc1b
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400bfc1b
test rsi, rsi
je 0x1400bfc0c
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x1400bfc2f
xor eax, eax
mov qword [r10], rax
call fcn.140002658
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400024a0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400022d4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14004ed24
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14004ed57
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14004ed39
mov eax, ecx
ret

Function at 0x140002405
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a4bc8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400e0818]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1400e0810]
call fcn.1400a4168
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400a4c08
call qword [0x140111010]
jmp 0x1400a4c0e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret