joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140138154
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x1401381fa
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x20]
add eax, 4
mov rcx, rbx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
add eax, 0x17
mov dword [rsp + 0x24], eax
call fcn.140139378
mov rcx, rbx
call fcn.14013860c
mov rcx, qword [rbx + 0x40]
mov edx, 0xec1a
call qword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401a61b0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor esi, esi
cmp dword [rcx + 0x458], esi
jne 0x140138219
cmp r8, 0x79
je 0x140138210
cmp r8, 0x12
jne 0x140138215
mov esi, 1
mov eax, esi
jmp 0x1401381d9
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
shr ebp, 0xf
and ebp, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
cmp rdi, 0x12
je 0x14013824e
cmp rdi, 0x79
jne 0x1401381c8
cmp qword [0x1402a5368], rsi
jne 0x1401381d7
test byte [rbx + 0x478], 2
jne 0x1401381d7
cmp rdi, 0x12
je 0x140138284
cmp rdi, 0x79
jne 0x1401381d7
test ebp, ebp
jne 0x1401381d7
test eax, eax
jne 0x1401381d7
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.1400350f4
cmp rax, rbx
jne 0x1401382a9
bt r15, 0x1e
jb 0x1401382a9
cmp rdi, 0x79
jne 0x1401382b9
mov rcx, r14
jmp 0x1401382b2
cmp rdi, 0x79
jne 0x1401382b9
mov rcx, rbx
call fcn.14003bab8
jmp 0x1401382d9
cmp dword [rbx + 0x414], esi
jge 0x1401382d9
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov edx, 0xec1a
mov r8d, 0xc8
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
jmp 0x1401381d9
Function at 0x14015a704
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402a7400]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x14015a74f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x14015a758
call fcn.1400196c4
test eax, eax
je 0x14015a774
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015a77c
xor eax, eax
jmp 0x14015a7d9
test rbx, rbx
jne 0x14015a79c
lea rcx, str.ChooseColorW
call fcn.14003021c
mov rbx, rax
test rax, rax
je 0x14015a7a7
mov qword [0x1402a7400], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14015a7bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14015a7be
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015a7d7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140162290
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.14003b6dc
test eax, eax
je 0x1401623c4
cmp dword [rbx + 0xb28], 0
je 0x1401622e0
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
jmp 0x1401623c9
call fcn.1400314cc
mov rcx, qword [rax + 8]
call fcn.140017cd0
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.14000f8c4
add rax, 0x18
mov qword [rsp + 0x60], rax
cmp dword [rax - 0x10], 0
jne 0x14016231b
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140035774
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14000f24c
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14016236e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbx + 0xb2c], 1
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401623ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.14003288c
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x14016d584
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rdi, rcx
xor eax, eax
cmp qword [0x14029ed28], rax
setne al
test eax, eax
jne 0x14016d5b5
call fcn.14001461c
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x14016d5ce
xor eax, eax
jmp 0x14016d73c
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14016d5c7
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14016d606
call fcn.14001461c
int3
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x14029ed28]
call fcn.14002b5b0
mov qword [rbx + 8], rax
and qword [rbx], 0
mov qword [rbp - 0x29], rbx
mov rax, qword [rdi]
mov r8, rbx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call qword [rax + 0x2c8]
nop
mov rax, qword [rbp + 0x6f]
mov edx, dword [rax - 0x10]
test edx, edx
jns 0x14016d654
mov ecx, 0x80070057
call fcn.14000d27c
int3
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x14016d675
lea rcx, [rbp + 0x6f]
call fcn.14000df18
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x35], eax
mov rax, qword [rdi]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14016d737
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x14016fdb8
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2f0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x14016fe0f
test esi, esi
js 0x14016fe0f
cmp ax, 0x20
je 0x14016fe01
cmp bp, 0x71
jne 0x14016fe0f
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x320]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401737a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x1402979c0]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x1401737ec
xor eax, eax
jmp 0x140173919
test r8, r8
je 0x1401737e5
call fcn.1400314cc
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1401737e5
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1401737e5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14017393f
mov rcx, rax
call fcn.1401b61b0
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd r8, ecx
lea rdx, [r8 + 0x10]
cmp r8, rdx
sbb rcx, rcx
test rdx, rcx
je 0x1401738d2
lea rcx, [r8 + 0x10]
cmp r8, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r8 + 0x10]
ja 0x1401738b0
cmp r8, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x14017388e
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401a6140
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x140173945
mov dword [rdi], 0xcccc
jmp 0x1401738cc
cmp r8, rax
sbb rcx, rcx
and rcx, rax
call fcn.1401b2f8c
mov rdi, rax
test rax, rax
je 0x1401738d5
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x1401738d5
mov rdi, rbx
test rdi, rdi
je 0x140173945
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.14001577c
test rax, rax
je 0x1401738fd
mov rdx, rax
mov rcx, r12
call fcn.140175f6c
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140173917
call fcn.1401af184
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401a61b0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.14001461c
int3
call fcn.14001461c
int3
Function at 0x1401a5470
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402a8718]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x1401a54bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x1401a54c4
call fcn.1400196c4
test eax, eax
je 0x1401a54e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401a54e8
xor eax, eax
jmp 0x1401a5545
test rbx, rbx
jne 0x1401a5508
lea rcx, str.PrintDlgW
call fcn.14003021c
mov rbx, rax
test rax, rax
je 0x1401a5513
mov qword [0x1402a8718], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401a5528
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401a552a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401a5543
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

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

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1401a59b9
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1401a59b9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401a59b9
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1401a599d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1401a5997
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1401a599f
add rdx, 0x28
jmp 0x1401a597c
xor edx, edx
test rdx, rdx
jne 0x1401a59a8
xor al, al
jmp 0x1401a59bf
test dword [rdx + 0x24], 0x80000000
je 0x1401a59b5
xor al, al
jmp 0x1401a59bf
mov al, 1
jmp 0x1401a59bf
xor al, al
jmp 0x1401a59bf
add rsp, 0x18
ret
Function at 0x1401a85e8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x1401a8772
cmp byte [rcx + 0x72], r15b
je 0x1401a8772
mov rax, qword [rcx]
mov edi, 0xffff
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401a6798
movzx edx, di
mov rcx, r12
call rbx
cmp di, ax
jne 0x1401a865f
xor al, al
jmp 0x1401a8774
mov edx, SafeArrayGetDim
mov qword [rbp - 0x18], rdx
xor ecx, ecx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], 8
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], r15b
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
cmp rdx, 0x10
cmovae r9, r8
lea r14, [rbp - 0x30]
cmovae r14, r8
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, r9
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.1401a6798
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x1401a86e3
sub ecx, 1
jne 0x1401a8757
jmp 0x1401a86e8
mov byte [r12 + 0x72], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x1401a8733
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov edx, 1
call fcn.1401aedc0
cmp rbx, rax
jne 0x1401a875f
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp byte [r12 + 0x72], r15b
je 0x1401a875c
test rbx, rbx
jne 0x1401a868e
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140005780
jmp 0x1401a8686
cmp ecx, 2
jne 0x1401a875f
mov r15b, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.140005370
mov al, r15b
jmp 0x1401a8774
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401c2a38
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401c280c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c280c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c280c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c280c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c280c
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c280c
cmp dword [rcx + 0xf8], esi
je 0x1401c280c
mov ecx, r14d
call fcn.1401c2954
mov ecx, 2
call fcn.1401c4534
nop
cmp byte [0x1402a9950], 0
jne 0x1401c28d6
mov r15d, 1
mov eax, r15d
xchg dword [0x1402a9944], eax
test ebx, ebx
jne 0x1401c287f
mov rdi, qword [0x1402979c0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1402a9948]
cmp rcx, rax
je 0x1401c2876
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14003e34c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402a9960]
jmp 0x1401c288b
cmp ebx, r15d
jne 0x1401c2891
lea rcx, [0x1402a9978]
call fcn.1401c42a0
nop
test ebx, ebx
jne 0x1401c28a8
lea rdx, [0x1401e4ac8]
lea rcx, [0x1401e4aa8]
call fcn.1401c26cc
lea rdx, [0x1401e4ad8]
lea rcx, [0x1401e4ad0]
call fcn.1401c26cc
movzx eax, byte [0x1402a9950]
test esi, esi
cmove eax, r15d
mov byte [0x1402a9950], al
jmp 0x1401c28d6
mov ecx, 2
call fcn.1401c4588
test esi, esi
jne 0x1401c28ed
mov ecx, r14d
call fcn.1401c2908
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401c279c
Function at 0x1401c817c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401c7e38
call fcn.1401ae0f8
mov dword [rax], 0x16
call fcn.1401add40
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401c7e20
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401c7e20
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401c7e6a
lock or dword [rax + 0x14], 0x10
jmp 0x1401c7e20
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401c7e87
mov rcx, qword [rbp + 0x10]
call fcn.1401c8818
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401c1220
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401ca78c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401c7ede
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401c7e20
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401c7f4a
mov rcx, qword [rbp + 0x10]
call fcn.1401c1220
cmp eax, 0xffffffff
je 0x1401c7f31
mov rcx, qword [rbp + 0x10]
call fcn.1401c1220
cmp eax, 0xfffffffe
je 0x1401c7f31
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401c1220
movsxd rdi, eax
lea rsi, [0x1402a9d60]
mov rcx, rbx
sar rdi, 6
call fcn.1401c1220
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401c7f38
lea rax, [0x140297f90]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401c7f4a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401c7f80
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401c7f7c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401c7f7c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401c7e23
jmp 0x1401c7df0
Function at 0x1401c8184
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401c7fea
call fcn.1401ae0f8
mov dword [rax], 0x16
call fcn.1401add40
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401c7fcc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401c7fcc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1401c801c
lock or dword [rax + 0x14], 0x10
jmp 0x1401c7fcc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401c8039
mov rcx, qword [rbp + 0x20]
call fcn.1401c8818
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1401c804e
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1401c8054
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1401c1220
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401ca78c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1401c80a7
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1401c7fcc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401c8113
mov rcx, qword [rbp + 0x20]
call fcn.1401c1220
cmp eax, 0xffffffff
je 0x1401c80fa
mov rcx, qword [rbp + 0x20]
call fcn.1401c1220
cmp eax, 0xfffffffe
je 0x1401c80fa
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1401c1220
movsxd rdi, eax
lea r15, [0x1402a9d60]
mov rcx, rbx
sar rdi, 6
call fcn.1401c1220
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1401c8101
lea rax, [0x140297f90]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401c8113
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1401c8149
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401c8145
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401c8145
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1401c8167
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1401c8172
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1401c7fd1
jmp 0x1401c7f98