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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400460c8]
test ecx, ecx
je 0x140034261
dec ecx
call fcn.140044404
cmp rax, 1
jbe 0x1400341c1
add rax, 8
jmp 0x140034258
je 0x140034256
movzx eax, byte [0x14099e0f8]
mov edx, 0x10
sub ecx, ecx
call fcn.140034ce0
or rax, rax
je 0x140034294
push rax
pop rbx
nop
nop
push rax
pop rsi
lea rax, [0x1400460b0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400460c8]
test ecx, ecx
je 0x140034274
dec ecx
call fcn.140044404
push rax
nop
pop rdi
mov ecx, dword [0x1400460c8]
test ecx, ecx
je 0x140034284
dec ecx
add rbx, 8
push rsi
pop rdx
nop
call fcn.1400443fc
test rdi, rdi
je 0x140034251
mov rax, qword [rdi + 8]
or rax, rax
je 0x140034244
lock dec qword [rax]
jne 0x140034244
mov rcx, qword [rdi + 8]
call fcn.1400342b0
mov edx, 8
nop
push rdi
pop rcx
call fcn.1400038d0
push rbx
pop rax
nop
jmp 0x140034258
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400460b0]
call fcn.140015e80
mov ecx, eax
jmp 0x1400341ad
lea rcx, [0x1400460b0]
call fcn.140015e80
mov ecx, eax
jmp 0x140034207
lea rcx, [0x1400460b0]
call fcn.140015e80
mov ecx, eax
jmp 0x14003421b
mov ecx, 8
mov edx, 0x10
call fcn.140002ec0
int3

Function at 0x14003a3c6
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
nop
push rdx
pop rax
mov rsi, rcx
lea rdx, [rsp + 0x2c]
nop
push rax
pop rcx
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14003a462
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14003a447
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.140039cd1
mov rcx, rbx
mov rdx, r14
call fcn.14003a6e2
add r13, 8
jmp 0x14003a417
push rdi
pop rcx
nop
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x14003a473
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140043a86
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
push rcx
pop rdi
nop
cmp qword [rdx + 0x10], 0
je 0x140043b4a
lea rcx, [0x140995ec2]
call sub.OLEAUT32.dll_SysAllocString
nop
push rax
pop rbx
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
push rbx
pop rdx
nop
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
test ebp, ebp
js 0x140043b4a
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.14003ebda
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x140043b59
mov qword [rdi], 2
mov rcx, rsi
call fcn.14003eb5e
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400441fc
Capabilities:
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
call fcn.140008a29
cmp rax, 1
jbe 0x14004421c
mov rsi, rax
add rsi, 8
jmp 0x14004429f
je 0x14004429d
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi], xmm0
mov edx, 0x10
nop
push rsi
pop rcx
call sub.bcryptprimitives.dll_ProcessPrng
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov ecx, 8
mov edx, 0x18
call fcn.1400089ff
test rax, rax
je 0x1400442bc
mov rsi, rax
mov rbx, rax
lea rax, [0x140046130]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
call fcn.140008a29
push rax
nop
pop rdi
mov ecx, dword [0x140046148]
test ecx, ecx
je 0x1400442ac
dec ecx
add rsi, 8
push rbx
pop rdx
nop
call fcn.1400443fc
test rdi, rdi
je 0x14004429f
mov edx, 8
push rdi
nop
pop rcx
call fcn.1400038d0
jmp 0x14004429f
sub esi, esi
push rsi
nop
pop rax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140046130]
call fcn.140015e80
mov ecx, eax
jmp 0x14004427d
mov ecx, 8
mov edx, 0x18
call fcn.140002ec0
int3

Function at 0x1400450e0
Capabilities:
Write file on windows

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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14099e184]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
or edi, edi
jle 0x140045300
mov rax, qword [0x14099e188]
sub ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14004519c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140045227
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140045180
mov rcx, r12
call fcn.140045c00
mov rbp, rax
or rax, rax
je 0x14004535d
mov rax, qword [0x14099e188]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.140045d30
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14099e188]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140045342
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140045220
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400452b0
add dword [0x14099e184], 1
cmp ebx, 8
jae 0x140045258
test bl, 4
jne 0x140045310
test ebx, ebx
je 0x140045249
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140045330
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140045249
and ebx, 0xfffffff8
sub eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14004528a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14099e188]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140045220
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400450e0
sub edi, edi
jmp 0x1400451a7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140045249
push rbx
pop rbx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140045249
mov rax, qword [0x14099e188]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.1400450e0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400450e0
nop
nop dword [rax]
Function at 0x140045870
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14099e1e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14099e1c0]
or rbx, rbx
je 0x1400458c4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
or eax, eax
jne 0x1400458bb
or r12, r12
je 0x1400458bb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400458a0
lea rcx, [0x14099e1e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140045c00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140996b00]
sub r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140045c79
mov rcx, r10
call fcn.140045ad0
or eax, eax
je 0x140045c79
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140045c76
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
push rdx
nop
pop rax
cmp rcx, rdx
jb 0x140045c6d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140045c79
add r8, 0x28
cmp r8, r9
jne 0x140045c58
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x180002a54
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180002aae
mov r11b, 0x23
lea rbx, [0x180082510]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x180002a98
cmp rdx, 2
jb 0x180002a98
cmp byte [r10], r11b
jne 0x180002a98
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x180002a76
jmp 0x180002aef
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180002aef
mov r11b, 0x23
lea rbx, [0x180082510]
cmp dl, r11b
jne 0x180002ad3
cmp byte [r10], r11b
jne 0x180002ad3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x180002ac1
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180002c5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002c7d
and qword [r8], 0
lea rdx, [0x180082010]
call fcn.180002b00
mov rbx, rax
test rax, rax
je 0x180002d38
mov rcx, rax
call fcn.18004ecfc
mov esi, eax
cmp eax, 0xffffffff
je 0x180002d30
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18004f8e4
test eax, eax
jne 0x180002d30
mov rcx, rbx
call fcn.18004ecfc
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002d30
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18004f8e4
test eax, eax
jne 0x180002d30
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x180002d30
mov rcx, rdi
call fcn.180006e0c
mov rdi, rax
test rax, rax
je 0x180002d30
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.180053874
mov rcx, rbx
cmp rax, rsi
je 0x180002d1e
call fcn.18004f530
mov rcx, rdi
call fcn.180006e50
jmp 0x180002d38
call fcn.18004f530
test r14, r14
je 0x180002d2b
mov qword [r14], rsi
mov rax, rdi
jmp 0x180002d3a
mov rcx, rbx
call fcn.18004f530
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180006898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180090040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, qword [0x180092d60]
mov r10d, ecx
cmp byte [r9 + 0x4c33], 0
mov r11, qword [r9 + 0x40a0]
je 0x180006935
cmp byte [r9 + 0x4c32], 0
jne 0x180006935
bt ecx, 0xb
jb 0x180006935
mov eax, 0x400
test dword [r9 + 0x4a74], eax
je 0x1800068ee
test eax, ecx
je 0x180006b16
mov eax, dword [r9 + 0x4be0]
cmp eax, dword [r9 + 0x4a70]
jne 0x180006b16
test eax, eax
je 0x180006b16
bt r10d, 0xc
jae 0x180006a20
mov edx, dword [r9 + 0x3da8]
mov eax, edx
and eax, 0xfffe3fff
test r10d, 0x1c000
cmove eax, edx
or r10d, eax
jmp 0x180006a20
mov r8d, dword [r9 + 0x4a78]
test r8b, 1
je 0x180006b16
bt r10d, 0xc
jae 0x180006968
mov edx, dword [r9 + 0x3da4]
mov eax, edx
and eax, 0xfffe3fff
test r10d, 0x1c000
cmove eax, edx
or r10d, eax
cmp qword [r9 + 0x40a8], r11
je 0x180006981
test r8b, r8b
js 0x180006981
bt r10d, 9
jae 0x180006b16
mov ebx, dword [r9 + 0x4a70]
test r10b, r10b
js 0x1800069b3
mov eax, dword [r9 + 0x4114]
test eax, eax
je 0x1800069b3
cmp eax, ebx
je 0x1800069b3
cmp byte [r9 + 0x4121], 0
jne 0x1800069b3
cmp eax, dword [r11 + 0x8c]
jne 0x180006b16
mov edx, r10d
mov rcx, r11
call fcn.18000682c
test al, al
jne 0x1800069d3
test dword [r9 + 0x4a74], 0x2000
je 0x180006b16
mov ecx, dword [r9 + 0x4a74]
bt ecx, 0xa
jae 0x1800069eb
bt r10d, 0xa
jae 0x180006b16
cmp ebx, dword [r11 + 0x8c]
jne 0x180006a02
cmp byte [r11 + 0xcc], 0
jne 0x180006b16
bt ecx, 0xe
jae 0x180006a20
test ebx, ebx
je 0x180006a20
bt r10d, 8
jb 0x180006a20
cmp dword [r9 + 0x4100], ebx
jne 0x180006b16
bt r10d, 0x10
jae 0x180006a32
movss xmm2, dword [r9 + 0x3da0]
jmp 0x180006a47
bt r10d, 0xf
jae 0x180006a44
movss xmm2, dword [r9 + 0x3d9c]
jmp 0x180006a47
xorps xmm2, xmm2
comiss xmm2, dword [0x180087498]
ja 0x180006a5e
bt r10d, 0xd
jb 0x180006a5e
mov al, 1
jmp 0x180006b18
mov edx, dword [r9 + 0x4a70]
test edx, edx
jne 0x180006ada
movsxd rcx, dword [r11 + 0x108]
lea r8, [rsp + 0x20]
mov rax, qword [r11 + 0x110]
movss xmm0, dword [r9 + 0x4a7c]
subss xmm0, dword [r11 + 0x128]
movss xmm1, dword [r9 + 0x4a80]
subss xmm1, dword [r11 + 0x12c]
mov edx, dword [rax + rcx*4 - 4]
mov r11d, 8
not edx
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x180082510]
xor edx, dword [rax + rcx*4]
sub r11, 1
jne 0x180006ab8
not edx
bt r10d, 0x11
jae 0x180006af2
cmp dword [r9 + 0x502c], edx
je 0x180006af2
and dword [r9 + 0x5030], 0
mov dword [r9 + 0x5028], edx
bt r10d, 0xd
jae 0x180006b09
cmp dword [r9 + 0x5038], edx
jne 0x180006b16
comiss xmm2, dword [r9 + 0x5030]
setbe al
jmp 0x180006b18
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800487d0
add rsp, 0x30
pop rbx
ret
Function at 0x18000f278
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180090040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0x108]
mov r11d, 4
mov rax, qword [rcx + 0x110]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180082510]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000f2b7
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x18000f2f1
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.180018e5c
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800487d0
add rsp, 0x30
pop rbx
ret
Function at 0x1800277cc
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180092d60]
test rax, rax
je 0x1800277e7
mov rbx, qword [rax + 0x98]
jmp 0x1800277e9
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180027814
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret

Function at 0x180027a9c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [0x180092d60]
mov ecx, 0x11
add rdi, 8
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov edx, 0x1000
mov r8b, al
mov rcx, rdi
call fcn.1800024e8
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, bl
mov rcx, rdi
mov r8b, al
call fcn.1800024e8
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, bl
mov rcx, rdi
mov r8b, al
call fcn.1800024e8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test bl, al
jne 0x180027b39
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test bl, al
jne 0x180027b39
xor ebx, ebx
mov r8b, bl
mov edx, 0x8000
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800024e8
Function at 0x180034c54
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x180090040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180034cee
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.180072450
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x180034cda
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.180059020
test eax, eax
je 0x180034ce1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x180034cbb
jmp 0x180034ce5
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800487d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180045518
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180045581
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004556f
mov rax, qword [rbx]
mov r8d, dword [rax + rdi*4]
test r8d, r8d
je 0x180045568
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180045568
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180045537
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180092d88]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180045594
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x180090040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180092e10]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800455d9
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004560f
mov eax, 0xa
jmp 0x18004569e
test esi, esi
je 0x180045631
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180045652
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180045652
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004564c
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180045652
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800487d0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x180045990
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9, rcx
test r8b, r8b
je 0x1800459a7
cmp r8b, 0x90
je 0x1800459a7
cmp r8b, 0xcc
jne 0x1800459c8
mov r10d, 1
mov ecx, r10d
cmp edx, r10d
jbe 0x1800459c4
mov eax, ecx
cmp byte [rax + r9], r8b
jne 0x1800459c8
add ecx, r10d
cmp ecx, edx
jb 0x1800459b5
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800476bc
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1800476ea
xor eax, eax
jmp 0x1800477d0
cmp qword [rcx + 0x68], 0
je 0x1800476fb
call fcn.1800477ec
jmp 0x1800477d0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180047712
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180047714
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180047746
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180071db0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1800477ca
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18004777d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800477a6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180053874
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1800477ca
cmp rsi, rbx
ja 0x180047784
test rsi, rsi
je 0x1800477ca
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180053874
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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
Function at 0x18004ea10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800493b0
sub rsp, rax
mov rax, qword [0x180090040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18005d794
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18004ea5f
mov rax, rbp
jmp 0x18004eb6b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x92640]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18005da28
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x92640]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18004eb67
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004eb67
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18005da28
test rax, rax
js 0x18004eb67
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18004eb67
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18004eb59
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18004eb59
cmp byte [rcx], 0xd
jne 0x18004eb3f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18004eb4e
cmp byte [rcx + 1], 0xa
jne 0x18004eb4e
inc rcx
jmp 0x18004eb4e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x90410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18004eb21
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18004eb6b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800487d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret