joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058680
Capabilities:
Connect to http server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov sil, r9b
mov rdi, rdx
mov rbx, rcx
test r8b, r8b
je 0x1400586af
mov r8b, r9b
call fcn.140058540
jmp 0x1400587a3
mov ebp, dword [rcx + 0x90]
mov rcx, qword [rdx + 0x60]
mov eax, dword [rdx + 0xe0]
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9, qword [rdx + 0x40]
movzx r8d, word [rdx + 0xe8]
mov rdx, qword [rdx + 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx], rax
test rax, rax
jne 0x14005870e
lea edx, [rax + 0x15]
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.14004ea00
jmp 0x1400587a3
mov rdx, qword [rdi + 0xc0]
and qword [rsp + 0x20], 0
mov r9d, ebp
mov r8d, 0x80000000
mov rcx, rax
call qword [sym.imp.WININET.dll_FtpOpenFileW]
mov rcx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x48], rcx
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140058754
xor r9d, r9d
lea edx, [rax + 0x16]
mov r8d, 0xdeadbeef
jmp 0x14005878d
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [rsp + 0x70]
shl rcx, 0x20
mov eax, eax
or rcx, rax
mov qword [rbx + 0x18], rcx
test sil, sil
je 0x140058785
mov rdx, rdi
mov rcx, rbx
call fcn.14004ec30
jmp 0x140058795
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.14004ea00
lea rcx, [rsp + 0x40]
mov bl, al
call fcn.14003e820
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400587c0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
cmp dword [rdx + 0xe4], 4
mov esi, dword [rcx + 0x90]
mov r13b, r9b
mov r12b, r8b
mov rbp, rdx
mov rbx, rcx
jne 0x1400587ef
bts esi, 0x17
mov eax, dword [rdx + 0xe0]
mov r10, qword [rdx + 0x60]
and qword [rsp + 0x38], 0
mov r9, qword [rdx + 0x40]
movzx r8d, word [rdx + 0xe8]
and dword [rsp + 0x30], 0
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r10
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx], rax
test rax, rax
jne 0x140058848
lea edx, [rax + 0xb]
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.14004ea00
jmp 0x1400589ad
and qword [rsp + 0x38], 0
mov r8, qword [rbp + 0xc0]
mov dword [rsp + 0x30], esi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rcx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x48], rcx
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140058894
lea edx, [rax + 0xc]
jmp 0x14005898e
test r12b, r12b
je 0x1400588a7
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.14004ec50
bt esi, 0xc
jae 0x1400588f8
mov esi, SafeArrayAllocDescriptor
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xa0]
mov rcx, rdi
mov edx, esi
mov dword [rsp + 0xa8], 4
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
bts dword [rsp + 0xa0], 8
lea r9d, [rsi - 0x1b]
lea r8, [rsp + 0xa0]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140058989
mov rdx, rdi
mov rcx, rbx
call fcn.14003e8d0
cmp eax, 0xc8
jne 0x140058989
and dword [rsp + 0xa0], 0
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x50]
mov edx, 5
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xa8], SafeArrayDestroyDescriptor
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea rcx, [rsp + 0x50]
call fcn.1400177d0
mov rcx, rbx
mov qword [rbx + 0x18], rax
test r13b, r13b
je 0x14005897f
mov rdx, rdi
call fcn.14004ec30
jmp 0x14005899f
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x14005899a
mov edx, reloc.WSOCK32.dll_listen
mov rcx, rbx
mov r8d, 0xdeadbeef
xor r9d, r9d
call fcn.14004ea00
lea rcx, [rsp + 0x40]
mov bl, al
call fcn.14003e820
mov al, bl
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140058f00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov ebx, r9d
mov esi, r8d
mov rdi, rdx
call fcn.14004f560
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14004f490
test esi, esi
je 0x140058f55
mov rbx, rsi
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0xff
call fcn.14004f520
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x140058f38
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140059270
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [reloc.WSOCK32.dll_accept], 1
jne 0x140059282
call fcn.14004f730
mov rax, qword [0x1400c5520]
pxor xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400c5520], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1400a3c90]
add rsp, 0x28
ret

Function at 0x1400592e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [reloc.WSOCK32.dll_accept], 1
jne 0x1400592f2
call fcn.14004f730
mov rax, qword [0x1400c5520]
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400c5520], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
add rsp, 0x28
ret

Function at 0x140059460
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
mov eax, 0x10030
call fcn.140030cb0
sub rsp, rax
mov eax, 0x1f5
mov r12d, 0xffff
mov rdi, rcx
xchg dword [rcx + 0x60], eax
mov qword [rcx + 0x20], r12
mov rcx, r12
call fcn.140016ed8
mov qword [rdi + 0x10], rax
jmp 0x1400595b2
cmp dword [rsp + 0x10040], 0
jbe 0x1400595da
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x18]
mov ecx, dword [rsp + 0x10040]
add rcx, rax
cmp qword [rdi + 0x20], rcx
jae 0x14005957b
mov rcx, qword [rdi + 0x18]
call fcn.140016ed8
mov r8, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
mov rcx, rax
mov rsi, rax
call fcn.140016710
mov rcx, qword [rdi + 0x10]
call fcn.140016a60
mov r11d, dword [rsp + 0x10040]
mov rcx, qword [rdi + 0x18]
pxor xmm0, xmm0
add r11, rcx
cvtsi2sd xmm0, r11
jns 0x14005951b
addsd xmm0, qword [0x1400a3cc8]
mulsd xmm0, qword [0x1400a3cc0]
xor eax, eax
comisd xmm0, xmmword [0x1400a3cb8]
jbe 0x14005954e
subsd xmm0, qword [0x1400a3cb8]
comisd xmm0, xmmword [0x1400a3cb8]
jae 0x14005954e
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm0
add rcx, rax
mov qword [rdi + 0x20], rcx
call fcn.140016ed8
mov r8, qword [rdi + 0x18]
mov qword [rdi + 0x10], rax
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call fcn.140016710
mov rcx, rsi
call fcn.140016a60
mov rcx, qword [rdi + 0x18]
mov r8d, dword [rsp + 0x10040]
lea rdx, [rsp + 0x30]
add rcx, qword [rdi + 0x10]
call fcn.140016710
mov r11d, dword [rsp + 0x10040]
mov rax, qword [rdi + 0x18]
add r11, rax
lea rcx, [rdi + 0x28]
mov qword [rdi + 0x18], r11
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x50]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x10040]
lea rdx, [rsp + 0x30]
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400594a4
lea r11, [rsp + 0x10030]
mov eax, 0x1f6
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov ecx, eax
xchg dword [rdi + 0x60], ecx
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140059670
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x58], 0
mov rdi, rcx
je 0x1400596d8
mov eax, dword [rcx + 0x60]
mov ebp, 0x1f6
xchg dword [rcx + 0x60], eax
cmp eax, ebp
je 0x1400596d8
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x58]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x58]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rdi + 0x58]
call fcn.14003f700
xchg dword [rdi + 0x60], ebp
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400596f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rbx, rcx
jne 0x140059727
lea rax, [rsp + 0x40]
mov r9, rcx
lea r8, [0x140059600]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x58], rax
add rsp, 0x30
pop rbx
ret

Function at 0x140059c20
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov bl, dl
lea rdx, [rsp + 0x60]
call fcn.1400151d0
lea rcx, [rsp + 0x60]
call fcn.140040ec0
xor edi, edi
cmp al, dil
jne 0x140059c4e
xor al, al
jmp 0x140059cb3
lea rcx, [rsp + 0x60]
cmp bl, dil
jne 0x140059c65
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, edi
setne al
jmp 0x140059cb3
call fcn.140016a44
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, edi
sete al
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140059cd0
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x480
mov rbx, rdx
lea rdx, [rsp + 0x270]
mov dil, r8b
call fcn.1400151d0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400151d0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
cmp eax, ebx
jne 0x140059d52
cmp dil, bl
je 0x140059d4b
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call fcn.140017790
cmp eax, ebx
je 0x140059d44
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x140059dfe
xor al, al
jmp 0x140059dfe
lea rcx, [rsp + 0x270]
call fcn.140040ec0
cmp al, bl
je 0x140059d4b
lea rcx, [rsp + 0x60]
call fcn.140040ec0
cmp al, bl
je 0x140059e0f
cmp dil, bl
je 0x140059d4b
lea rdx, str..
lea rcx, [rsp + 0x270]
call fcn.140016e20
lea rcx, [rsp + 0x270]
call fcn.140016a44
lea rcx, [rsp + 0x60]
mov word [rsp + rax*2 + 0x272], bx
call fcn.140016a44
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 2
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, ebx
sete al
mov rbx, qword [rsp + 0x490]
add rsp, 0x480
pop rdi
ret
lea rcx, [rsp + 0x60]
call fcn.140040a20
cmp al, bl
je 0x140059d4b
lea rcx, [rsp + 0x60]
call fcn.140040ec0
cmp al, bl
jmp 0x140059d78
Function at 0x140059e40
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

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
push r13
push r14
mov eax, 0x1100
call fcn.140030cb0
sub rsp, rax
mov rbx, rdx
lea rdx, [rsp + 0x460]
xor edi, edi
mov r12b, r9b
mov r13b, r8b
mov sil, dil
call fcn.1400151d0
lea rdx, [rsp + 0x670]
mov rcx, rbx
call fcn.1400151d0
lea rdx, [rsp + 0x670]
lea rcx, [rsp + 0x460]
call fcn.140040e10
lea rcx, [rsp + 0x460]
mov r14b, al
call fcn.140040ec0
cmp al, dil
je 0x140059ecf
lea rdx, str..
lea rcx, [rsp + 0x460]
call fcn.140016e20
lea rcx, [rsp + 0x670]
call fcn.140040ec0
cmp al, dil
je 0x140059ef5
lea rdx, str..
lea rcx, [rsp + 0x670]
call fcn.140016e20
lea rax, [rsp + 0xef0]
lea r9, [rsp + 0xad0]
lea r8, [rsp + 0xce0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x460]
mov qword [rsp + 0x20], rax
call fcn.14001823c
lea rdx, [rsp + 0x880]
lea rcx, [rsp + 0x460]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov bpl, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005a098
cmp bpl, 1
jne 0x14005a098
test byte [rsp + 0x880], 0x10
jne 0x14005a06a
lea rax, [rsp + 0x250]
lea r9, [rsp + 0x670]
lea r8, [rsp + 0xef0]
lea rdx, [rsp + 0xad0]
lea rcx, [rsp + 0x8ac]
mov qword [rsp + 0x20], rax
call fcn.140040c40
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016e4c
lea rdx, [rsp + 0xce0]
lea rcx, [rsp + 0x40]
call fcn.140016e20
lea rdx, [rsp + 0x8ac]
lea rcx, [rsp + 0x40]
call fcn.140016e20
lea rcx, [rsp + 0x250]
call fcn.140040f30
cmp al, dil
je 0x14005a007
cmp r13b, dil
je 0x14005a08b
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x14005a027
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
cmp r12b, 1
jne 0x14005a05a
cmp r14b, dil
jne 0x14005a040
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14005a063
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x14005a09b
jmp 0x14005a067
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
je 0x14005a08b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005a063
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
je 0x14005a08b
mov sil, 1
lea rdx, [rsp + 0x880]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x140059f4a
mov bpl, dil
jmp 0x140059f4a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x14005a0a7
mov dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x14005a0d0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xac0
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov bpl, bl
call fcn.1400151d0
lea rcx, [rsp + 0x30]
call fcn.140040ec0
cmp al, bl
je 0x14005a115
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140016e20
lea rax, [rsp + 0x8b0]
lea r9, [rsp + 0x6a0]
lea r8, [rsp + 0x490]
lea rdx, [rsp + 0xad8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14001823c
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dil, 1
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14005a1d6
cmp dil, 1
jne 0x14005a1d6
test byte [rsp + 0x240], 0x10
jne 0x14005a1bc
lea rdx, [rsp + 0xad8]
lea rcx, [rsp + 0x30]
mov bpl, dil
call fcn.140016e4c
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x30]
call fcn.140016e20
lea rdx, [rsp + 0x26c]
lea rcx, [rsp + 0x30]
call fcn.140016e20
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x14005a1d9
lea rdx, [rsp + 0x240]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x14005a163
mov dil, bl
jmp 0x14005a163
mov bl, bpl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0xac0]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005a410
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
movzx r12d, word [rdx + 8]
xor r13d, r13d
mov rsi, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r13
je 0x14005a4fe
cmp dil, 0x14
je 0x14005a4fe
cmp dil, 0x90
je 0x14005a4fe
cmp dil, 0x91
je 0x14005a4fe
mov rcx, rdx
call fcn.140042140
cmp al, r13b
je 0x14005a573
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
movzx r12d, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + r12 + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx r11d, bpl
shl r11d, 0x10
mov eax, 0xc0000001
mov rcx, rsi
movsxd rbp, r11d
or rbp, rax
call fcn.1400517e0
cmp al, 1
jne 0x14005a4bd
bts rbp, 0x18
cmp byte [rbx + 0x1b], r13b
jne 0x14005a4cf
cmp byte [rbx + 0x21], r13b
jne 0x14005a4cf
cmp dil, 0x12
jne 0x14005a4e7
cmp byte [rbx + 0x1a], r13b
jne 0x14005a4e7
cmp byte [rbx + 0x20], r13b
jne 0x14005a4e7
bts rbp, 0x1d
mov edx, 0x105
jmp 0x14005a4ec
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
mov r8, r12
mov r9, rbp
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14005a573
mov rcx, rdx
call fcn.140042140
cmp al, r13b
je 0x14005a538
mov rcx, rsi
call fcn.1400517e0
mov qword [rsp + 0x20], r13
mov r8b, bpl
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x14005a531
mov r9d, 2
call fcn.140041fa0
jmp 0x14005a573
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x38], r13w
mov word [rsp + 0x3a], r12w
mov dword [rsp + 0x3c], 6
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.140042030
Function at 0x14005a5a0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

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
push r13
push r14
sub rsp, 0x160
mov dil, byte [rdx]
mov r12b, byte [rdx + 7]
movzx esi, word [rdx + 8]
xor r14d, r14d
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r14
je 0x14005a6a1
cmp dil, 0x14
je 0x14005a6a1
cmp dil, 0x90
je 0x14005a6a1
cmp dil, 0x91
je 0x14005a6a1
mov rcx, rdx
call fcn.140042140
cmp al, r14b
je 0x14005a686
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
movzx r13d, dil
lea rcx, [rsp + 0x60]
or byte [rsp + r13 + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx r11d, r12b
shl r11d, 0x10
mov rcx, rbp
movsxd rsi, r11d
or rsi, 1
call fcn.1400517e0
cmp al, 1
jne 0x14005a649
bts rsi, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x14005a65b
cmp byte [rbx + 0x21], r14b
jne 0x14005a65b
cmp dil, 0x12
jne 0x14005a679
cmp byte [rbx + 0x1a], r14b
jne 0x14005a679
cmp byte [rbx + 0x20], r14b
jne 0x14005a679
bts rsi, 0x1d
mov r8, r13
mov edx, 0x104
mov r9, rsi
jmp 0x14005a695
mov r9, rsi
mov r8, r13
mov edx, 0x100
jmp 0x14005a695
movzx r8d, si
mov edx, 0x102
mov r9d, 1
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14005a714
mov rcx, rdx
call fcn.140042140
cmp al, r14b
je 0x14005a6da
mov rcx, rbp
call fcn.1400517e0
mov qword [rsp + 0x20], r14
mov r8b, r12b
mov dl, dil
mov rcx, rbx
cmp al, 1
jne 0x14005a6d0
mov r9d, 1
jmp 0x14005a6d3
xor r9d, r9d
call fcn.140041fa0
jmp 0x14005a714
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x38], r14w
mov word [rsp + 0x3a], si
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
jmp fcn.140042010

Function at 0x14005a740
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14005a5a0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005a410
Function at 0x14005a770
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov byte [rcx + 7], 0
mov byte [rcx], 0xff
mov byte [rcx + 1], 0
mov byte [rcx + 2], 0
mov byte [rcx + 3], 0
mov byte [rcx + 4], 0
mov byte [rcx + 5], 0
mov byte [rcx + 6], 0
movzx edi, dx
mov byte [rcx + 0xa], 0
mov word [rcx + 8], dx
mov rbx, rcx
call fcn.140042130
test al, al
jne 0x14005a7b4
xor al, al
jmp 0x14005a7f6
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
je 0x14005a7b0
movzx edi, ax
movzx ecx, al
xor edx, edx
sar di, 8
mov byte [rbx], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x14005a7e4
mov byte [rbx + 1], al
test dil, 2
je 0x14005a7ed
mov byte [rbx + 3], al
test dil, 4
je 0x14005a7f6
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14005a810
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov dil, dl
mov rbx, rcx
mov word [rcx + 8], si
mov byte [rcx + 7], sil
mov byte [rcx + 1], sil
mov byte [rcx + 2], sil
mov byte [rcx + 3], sil
mov byte [rcx + 4], sil
mov byte [rcx + 5], sil
mov byte [rcx + 6], sil
mov byte [rcx + 0xa], sil
mov byte [rcx], dl
call fcn.140042140
cmp al, sil
jne 0x14005a85b
xor al, al
jmp 0x14005a86c
movzx ecx, dil
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140061180
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
lea rcx, [rsp + 0x48]
call fcn.140001d30
mov rax, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
lea rdx, [0x1400a14b8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
inc dword [rax]
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x80], rax
call fcn.140011830
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x90]
mov bl, 1
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x140061355
mov bpl, byte [rsp + 0x330]
mov sil, byte [rsp + 0x328]
mov rdi, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x300]
call fcn.14004f350
cmp eax, 1
je 0x14006134e
cmp eax, 0xb
jne 0x140061247
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140061221
lea rdx, [0x14009e2cc]
lea rcx, [rsp + 0xbc]
call fcn.140017790
test eax, eax
je 0x140061331
lea rdx, [0x1400a14c0]
lea rcx, [rsp + 0xbc]
call fcn.140017790
test eax, eax
je 0x140061331
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140012600
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x48]
call fcn.140011830
test byte [rsp + 0x90], 0x10
je 0x140061301
test sil, sil
je 0x1400612b2
inc qword [rdi]
test bpl, bpl
je 0x140061331
lea rdx, [0x14009bd8c]
lea rcx, [rsp + 0x48]
call fcn.140011830
mov r9, qword [rsp + 0x318]
mov r8, qword [rsp + 0x310]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x300]
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rdi
call fcn.140061180
mov bl, al
test al, al
je 0x140061350
jmp 0x140061331
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xac]
shl rcx, 0x20
or rcx, rax
mov rax, qword [rsp + 0x310]
add qword [rax], rcx
test sil, sil
je 0x140061331
mov rax, qword [rsp + 0x318]
inc qword [rax]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140061221
jmp 0x140061350
xor bl, bl
mov rax, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x68]
call fcn.140002610
lea rcx, [rsp + 0x48]
call fcn.140002610
mov al, bl
mov rbx, qword [rsp + 0x308]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret