joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f4e0
Capabilities:
Get file attributes

Disassembly:
test dl, dl
je 0x14000f5e1
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, rcx
call fcn.1400f5340
nop
lea rdx, [rdi + 0x78]
lea rcx, [rsp + 0x50]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x14000f531
cmp eax, 0xffffffff
je 0x14000f531
mov eax, 1
jmp 0x14000f533
xor eax, eax
mov byte [rdi + 0xa8], al
test al, al
je 0x14000f5d2
cmp qword [rdi + 0x98], 0
jne 0x14000f5ac
mov ecx, 0xb8
call fcn.1400bd614
mov qword [rsp + 0x50], rax
mov rcx, qword [rdi + 0x88]
mov r8, qword [rdi + 0xb0]
mov rdx, qword [rcx + 0x50]
mov rcx, rax
call fcn.140143020
mov rbx, rax
mov rcx, qword [rdi + 0x88]
mov r9d, dword [rcx + 0x60]
shr r9d, 1
and r9b, 1
movzx r8d, byte [rcx + 0x60]
and r8b, 1
lea rdx, [rdi + 0x78]
mov rcx, rax
call fcn.140142d60
mov r8b, 1
mov rdx, rbx
mov rcx, rdi
call fcn.14000f5f0
lea rcx, [rdi + 0x70]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
lea rax, [method.juce::FileListTreeItem.1.virtual_8]
cmp r8, rax
jne 0x14000f5cd
mov rcx, rdi
call fcn.14000f870
jmp 0x14000f5d2
xor edx, edx
call r8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000fb10
Capabilities:
Check if file exists

Disassembly:
mov r8, rdx
lea rdx, [rcx + 0x78]
mov rcx, qword [rcx + 0x80]
add rcx, 0x148
jmp 0x140143210

Function at 0x14000fb30
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400f4b20
mov rcx, qword [rbx + 0x80]
lea rdx, [rbx + 0x78]
add rcx, 0x148
add rsp, 0x20
pop rbx
jmp fcn.140143110
Function at 0x140016250
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0x20]
movzx r12d, r9b
mov qword [rsp + 0x60], r14
mov ebp, r8d
mov r15, rdx
mov rsi, rcx
cmp byte [rax + 0x148], 0
je 0x140016304
test byte [0x1404be590], 0x70
mov r14d, 1
jne 0x140016307
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
call fcn.140026470
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
lea ecx, [r14 + 1]
shr ebx, 0xf
and ebx, r14d
shl ebx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
lea ecx, [r14 + 3]
and al, r14b
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1404be594]
mov edx, edi
mov rbx, qword [rsp + 0x50]
or edx, 0x40
and ecx, 0xffffff8f
shr eax, 0xf
and al, r14b
cmove edx, edi
mov rdi, qword [rsp + 0x58]
or edx, ecx
mov dword [0x1404be594], edx
test dl, 0x70
jne 0x140016307
xor r14d, r14d
mov rcx, qword [rsi + 0x20]
mov byte [rsi + 0x48], r14b
call fcn.1400146e0
mov r14, qword [rsp + 0x60]
test al, al
jne 0x140016361
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + 0x18c]
add eax, 0xa
cmp ebp, eax
jbe 0x1400163ff
mov byte [0x1404be390], 1
mov rax, qword [rcx + 0xc8]
xor edx, edx
test rax, rax
je 0x1400163df
mov rcx, rax
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rsi
jmp fcn.140013c70
test r12b, r12b
je 0x1400163f5
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + 0x188]
add eax, 0xfa
cmp ebp, eax
jbe 0x1400163f5
cmp byte [rsi + 0x48], 0
jne 0x1400163f5
cmp byte [rsp + 0x70], 0
jne 0x1400163f5
mov eax, dword [r15]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov r8b, 1
mov eax, dword [r15 + 4]
mov dword [rsp + 0x24], eax
call fcn.14015d3b0
mov rcx, qword [rsi + 0x20]
test al, al
je 0x1400163c1
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rsi
jmp fcn.140015a80
cmp byte [rcx + 0x148], 0
jne 0x1400163d3
cmp byte [rcx + 0x14a], 0
jne 0x1400163ff
cmp byte [rsp + 0x78], 0
jne 0x1400163ff
jmp 0x140016339
xor r8d, r8d
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rsi
jmp fcn.140013b30
mov rax, qword [rsi + 0x20]
mov dword [rax + 0x18c], ebp
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rsi
ret
Function at 0x140023510
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140023554
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140023554
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14002354a
mov rcx, qword [rcx + 0x10]
call fcn.1401616e0
mov rcx, rax
jmp 0x140023589
mov rax, qword [0x1404be388]
test rax, rax
jne 0x14002357e
mov ecx, 0x168
call fcn.1400bd614
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.140158130
mov qword [0x1404be388], rax
mov rcx, rax
call fcn.140157d00
mov rcx, rax
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140023596
mov rax, qword [rax + 0x10]
add rcx, 0x38
mov r11, qword [rcx]
lea rdx, [rdi + 0x20]
lea r10, [rdi + 0x18]
lea r9, [rdi + 0x10]
lea r8, [rdi + 8]
mov qword [rsp + 0x40], rax
mov eax, dword [rdi + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov rdx, rdi
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
mov rbx, rax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 0
lea rdx, [rsp + 0x70]
lea rcx, [0x1400e74e0]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx edx, byte [rsp + 0x70]
mov rcx, rbx
call fcn.14015e000
mov rcx, rbx
cmp byte [rdi + 0x48], 0
je 0x140023610
call fcn.14015cbd0
mov dword [rdi + 0x30], eax
jmp 0x140023660
mov rsi, qword [rdi + 0x40]
xor edx, edx
call fcn.14015c820
test al, al
jne 0x14002365e
call fcn.140002d40
mov rdi, rax
mov r8b, 1
mov rdx, rbx
mov rcx, rax
call fcn.140156c00
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140156b80
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x50]
mov r8b, 1
mov edx, 2
mov rcx, rbx
call fcn.1401590a0
xor ebx, ebx
test rbx, rbx
je 0x140023672
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400239c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
mov eax, dword [rdx + 8]
movzx ebx, byte [rdx + 0x28]
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x20], 1
mov r9d, 4
lea r8, [rsp + 0x58]
call fcn.140160630
mov byte [rsi + 0x1a0], bl
lea rax, vtable.juce::DefaultDialogWindow.0
mov qword [rsi], rax
movzx edx, byte [rdi + 0x29]
mov rcx, rsi
call fcn.1400ebb80
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x58]
lea rcx, [0x1400e74e0]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx edx, byte [rsp + 0x58]
mov rcx, rsi
call fcn.14015e000
mov rdx, qword [rdi + 0x10]
mov r9b, 1
mov rcx, rsi
cmp byte [rdi + 0x18], 0
mov qword [rdi + 0x10], 0
je 0x140023a61
movzx r8d, r9b
jmp 0x140023a64
xor r8d, r8d
call fcn.1400ee150
mov r9d, dword [rsi + 0x2c]
mov r8d, dword [rsi + 0x28]
mov rdx, qword [rdi + 0x20]
mov rcx, rsi
call fcn.1400eb830
movzx r8d, byte [rdi + 0x2b]
movzx edx, byte [rdi + 0x2a]
mov rcx, rsi
call fcn.1400eda60
nop
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140026470
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
mov ecx, send
shr ebx, 0xf
and ebx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 2
mov ecx, reloc.WS2_32.dll_select
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov esi, edi
or esi, 4
mov ecx, 0xa5
and al, 1
cmove esi, edi
mov ebx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1400264ef
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x1400264ef
and ebx, 0xfffffffd
or ebx, 4
mov eax, dword [0x1404be594]
mov rsi, qword [rsp + 0x38]
and eax, 0x70
or eax, ebx
mov rbx, qword [rsp + 0x30]
mov dword [0x1404be594], eax
add rsp, 0x20
pop rdi
ret

Function at 0x140026510
Capabilities:
Log keystrokes via polling

Disassembly:
movzx eax, cl
mov rdx, rcx
mov r9, rcx
shl rdx, 4
and edx, 0x10
mov r8d, edx
or r8d, 0x20
and al, 2
mov eax, dword [0x1404be594]
cmove r8d, edx
and eax, 0xffffff8f
mov ecx, r8d
or ecx, 0x40
and r9b, 0x10
cmove ecx, r8d
or ecx, eax
mov dword [0x1404be594], ecx
jmp fcn.140026470
Function at 0x140029260
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x1b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov rax, qword [0x1404a90f8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rsi, rdx
mov rdi, rcx
call fcn.140026470
lea rax, [rsi - 0x10]
xor r15d, r15d
cmp rax, 0x95
ja case.0x1400292c9.19
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x294c4]
mov edx, dword [rcx + rax*4 + 0x294b8]
add rdx, rcx
jmp rdx
mov eax, dword [0x1404be594]
cmp dword [0x1404be550], eax
setne dl
test dl, dl
je 0x140029446
mov dword [0x1404be550], eax
mov rcx, rdi
call fcn.1400efab0
jmp 0x140029446
mov dl, 1
mov rcx, rdi
call fcn.1400efb90
movzx ebx, al
mov eax, dword [0x1404be594]
mov dword [0x1404be590], eax
and eax, 0xffffff8f
bts esi, 0x10
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], r15d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400efce0
test al, al
jne 0x14002948d
test bl, bl
je 0x140029446
jmp 0x14002948d
mov dl, 1
mov rcx, rdi
call fcn.1400efb90
movzx ebp, al
mov dword [rsp + 0x20], r15d
mov r9d, 0x103
lea r8d, [r9 - 1]
mov rdx, qword [rdi + 0x80]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140029441
lea edx, [rax + 2]
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r14d, eax
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov word [rsp + 0x78], r15w
xor eax, eax
mov qword [rsp + 0x7a], rax
mov qword [rsp + 0x82], rax
mov qword [rsp + 0x8a], rax
mov dword [rsp + 0x92], eax
mov word [rsp + 0x96], ax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x78]
lea r8, [rsp + 0xa0]
mov edx, ebx
mov ecx, esi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x140029402
movzx eax, r15w
mov word [rsp + 0x78], ax
jmp 0x140029407
movzx eax, word [rsp + 0x78]
movzx edx, ax
mov eax, dword [0x1404be594]
mov dword [0x1404be590], eax
and eax, 0xffffff8f
movzx ecx, r14w
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400efce0
test al, al
jne 0x14002948d
test bpl, bpl
je 0x140029446
jmp 0x14002948d
test bpl, bpl
jne 0x14002948d
call fcn.140002d40
mov r9, rax
mov edx, r15d
mov eax, dword [rax + 0x28]
sub eax, 1
movsxd rcx, eax
js 0x140029481
mov r9, qword [r9 + 0x18]
mov r8, qword [r9 + rcx*8]
cmp byte [r8 + 0x6c], 0
je 0x140029473
mov eax, edx
inc edx
test eax, eax
je 0x14002947b
sub rcx, 1
js 0x140029481
jmp 0x140029460
mov rax, qword [r8 + 0x48]
jmp 0x140029484
mov rax, r15
test rax, rax
movzx eax, r15b
je 0x14002948f
mov al, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400bd5f0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029560
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov edi, edx
mov rbp, rcx
call fcn.140026470
sar rbx, 0x10
lea eax, [rdi - 0x30]
movzx ecx, bl
mov esi, edi
cmp eax, 9
ja 0x1400295f2
lea eax, [rcx - 0x47]
cmp eax, 0xb
ja case.0x1400295ad.74
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x2962c]
add rcx, rdx
jmp rcx
add edi, 0x10030
mov eax, dword [0x1404be594]
mov dword [0x1404be590], eax
lea rdx, [rsp + 0x20]
and eax, 0xffffff8f
mov dword [rsp + 0x20], edi
mov rcx, rbp
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], esi
call fcn.1400efce0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, 1
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, eax
mov edx, 2
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, ax
test ecx, ecx
cmovne edi, ecx
cmp esi, 0x20
jae case.0x1400295ad.74
mov eax, dword [0x1404be594]
mov ecx, 0
test al, 6
cmovne esi, ecx
jmp 0x1400295bb

Function at 0x14002b0a0
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov ebp, r9d
mov r14, r8
mov rdi, rdx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, r14
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
movsxd rsi, eax
test eax, eax
jle 0x14002b139
xor ecx, ecx
call fcn.1400c1bd0
mov rcx, rsi
shr rcx, 1
inc rcx
mov edx, 2
call fcn.1400c1bc0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov r9d, esi
mov r8, rax
mov edx, ebp
mov rcx, r14
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140046380
nop
mov rcx, rbx
call fcn.1400c1bd0
jmp 0x14002b143
lea rax, [0x1402901d8]
mov qword [rdi], rax
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14002b160
Capabilities:
Log keystrokes via input method manager

Disassembly:
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
xor edi, edi
mov r15, r8
mov r12, rdx
mov r13, rcx
mov esi, edi
test r9b, 0x10
je 0x14002b23e
xor r9d, r9d
mov qword [rsp + 0x60], r14
xor r8d, r8d
lea edx, [rdi + 0x10]
mov rcx, r15
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
movsxd r14, eax
test eax, eax
jle 0x14002b239
mov qword [rsp + 0x50], rbx
mov rcx, r14
mov qword [rsp + 0x58], rbp
call fcn.1400c1e7c
mov r9d, r14d
lea edx, [rdi + 0x10]
mov r8, rax
mov rcx, r15
mov rbx, rax
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test r14d, r14d
jle 0x14002b1f7
mov rdx, rbx
mov rcx, rbx
neg rdx
nop dword [rax + rax]
movzx eax, byte [rcx]
dec al
test al, 0xfd
je 0x14002b1f7
inc rcx
inc edi
lea rax, [rdx + rcx]
cmp rax, r14
jl 0x14002b1e0
movsxd rax, edi
mov esi, edi
cmp rax, r14
jge 0x14002b227
mov rdx, rbx
lea rcx, [rax + rbx]
neg rdx
nop dword [rax + rax]
movzx eax, byte [rcx]
dec al
test al, 0xfd
jne 0x14002b227
inc rcx
inc esi
lea rax, [rcx + rdx]
cmp rax, r14
jl 0x14002b210
mov rcx, rbx
call fcn.1400c1bd0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
mov edx, dword [r13]
cmp edi, esi
mov ecx, edi
cmovl ecx, esi
add ecx, edx
lea eax, [rdx + rdi]
cmp eax, ecx
mov dword [r12], eax
cmovl eax, ecx
mov dword [r12 + 4], eax
mov rax, r12
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002b340
Capabilities:
Log keystrokes via input method manager

Disassembly:
push rsi
push rdi
push r13
sub rsp, 0x30
xor eax, eax
mov rsi, r8
mov qword [rdx], rax
mov rdi, rdx
mov dword [rdx + 8], eax
mov r13, rcx
mov dword [rdx + 0x10], eax
test r8, r8
je 0x14002b49f
test r9b, 0x20
je 0x14002b49f
xor r9d, r9d
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea edx, [rax + 0x20]
mov rcx, rsi
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
movsxd rbp, eax
test eax, eax
jle 0x14002b48e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], r15
mov r15, rbp
shr r15, 2
lea rcx, [r15*4]
call fcn.1400c1e7c
mov r9d, ebp
mov r8, rax
mov edx, 0x20
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x14002b46b
cmp r15, 1
jbe 0x14002b46b
mov qword [rsp + 0x60], r12
mov esi, 1
mov qword [rsp + 0x28], r14
mov rcx, rbx
nop dword [rax + rax]
mov edx, dword [rcx]
lea r12, [rcx + 4]
cmp edx, dword [r12]
mov eax, edx
mov r8d, dword [r13]
cmovl eax, dword [r12]
mov ecx, dword [rdi + 0x10]
add eax, r8d
lea ebp, [rdx + r8]
cmp ebp, eax
mov r14d, ebp
cmovl r14d, eax
inc ecx
cmp ecx, dword [rdi + 8]
jle 0x14002b43a
mov eax, ecx
test ecx, ecx
jns 0x14002b428
lea eax, [rcx + 1]
lea edx, [rcx + 8]
sar eax, 1
add edx, eax
mov rcx, rdi
and edx, 0xfffffff8
call fcn.140030760
movsxd rcx, dword [rdi + 0x10]
lea eax, [rcx + 1]
mov dword [rdi + 0x10], eax
mov rax, qword [rdi]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x14002b456
mov dword [rdx], ebp
mov dword [rdx + 4], r14d
inc rsi
mov rcx, r12
cmp rsi, r15
jb 0x14002b3f0
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rcx, rbx
call fcn.1400c1bd0
mov r15, qword [rsp + 0x20]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r13
pop rdi
pop rsi
ret
mov rax, rdi
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r13
pop rdi
pop rsi
ret
mov rax, rdi
add rsp, 0x30
pop r13
pop rdi
pop rsi
ret
Function at 0x14003eeb0
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a8
mov rax, qword [0x1404a90f8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, qword [rsp + 0x310]
mov r13, rcx
mov rcx, qword [rcx + 8]
mov r14, r9
mov rbp, qword [rsp + 0x318]
mov rsi, r8
mov r15, qword [rsp + 0x320]
mov r12, rdx
mov rdi, qword [rsp + 0x328]
cmp rcx, 0xffffffffffffffff
jne 0x14003ef38
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.140040d80
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [r13 + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x14003ef4b
xor al, al
jmp 0x14003f022
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14003f022
lea rax, [rsp + 0x6c]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x28]
call fcn.140046380
mov rax, qword [r12]
mov rcx, qword [rsp + 0x28]
mov qword [r12], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rax - 0x10]
lea rax, [0x1402901c8]
cmp rcx, rax
je 0x14003ef96
or eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x14003ef96
call fcn.1400bd658
mov ecx, dword [rsp + 0x40]
test rsi, rsi
je 0x14003efa8
mov eax, ecx
shr eax, 4
and al, 1
mov byte [rsi], al
test r14, r14
je 0x14003efb6
mov eax, ecx
shr eax, 1
and al, 1
mov byte [r14], al
test rdi, rdi
je 0x14003efc0
and cl, 1
mov byte [rdi], cl
test rbx, rbx
je 0x14003efd7
mov ecx, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x60]
shl rcx, 0x20
add rcx, rax
mov qword [rbx], rcx
movabs r9, 0xfe624e212ac18000
movabs r8, 0x346dc5d63886594b
test rbp, rbp
je 0x14003f006
mov rdx, qword [rsp + 0x54]
mov rax, r8
add rdx, r9
mul rdx
shr rdx, 0xb
mov qword [rbp], rdx
test r15, r15
je 0x14003f020
mov rdx, qword [rsp + 0x44]
mov rax, r8
add rdx, r9
mul rdx
shr rdx, 0xb
mov qword [r15], rdx
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400bd5f0
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003f350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x60
mov rbp, rdx
or edi, 0xffffffff
mov edx, edi
mov esi, r8d
mov rbx, rcx
call fcn.14003f0e0
test al, al
je 0x14003f4a5
test esi, esi
jle 0x14003f4e6
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea edx, [rax + 1]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x88]
mov qword [rsp + 0x58], rax
mov r8d, esi
lea rax, [rsp + 0x40]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003f4d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14003f44c
cmp byte [rbx + 0x1a], 0
jne 0x14003f4d9
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
or r9d, 0xffffffff
mov qword [rsp + 0x38], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 8]
test eax, eax
jne 0x14003f4bf
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14003f4d2
cmp byte [rbx + 0x19], 0
je 0x14003f4d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14003f46e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x14003f4d9
cmp byte [rbx + 0x19], 0
je 0x14003f488
cmp byte [rbx + 0x18], 0
je 0x14003f488
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov byte [rbx + 0x18], 0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
mov rcx, rbx
call fcn.14003f0e0
test al, al
jne 0x14003f384
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003f4a5
mov edi, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003f4a5
xor eax, eax
jmp 0x14003f4a7
Function at 0x14003f4f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rbp, rdx
mov edi, r9d
mov edx, r9d
mov esi, r8d
mov rbx, rcx
call fcn.14003f0e0
test al, al
je 0x14003f641
test esi, esi
jg 0x14003f52b
xor eax, eax
jmp 0x14003f644
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea edx, [rax + 1]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov r8d, esi
lea rax, [rsp + 0x48]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14003f590
mov rcx, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14003f644
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14003f636
cmp byte [rbx + 0x1a], 0
jne 0x14003f5e4
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x38]
or r9d, 0xffffffff
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
test edi, edi
mov qword [rsp + 0x40], rax
cmovns r9d, edi
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 8]
test eax, eax
je 0x14003f5f6
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rcx, qword [rsp + 0x60]
or ebx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14003f644
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14003f57a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x14003f636
cmp byte [rbx + 0x19], 0
je 0x14003f636
cmp byte [rbx + 0x18], 0
je 0x14003f636
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov byte [rbx + 0x18], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret