joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044d90
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400b2c50], eax
jle 0x140044de3
lea rcx, [0x1400b2c50]
call fcn.1400620b8
cmp dword [0x1400b2c50], 0xffffffff
jne 0x140044de3
call fcn.140041c10
mov qword [0x1400b2c20], rax
lea rcx, [0x1400b2c50]
call fcn.14006204c
movabs rax, 0x88154cc0f2ca6a0f
mov qword [rsp + 0x30], rax
movabs rax, 0x618e98990b47842c
mov qword [rsp + 0x38], rax
movabs rax, 0xed712daf9e950879
mov qword [rsp + 0x20], rax
movabs rax, 0x618e98990b47845e
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x30]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, rax
mov rax, qword [0x1400b2c20]
mov qword [rax + 0x68], rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140044ec8
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x140044ec8
mov edi, dword [r9 + 0x20]
dec r10d
lea rcx, [rdi + r10*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, 0x811c9dc5
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140044ec3
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140044ea4
cmp r11d, 0x5056df37
je 0x140044ecd
test r10d, r10d
jne 0x140044e87
mov rax, qword [rax]
jmp 0x140044e62
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
cmp eax, 0xb7
jne 0x140044fa5
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140044f6a
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x140044f6a
mov edi, dword [r9 + 0x20]
dec r10d
lea rcx, [rdi + r10*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, 0x811c9dc5
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140044f65
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140044f46
cmp r11d, 0xfaba0065
je 0x140044f6f
test r10d, r10d
jne 0x140044f29
mov rax, qword [rax]
jmp 0x140044f04
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov rcx, qword [0x1400b2c20]
mov rcx, qword [rcx + 0x68]
call rax
mov rax, qword [0x1400b2c20]
and qword [rax + 0x68], 0
xor al, al
jmp 0x140044fa7
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14004a5a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140061e60
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004affc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14004a616
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140061e40
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14004ac48
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140061e60
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004affc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14004acbb
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140061e40
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14004adec
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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 r13
push r14
push r15
mov r15, rdx
lea rdi, [rdx - 1]
mov rsi, rcx
mov r12d, 0x7fffffff
mov r13d, 0x9908b0df
xor r10d, r10d
xor r11d, r11d
test rdi, rdi
je 0x14004afb6
mov cl, byte [rsi + 8]
add cl, 0xff
shl r10, cl
add r10, r10
mov r9, qword [rsi]
mov ecx, dword [r9]
cmp ecx, 0x270
jne 0x14004ae89
lea r8, [r9 + 8]
mov ebx, ecx
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r12d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x14004ae4c
mov ecx, dword [r9]
jmp 0x14004af4d
cmp ecx, 0x4e0
jb 0x14004af4d
lea rbx, [r9 + 0x9c4]
mov r14d, 0xe3
mov ebp, dword [rbx]
mov eax, ebp
mov ebp, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, ebp
and edx, r12d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub r14, 1
jne 0x14004aea4
lea rbx, [r9 + 0xd50]
mov r14d, 0x18c
mov ebp, dword [rbx]
mov eax, ebp
mov ebp, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, ebp
and edx, r12d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub r14, 1
jne 0x14004aee6
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r12d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], r14d
xor ecx, ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, qword [rsi + 0x10]
ja 0x14004ae38
mov cl, byte [rsi + 8]
or r10, rax
add cl, 0xff
shl r11, cl
add r11, r11
or r11, qword [rsi + 0x10]
cmp r11, rdi
jb 0x14004ae2c
xor edx, edx
mov rax, r11
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, r10
div r15
cmp rax, rcx
jb 0x14004afda
cmp r8, rdi
jne 0x14004ae1d
mov rbx, qword [rsp + 0x28]
mov rax, rdx
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14004c294
Capabilities:
Access peb ldr_data
Encode data using xor
Get graphical window text
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ebp, edx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
and dword [rsp + 0x20], 0
mov rbx, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14004c350
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x14004c350
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x14004c34c
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x14004c32c
cmp r11d, 0xf50944d9
je 0x14004c355
test edx, edx
jne 0x14004c30f
mov rax, qword [rax]
jmp 0x14004c2eb
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
lea rdx, [rsp + 0x20]
add rax, r8
mov rcx, rbx
call rax
cmp dword [rsp + 0x20], ebp
jne 0x14004c438
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14004c40b
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x14004c40b
mov edi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rcx, [rdi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x14004c407
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x14004c3e7
cmp r11d, 0xad81ada9
je 0x14004c410
test edx, edx
jne 0x14004c3ca
mov rax, qword [rax]
jmp 0x14004c3a6
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
call rax
test eax, eax
je 0x14004c438
cmp byte [rsp + 0x30], 0
jne 0x14004c46c
test rbx, rbx
jne 0x14004c2c1
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140061e40
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x14004c443
Function at 0x14004c474
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rbx, rcx
call fcn.14004bef0
mov dword [rbx], eax
test eax, eax
je 0x14004c571
mov ecx, eax
call fcn.14004b024
mov qword [rbx + 8], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14004c593
movabs rcx, 0x307d9e82c136ab88
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x48], rcx
movabs rax, 0x76358415c027a985
mov qword [rbp - 0x70], rax
movabs rax, 0x3a9db1c8668b266
mov qword [rbp - 0x68], rax
movabs rax, 0xbddb506b926c47ff
mov qword [rbp - 0x60], rax
movabs rax, 0x3e15e179a449c8cd
mov qword [rsp + 0x30], rax
movabs rax, 0x62cffb77e509d80f
mov qword [rsp + 0x38], rax
movabs rax, 0xbddb5045f6092b96
movups xmm0, xmmword [rsp + 0x30]
mov qword [rbp - 0x58], rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xorps xmm0, xmmword [rbp - 0x70]
mov qword [rsp + 0x40], rax
movups xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm1
call fcn.1400412d4
lea rdx, [0x140041444]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140061e40
mov rbx, qword [rsp + 0x8e0]
add rsp, 0x8c0
pop rbp
ret
lea r9, [rsp + 0x70]
mov dword [rsp + 0x20], 2
mov r8d, 0x7f8
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp - 0x50]
lea r8, [rsp + 0x78]
mov rcx, qword [rbx + 8]
mov r9d, 0x18
mov qword [rbx + 0x18], rdx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp - 0x80]
mov edx, dword [rbx]
mov qword [rbx + 0x20], rax
call fcn.14004c294
mov qword [rbx + 0x10], rax
mov al, 1
jmp 0x14004c573
Function at 0x14004ca44
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x14004cac8
mov edx, dword [r10 + 0x18]
test edx, edx
je 0x14004cac8
mov edi, dword [r10 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rcx, [rdi + rdx*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov cl, byte [r8]
inc r8
test cl, cl
je 0x14004cac4
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x14004caa4
cmp r11d, 0xfaba0065
je 0x14004cacd
test edx, edx
jne 0x14004ca87
mov rax, qword [rax]
jmp 0x14004ca63
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rcx, qword [rsi + 8]
add rax, r9
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
pop rdi
jmp rax
Function at 0x140060b58
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140060bdc
mov edx, dword [r10 + 0x18]
test edx, edx
je 0x140060bdc
mov edi, dword [r10 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rcx, [rdi + rdx*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov cl, byte [r8]
inc r8
test cl, cl
je 0x140060bd8
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x140060bb8
cmp r11d, 0xfaba0065
je 0x140060be1
test edx, edx
jne 0x140060b9b
mov rax, qword [rax]
jmp 0x140060b77
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r9
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
pop rdi
jmp rax
Function at 0x140062b78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140062bc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140062bc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140062bc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140062bc2
cmp dword [rcx + 0x84], 0xe
jbe 0x140062bc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140062bc4
xor al, al
add rsp, 0x28
ret
Function at 0x140001a60
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14003a030]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
lea rcx, str.ntdll.dll
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x18
lea r8, [rsp + 0x48]
mov rdx, rax
mov qword [rsp + 0x40], rax
mov rcx, 0xffffffffffffffff
mov r15, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rbp, qword [rsp + 0x48]
lea rcx, str.c:windows_system32_ntdll.dll
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x80000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x1000002
mov r12, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea edx, [rbx + 4]
xor r8d, r8d
mov r13, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rsi, dword [rbp + 0x3c]
movzx edi, bx
add rsi, rbp
mov r14, rax
cmp bx, word [rsi + 6]
jae 0x140001bf8
lea r8, str..text
xor r15d, r15d
nop word [rax + rax]
movzx ecx, word [rsi + 0x14]
movzx eax, di
add rcx, rsi
lea rdx, [rax + rax*4]
mov rax, r15
lea rbx, [rcx + rdx*8]
nop word [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x140001be6
cmp rax, 6
jne 0x140001b80
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x60]
mov edx, dword [rbx + 0x20]
lea r8d, [rax + 0x3a]
add rcx, rbp
mov dword [rsp + 0x60], r15d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r14]
lea rcx, [rax + rbp]
call fcn.14000d9e0
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x60]
mov edx, dword [rbx + 0x20]
add rcx, rbp
mov r8d, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, str..text
inc di
cmp di, word [rsi + 6]
jb 0x140001b60
mov r15, qword [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000bb60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140002190
Capabilities:
Enumerate processes
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x14003a030]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000221d
xor edx, edx
mov dword [rsp + 0x60], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.14000e210
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002370
nop word [rax + rax]
lea rdx, [rsp + 0x60]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002200
cmp ebx, 0x50
jle 0x140002370
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 4
jne 0x140002359
lea rcx, str.Chinese
call fcn.140001080
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rcx, str..PhysicalDrive0
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x70000
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x5c]
imul rax, rcx
mov ecx, dword [rsp + 0x54]
imul rax, rcx
imul rax, qword [rsp + 0x48]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp eax, 0x64
jb 0x14000237b
lea rcx, str.Error
call fcn.140001080
call fcn.140001c40
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x36ee80
jb 0x140002386
mov r9d, 0x10
lea r8, str.ERROR
lea rdx, [0x1400342b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
call fcn.140001a60
lea rdx, [0x140001f20]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14000bb60
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rdi
ret
lea rcx, str.Error
call fcn.140001080
mov ecx, 1
call fcn.1400122e0
int3
mov ecx, 1
call fcn.1400122e0
int3
mov ecx, 1
call fcn.1400122e0
int3
mov ecx, 1
call fcn.1400122e0
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140002b84
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140002b70
ret
Function at 0x1400082d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000839c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000839c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400083b5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000838c
cmp byte [rax], 0x5c
jne 0x140008386
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140008386
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140008372
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140008383
test r8b, 0x10
jne 0x140008386
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140008386
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140003a40
test edi, edi
jne 0x1400082f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140003a30
int3

Function at 0x14000c8d4
Capabilities:
Parse pe header

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

Function at 0x1400122e0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001214b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001214b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001214b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001214b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001214b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001214b
cmp dword [rcx + 0xf8], 0
je 0x14001214b
mov ecx, ebx
call fcn.1400121fc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140011fd8
nop
cmp dword [rbp + 0x20], 0
je 0x140012199
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400121a4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400120dc
Function at 0x14001f158
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 0x14001f1df
mov rsi, rbx
cmp word [rax], bp
je 0x14001f19e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001f188
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001f184
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001a61c
mov rdi, rax
test rax, rax
je 0x14001f1cc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d9e0
mov rbp, rdi
xor ecx, ecx
call fcn.1400194a8
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