joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140003ac6
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.140003aa0
movzx edx, word [rdi + rbx*2]
mov ecx, eax
mov rbx, qword [rsp + 0x30]
xor rdx, rcx
movzx ecx, dl
lea rdx, [0x140031760]
shr eax, 8
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x140003b20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140003b46
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
dec rcx
mov qword [rsp + 0x38], rdi
call fcn.140003b20
movsx ebx, byte [rbx + rsi]
mov edi, eax
call fcn.140003b00
mov byte [rsp + 0x30], al
movzx ecx, bl
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov rbx, qword [rsp + 0x48]
mov dword [rsp + 0x40], 0x30aa6acb
mov edx, dword [rsp + 0x40]
movzx eax, byte [rsp + 0x30]
xor edx, 0x8c2
sub cl, al
xor dl, 0x13
cmp cl, dl
lea rax, [0x140031760]
sbb ecx, ecx
and ecx, 0x20
or r8d, ecx
movsx ecx, byte [rsp + 0x30]
xor r8d, edi
add ecx, 0xbe
shr edi, 8
and rcx, r8
xor edi, dword [rax + rcx*4]
mov eax, edi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret

Function at 0x140003bd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140003bf6
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
dec rcx
mov qword [rsp + 0x38], rdi
call fcn.140003bd0
movzx ebx, word [rsi + rbx*2]
mov edi, eax
call fcn.140003b00
mov byte [rsp + 0x30], al
movzx edx, bx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x40], 0x738af07d
mov r8d, dword [rsp + 0x40]
movsx eax, byte [rsp + 0x30]
xor r8d, 0x8c2
sub dx, ax
xor r8b, 0xa5
movzx eax, r8b
movsx r8d, byte [rsp + 0x30]
cmp dx, ax
sbb ax, ax
add r8d, 0xbe
and ax, 0x20
or bx, ax
lea rax, [0x140031760]
movzx edx, bx
mov rbx, qword [rsp + 0x48]
xor rdx, rdi
shr edi, 8
and r8, rdx
xor edi, dword [rax + r8*4]
mov eax, edi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x140006080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, r9
mov r10, rdx
mov qword [rsp + 0x20], rdx
mov r13, rcx
movsxd r8, dword [rdx + 0x3c]
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [r8 + rdx + 0x88]
mov r8d, dword [rax + rcx + 0x88]
test r9d, r9d
jne 0x1400060c8
test r8d, r8d
je 0x1400062a9
mov rbp, r9
lea r11, [r8 + rcx]
mov qword [rsp + 0x28], r11
add rbp, rdx
jne 0x1400060e2
test r11, r11
je 0x1400062a9
mov ebx, dword [rbp + 0x20]
add rbx, rdx
mov qword [rsp + 0x30], rbx
mov edi, dword [r11 + 0x20]
add rdi, r13
mov qword [rsp + 0x38], rdi
xor r15d, r15d
cmp dword [rbp + 0x18], r15d
jbe 0x1400062a9
nop word [rax + rax]
lea r8, [r15 + r15]
mov eax, dword [rbp + 0x24]
add rax, r8
movzx edx, word [rax + r10]
mov ecx, dword [rbp + 0x1c]
add rcx, r10
mov r12d, dword [rcx + rdx*4]
mov eax, dword [r11 + 0x24]
add rax, r8
movzx edx, word [rax + r13]
mov ecx, dword [r11 + 0x1c]
add rcx, r13
mov r14d, dword [rcx + rdx*4]
add r14, r13
add r12, r10
je 0x14000629c
test r14, r14
je 0x14000629c
mov edx, dword [rbx + r15*4]
add rdx, r10
mov edi, dword [rdi + r15*4]
add rdi, r13
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006170
dec rcx
call fcn.140003b20
mov ebx, eax
not ebx
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140006190
dec rcx
mov rdx, rdi
call fcn.140003b20
not eax
cmp ebx, eax
jne 0x140006288
cmp ebx, 0xf33c2ac
je 0x140006288
cmp ebx, 0x2078f304
je 0x140006288
cmp ebx, 0x46926cf5
je 0x140006288
cmp ebx, 0x5100831b
je 0x140006288
cmp ebx, 0x515def78
je 0x140006288
cmp ebx, 0x6db71dcd
je 0x140006288
cmp ebx, 0xc8827a2a
je 0x140006288
cmp ebx, 0xa9554556
je 0x140006288
mov r8d, 4
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 4
je 0x140006288
test rsi, rsi
je 0x14000627d
mov rbx, qword [rsi]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 8], rax
je 0x1400062c1
mov qword [rsp + 0x40], rsi
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], rdi
mov ecx, 0x18
call fcn.14000d4c0
mov qword [rsp + 0x48], rax
mov qword [rax + 0x10], r12
inc qword [rsi + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 8], rax
mov qword [rcx], rax
mov r8, r14
mov rdx, r12
call fcn.140005e80
mov r10, qword [rsp + 0x20]
mov r11, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
inc r15d
cmp r15d, dword [rbp + 0x18]
jb 0x140006110
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_too_long
call fcn.14000e4a8
int3
Function at 0x1400062d0
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x80
mov rax, qword [0x140036040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [r11 - 0x48], 8
mov qword [r11 - 0x58], rax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x48], eax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov r15, qword [rcx + 0x60]
test r15, r15
je 0x140006507
mov qword [r11 - 0x20], r13
mov eax, 0x5a4d
mov r13, qword [r15 + 0x10]
cmp word [r13], ax
jne 0x140006502
movsxd rax, dword [r13 + 0x3c]
cmp dword [rax + r13], 0x4550
jne 0x140006502
mov qword [r11 - 0x28], r14
mov r14d, dword [rax + r13 + 0x90]
add r14, r13
cmp dword [r14], 0
je 0x1400064fd
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
mov ecx, dword [r14 + 0xc]
add rcx, r13
call fcn.14000bda0
mov r12, rax
test rax, rax
je 0x1400064db
mov esi, dword [r14]
add rsi, qword [r15 + 0x10]
mov ebx, dword [r14 + 0x10]
add rbx, qword [r15 + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
js 0x1400064cd
je 0x1400064cd
mov rdx, qword [r15 + 0x10]
mov rcx, 0xffffffffffffffff
add rdx, qword [rsi]
mov qword [rsp + 0x30], rbx
add rdx, 2
mov rbp, qword [rbx]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400063c5
dec rcx
call fcn.140003b20
not eax
mov rcx, r12
mov edx, eax
call fcn.14000beb0
mov rdi, rax
test rbp, rbp
je 0x1400064b0
test rax, rax
je 0x1400064b0
cmp rbp, rax
je 0x1400064b0
mov rax, qword [0x1400d2f10]
mov qword [rsp + 0x40], 8
test rax, rax
jne 0x140006426
mov ecx, 0x7a9c969c
call fcn.14000c900
mov qword [0x1400d2f10], rax
mov rcx, rax
call fcn.14000ce15
lea rax, [rsp + 0x38]
mov r9d, 4
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call fcn.14000d058
test eax, eax
js 0x1400064b0
mov rax, qword [0x1400d2f10]
mov qword [rbx], rdi
mov edi, dword [rsp + 0x38]
mov qword [rsp + 0x40], 8
test rax, rax
jne 0x140006485
mov ecx, 0x7a9c969c
call fcn.14000c900
mov qword [0x1400d2f10], rax
mov rcx, rax
call fcn.14000ce15
lea rax, [rsp + 0x48]
mov r9d, edi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call fcn.14000d058
add rsi, 8
mov qword [rsp + 0x30], 0
add rbx, 8
mov rcx, qword [rsi]
test rcx, rcx
jns 0x1400063a5
add r14, 0x14
cmp dword [r14], 0
jne 0x140006372
mov rbx, qword [rsp + 0x90]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000d380
add rsp, 0x80
pop r15
ret
Function at 0x14000ab40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x60]
mov rcx, qword [rax + 0x20]
mov rbx, qword [rcx + 0x80]
test rbx, rbx
je 0x14000abf6
cmp word [rbx], 0
je 0x14000abe6
lea rdi, [0x140031760]
nop dword [rax]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14000ab90
dec r8
cmp r8, 0xffffffffffffffff
je 0x14000abcc
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.140003aa0
movzx edx, word [rbx + r8*2]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [rdi + rcx*4]
not eax
cmp eax, 0x3556c940
je 0x14000abf6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbx + rcx*2]
add rbx, 2
cmp word [rbx], 0
jne 0x14000ab80
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14000b8f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140036040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rcx + r8*2], 0
jne 0x14000b910
dec r8
cmp r8, 0xffffffffffffffff
jne 0x14000b92b
mov eax, 0xffffffff
jmp 0x14000b951
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.140003aa0
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x140031760]
xor eax, dword [rdx + rcx*4]
not eax
xor edx, edx
mov ecx, eax
call fcn.14000bb70
test rax, rax
jne 0x14000b9fc
mov rax, qword [0x1400d2e10]
test rax, rax
jne 0x14000b996
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000bb70
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.14000beb0
mov qword [0x1400d2e10], rax
test rax, rax
je 0x14000b9ca
mov rdx, rbx
lea rcx, [rsp + 0x28]
call rax
mov r10, qword [0x1400d2e18]
test r10, r10
jne 0x14000b9df
mov edx, 0xa09b055e
mov ecx, 0x84c05e40
call fcn.14000c1d0
mov qword [0x1400d2e18], rax
mov r10, rax
test rax, rax
jne 0x14000b9df
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000d380
add rsp, 0x40
pop rbx
ret
xor eax, eax
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call r10
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000d380
add rsp, 0x40
pop rbx
ret
Function at 0x14000c1d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
xor edx, edx
call fcn.14000bb70
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14000beb0

Function at 0x14000c600
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rbp, rcx
test rcx, rcx
je 0x14000c68f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c68f
movsxd rsi, dword [rcx + 0x3c]
add rsi, rcx
cmp dword [rsi], 0x4550
jne 0x14000c68f
xor edi, edi
cmp di, word [rsi + 6]
jae 0x14000c68f
nop word [rax + rax]
movzx ecx, word [rsi + 0x14]
lea rdx, [rdi + rdi*4]
add rcx, rsi
lea rbx, [rcx + rdx*8]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx + 0x18], 0
jne 0x14000c666
dec rcx
lea rdx, [rbx + 0x18]
call fcn.140003b20
not eax
cmp eax, 0xa21c1ea3
je 0x14000c6ac
movzx eax, word [rsi + 6]
inc edi
cmp edi, eax
jb 0x14000c650
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [r14], rbp
mov eax, dword [rbx + 0x24]
add rax, rbp
mov qword [r14 + 8], rax
mov eax, dword [rbx + 0x28]
mov dword [r14 + 0x10], eax
mov eax, dword [rbx + 0x24]
sub eax, dword [rbx + 0x2c]
mov dword [r14 + 0x14], eax
mov eax, 1
jmp 0x14000c691

Function at 0x14000ce19
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
cmp qword [0x1400d2c80], 0
je 0x14000cef4
mov r10, rdi
mov r11, rsi
add rsp, 8
pop rsi
mov rdi, qword [rsp + 0x20]
mov qword [rdi + 0x18], r10
mov qword [rdi + 0x58], r11
mov qword [rdi + 0x60], r12
mov qword [rdi + 0x68], r13
mov qword [rdi + 0x70], r14
mov qword [rdi + 0x78], r15
mov r12, rsi
mov rsi, qword [rsp + 0x28]
xor r11, r11
mov r13, qword [rsp + 0x30]
mov r14, 0x200
add r14, 8
add r14, qword [rdi + 0x38]
add r14, qword [rdi + 0x30]
add r14, qword [rdi + 0x20]
sub r14, 0x20
mov r10, rsp
add r10, 0x30
xor r15, r15
cmp r11, r13
je 0x14000cea5
sub r14, 8
mov r15, rsp
sub r15, r14
add r10, 8
push qword [r10]
pop qword [r15]
add r11, 1
jmp 0x14000ce83
sub rsp, 0x200
push 0
mov r11, qword [rdi + 0x40]
cmp r11, 0
je 0x14000cec0
sub rsp, qword [rdi + 0x38]
mov qword [rsp], r11
sub rsp, qword [rdi + 0x20]
mov r11, qword [rdi + 0x28]
mov qword [rsp], r11
sub rsp, qword [rdi + 0x30]
mov r11, qword [rdi + 0x50]
mov qword [rsp], r11
mov r11, rsi
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], rbx
lea rbx, [0x14000cf7a]
mov qword [rdi], rbx
mov rbx, rdi
sub rsp, 8
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x14000cf44
cmp word [r10 + 0x118], 6
je 0x14000cf15
jmp 0x14000cf79
cmp word [r10 + 0x11c], 3
je 0x14000cf46
cmp word [r10 + 0x11c], 2
je 0x14000cf48
cmp word [r10 + 0x11c], 1
jne 0x14000cf79
cmp word [r10 + 0x120], 0x1db1
je 0x14000cf4a
jmp 0x14000cf79
inc eax
inc eax
inc eax
cmp r11, 0
jne 0x14000cf66
cmp qword [0x1400d2c68], 0
jne 0x14000cf6e
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x14000cf5b
syscall
nop
ret
pop r10
mov r10, rcx
jmp r11
pop r10
mov r10, rcx
jmp qword [0x1400d2c68]
ret
Function at 0x14000e144
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e18e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e18e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e18e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e18e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e18e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000e190
xor al, al
add rsp, 0x28
ret
Function at 0x140017318
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 0x140017387
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017387
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140017387
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140017387
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140017387
cmp dword [rcx + 0x84], 0xe
jbe 0x140017387
cmp dword [rcx + 0xf8], 0
je 0x140017387
mov ecx, ebx
call fcn.140017444
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.140017214
nop
cmp dword [rbp + 0x20], 0
je 0x1400173d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400173e0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140017318

Function at 0x140017528
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140017318
Function at 0x14001cf8c
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 0x14001cfbc
xor eax, eax
jmp 0x14001d07f
mov rbp, rbx
cmp word [rax], si
je 0x14001cfe1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001cfc8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001cfc4
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.14001cedc
movsxd r14, eax
test eax, eax
jne 0x14001d01f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001cfb5
mov rcx, r14
call fcn.14001ad80
mov rdi, rax
test rax, rax
jne 0x14001d038
xor ecx, ecx
call fcn.14001ad44
jmp 0x14001d014
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.14001cedc
test eax, eax
jne 0x14001d069
mov rcx, rdi
call fcn.14001ad44
jmp 0x14001d073
xor ecx, ecx
call fcn.14001ad44
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 0x140021670
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140021698
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140021698
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140028294
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x8c
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400282a8
sub rsp, 0x28
call fcn.14004be80
mov rdx, qword [rsp + 0x4a8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14004bef0
add rsp, 0x10
mov dword [0x140104001], 0x4000096
mov dword [0x140104001], 0x400009a
push qword [rsp + 0x4a0]
push 0x18
pop rcx
pop rdx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x468], rax
mov dword [0x140104001], 0x400009b
cmp qword [rsp + 0x468], 0
je 0x14002849a
mov dword [0x140104001], 0x400009c
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x438
mov dword [0x140104001], 0x400009d
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32FirstW
mov qword [rsp + 0x470], rax
mov dword [0x140104001], 0x400009e
cmp qword [rsp + 0x470], 0
je 0x140028483
mov dword [0x140104001], 0x400009f
push rcx
sub rsp, 0x28
call fcn.14004ba60
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 1
push 1
push qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.14004ba60
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.14004ba60
add rsp, 0x28
pop rcx
push rax
lea rbp, [rsp + 0x68]
lea rax, [rbp + 0x30]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14004a570
add rsp, 0x20
push rax
call fcn.14004bc90
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140049320
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002dc60
add rsp, 0x28
pop rax
and rax, rax
je 0x140028441
mov dword [0x140104001], 0x40000a0
lea rbp, [rsp + 0x30]
push qword [rbp + 0x18]
pop rax
mov qword [rsp + 0x478], rax
mov dword [0x140104001], 0x40000a1
jmp 0x140028483
mov dword [0x140104001], 0x40000a2
mov dword [0x140104001], 0x40000a3
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32NextW
mov qword [rsp + 0x470], rax
mov dword [0x140104001], 0x40000a4
jmp 0x140028363
mov dword [0x140104001], 0x40000a5
push qword [rsp + 0x468]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x140104001], 0x40000a6
mov dword [0x140104001], 0x40000a8
mov rax, qword [rsp + 0x478]
jmp 0x1400284c5
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14004bf60
add rsp, 0x28
pop rax
add rsp, 0x488
pop r15
pop rbp
ret
Function at 0x1400297ca
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0xa
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400297d9
sub rsp, 0x28
call fcn.14004be80
mov dword [0x140104001], 0x400007f
mov dword [0x140104001], 0x4000081
mov qword [rsp + 0x70], 0
mov dword [0x140104001], 0x4000083
lea rax, [rsp + 0x40]
mov rax, rax
push rax
pop rcx
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [0x140104001], 0x4000084
lea rbp, [rsp + 0x40]
movsx r15, word [rbp]
cmp r15, 9
jne 0x140029941
mov dword [0x140104001], 0x4000085
movabs rax, str.IsWow64Process
push rax
movabs rax, str.kernel32.dll
push rax
pop rcx
pop rdx
call fcn.140029669
mov qword [rsp + 0x28], rax
mov dword [0x140104001], 0x4000086
cmp qword [rsp + 0x28], 0
je 0x140029937
mov dword [0x140104001], 0x4000087
push qword [rsp + 0x90]
push 0
push 0x400
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_OpenProcess
mov qword [rsp + 0x38], rax
mov dword [0x140104001], 0x4000088
cmp qword [rsp + 0x38], 0
je 0x14002992d
mov dword [0x140104001], 0x4000089
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.1400326dc
mov dword [0x140104001], 0x400008a
push qword [rsp + 0x38]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x140104001], 0x400008b
mov r15, qword [rsp + 0x30]
and r15, r15
jne 0x140029923
mov dword [0x140104001], 0x400008c
mov qword [rsp + 0x70], 1
mov dword [0x140104001], 0x400008d
mov dword [0x140104001], 0x400008e
mov dword [0x140104001], 0x400008f
mov dword [0x140104001], 0x4000090
mov dword [0x140104001], 0x4000092
mov rax, qword [rsp + 0x70]
jmp 0x140029969
add rsp, 0x78
pop r15
pop rbp
ret
Function at 0x140029c1f
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140029c29
sub rsp, 0x28
call fcn.14004be80
mov dword [0x140104001], 0x1bd
mov dword [0x140104001], 0x1be
mov byte [rsp + 0x28], 0
mov dword [0x140104001], 0x1c0
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.dll_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_OpenProcessToken
and rax, rax
je 0x140029dbe
mov dword [0x140104001], 0x1c1
lea rax, [rsp + 0x38]
mov dword [0x140104001], 0x1c3
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.SeDebugPrivilege
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_LookupPrivilegeValueW
and rax, rax
je 0x140029da0
mov dword [0x140104001], 0x1c4
lea rax, [rsp + 0x40]
mov dword [0x140104001], 0x1c7
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
mov dword [0x140104001], 0x1c8
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
mov dword [0x140104001], 0x1c9
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
mov dword [0x140104001], 0x1ca
push rbp
pop rbp
mov dword [rbp + 0xc], 2
mov dword [0x140104001], 0x1cc
lea rax, [rsp + 0x60]
mov rax, rax
push rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0x10
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
mov dword [0x140104001], 0x1cd
mov dword [0x140104001], 0x1ce
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x140104001], 0x1cf
mov dword [0x140104001], 0x1d0
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x140029deb
add rsp, 0x68
pop r15
pop rbp
ret

Function at 0x14002ad74
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.14004be80
mov dword [0x140104001], 0x100002b
mov dword [0x140104001], 0x100002c
push qword [rsp + 0x40]
pop rcx
call sub.USER32.DLL_GetAsyncKeyState
mov r15, rax
and r15, 0x8000
and r15, r15
je 0x14002adc8
mov dword [0x140104001], 0x100002d
mov rax, 1
jmp 0x14002addf
mov dword [0x140104001], 0x100002e
mov dword [0x140104001], 0x100002f
xor rax, rax
add rsp, 0x30
pop r15
ret