joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41acdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
test rdx, 0xffffffffffff0000
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
jne 0x41ad10
cmp dword [rcx + 0xa8], 0
jne 0x41ad10
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.0041736c
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.0041ac8c
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x43b9e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00471210]
jne 0x434aaa
rol rcx, 0x10
test cx, 0xffff
jne 0x434aa6
repz ret
ror rcx, 0x10
jmp 0x43b940
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00476b00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x00476bf8]
mov qword [rsp + 0x58], rax
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 0x43b9c5
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, [0x00476b00]
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 0x43b9e7
mov rax, qword [rsp + 0x88]
mov qword [0x00476bf8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00476b98], rax
mov rax, qword [0x00476bf8]
mov qword [0x00476a70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00476b80], rax
mov dword [0x00476a60], 0xc0000409
mov dword [0x00476a64], 1
mov rax, qword [0x00471210]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00471218]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00476af8], eax
mov ecx, 1
call fcn.00447940
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0045b658]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00476af8], 0
jne 0x43ba6e
mov ecx, 1
call fcn.00447940
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 0x4476a0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00439610
xor ebx, ebx
cmp qword [0x00477500], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x4477d1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x447703
xor eax, eax
jmp 0x4478b1
lea rdx, [0x0045c1d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4476fc
mov rcx, rax
call fcn.004395a0
lea rdx, [0x0045c1c0]
mov rcx, rbp
mov qword [0x00477500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004395a0
lea rdx, [0x0045c1a8]
mov rcx, rbp
mov qword [0x00477508], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004395a0
lea rcx, [rsp + 0x30]
mov qword [0x00477510], rax
call fcn.00437540
test eax, eax
je 0x447787
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0043cc10
cmp dword [rsp + 0x30], 2
jne 0x4477d1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004395a0
test rax, rax
mov qword [0x00477520], rax
je 0x4477d1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004395a0
mov qword [0x00477518], rax
mov rcx, qword [0x00477518]
cmp rcx, rsi
je 0x447863
cmp qword [0x00477520], rsi
je 0x447863
call fcn.00439670
call rax
test rax, rax
mov rbp, rax
je 0x44782e
mov rcx, qword [0x00477520]
call fcn.00439670
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x44782e
test byte [rsp + 0x48], 1
jne 0x447863
lea rcx, [rsp + 0x34]
call fcn.00437590
test eax, eax
je 0x447850
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0043cc10
cmp dword [rsp + 0x34], 4
jb 0x44785d
bts edi, 0x15
jmp 0x447897
bts edi, 0x12
jmp 0x447897
mov rcx, qword [0x00477508]
cmp rcx, rsi
je 0x447897
call fcn.00439670
call rax
test rax, rax
mov rbx, rax
je 0x447897
mov rcx, qword [0x00477510]
cmp rcx, rsi
je 0x447897
call fcn.00439670
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x00477500]
call fcn.00439670
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14007b454
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140048f00
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.14007c848
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.14007c848
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x14007b4e9
test dil, dil
je 0x14007b50b
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.14002952c
test eax, eax
je 0x14007b5df
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007b5df
lea rcx, [rbp + 0xff80]
call fcn.14007cce8
test al, al
je 0x14007b50b
lea rcx, [rbp - 0x80]
call fcn.14007cce8
test al, al
je 0x14007b526
test dil, dil
jne 0x14007b55e
xor al, al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000d54c
lea rcx, [rsp + 0x58]
call fcn.14007b8e0
test al, al
lea rcx, [rsp + 0x58]
sete bl
call fcn.140008a8c
test bl, bl
jne 0x14007b50b
lea rcx, [rbp - 0x80]
call fcn.14007cce8
test al, al
je 0x14007b50b
lea rdx, [0x1400dd4d8]
lea rcx, [rbp + 0xff80]
call fcn.14002dd08
lea rcx, [rbp + 0xff80]
call fcn.140028cc8
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140028cc8
xorps xmm0, xmm0
mov dword [rsp + 0x44], esi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
movdqu xmmword [rsp + 0x48], xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14007b50b
mov al, 1
jmp 0x14007b50d
Function at 0x14007ba98
Capabilities:
Delete file
Enumerate files on windows

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 rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x30]
mov r14b, dil
call fcn.14000717c
lea rcx, [rsp + 0x70]
call fcn.14000717c
lea rcx, [rsp + 0x50]
call fcn.14000717c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000385c
mov rcx, qword [rsp + 0x30]
call fcn.14007cce8
test al, al
je 0x14007bb0c
lea rdx, [0x1400dd4d8]
lea rcx, [rsp + 0x30]
call fcn.14000534c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400054b8
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov sil, 1
cmp rax, 0xffffffffffffffff
je 0x14007bbaf
cmp sil, 1
jne 0x14007bbaf
test byte [rbp - 0x70], 0x10
jne 0x14007bb8e
lea rdx, [rsp + 0x70]
mov r14b, sil
lea rcx, [rsp + 0x30]
call fcn.14000ca70
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140005cac
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14000534c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x14007bba4
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007bb43
mov sil, dil
jmp 0x14007bb43
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14007bbbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.140008a8c
lea rcx, [rsp + 0x70]
call fcn.140008a8c
lea rcx, [rsp + 0x30]
call fcn.140008a8c
lea r11, [rsp + 0x2e0]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140083c34
Capabilities:
Create directory
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x4ff68]
mov eax, 0x50050
call fcn.140048f00
sub rsp, rax
mov sil, r9b
mov rdi, r8
mov rcx, rdx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xff50]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor r14d, r14d
test eax, eax
je 0x140083d10
lea r8, [rbp + 0xff50]
lea rdx, [0x1400ddad0]
lea rcx, [rsp + 0x50]
call fcn.140024720
lea rcx, [rsp + 0x50]
call fcn.140028cc8
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140083cc1
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x140083cc1
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140083cd5
test sil, sil
je 0x140083d10
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140083d2a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
lea r11, [rsp + 0x50050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor edx, edx
lea rcx, [rbp + 0x1ff50]
mov r8d, 0x2fffa
call fcn.1400261b0
add bx, bx
mov dword [rbp + 0x1ff50], 0xa0000003
mov word [rbp + 0x1ff5a], bx
lea rdx, [rsp + 0x50]
add bx, 2
lea rcx, [rbp + 0x1ff60]
mov r8d, 0x7fff
mov word [rbp + 0x1ff5c], bx
call fcn.140031f94
movzx eax, word [rbp + 0x1ff5a]
lea r8, [rbp + 0x1ff50]
add ax, 0xc
mov qword [rsp + 0x38], r14
movzx r9d, ax
mov edx, 0x900a4
lea rax, [rbp + 0x4ff70]
mov word [rbp + 0x1ff54], r9w
mov qword [rsp + 0x30], rax
add r9d, 8
mov dword [rsp + 0x28], r14d
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
test eax, eax
jne 0x140083dd1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140083d07
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140083d12
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002240]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002230]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140013800
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov r8d, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
je 0x140013871
test eax, eax
je 0x140013871
lea rcx, str...SwRpcServer.cpp
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140013841
inc rax
jmp 0x140013848
lea rax, str...SwRpcServer.cpp
lea rcx, [0x140042858]
mov rdx, rax
call fcn.140001760
movabs rcx, 0x212500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
add rsp, 0x20
pop rbx
ret
movabs rax, 0x8000000000
add rsp, 0x20
pop rbx
ret
Function at 0x14003af00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140278ec8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0x2a3a2f5c
mov dword [rsp + 0x34], 0x3e3c223f
mov byte [rsp + 0x38], 0x7c
call fcn.140038750
xor esi, esi
lea rdi, [rsp + 0x30]
mov rdx, qword [rbx + 0x18]
mov rcx, rbx
cmp rdx, 8
jb 0x14003af52
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r8, [rax + rax]
mov rax, rbx
lea r11, [r8 + rcx]
jb 0x14003af66
mov rax, qword [rbx]
add rax, r8
mov rcx, rbx
cmp rdx, 8
jb 0x14003af75
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14003afdb
movsx r8d, byte [rdi]
nop
movzx edx, word [rcx]
cmp edx, r8d
je 0x14003af91
add rcx, 2
cmp rcx, rax
jne 0x14003af80
cmp rcx, rax
je 0x14003afdb
lea rdx, [rcx + 2]
mov r9, rax
sub r9, rdx
mov r8, rsi
inc r9
shr r9, 1
cmp rdx, rax
cmova r9, rsi
test r9, r9
je 0x14003afdb
movsx r10d, byte [rdi]
nop dword [rax]
movzx eax, word [rdx]
cmp eax, r10d
je 0x14003afcf
mov word [rcx], ax
add rcx, 2
add rdx, 2
inc r8
cmp r8, r9
jne 0x14003afc0
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14003afe8
mov rax, qword [rbx]
mov rdx, rcx
sub rdx, rax
sar rdx, 1
cmp qword [rbx + 0x10], rdx
jb 0x14003b06e
lfence
mov r8, qword [rbx + 0x10]
sub r11, rcx
sar r11, 1
mov rax, r8
sub rax, rdx
cmp rax, r11
cmovb r11, rax
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14003b01e
mov rax, qword [rbx]
sub r8, r11
lea rcx, [rax + rdx*2]
mov qword [rbx + 0x10], r8
sub r8, rdx
lea rdx, [rcx + r11*2]
lea r8, [r8*2 + 2]
call fcn.140187e90
lea rax, [rsp + 0x39]
inc rdi
cmp rdi, rax
jne 0x14003af42
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140157f90
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14003c340
int3
Function at 0x1400511e0
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 8]
test rax, rax
je 0x140051200
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
add rsp, 0x28
ret
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140051540
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
mov r14, rdx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
and ebx, 1
add ebx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 4
mov ecx, 0x12
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebx, edi
or ebx, 8
mov ecx, 0x90
and al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x14
bts edi, 8
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebp, edi
or ebp, 1
and al, 1
cmove ebp, edi
add rsi, 0xfffffffffffffff4
mov ebx, ebp
cmp rsi, 0x84
ja case.0x1400515f9.14
lea rdx, [0x140000000]
movzx eax, byte [rdx + rsi + 0x516c8]
mov ecx, dword [rdx + rax*4 + 0x516a4]
add rcx, rdx
jmp rcx
bts ebx, 9
and r14d, 0x1000000
test r14, r14
cmove ebx, ebp
jmp case.0x1400515f9.14
bts ebx, 9
and r14d, 0x1000000
test r14, r14
cmovne ebx, ebp
jmp case.0x1400515f9.14
bts ebx, 9
jmp case.0x1400515f9.14
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne case.0x1400515f9.91
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je case.0x1400515f9.14
bts ebx, 0xb
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne case.0x1400515f9.91
mov ecx, 0xa3
jmp 0x14005163e
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne case.0x1400515f9.91
mov ecx, 0xa5
jmp 0x14005163e
bts ebx, 0xa
jmp case.0x1400515f9.14

Function at 0x140051750
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
movzx eax, cl
shr rdx, 1
mov rdi, rcx
and edx, 4
mov ecx, 0x12
mov ebx, edx
or ebx, 2
and al, 4
cmove ebx, edx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
or ecx, 8
and al, 1
movzx eax, dil
cmove ecx, ebx
mov edx, ecx
or edx, 0x10
and al, 1
movzx eax, dil
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
cmove ecx, edx
mov ebx, ecx
or ebx, 0x40
and dil, 2
cmove ebx, ecx
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x14
bts edi, 8
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [rsp + 0x30]
mov ecx, edi
or ecx, 1
and al, 1
cmove ecx, edi
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400517f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov rbx, rcx
mov word [rcx], si
mov ecx, 0x210
mov qword [rax + 0x10], 8
mov qword [rax - 0x40], 8
mov qword [rax - 0x28], 0x107
mov qword [rax - 0x20], 0xa
call fcn.140002c80
mov r8, rax
mov qword [rbx + 0x10], 0x104
mov qword [rbx + 0x18], 0x107
mov rdi, r8
movzx eax, si
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [r8 + 0x208], si
mov rdx, rbx
mov qword [rbx], r8
cmp qword [rbx + 0x18], 8
mov ecx, dword [rbx + 0x10]
cmovae rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x1400518a7
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140051898
lfence
mov rax, qword [rbx]
mov word [rax + rdx*2], si
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lfence
mov rdi, qword [rbx + 0x18]
sub rdx, rax
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x1400518f9
lea r9, [rcx + rdx]
mov r8, rbx
mov qword [rbx + 0x10], r9
cmp rdi, 8
jb 0x1400518d7
lfence
mov r8, qword [rbx]
lea rdi, [r8 + rcx*2]
test rdx, rdx
je 0x1400518e9
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r8 + r9*2], si
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lfence
mov r9, rdx
mov word [rsp + 0x20], si
xor r8d, r8d
mov rcx, rbx
call fcn.1400381b0
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140051c60
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140278ec8]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor esi, esi
mov rax, rdx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
cmp qword [rdx + 0x18], 8
jb 0x140051ca1
mov rax, qword [rdx]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140051d8c
nop dword [rax]
test byte [rsp + 0x40], 0x10
jne 0x140051d76
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], 7
mov r8, 0xffffffffffffffff
mov word [rsp + 0x20], si
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140051cf0
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400258a0
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x140051d2b
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rbx + 8], 0x20
jmp 0x140051d76
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14004fc70
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140051d76
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051d71
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051dbd
call fcn.140157ef0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140051cc0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rbx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140157f90
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1401963ac
int3
Function at 0x140052b80
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret