joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001920
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140b32094]
test esi, esi
mov rbx, rcx
jle 0x140001a50
mov rax, qword [0x140b32098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000196b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400019f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001950
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001a72
mov rax, qword [0x140b32098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140b32098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400019ee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a00
add dword [0x140b32094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140b32098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400019ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140b2f378]
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001978
mov rax, qword [0x140b32098]
lea rcx, [0x140b2f340]
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, [0x140b2f320]
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001fe0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140b32100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140b320e0]
test rbx, rbx
je 0x14000203c
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 0x140002033
test rsi, rsi
je 0x140002033
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002018
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 0x140002250
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x140002260
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002288
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002290
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400022a0
Capabilities:
Enumerate pe sections

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

Function at 0x1400022f0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002380
mov rdx, qword [0x140b2f510]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000236e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000236e
cmp word [rax + 0x18], 0x20b
jne 0x14000236e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002380
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002359
add rbx, 0x28
cmp rbx, rdi
je 0x140002380
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002350
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 0x140002390
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140b2f510]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000240d
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]
cmp rcx, r8
mov rdx, r8
jb 0x140002404
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400023b0
add rax, 0x28
cmp rax, r9
jne 0x1400023f0
xor eax, eax
ret

Function at 0x140002410
Capabilities:
Parse pe header

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

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140b2f510]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002470
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002478
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002470
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x1400024c0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400024b7
test rcx, rcx
je 0x140002470
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400024a8
xor eax, eax
ret
Function at 0x1400024d0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140b2f510]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002530
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002538
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002530
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140002530
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]
cmp rcx, r8
mov rax, r8
jb 0x140002584
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002590
add rdx, 0x28
cmp r9, rdx
jne 0x140002570
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140b2f510]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400025c2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025d0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025c2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400025c2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x1400025c2
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]
cmp rax, r9
mov r8, r9
jb 0x140002625
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002638
add rdx, 0x28
cmp rdx, r10
jne 0x140002610
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002647
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002657
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000262e
test ecx, ecx
jg 0x140002640
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400011f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0x88
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x24], 0
jmp 0x1400012d5
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
jae 0x140001399
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
add eax, dword [rsp + 0x28]
shr eax, 0xe
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
movsx ecx, byte [rdx + rcx]
add ecx, dword [rsp + 0x28]
shl ecx, 0x12
add eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x50]
call section..text
cmp dword [rsp + 0x20], eax
jb 0x140001312
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x90], eax
jne 0x140001394
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
jmp 0x14000139b
jmp 0x1400012cb
xor eax, eax
add rsp, 0x88
ret
Function at 0x140001960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x98
call fcn.140001b40
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140001c30
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400019c8
jmp 0x140001b20
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140001a10
jmp 0x140001b20
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140001b60
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
jmp 0x140001a79
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140001b20
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140001b60
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0xa0], eax
jne 0x140001b1b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x140001b32
jmp 0x140001a6f
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x40], rax
jne 0x140001991
xor eax, eax
add rsp, 0x98
ret
Function at 0x1eb4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1eb41df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1eb4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1eb406f
add dl, dl
jne 0x1eb4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1eb40f6
xor eax, eax
add dl, dl
jne 0x1eb40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1eb41ad
add dl, dl
jne 0x1eb40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1eb40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1eb40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1eb40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1eb40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1eb407e
mov eax, 1
add dl, dl
jne 0x1eb4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1eb4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1eb40fb
sub eax, ebx
mov ebx, 1
jne 0x1eb414c
mov ecx, 1
add dl, dl
jne 0x1eb412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1eb413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1eb4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1eb407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1eb4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1eb4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1eb415d
cmp eax, 0x7d00
jae 0x1eb419b
cmp eax, 0x500
jb 0x1eb4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1eb407e
cmp eax, 0x7f
ja 0x1eb419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1eb407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1eb41d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1eb407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011109
Capabilities:
Execute syscall

Disassembly:
jmp 0x140011da0
mov r10, rcx
mov eax, 0x26
syscall
ret

Function at 0x14001111d
Capabilities:
Execute syscall

Disassembly:
jmp 0x140011dc1
mov r10, rcx
mov eax, 0xc7
syscall
ret

Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013220
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Execute syscall

Disassembly:
jmp 0x140011dab
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014570
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014590
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400145a3
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400145cd
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400145e1
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145f3
xor al, al
jmp 0x140014611
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001460f
xor al, al
jmp 0x140014611
mov al, 1
add rsp, 0x38
ret
Function at 0x14001137f
Capabilities:
Execute syscall

Disassembly:
jmp 0x140011db6
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x140012460
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b1
movzx eax, al
test eax, eax
jne 0x140012480
mov ecx, 7
call fcn.14001132a
nop
mov byte [rsp + 0x20], 0
call fcn.14001133e
mov byte [rsp + 0x21], al
cmp dword [0x14001e8b8], 1
jne 0x1400124a4
mov ecx, 7
call fcn.14001132a
nop
jmp 0x1400124fc
cmp dword [0x14001e8b8], 0
jne 0x1400124f7
mov dword [0x14001e8b8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x1400124d8
mov eax, 0xff
jmp 0x140012601
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011334
mov dword [0x14001e8b8], 2
jmp 0x1400124fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011316
call fcn.1400112b2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012559
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012559
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001258d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x14001258d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001136b
nop
call fcn.1400126b0
mov dword [rsp + 0x28], eax
call fcn.14001128a
movzx eax, al
test eax, eax
jne 0x1400125ac
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400125bb
call fcn.140011375
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x140012601
add rsp, 0x68
ret
Function at 0x180005798
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r8
push rdi
sub rsp, 0x20
and dword [rax + 0x18], 0
lea rcx, str.Press_Key
and dword [rax + 0x1c], 0
mov rdi, rdx
movsxd rax, dword [rdx]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + rax*8]
call fcn.18003811c
xor esi, esi
test al, al
je 0x1800057f2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800057d5
mov dword [rdi], esi
cmp dword [rdi], esi
jne 0x180005823
mov ebx, esi
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180005823
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180005821
inc ebx
cmp ebx, 0x100
jl 0x1800057f8
jmp 0x180005823
mov dword [rdi], ebx
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180006298
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
cmp qword [0x180053ff0], rsi
je 0x180006313
mov ecx, dword [0x1800530e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800062dc
and dword [0x180054190], esi
and dword [0x180054194], esi
and dword [0x180054198], esi
mov qword [0x1800541a0], rsi
mov ecx, dword [0x1800530e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180006313
mov rdi, qword [0x180054150]
mov rbx, qword [0x180054148]
jmp 0x18000630e
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000630a
call fcn.180005bf4
add rbx, 8
cmp rbx, rdi
jne 0x1800062fd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18000f9f4
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x60]
xor edi, edi
mov rdx, rcx
test rax, rax
je 0x18000fab1
mov rbx, qword [rax + 0x18]
add rbx, 0x20
mov r8, qword [rbx]
cmp r8, rbx
je 0x18000fab1
lea rsi, str.GameAssembly.dll
mov r9, qword [r8 + 0x50]
test r9, r9
je 0x18000faa9
mov rax, r9
mov ecx, edi
cmp word [r9], di
je 0x18000fa54
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x18000fa49
mov rax, rsi
mov r10d, edi
inc r10d
lea rax, [rax + 2]
cmp word [rax], di
jne 0x18000fa5a
cmp ecx, r10d
jne 0x18000faa9
mov r11d, ecx
mov r10, rdi
test ecx, ecx
je 0x18000fa94
movzx ecx, word [r9 + r10*2]
movzx eax, word [rsi + r10*2]
or cx, 0x20
or ax, 0x20
cmp cx, ax
jne 0x18000faa9
inc r10
cmp r10, r11
jb 0x18000fa75
mov rax, qword [r8 + 0x20]
mov qword [rdx], rax
mov eax, dword [r8 + 0x30]
mov qword [rdx + 0x10], rax
mov qword [rdx + 8], r9
jmp 0x18000fac3
mov r8, qword [r8]
cmp r8, rbx
jne 0x18000fa35
lea rax, [0x180048740]
mov qword [rdx], rdi
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rdi
mov rbx, qword [rsp + 8]
mov rax, rdx
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x18000fad8
Capabilities:
Resolve function by parsing pe exports

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
mov r8, qword [rcx]
mov r10, rdx
test r8, r8
je 0x18000fb84
movsxd rax, dword [r8 + 0x3c]
xor r11d, r11d
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
mov ebx, dword [r9 + 0x24]
add rbx, r8
cmp dword [r9 + 0x18], r11d
jbe 0x18000fb84
mov r14d, dword [r9 + 0x20]
mov ebp, 0xffffffff
lea rax, [r14 + r11*4]
mov edx, dword [rax + r8]
add rdx, r8
cmp rdx, rbp
je 0x18000fb7b
cmp r10, rbp
je 0x18000fb7b
cmp rdx, 0x7d
je 0x18000fb7b
cmp r10, 0x7d
je 0x18000fb7b
test rdx, rdx
je 0x18000fb76
test r10, r10
je 0x18000fb7b
movzx eax, byte [r10]
movzx ecx, byte [rdx]
sub ecx, eax
jne 0x18000fb72
mov rdi, r10
sub rdi, rdx
test al, al
je 0x18000fb72
inc rdx
movzx eax, byte [rdi + rdx]
movzx ecx, byte [rdx]
sub ecx, eax
je 0x18000fb60
test ecx, ecx
jmp 0x18000fb79
test r10, r10
je 0x18000fb9d
inc r11d
cmp r11d, dword [r9 + 0x18]
jb 0x18000fb24
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
mov ecx, dword [r9 + 0x1c]
movzx edx, word [rbx + r11*2]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18000fb86