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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1402d9040]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402d9020]
test rbx, rbx
je 0x14010494c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140104943
test rsi, rsi
je 0x140104943
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140104928
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140104b60
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140104b78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140104b80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140104b90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140104bdd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140104bd4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140104bdf
add rax, 0x28
cmp rax, r9
jne 0x140104bc0
xor eax, eax
ret

Function at 0x140104be0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140104c70
mov rdx, qword [0x1402440b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140104c5e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140104c5e
cmp word [rax + 0x18], 0x20b
jne 0x140104c5e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140104c70
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140104c49
add rbx, 0x28
cmp rbx, rdi
je 0x140104c70
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140104c40
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140104c80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402440b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140104ca0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140104ca8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140104ca0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140104cfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140104cf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140104ca0
add rax, 0x28
cmp rax, r9
jne 0x140104ce0
xor eax, eax
ret
Function at 0x140104d00
Capabilities:
Parse pe header

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

Function at 0x140104d40
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1402440b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140104d60
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140104d68
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140104d60
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140104db0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140104da7
test rcx, rcx
je 0x140104d60
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140104d98
xor eax, eax
ret

Function at 0x140104dc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402440b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140104ddf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140104de8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140104e00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402440b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140104e20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140104e28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140104e20
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140104e20
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140104e74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140104e80
add rdx, 0x28
cmp r9, rdx
jne 0x140104e60
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140104e90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1402440b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140104eb2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140104ec0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140104eb2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140104eb2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140104eb2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140104f15
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140104f28
add rdx, 0x28
cmp rdx, r10
jne 0x140104f00
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140104f37
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140104f47
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140104f1e
test ecx, ecx
jg 0x140104f30
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140025c64
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140134348]
xor ebp, ebp
movzx eax, word [rbx + 0x28]
test ax, ax
jle 0x140025e24
dec ax
mov word [rbx + 0x28], ax
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x27], bpl
jne 0x140025cae
mov rdx, rax
mov rcx, rbx
call fcn.140025ec8
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + 8]
mov qword [rbx + 0x18], rax
mov rdi, qword [rax]
test rdi, rdi
je 0x140025ce2
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140025cd3
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
mov qword [rax], rbp
mov rcx, qword [rbx + 0x18]
mov rsi, qword [rcx + 0x48]
cmp byte [rcx + 0x24], bpl
jne 0x140025ded
mov rcx, qword [rcx + 0x40]
lea rdx, [0x1400fa4d4]
call qword [sym.imp.msvcrt.dll_fopen]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x18]
mov qword [rcx + 0x10], rax
test rax, rax
jne 0x140025d4b
mov ebx, 0x3e9
mov r9, rsi
xor edx, edx
mov r8d, ebx
xor ecx, ecx
call fcn.1400c9744
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rbx + 0x18]
cmp qword [rdi + 0x18], rbp
cmp dword [rdi + 0x18], ebp
jne 0x140025da0
mov ecx, 0x4000
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
jne 0x140025d8e
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], 0x4000
mov qword [rdi + 0x18], rax
mov rdi, qword [rbx + 0x18]
mov rdx, qword [rdi + 0x18]
mov r9d, 0x4000
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
call qword [sym.imp.msvcrt.dll_setvbuf]
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
xor r8d, r8d
mov byte [rax + 0x24], 1
mov rcx, qword [rbx + 0x18]
mov edx, dword [rcx + 0x20]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.msvcrt.dll_fseek]
nop dword [rax + rax]
test eax, eax
je 0x140025ded
mov ebx, 0x3ea
jmp 0x140025d24
mov rcx, qword [rbx + 0x18]
mov rdx, rsi
movzx eax, word [rcx + 0x50]
mov word [0x140132a78], ax
mov rax, qword [rcx + 0x10]
mov rcx, qword [0x140134340]
mov qword [0x140132a70], rax
call fcn.1400c9ae8
mov word [0x140132a98], ax
xor eax, eax
jmp 0x140025d35
lea r8, str.iCurLexLevel___0
mov edx, 0x158
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
Function at 0x1800025f0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x180002622
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002622
nop word cs:[rax + rax]
jmp 0x180002620
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800026f8
mov rsi, r10
test r8b, r8b
je 0x180002710
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002690
test r9b, r9b
je 0x180002720
sub rsi, rcx
je 0x1800026f4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800026f0
test ebp, ebp
jne 0x1800026f0
add rbx, 1
cmp rsi, rbx
jne 0x1800026b0
jmp 0x1800026f4
test ebp, ebp
jne 0x18000267c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002710
jmp 0x180002720
Function at 0x7ebfc0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x7ebfcd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x7ebfdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x7ebfc5
lea eax, [rcx + 1]
jmp 0x7ebfeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x7ebffe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x7ebfe4
sub eax, 3
jb 0x7ec01e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x7ec06d
sar eax, 1
movsxd rbp, eax
jb 0x7ec054
jmp 0x7ec02c
add ebx, ebx
jne 0x7ec02a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x7ec054
inc ecx
add ebx, ebx
jne 0x7ec03a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x7ec054
call r11
adc ecx, ecx
add ebx, ebx
jne 0x7ec04d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x7ec03c
add ecx, 2
jmp 0x7ec059
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.007ebf82
jmp 0x7ebfcd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1e6a00
mov dl, 0x5d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x7ec0bd
cmp rsi, rcx
jae 0x7ec0c5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x7ec0a4
cmp al, 0x8f
ja 0x7ec0a4
cmp byte [rsi - 2], 0xf
je 0x7ec0aa
sub al, 0xe8
cmp al, 1
ja 0x7ec08e
cmp rsi, rcx
jae 0x7ec0c5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x7ec094
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x7ec0c5
lodsb al, byte [rsi]
jmp 0x7ec0a4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3e3000]
mov eax, dword [rdi]
or eax, eax
je 0x7ec122
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3ec000]
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 0x7ec0d2
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 0x7ec11c
mov qword [rbx], rax
add rbx, 8
jmp 0x7ec0f2
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 0x7ec166
cmp al, 0xef
ja 0x7ec14e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x7ec12e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x7ec13d
mov eax, dword [rdi]
add rdi, 4
jmp 0x7ec13d
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 + 0x1af]
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
mov byte [fcn.007ec1e5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.007ec1e5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x7ec1d5
sub rsp, 0xffffffffffffff80
jmp 0x4014d0
Function at 0x180003060
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180021a94], 0xa
jl 0x180003092
mov eax, dword [0x180021a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180003092
nop word cs:[rax + rax]
jmp 0x180003090
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180021a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180021a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180003168
mov rsi, r10
test r8b, r8b
je 0x180003180
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180003100
test r9b, r9b
je 0x180003190
sub rsi, rcx
je 0x180003164
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180003160
test ebp, ebp
jne 0x180003160
add rbx, 1
cmp rsi, rbx
jne 0x180003120
jmp 0x180003164
test ebp, ebp
jne 0x1800030ec
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180003180
jmp 0x180003190
Function at 0xd23120
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xd2312d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xd2313d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xd23125
lea eax, [rcx + 1]
jmp 0xd2314b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xd2315e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xd23144
sub eax, 3
jb 0xd2317e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xd231cd
sar eax, 1
movsxd rbp, eax
jb 0xd231b4
jmp 0xd2318c
add ebx, ebx
jne 0xd2318a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xd231b4
inc ecx
add ebx, ebx
jne 0xd2319a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xd231b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xd231ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xd2319c
add ecx, 2
jmp 0xd231b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00d230e2
jmp 0xd2312d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3b2600
mov dl, 0x52
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xd23219
cmp rsi, rcx
jae 0xd23221
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xd23200
cmp al, 0x8f
ja 0xd23200
cmp byte [rsi - 2], 0xf
je 0xd23206
sub al, 0xe8
cmp al, 1
ja 0xd231ea
cmp rsi, rcx
jae 0xd23221
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xd231f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xd23221
lodsb al, byte [rsi]
jmp 0xd23200
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x917000]
mov eax, dword [rdi]
or eax, eax
je 0xd2327e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x928c74]
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 0xd2322e
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 0xd23278
mov qword [rbx], rax
add rbx, 8
jmp 0xd2324e
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 0xd232c2
cmp al, 0xef
ja 0xd232aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xd2328a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xd23299
mov eax, dword [rdi]
add rdi, 4
jmp 0xd23299
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 + 0x1af]
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 0xd23316
sub rsp, 0xffffffffffffff80
jmp 0x472140
Function at 0x180002730
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002762
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002762
nop word cs:[rax + rax]
jmp 0x180002760
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002838
mov rsi, r10
test r8b, r8b
je 0x180002850
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800027d0
test r9b, r9b
je 0x180002860
sub rsi, rcx
je 0x180002834
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002830
test ebp, ebp
jne 0x180002830
add rbx, 1
cmp rsi, rbx
jne 0x1800027f0
jmp 0x180002834
test ebp, ebp
jne 0x1800027bc
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002850
jmp 0x180002860
Function at 0x140010b20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.14009a6c0
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
mov r9d, 0x270
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x140010b80
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140010bb0
mov eax, dword [rsp + 0x20]
subss xmm6, xmm7
xorps xmm0, xmm0
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
mulss xmm0, dword [0x1400abc50]
addss xmm0, xmm7
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.140099510
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x140013d60
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1401a8478], 0
je 0x140013f6c
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140013f6c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140013f6c
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140013db2
mov byte [0x1401a82da], 1
jmp 0x140013e0d
cmp byte [0x1401a82da], 0
je 0x140013e0d
xor edx, edx
mov ecx, 0x44
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
mov edx, eax
mov cl, 0x44
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, 0x44
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x44
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401a82da], 0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140013e26
mov byte [0x1401a8310], 1
jmp 0x140013e81
cmp byte [0x1401a8310], 0
je 0x140013e81
xor edx, edx
mov ecx, 0x41
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
mov edx, eax
mov cl, 0x41
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, 0x41
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x41
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401a8310], 0
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140013e9a
mov byte [0x1401a82db], 1
jmp 0x140013ef5
cmp byte [0x1401a82db], 0
je 0x140013ef5
xor edx, edx
mov ecx, 0x53
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
mov edx, eax
mov cl, 0x53
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, 0x53
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x53
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401a82db], 0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140013f11
mov byte [0x1401a82d9], 1
add rsp, 0x28
ret
cmp byte [0x1401a82d9], 0
je 0x140013f6c
xor edx, edx
mov ecx, 0x57
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
mov edx, eax
mov cl, 0x57
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, 0x57
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x57
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401a82d9], 0
add rsp, 0x28
ret