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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x120
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rdx], esi
mov word [rdx + 4], si
cmp qword [rcx + 0x28], rsi
je 0x14000d7c2
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14000d898
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x14000d777
cmp byte [rsp + 0x30], al
jne 0x14000d780
cmp byte [rdi + 0x1e], sil
jne 0x14000d780
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x14000d793
cmp byte [rdi + 0x1f], sil
jne 0x14000d793
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x14000d7a3
cmp byte [rdi + 0x20], sil
jne 0x14000d7a3
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x14000d7b3
cmp byte [rdi + 0x21], sil
jne 0x14000d7b3
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x14000d898
jmp 0x14000d88e
mov ecx, RegisterTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x14000d7e7
mov ecx, RegisterTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14000d7f0
cmp byte [rdi + 0x1e], sil
jne 0x14000d7f0
mov byte [rbx], 1
mov ecx, RegisterTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14000d810
mov ecx, RegisterTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14000d81a
cmp byte [rdi + 0x1f], sil
jne 0x14000d81a
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14000d83a
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14000d844
cmp byte [rdi + 0x20], sil
jne 0x14000d844
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14000d864
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14000d86e
cmp byte [rdi + 0x21], sil
jne 0x14000d86e
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14000d88e
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14000d898
cmp byte [rdi + 0x22], sil
jne 0x14000d898
mov byte [rbx + 4], 1
lea r11, [rsp + 0x120]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000dd08
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
sub rsp, 0x150
mov sil, byte [rdx]
mov r12b, byte [rdx + 7]
movzx eax, word [rdx + 8]
mov rdi, rcx
mov rcx, qword [rcx + 0x28]
xor ebx, ebx
mov rbp, rdx
test rcx, rcx
je 0x14000ddf6
cmp sil, 0x14
je 0x14000ddf6
cmp sil, 0x90
je 0x14000ddf6
cmp sil, 0x91
je 0x14000ddf6
cmp sil, 0xff
je 0x14000dddf
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14000dd8b
movzx eax, sil
lea rcx, [rsp + 0x50]
or byte [rsp + rax + 0x50], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, r12b
mov rcx, rbp
shl eax, 0x10
movsxd r9, eax
or r9, 1
call fcn.14000c8c8
cmp al, 1
jne 0x14000ddaa
bts r9, 0x18
cmp byte [rdi + 0x1b], bl
jne 0x14000ddba
cmp byte [rdi + 0x21], bl
jne 0x14000ddba
cmp sil, 0x12
jne 0x14000ddd0
cmp byte [rdi + 0x1a], bl
jne 0x14000ddd0
cmp byte [rdi + 0x20], bl
jne 0x14000ddd0
bts r9, 0x1d
mov edx, 0x104
jmp 0x14000ddd5
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
movzx r8d, sil
jmp 0x14000ddee
movzx r8d, ax
mov edx, 0x102
mov r9d, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14000de58
cmp sil, 0xff
je 0x14000de23
mov rcx, rdx
call fcn.14000c8c8
mov r8b, r12b
mov dl, sil
mov rcx, rdi
cmp al, 1
jne 0x14000de19
mov r9d, 1
jmp 0x14000de1c
xor r9d, r9d
call fcn.14000e008
jmp 0x14000de58
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x28], bx
mov word [rsp + 0x2a], ax
mov qword [rsp + 0x2c], 4
mov qword [rsp + 0x38], rbx
call qword [sym.imp.USER32.dll_SendInput]
cmp qword [rdi + 0x28], rbx
mov ecx, dword [rdi + 4]
mov eax, 2
cmovne ebx, eax
cmp ecx, ebx
jge 0x14000de6d
mov ecx, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.14000e248
Function at 0x14000de90
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, 0x150
mov sil, byte [rdx]
mov r12b, byte [rdx + 7]
movzx eax, word [rdx + 8]
xor ebx, ebx
mov rbp, rdx
mov rdi, rcx
lea r13d, [rbx + 2]
cmp qword [rcx + 0x28], rbx
je 0x14000df75
cmp sil, 0x14
je 0x14000df75
cmp sil, 0x90
je 0x14000df75
cmp sil, 0x91
je 0x14000df75
cmp sil, 0xff
je 0x14000dfd5
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14000df17
movzx eax, sil
lea rcx, [rsp + 0x50]
xor byte [rsp + rax + 0x50], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, r12b
mov rcx, rbp
shl eax, 0x10
movsxd r9, eax
mov eax, 0xc0000001
or r9, rax
call fcn.14000c8c8
cmp al, 1
jne 0x14000df3a
bts r9, 0x18
cmp byte [rdi + 0x1b], bl
jne 0x14000df4a
cmp byte [rdi + 0x21], bl
jne 0x14000df4a
cmp sil, 0x12
jne 0x14000df60
cmp byte [rdi + 0x1a], bl
jne 0x14000df60
cmp byte [rdi + 0x20], bl
jne 0x14000df60
bts r9, 0x1d
mov edx, 0x105
jmp 0x14000df65
mov edx, 0x101
mov rcx, qword [rdi + 0x28]
movzx r8d, sil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14000dfd5
cmp sil, 0xff
je 0x14000dfa0
mov rcx, rdx
call fcn.14000c8c8
mov r8b, r12b
mov dl, sil
mov rcx, rdi
mov r9d, 3
cmp al, 1
je 0x14000df99
mov r9d, r13d
call fcn.14000e008
jmp 0x14000dfd5
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x28], bx
mov word [rsp + 0x2a], ax
mov qword [rsp + 0x2c], 6
mov qword [rsp + 0x38], rbx
call qword [sym.imp.USER32.dll_SendInput]
cmp qword [rdi + 0x28], rbx
cmovne ebx, r13d
mov ecx, ebx
cmp dword [rdi], ebx
jl 0x14000dfe5
mov ecx, dword [rdi]
lea r11, [rsp + 0x150]
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.14000e248
Function at 0x14000e104
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r13b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14000e133
cmp byte [rcx + 9], dl
je 0x14000e22d
xor r12d, r12d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r13b, r13b
je 0x14000e1e4
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r12 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400b6b18], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r13d, eax
test rdi, rdi
je 0x14000e1bd
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400b6b18]
mov dword [0x1400b6b14], eax
cmp ecx, eax
je 0x14000e1ab
lea r8d, [r12 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r12d, eax
mov eax, dword [0x1400b6b14]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r13d, r13d
jne 0x14000e22d
test r12d, r12d
jne 0x14000e22d
test ebp, ebp
jne 0x14000e22d
mov eax, dword [0x1400b6b18]
cmp ebx, eax
jne 0x14000e22d
cmp eax, dword [0x1400b6b14]
jne 0x14000e22d
and qword [rsi + 0x28], 0
jmp 0x14000e22d
test rdi, rdi
je 0x14000e218
mov edx, dword [0x1400b6b14]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r11d, dword [0x1400b6b18]
mov edx, dword [0x1400b6b14]
cmp r11d, edx
je 0x14000e21f
xor r8d, r8d
mov ecx, r11d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r11d, dword [0x1400b6b18]
xor r8d, r8d
mov edx, r11d
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14000e248
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x14000e2d0
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, ecx
movaps xmmword [rsp + 0x20], xmm7
test ecx, ecx
je 0x14000e2bb
cmp ebx, 0xf
jae 0x14000e2b9
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000e2b9
pxor xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x58]
pxor xmm6, xmm6
sub r11, qword [rsp + 0x60]
cvtsi2sd xmm6, r11
call fcn.14001368c
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14000e282
jmp 0x14000e2c1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret
Function at 0x14000e6f0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
jne 0x14000e723
mov eax, 1
jmp 0x14000e888
xor ebx, ebx
test rax, rax
jne 0x14000e73c
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14000e757
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14000e881
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rdi
mov r12d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r12d
mov edx, eax
mov r8d, esi
mov r13d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r13d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14000e84f
lea esi, [rax + 0x12]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x14000e854
lea ebx, [rsi - 0xe]
jmp 0x14000e854
mov ebx, 3
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r13d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14000e886
mov ebx, 2
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140011094
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rbp, r8
mov r12, rdx
mov rdi, rcx
jne 0x1400110de
and dword [rcx + 0x10], 0
and dword [rcx + 0x14], 0
mov rcx, qword [rcx]
lea r8, [rax + 8]
mov r9d, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r11, qword [rsp + 0x40]
mov qword [rdi + 0x18], r11
xor esi, esi
test rbp, rbp
je 0x140011138
mov eax, dword [rdi + 0x10]
cmp dword [rdi + 0x14], eax
jne 0x14001111e
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0x10000
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140011138
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140011138
and dword [rdi + 0x14], 0
mov dword [rdi + 0x10], eax
movsxd rdx, dword [rdi + 0x14]
mov rcx, qword [rdi + 8]
mov dl, byte [rdx + rcx]
mov byte [rsi + r12], dl
inc dword [rdi + 0x14]
inc rsi
cmp rsi, rbp
jb 0x1400110e5
add qword [rdi + 0x18], rsi
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret

Function at 0x140011158
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400111ce
and dword [rcx + 0x10], 0
and dword [rcx + 0x14], 0
mov rcx, qword [rcx]
lea r8, [rsp + 0x58]
mov r9d, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rdx, qword [rdi + 0x18]
mov rcx, qword [rdi]
sub rdx, qword [rsp + 0x58]
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, qword [rdi]
lea r8, [rsp + 0x58]
mov r9d, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r11, qword [rsp + 0x58]
mov qword [rdi + 0x18], r11
mov rcx, qword [rdi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add qword [rdi + 0x18], rax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400114c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rsp + 0x60]
lea eax, [r9 + r9]
xor esi, esi
mov dword [rsp + 0x58], eax
lea rax, [r11 + 0x28]
mov rdi, r8
lea r9d, [rsi + 1]
xor r8d, r8d
mov word [rbx], si
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011530
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400115a0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x7b8]
sub rsp, 0x8a0
mov r12, rdx
xor edx, edx
mov r13, rcx
lea ecx, [rdx + 2]
mov rbx, r8
mov dword [rsp + 0x30], 0x238
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rcx, r13
mov byte [rbx], 0
call fcn.140011830
mov esi, eax
jmp 0x140011682
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x14001168b
lea rax, [rbp + 0x380]
lea r9, [rbp + 0x170]
lea r8, [rbp + 0x590]
lea rdx, [rbp + 0x7d0]
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call fcn.140070abc
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call fcn.14006f720
lea rcx, [rbp + 0x170]
mov rdx, r13
call fcn.14006f698
test eax, eax
jne 0x14001166f
mov eax, dword [rsp + 0x38]
mov dword [r12], eax
jmp 0x14001167f
test esi, esi
je 0x140011682
mov ecx, dword [rsp + 0x38]
cmp esi, ecx
jne 0x140011682
mov dword [r12], ecx
mov byte [rbx], 1
cmp byte [rbx], 0
je 0x140011601
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x8a0]
mov al, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x1400116b4
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xfb8]
mov eax, 0x1090
call fcn.14007edb0
sub rsp, rax
mov rdi, r8
mov r15, rcx
mov r14, rdx
lea r8, [rbp + 0xfd8]
lea rcx, [rbp + 0x790]
mov edx, 0x800
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x14001180e
mov esi, dword [rbp + 0xfd8]
mov rcx, r15
mov byte [rdi], 0
shr esi, 2
call fcn.140011830
xor r12d, r12d
mov r13d, eax
test esi, esi
je 0x14001180c
lea rbx, [rbp + 0x790]
cmp byte [rdi], 0
jne 0x14001180c
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rbp + 0xfd8]
lea rdx, [rsp + 0x38]
mov rcx, rax
mov r8d, 8
mov qword [rsp + 0x30], rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rbp + 0x160]
mov r9d, 0x104
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x1400117f1
lea rax, [rbp + 0x370]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x580]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x160]
mov qword [rsp + 0x20], rax
call fcn.140070abc
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x50]
call fcn.14006f720
lea rcx, [rsp + 0x50]
mov rdx, r15
call fcn.14006f698
test eax, eax
jne 0x1400117df
mov eax, dword [rbx]
mov dword [r14], eax
jmp 0x1400117ee
test r13d, r13d
je 0x1400117f1
mov ecx, dword [rbx]
cmp r13d, ecx
jne 0x1400117f1
mov dword [r14], ecx
mov byte [rdi], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12d
add rbx, 4
cmp r12d, esi
jb 0x140011733
mov al, 1
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140011884
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
xor edi, edi
mov esi, r9d
mov rbp, r8
mov r12, rdx
mov r13, rcx
mov byte [0x1400a4c4e], dil
test ebx, ebx
je 0x1400118fa
mov byte [0x1400a4c4f], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x80]
lea r8, [0x140011958]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x34], ebx
call fcn.140070ec4
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r12
mov rcx, r13
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test rdi, rdi
je 0x14001192f
or edx, 0xffffffff
mov rcx, rdi
mov byte [0x1400a4c4f], 0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
or eax, 0xffffffff
cmp byte [0x1400a4c4e], 1
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x140011b70
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov rbx, rcx
mov ecx, r9d
mov edi, r9d
mov rbp, r8
mov r12, rdx
call fcn.14006f7d8
mov r8d, edi
xor edx, edx
mov rcx, rbx
mov r9, rax
mov r13, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rbp
call fcn.14006f364
mov rcx, 0xffffffffffffffff
lea r11, [rax + 0x1a]
mov eax, 2
mul r11
cmovo rax, rcx
mov rcx, rax
call fcn.14006f7d8
lea r15, [0x14008b76c]
mov rdx, r15
mov rcx, rax
mov rsi, rax
call fcn.14006f74c
mov rdx, r15
mov rcx, rbp
call fcn.140070060
xor edi, edi
test eax, eax
je 0x140011c8e
lea rdx, str.StringFileInfo_
mov rcx, rsi
call fcn.14006f720
mov rdx, r15
mov rcx, rbp
call fcn.140070424
test rax, rax
jne 0x140011c83
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140011c69
mov rax, qword [rsp + 0x38]
lea rdx, [rsi + 0x20]
lea r8d, [rdi + 4]
mov ebx, dword [rax]
mov ecx, ebx
call fcn.1400137ac
shr ebx, 0x10
lea rdx, [rsi + 0x28]
lea r8d, [rdi + 4]
mov ecx, ebx
call fcn.1400137ac
jmp 0x140011c78
lea rdx, str.04090000
mov rcx, rsi
call fcn.14006f720
mov rdx, r15
mov rcx, rsi
call fcn.14006f720
mov rdx, rbp
mov rcx, rsi
call fcn.14006f720
lea rdx, str.DefaultLangCodepage
mov rcx, rbp
call fcn.14006f698
test eax, eax
jne 0x140011cce
lea rdx, [rsi + 0x20]
lea r8d, [rax + 8]
mov rcx, r12
call fcn.14006fedc
mov rcx, r13
mov word [r12 + 0x10], di
call fcn.14006f380
mov rcx, rsi
call fcn.14006f380
mov al, 1
jmp 0x140011d5f
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140011d4c
mov rdx, r15
mov rcx, rbp
call fcn.140070060
test eax, eax
jne 0x140011d2d
mov rax, qword [rsp + 0x30]
lea rdx, str._u._u._u._u
mov ecx, dword [rax + 0xc]
mov r8d, dword [rax + 8]
movzx eax, cx
shr ecx, 0x10
movzx r9d, r8w
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, r12
shr r8d, 0x10
call fcn.1400701b0
jmp 0x140011d49
mov rdx, qword [rsp + 0x30]
mov r8d, 0x200
mov rcx, r12
call fcn.14006fedc
mov word [r12 + 0x400], di
mov dil, 1
mov rcx, r13
call fcn.14006f380
mov rcx, rsi
call fcn.14006f380
mov al, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140011d78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x270
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140011db5
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140011da8
or eax, 0xffffffff
jmp 0x140011db5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
add rsp, 0x270
pop rbx
ret
Function at 0x140012504
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x103
call fcn.14006fedc
lea rcx, [rsp + 0x20]
xor esi, esi
mov word [rsp + 0x226], si
call fcn.14006f364
lea ebx, [rsi + 0x5c]
test rax, rax
je 0x140012551
cmp word [rsp + rax*2 + 0x1e], bx
jne 0x140012551
mov word [rsp + rax*2 + 0x1e], si
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400125d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140012581
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140012586
mov al, 1
jmp 0x1400125de
cmp eax, 3
jne 0x1400125dc
lea rcx, [rsp + 0x20]
call fcn.1400131b4
mov edx, ebx
mov rcx, rax
mov rdi, rax
call fcn.140071010
mov rcx, rdi
test rax, rax
jne 0x1400125ac
call fcn.14006f380
jmp 0x1400125dc
mov word [rax], si
call fcn.140012504
mov rcx, rdi
mov bl, al
call fcn.14006f380
test bl, bl
je 0x1400125d4
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x1400125de
test al, 0x10
jne 0x14001257d
xor al, al
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret