joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d5088
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x30a0
call fcn.1400fe810
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x30d0], rbx
mov qword [rsp + 0x30e8], rbp
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x3090], rax
mov rsi, r8
mov rdi, rdx
mov r13, rcx
mov rax, rdx
mov r9, r8
sub r9, rdx
movzx edx, word [rax]
movzx r8d, word [rax + r9]
sub edx, r8d
jne 0x1400d50f1
add rax, 2
test r8d, r8d
jne 0x1400d50db
test edx, edx
jne 0x1400d50fc
xor eax, eax
jmp 0x1400d532a
xor bpl, bpl
lea rdx, [rsp + 0x2090]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [rsp + 0x2090]
call fcn.1400eea04
mov r12d, eax
mov r14d, 1
cmp word [rsp + 0x2090], 0x5c
je 0x1400d516d
cmp word [rsi], 0x5c
je 0x1400d516d
cmp word [rdi], 0x5c
je 0x1400d516d
movzx ecx, word [rsi]
call fcn.1400eea04
mov ebx, eax
movzx ecx, word [rdi]
call fcn.1400eea04
cmp word [rsi + 2], 0x3a
cmovne ebx, r12d
cmp word [rdi + 2], 0x3a
cmovne eax, r12d
movzx ebp, bpl
cmp ebx, eax
cmovne ebp, r14d
mov rcx, rdi
call fcn.140042584
test al, al
je 0x1400d51e6
lea rcx, [rsp + 0x30]
call fcn.140041020
nop
mov r8d, r14d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400410a4
test al, al
je 0x1400d51d2
lea rcx, [rsp + 0x30]
call fcn.1400413bc
test al, al
je 0x1400d51d2
mov rcx, rdi
call fcn.140042188
test al, al
jne 0x1400d51c6
lea rcx, [rsp + 0x30]
call fcn.1400417e8
mov eax, 0xf
jmp 0x1400d532a
lea rcx, [rsp + 0x30]
call fcn.1400417e8
jmp 0x1400d51e6
lea rcx, [rsp + 0x30]
call fcn.1400417e8
mov eax, 0xf
jmp 0x1400d532a
test bpl, bpl
jne 0x1400d5203
mov rdx, rdi
mov rcx, rsi
call fcn.1400420d8
test al, al
sete al
test al, al
je 0x1400d5328
lea rcx, [rsp + 0x1060]
call fcn.140041020
nop
lea rcx, [rsp + 0x30]
call fcn.140041020
nop
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x1060]
call fcn.1400410a4
test al, al
jne 0x1400d5258
mov rdx, rsi
lea rcx, [0x140149f00]
call fcn.14003c978
nop
lea rcx, [rsp + 0x30]
call fcn.1400417e8
nop
mov ebx, 0xa
jmp 0x1400d52f6
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14004125c
test al, al
jne 0x1400d5281
lea rcx, [rsp + 0x30]
call fcn.1400417e8
nop
mov ebx, 0xf
jmp 0x1400d52f6
xor edx, edx
lea rcx, [0x140149f00]
call fcn.14003c480
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x1060]
mov rcx, r13
call fcn.1400d4f8c
mov ebp, eax
lea rcx, [rsp + 0x1060]
call fcn.1400413bc
lea rcx, [rsp + 0x30]
call fcn.1400413bc
mov dl, r14b
lea rcx, [0x140149f00]
call fcn.14003c480
test ebp, ebp
je 0x1400d5307
mov rcx, rdi
call fcn.140042188
mov eax, 0xe
lea ebx, [rax - 4]
cmp ebp, ebx
cmove ebp, eax
mov ebx, ebp
lea rcx, [rsp + 0x30]
call fcn.1400417e8
nop
lea rcx, [rsp + 0x1060]
call fcn.1400417e8
mov eax, ebx
jmp 0x1400d532a
mov rcx, rsi
call fcn.140042188
nop
lea rcx, [rsp + 0x30]
call fcn.1400417e8
nop
lea rcx, [rsp + 0x1060]
call fcn.1400417e8
xor eax, eax
mov rcx, qword [rsp + 0x3090]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x30a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400d5eb4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rsi, [0x1401c3570]
mov rdi, rdx
mov rcx, rsi
call fcn.1400385d4
mov dword [rbx + 4], 0x12345678
mov dword [rbx + 8], 0x23456789
mov dword [rbx + 0xc], 0x34567890
jmp 0x1400d5f33
mov edx, dword [rbx + 4]
mov rcx, rdx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rsi + rax*4]
xor ecx, edx
mov edx, dword [rbx + 0xc]
movzx eax, cl
mov dword [rbx + 4], ecx
add eax, dword [rbx + 8]
imul eax, eax, 0x8088405
inc eax
mov ecx, eax
mov dword [rbx + 8], eax
shr ecx, 0x18
xor rcx, rdx
shr edx, 8
movzx eax, cl
mov eax, dword [rsi + rax*4]
xor eax, edx
inc rdi
mov dword [rbx + 0xc], eax
mov al, byte [rdi]
test al, al
jne 0x1400d5eef
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d61c4
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
cmp byte [0x14016dc20], 0
mov r11, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
je 0x1400d627b
mov r10, rbx
mov rbp, rdx
imul r10, r11
test r10, r10
je 0x1400d627b
lea r12, [0x1401c3570]
movsx rax, byte [rbp]
mov r8d, dword [rsi + 0xc]
mov edx, dword [rsi + 4]
xor rax, rdx
shr edx, 8
mov r9d, r8d
movzx ecx, al
and r9d, 0xfffd
mov eax, dword [r12 + rcx*4]
or r9d, 2
xor eax, edx
mov dword [rsi + 4], eax
movzx eax, al
add eax, dword [rsi + 8]
imul eax, eax, 0x8088405
inc eax
mov ecx, eax
mov dword [rsi + 8], eax
shr ecx, 0x18
xor rcx, r8
shr r8d, 8
movzx eax, cl
mov eax, dword [r12 + rax*4]
xor eax, r8d
mov dword [rsi + 0xc], eax
mov eax, r9d
xor eax, 1
imul eax, r9d
shr eax, 8
xor byte [rbp], al
inc rbp
sub r10, 1
jne 0x1400d620c
and dword [rsp + 0x20], 0
mov r9, r11
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400d5498
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x1400dead8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400deb10
test al, 0x10
jne 0x1400deb0c
and eax, 0xffffffdf
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400deb10
mov al, 1
jmp 0x1400deb26
mov rdx, qword [rdi + 0x64b5f0]
mov r8, rbx
mov ecx, 0x10
call fcn.140003244
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e3450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1401d42e0], 0
je 0x1400e346b
or eax, 0xffffffff
jmp 0x1400e3579
mov rax, qword [0x1401c41a0]
test rax, rax
jg 0x1400e348b
dec rax
mov qword [0x1401c41a0], rax
and qword [0x1401d41f0], 0
jmp 0x1400e3463
mov rbx, qword [0x1401d41f0]
test rbx, rbx
jg 0x1400e34df
mov rcx, qword [0x1401d41e0]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400e31a8
movsxd rcx, eax
mov qword [0x1401d41f0], rcx
test eax, eax
je 0x1400e3511
cmp rcx, 0xffffffffffffffff
je 0x1400e351b
mov rax, qword [0x1401d41e0]
add qword [0x1401d4230], rbx
mov qword [0x1401d41e8], rax
call fcn.1400e2e78
mov rbx, qword [0x1401d41f0]
mov rax, qword [0x1401c41c8]
test byte [rax + 0x40], 1
je 0x1400e355e
cmp byte [0x1401d53e1], 0
je 0x1400e3533
test rbx, rbx
je 0x1400e355e
mov rcx, qword [0x1401d41e8]
lea r8, [0x1401d53e8]
mov edx, ebx
call fcn.1400e6d08
jmp 0x1400e3557
cmp rcx, 0xffffffffffffffff
jne 0x1400e3481
lea rdx, [0x140173f2a]
lea rcx, [0x140149f00]
call fcn.14003c990
jmp 0x1400e3481
mov rdi, qword [0x1401d41e8]
test rbx, rbx
je 0x1400e355e
call fcn.1400e6224
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400e6244
inc rdi
sub rbx, 1
jne 0x1400e353f
mov rbx, qword [0x1401d41f0]
mov rax, qword [0x1401d41e8]
dec rbx
mov qword [0x1401d41f0], rbx
movzx eax, byte [rax]
inc qword [0x1401d41e8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e6244
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8d, dword [0x1401d533c]
mov eax, ecx
mov r9d, ecx
mov edx, r8d
lea r10, [0x1401c3d80]
shr r8d, 8
xor rdx, rax
movzx eax, dl
mov edx, dword [r10 + rax*4]
xor edx, r8d
movzx eax, dl
mov dword [0x1401d533c], edx
mov edx, dword [0x1401d5344]
add eax, dword [0x1401d5340]
imul eax, eax, 0x8088405
inc eax
mov ecx, eax
mov dword [0x1401d5340], eax
mov eax, edx
shr ecx, 0x18
shr edx, 8
xor rcx, rax
movzx eax, cl
mov eax, dword [r10 + rax*4]
xor eax, edx
mov dword [0x1401d5344], eax
mov eax, r9d
ret
Function at 0x1400e62fc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, qword [0x1401d5348]
call fcn.1400e62b0
mov rax, qword [rbx]
lea r11, [rsp + 0x20]
mov qword [r11], rax
mov eax, dword [rbx + 8]
mov dword [r11 + 8], eax
xor r11d, r11d
mov rbx, r11
mov ecx, dword [0x1401d5344]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.1400e6244
inc rbx
cmp rbx, 0xc
jl 0x1400e633c
mov rax, qword [0x1401c41c8]
movzx ecx, byte [0x1401d425f]
test byte [rax + 0x40], 2
movzx eax, byte [0x1401d4257]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400e6398
or r11d, 0xffffffff
jmp 0x1400e63e5
mov rbx, qword [0x1401d41f0]
mov rax, qword [0x1401c41a0]
mov rdi, qword [0x1401d41e8]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
jmp 0x1400e63e0
mov eax, dword [0x1401d5344]
dec ebx
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor byte [rdi], cl
movzx ecx, byte [rdi]
call fcn.1400e6244
inc rdi
cmp ebx, r11d
jne 0x1400e63b8
mov eax, r11d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400e68e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [r8 + 0xdc]
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp eax, 0xffffffff
je 0x1400e697d
cmp eax, 0x40
jbe 0x1400e6926
lea rcx, [r8 + 0x40]
mov rdx, rdi
mov r8b, 1
call fcn.1400e67f4
mov dword [rdi + 0xdc], 0x14
mov ecx, dword [rdi + 0xdc]
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.1400ea880
mov r11, rdi
mov eax, 0x10
xor dword [r11], 0x36363636
add r11, 4
sub rax, 1
jne 0x1400e6947
lea rcx, [rdi + 0x40]
call fcn.140064f50
lea rcx, [rdi + 0x40]
mov r9b, 1
mov r8d, 0x40
mov rdx, rdi
call fcn.140064f7c
or dword [rdi + 0xdc], 0xffffffff
test esi, esi
je 0x1400e6993
lea rcx, [rdi + 0x40]
mov r8, rsi
mov r9b, 1
mov rdx, rbp
call fcn.140064f7c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e69a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [r8 + 0xdc], 0xffffffff
mov rbx, r8
mov edi, edx
mov rbp, rcx
je 0x1400e69de
xor edx, edx
xor ecx, ecx
call fcn.1400e68e0
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x40]
mov r8b, 1
call fcn.1400e67f4
mov r11, rbx
mov eax, 0x10
xor dword [r11], 0x6a6a6a6a
add r11, 4
sub rax, 1
jne 0x1400e69f7
lea rcx, [rbx + 0x40]
call fcn.140064f50
lea rcx, [rbx + 0x40]
mov r9b, 1
mov r8d, 0x40
mov rdx, rbx
call fcn.140064f7c
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x40]
mov r9b, 1
mov r8d, 0x14
call fcn.140064f7c
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x40]
mov r8b, 1
call fcn.1400e67f4
test edi, edi
je 0x1400e6a62
lea rdx, [rsp + 0x20]
mov r8, rdi
mov rcx, rbp
call fcn.1400ea530
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e6a7c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x308
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r15, qword [rsp + 0x378]
mov rbx, rcx
mov rsi, r8
mov edi, edx
mov r12d, 0xe0
lea rcx, [rsp + 0x100]
mov r8, r12
xor edx, edx
mov ebp, r9d
call fcn.1400ea880
lea r8, [rsp + 0x100]
mov edx, edi
mov rcx, rbx
call fcn.1400e6844
lea rcx, [rsp + 0x1e0]
lea rdx, [rsp + 0x100]
mov r8, r12
call fcn.1400ea530
lea r8, [rsp + 0x1e0]
mov edx, ebp
mov rcx, rsi
call fcn.1400e68e0
mov r14d, dword [rsp + 0x380]
mov eax, 0xcccccccd
lea ecx, [r14 - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x1400e6c50
mov ebp, dword [rsp + 0x370]
xor edi, edi
lea ebx, [rdi + 1]
xor eax, eax
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x1e0]
mov r8, r12
mov qword [rsp + 0x2d8], rax
mov qword [rsp + 0x2e0], rax
mov dword [rsp + 0x2e8], eax
call fcn.1400ea530
mov eax, ebx
shr eax, 0x10
mov r11d, ebx
mov byte [rsp + 0x2c3], bl
mov byte [rsp + 0x2c1], al
shr r11d, 0x18
mov eax, ebx
shr eax, 8
mov byte [rsp + 0x2c0], r11b
mov r12d, 4
mov byte [rsp + 0x2c2], al
test ebp, ebp
je 0x1400e6c0f
mov rsi, rbp
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x2c0]
mov edx, r12d
call fcn.1400e68e0
mov r12d, 0x14
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x2c0]
mov edx, r12d
call fcn.1400e69a8
xor r11d, r11d
mov rcx, r12
mov al, byte [rsp + r11 + 0x2c0]
inc r11
xor byte [rsp + r11 + 0x2d7], al
sub rcx, 1
jne 0x1400e6bd8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x100]
mov r8d, 0xe0
call fcn.1400ea530
sub rsi, 1
jne 0x1400e6ba2
movsxd rdx, edi
xor ecx, ecx
lea r8, [rsp + 0x2d8]
add rdx, r15
lea eax, [rdi + rcx]
cmp eax, r14d
jae 0x1400e6c39
mov al, byte [r8]
inc ecx
inc r8
mov byte [rdx], al
inc rdx
cmp ecx, 0x14
jb 0x1400e6c1f
inc ebx
add edi, 0x14
mov r12d, 0xe0
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x1400e6b39
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400e9d00
add rsp, 0x308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f098f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140132350]
jne 0x1400e9d1a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400e9d16
repz ret
ror rcx, 0x10
jmp 0x1400f08e8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1401d78a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1401d7998]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400f096d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1401d78a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400f098f
mov rax, qword [rsp + 0x88]
mov qword [0x1401d7998], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1401d7938], rax
mov rax, qword [0x1401d7998]
mov qword [0x1401d7810], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1401d7920], rax
mov dword [0x1401d7800], 0xc0000409
mov dword [0x1401d7804], 1
mov rax, qword [0x140132350]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140132358]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1401d7898], eax
mov ecx, 1
call fcn.1400f9c98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140118860]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1401d7898], 0
jne 0x1400f0a16
mov ecx, 1
call fcn.1400f9c98
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400f23a0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400f2214
Function at 0x1400f23ac
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400f60a4
nop
cmp dword [0x1401d7dd8], 1
je 0x1400f234c
mov dword [0x1401d7dd4], 1
mov byte [0x1401d7dd0], r12b
test ebx, ebx
jne 0x1400f2338
mov rcx, qword [0x1401d95b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400f2325
mov rcx, qword [0x1401d95a8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400f22c4
call fcn.1400f04e8
cmp qword [rdi], rax
jne 0x1400f22c4
jmp 0x1400f22aa
cmp rdi, rsi
jb 0x1400f2325
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400f04e8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1401d95b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1401d95a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400f2303
cmp r13, rax
je 0x1400f2323
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400f22aa
lea rdx, [0x140108f60]
lea rcx, [0x140108f48]
call fcn.1400f20f4
lea rdx, [0x140108f70]
lea rcx, [0x140108f68]
call fcn.1400f20f4
nop
test r12d, r12d
je 0x1400f235b
mov ecx, 8
call fcn.1400f5fa4
test r12d, r12d
jne 0x1400f2386
mov dword [0x1401d7dd8], 1
lea ecx, [r12 + 8]
call fcn.1400f5fa4
mov ecx, r15d
call fcn.1400f2088
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400f2214
Function at 0x1400f98f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400f04e8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1401d81c8], rbx
jne 0x1400f99f6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400f9acb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f9acb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1401d81c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140118b10]
mov rcx, rsi
mov qword [0x1401d81d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1401d81d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1401d81e8], rax
test rax, rax
je 0x1400f99ed
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1401d81e0], rax
jmp 0x1400f99fd
mov rax, qword [0x1401d81e0]
jmp 0x1400f9a04
mov rax, qword [0x1401d81e0]
mov r11, qword [0x1401d81e8]
cmp rax, rdi
je 0x1400f9a6c
cmp r11, rdi
je 0x1400f9a6c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1401d81e8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400f9a6c
test rax, rax
je 0x1400f9a6c
call rsi
test rax, rax
je 0x1400f9a66
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400f9a66
test byte [rsp + 0x38], 1
jne 0x1400f9a6c
bts ebp, 0x15
jmp 0x1400f9aaa
mov rcx, qword [0x1401d81d0]
cmp rcx, rdi
je 0x1400f9aaa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f9aaa
call rax
mov rbx, rax
test rax, rax
je 0x1400f9aaa
mov rcx, qword [0x1401d81d8]
cmp rcx, rdi
je 0x1400f9aaa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f9aaa
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1401d81c8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f9acb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400f9acd
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140009f80
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x38], rax
test edx, edx
je 0x14000a01d
test r8, r8
jne 0x140009fcc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
cmp rax, 0xffffffffffffffff
je 0x14000a01d
lea r8d, [rcx + 0x3b]
lea rdx, str.VisualPlugIn::KeyInput_cannot_use_a_null_character_buffer._n
jmp 0x14000a000
cmp qword [rcx + 0x430], 0
jne 0x14000a01d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
cmp rax, 0xffffffffffffffff
je 0x14000a01d
lea r8d, [rcx + 0x34]
lea rdx, str.VisualPlugIn::No_HWND_to_post_keyboard_messages_to._n
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a01d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14019ce50
add rsp, 0x48
ret

Function at 0x14000a040
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r10, rdx
mov r9, rcx
test rdx, rdx
jne 0x14000a09c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000a15d
mov qword [rsp + 0x20], rdx
lea r8d, [rdx + 0x17]
lea rdx, str.NameIs:_inName_is_null_n
jmp 0x14000a145
test r8w, r8w
jne 0x14000a0d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000a15d
mov qword [rsp + 0x20], rdx
lea r8d, [rdx + 0x1a]
lea rdx, str.NameIs:_inNameLength_is_0_n
jmp 0x14000a145
cmp r8w, word [rcx + 0x220]
je 0x14000a177
movzx eax, word [rcx + 0x20]
mov edx, 0x100
movzx r9d, r8w
lea rcx, [rsp + 0x40]
lea r8, str.NameIs:_inNameLength__d____mName_0____d__n
mov dword [rsp + 0x20], eax
call fcn.1400096e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000a15d
lea rcx, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], dl
jne 0x14000a132
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14019ce50
add rsp, 0x158
ret
xor edx, edx
cmp dx, r8w
jae 0x14000a19c
nop
movzx ecx, dx
movzx eax, word [r9 + rcx*2 + 0x222]
cmp word [r10 + rcx*2], ax
jne 0x14000a15d
inc dx
cmp dx, r8w
jb 0x14000a180
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14019ce50
add rsp, 0x158
ret