joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400470e0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
call fcn.140058574
mov r8, rax
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140047135
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
xor al, al
jmp 0x140047137
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140047da4
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14021c8ac]
test eax, eax
jne 0x140047e74
cmp dword [0x14021c614], 6
ja 0x140047dd2
jne 0x140047e6b
cmp dword [0x14021c618], 2
jbe 0x140047e6b
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktop
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140047e6b
and dword [rsp + 0x48], eax
lea rdx, str.Win8DpiScaling
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140047e4f
cmp dword [rsp + 0x40], 4
jne 0x140047e4f
mov eax, dword [rsp + 0x48]
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140047e52
or eax, 0xffffffff
mov rcx, qword [rsp + 0x50]
mov dword [0x14021c8ac], eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x14021c8ac]
jmp 0x140047e74
or eax, 0xffffffff
mov dword [0x14021c8ac], eax
cmp eax, 1
sete al
add rsp, 0x38
ret

Function at 0x140049084
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov rbp, rdx
mov qword [r11 - 0x28], rax
xor edx, edx
lea rcx, [0x1401b3b98]
mov rsi, r9
mov rdi, r8
lea r9, [0x1401b3a68]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140049135
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1401b3ab8]
mov rax, qword [rcx]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14004912a
mov rcx, qword [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14004bae8
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0xd8
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and dword [rsp + 0x30], 0
mov r10, r9
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rax, rdx
mov edi, r8d
mov rbx, rcx
mov rdx, r10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14004bc01
cmp dword [rsp + 0x30], edi
jne 0x14004bc01
add qword [rbx + 0xf8], rdi
movabs r8, 0x20c49ba5e353f7cf
mov rax, r8
mov r9d, 0x270f
imul qword [rbx + 0xf8]
mov r10, rdx
sar r10, 7
mov rax, r10
shr rax, 0x3f
add r10, rax
mov eax, 0x4b
cmp r10, r9
jle 0x14004bbb7
mov rax, r8
imul r10
mov eax, 0x4d
mov r10, rdx
sar r10, 7
mov rcx, r10
shr rcx, 0x3f
add r10, rcx
cmp r10, r9
jle 0x14004bbb7
mov rax, r8
imul r10
mov r10, rdx
sar r10, 7
mov rax, r10
shr rax, 0x3f
add r10, rax
mov eax, 0x47
mov r8d, dword [rbx + 0xf4]
lea rdx, str.Copying__i_of__i___u_c_
mov r9d, dword [rbx + 0xf0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], eax
inc r8d
mov dword [rsp + 0x20], r10d
call fcn.14000d060
mov rdx, qword [0x14021c5e0]
lea r8, [rsp + 0x40]
mov rcx, qword [0x14021c5d8]
xor r9d, r9d
call fcn.140022c70
xor eax, eax
jmp 0x14004bc11
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0x8000ffff
cmove eax, ecx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140139b10
add rsp, 0xd8
pop rdi
pop rbx
ret
Function at 0x14004bf80
Capabilities:
Print debug messages
Write file on windows

Disassembly:
test rcx, rcx
je 0x14004c150
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r14
lea rbp, [rax - 0x568]
sub rsp, 0x650
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x540], rax
xor r14d, r14d
mov rsi, rdx
mov rbx, rcx
mov r13d, 0xff
lea edi, [r14 + 1]
cmp word [rbx], r14w
je 0x14004c125
mov r8d, edi
lea rdx, [0x140179fe0]
lea rcx, [rsp + 0x40]
call fcn.14004c28c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [rbx], r13w
mov ecx, r13d
mov edx, eax
mov r9, r14
cmovb cx, word [rbx]
movzx r11d, cx
test r11, r11
je 0x14004c08f
movzx r10d, byte [rbx + r9 + 2]
movsxd r8, edx
mov ecx, r10d
inc edx
test r10d, r10d
je 0x14004c081
sub ecx, 9
je 0x14004c071
sub ecx, 1
je 0x14004c05f
sub ecx, 3
je 0x14004c04f
cmp ecx, 0x4f
je 0x14004c03f
mov byte [rsp + r8 + 0x40], r10b
jmp 0x14004c087
movsxd rax, edx
mov byte [rsp + r8 + 0x40], 0x5c
mov byte [rsp + rax + 0x40], 0x5c
jmp 0x14004c06d
movsxd rax, edx
mov byte [rsp + r8 + 0x40], 0x5c
mov byte [rsp + rax + 0x40], 0x72
jmp 0x14004c06d
movsxd rax, edx
mov byte [rsp + r8 + 0x40], 0x5c
mov byte [rsp + rax + 0x40], 0x6e
inc edx
jmp 0x14004c087
movsxd rax, edx
mov byte [rsp + r8 + 0x40], 0x5c
mov byte [rsp + rax + 0x40], 0x74
jmp 0x14004c06d
mov byte [rsp + r8 + 0x40], 0x2e
inc r9
cmp r9, r11
jl 0x14004c011
movsxd rax, edx
mov byte [rsp + rax + 0x40], 0xa
inc rax
cmp rax, 0x200
jae 0x14004c151
mov byte [rsp + rax + 0x40], r14b
test rsi, rsi
je 0x14004c10c
lea rax, [rbp + 0x140]
mov dword [rsp + 0x28], 0x200
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0x140]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14004c0e2
lea r8d, [rax + rax]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov rcx, rsi
lea rdx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14004c117
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, word [rbx]
inc edi
add rbx, rax
jne 0x14004bfcf
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call fcn.14013a21c
int3
Function at 0x14004cbb0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rsi, qword [rbp + 0x4b8]
mov r12d, 0x12c
mov r13, r9
mov r14, r8
mov r15, rdx
mov eax, dword [rsi]
add eax, 0x11
cmp eax, r12d
jl 0x14004cc07
xor eax, eax
jmp 0x14004cdb9
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x2b8
call fcn.14013b230
mov edx, 0x5c
mov rcx, r14
call fcn.14013bd50
mov rbx, rax
xor eax, eax
test rbx, rbx
jne 0x14004cc35
mov rbx, r14
jmp 0x14004cc39
add rbx, 2
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x50], rax
mov r8, rdi
inc r8
cmp word [rbx + r8*2], ax
jne 0x14004cc45
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [rsp + 0x50]
cmp eax, r12d
cmovg eax, r12d
mov dword [rsp + 0x50], eax
cmp eax, dword [r13]
jle 0x14004cc79
mov dword [r13], eax
mov rax, qword [0x14021c740]
mov r12d, dword [rbp + 0x4b0]
cmp byte [rax + 0x11076], 0
je 0x14004ccea
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0xd01
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, r14
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor r14d, r14d
test rax, rax
je 0x14004cced
mov r9, qword [rsp + 0x60]
lea eax, [r14 + 0x10]
mov r8d, dword [rsi]
mov edx, r12d
mov dword [rsp + 0x40], 3
mov rcx, r15
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x14004cced
xor r14d, r14d
mov rax, qword [0x14021c740]
mov cl, byte [rax + 0x11076]
neg cl
mov ecx, dword [rsi]
sbb eax, eax
and eax, 0x12
lea edx, [rax + r12]
mov r12d, 0x12c
lea eax, [rcx + 1]
mov dword [rbp + 0x220], edx
mov dword [rbp + 0x224], eax
lea eax, [rcx + 0x10]
mov ecx, dword [r13]
add ecx, edx
mov dword [rbp + 0x22c], eax
cmp ecx, r12d
lea r8d, [r12 - 0x28]
mov eax, r12d
mov rdx, rbx
cmovl eax, ecx
lea rcx, [rbp + 0x230]
mov dword [rbp + 0x228], eax
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rax, [rbp + 0x230]
mov word [rbp + 0x438], r14w
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14004cd5e
mov r8, rdi
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x220]
mov dword [rsp + 0x20], 0x18820
lea rdx, [rbp + 0x230]
mov rcx, r15
call qword [sym.imp.USER32.dll_DrawTextExW]
mov eax, dword [rbp + 0x22c]
inc eax
cmp dword [rsi], eax
jge 0x14004cda4
cmp eax, r12d
cmovg eax, r12d
mov dword [rsi], eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004cdb4
call qword [sym.imp.USER32.dll_DestroyIcon]
mov eax, 1
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x590]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051cc4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 4
jb 0x140051cd1
mov rax, rdx
ret
Function at 0x140057950
Capabilities:
Enumerate files on windows

Disassembly:
test rdx, rdx
je 0x140057bc0
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5c8]
sub rsp, 0x6a0
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor r12d, r12d
mov rbx, rdx
mov r15, rcx
cmp word [rdx], r12w
je 0x140057b91
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.14013b230
mov rdx, rbx
lea rcx, [rbp + 0x180]
call fcn.14000d278
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov edi, 0x208
lea rax, [rbp + 0x180]
mov edx, edi
lea rax, [rax + rcx*2]
lea r14, [rax - 2]
cmp word [r14], 0x5c
lea rcx, [rbp + 0x180]
cmovne r14, rax
mov rax, r14
sub rax, rcx
sar rax, 1
sub rdx, rax
cmp rdx, rdi
ja 0x140057a1a
lea r8, str..
mov rcx, r14
call fcn.14000ab94
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
or r13, 0xffffffffffffffff
mov rsi, rax
cmp rax, r13
je 0x140057b91
test byte [rsp + 0x30], 0x10
jne 0x140057b72
mov edx, 0x2e
mov word [r14 + 2], r12w
lea rcx, [rsp + 0x5c]
call fcn.14013bd50
mov rbx, rax
test rax, rax
je 0x140057b72
lea rdx, str..ttf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140057aa7
lea rdx, str..otf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140057aa7
lea rdx, str..bdf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140057b72
lea rax, [rsp + 0x5c]
mov rbx, r13
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140057aaf
lea rcx, [rbp + 0x180]
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140057ac3
add rax, rbx
cmp rax, 0x104
jb 0x140057b48
add rbx, 0x64
mov edx, 2
mov rcx, rbx
call fcn.14012005c
lea r8, str.Too_long_full_pathname_for_font:_n
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.14000ab94
lea r8, [rsp + 0x5c]
mov rdx, rbx
mov rcx, rdi
call fcn.140001f38
mov rcx, qword [0x14021c5d8]
call fcn.1400140ac
mov r8, rax
mov byte [rsp + 0x20], 1
mov r9, r13
mov edx, 0x11
mov rcx, rdi
call fcn.14002b0f8
mov rcx, rdi
mov ebx, eax
call fcn.14012008c
cmp ebx, 2
je 0x140057b88
mov edi, 0x208
jmp 0x140057b72
lea r8, [rsp + 0x5c]
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.140001f38
xor r8d, r8d
lea rdx, [rbp + 0x180]
mov rcx, r15
call fcn.140056c18
test eax, eax
je 0x140057b88
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140057a3c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14005d080
Capabilities:
Write file on windows

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 r15
sub rsp, 0x30
xor r13d, r13d
mov r12d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp dword [rdx + 0x40], r13d
jne 0x14005d18b
cmp byte [rcx + 4], r13b
je 0x14005d0c6
mov rcx, qword [rdx + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, dword [rsp + 0x78]
mov dword [rbx + 0x74], 7
mov dword [rbx + 0x24], ebp
test ebp, ebp
je 0x14005d0e9
test rsi, rsi
jne 0x14005d0e9
mov esi, dword [rbx + 0x28]
lea r15, [rbx + 0x50]
mov eax, dword [rbx + 0x2c]
jmp 0x14005d120
mov al, byte [rdi + 4]
lea r15, [rbx + 0x50]
mov r9, qword [rsp + 0x70]
neg al
mov r8d, r12d
mov rdx, rsi
sbb rcx, rcx
and rcx, r15
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
mov dword [rbx + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x2c], eax
cmp byte [rdi + 4], r13b
je 0x14005d17a
test esi, esi
jne 0x14005d15c
cmp eax, 0x3e5
jne 0x14005d155
test ebp, ebp
jne 0x14005d14e
mov r8, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.14005dd70
test eax, eax
je 0x14005d18b
cmp eax, 1
jne 0x14005d155
mov eax, 1
jmp 0x14005d18d
mov eax, 2
jmp 0x14005d18d
mov r8, qword [rsp + 0x70]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
neg eax
sbb eax, eax
add eax, 2
jmp 0x14005d18d
neg esi
sbb eax, eax
add eax, 2
cmp byte [rdi + 1], r13b
cmovne eax, r13d
jmp 0x14005d18d
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r13
pop r12
ret
Function at 0x14005d2e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rcx + 4], 0
mov rdi, rdx
mov rsi, rcx
je 0x14005d350
mov rax, qword [rdx + 0x48]
test rax, rax
jne 0x14005d34c
lea edx, [rax + 1]
xor r9d, r9d
mov r8d, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14005d34c
lea r8, str.StartPipeInstance:CreateEvent_failed_with_0x_08X
mov r9d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.14005ba88
xor al, al
jmp 0x14005d450
mov qword [rdi + 0x68], rax
mov rcx, rdi
movabs rax, 0x4a7904a7904a7905
sub rcx, qword [rsi + 0x220]
and dword [rdi + 0x18], 0
and dword [rdi + 0x74], 0
imul rcx
mov dword [rdi + 4], 0xe9b6376a
sar rdx, 7
mov rax, rdx
mov qword [rdi + 0x1b0], rsi
shr rax, 0x3f
add rdx, rax
mov dword [rdi], edx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rdi + 0x7c], 0
lea rcx, [rsi + 0xc]
xorps xmm0, xmm0
mov dword [rdi + 0x78], eax
xor eax, eax
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.140125c18
and qword [rsp + 0x38], 0
mov r8, rax
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x27
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [rsp + 0x40], 0
lea rax, str.PipeServerThread
lea r9, [rsp + 0x40]
mov rdx, rdi
cmove r9, rax
lea r8, [rdi + 0x18]
and dword [rsp + 0x20], 0
lea rcx, [0x14005e0dc]
call fcn.1401270bc
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x88], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rdi + 0x10]
mov dword [rdi + 0x7c], eax
test rcx, rcx
jne 0x14005d441
lea r8, str.StartPipeInstance:CreateThread_failed__code0x_08X
jmp 0x14005d334
mov edx, dword [rsi + 8]
test edx, edx
je 0x14005d44e
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005e710
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor ebp, ebp
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x14005e81e
cmp word [rcx], bp
je 0x14005e81e
cmp word [rcx], 0x46
jne 0x14005e78d
add rcx, 2
movzx eax, word [rcx]
sub ax, 0x30
cmp ax, 9
ja 0x14005e78d
movzx eax, word [rbx + 4]
test ax, ax
je 0x14005e769
sub ax, 0x30
cmp ax, 9
ja 0x14005e78d
mov r8d, 0xa
lea rdx, [rsp + 0x40]
call fcn.140143788
lea ecx, [rax - 1]
cmp ecx, 0x17
ja 0x14005e81e
add eax, 0x6f
jmp 0x14005e820
mov rax, qword [0x1401e3460]
lea rsi, [0x1401e3460]
jmp 0x14005e7b4
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14005e819
add rsi, 0x10
mov rax, qword [rsi]
test rax, rax
jne 0x14005e79d
cmp word [rbx + 2], bp
jne 0x14005e81e
movzx ecx, word [rbx]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
test cl, cl
je 0x14005e81e
movzx ebx, cl
test rdi, rdi
je 0x14005e803
shr ecx, 8
test cl, 1
je 0x14005e7e2
or dword [rdi], 0x10
test cl, 2
je 0x14005e7f2
mov eax, dword [rdi]
test al, 4
jne 0x14005e7f2
or eax, 8
mov dword [rdi], eax
test cl, 4
je 0x14005e803
mov ecx, dword [rdi]
test cl, 1
jne 0x14005e803
or ecx, 2
mov dword [rdi], ecx
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test r14, r14
je 0x14005e815
mov dword [r14], eax
mov eax, ebx
jmp 0x14005e820
mov eax, dword [rsi + 8]
jmp 0x14005e820
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140066ed8
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov rdi, rdx
mov sil, r13b
mov r12d, r13d
test rdx, rdx
je 0x140067098
cmp word [rdx], r13w
je 0x140067098
mov ebp, 0xa005
mov edx, ebp
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, str.WorkerW
mov rbx, rax
call fcn.140065d60
test al, al
je 0x140067098
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, str.ReBarWindow32
mov r14, rax
call fcn.140065d60
test al, al
je 0x140067098
xor r9d, r9d
lea r8, str.ToolbarWindow32
xor edx, edx
mov rcx, r14
mov ebp, r13d
mov r15d, 0x1869f
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x140067098
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
test rbp, rbp
je 0x140066faa
cmp dword [rsp + 0x24], r15d
jge 0x140066fb2
mov r15d, dword [rsp + 0x24]
mov rbp, rbx
xor r9d, r9d
lea r8, str.ToolbarWindow32
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
jne 0x140066f90
test rbp, rbp
je 0x140067098
movzx eax, word [rdi]
mov rbx, r13
test ax, ax
je 0x14006705e
mov r14, rdi
mov esi, 1
movzx ecx, ax
mov eax, 0x104
cmp ecx, 0x79
lea r15d, [rax - 4]
cmove r15d, eax
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov rcx, rbp
mov r9d, eax
or r9, rsi
cmp word [r14], 0x79
jne 0x140067063
mov r15d, 0x50005
xor r8d, r8d
mov r9d, r15d
mov edx, 0x201
call qword [sym.imp.USER32.dll_PostMessageW]
mov r9d, r15d
xor r8d, r8d
mov edx, 0x202
mov rcx, rbp
call qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test r12, r12
jne 0x140067082
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov sil, r13b
mov al, sil
jmp 0x14006709a
movzx r8d, word [r14]
mov edx, r15d
call qword [sym.imp.USER32.dll_PostMessageW]
movsxd r12, eax
test eax, eax
je 0x140067055
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
add rbx, rsi
lea r14, [rdi + rbx*2]
movzx eax, word [r14]
test ax, ax
jne 0x140066fec
jmp 0x14006705e
xor al, al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140069108
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
mov dword [rsp + 0x20], 1
cmp qword [0x14021cd30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
je 0x140069137
cmp dword [0x14021cd40], ebx
jne 0x14006933f
lea rcx, str.GdiPlus.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
mov qword [0x14021cd30], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140069341
lea rdx, str.GdiplusStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd48], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdiplusShutdown
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd50], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipCreateBitmapFromFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd58], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipDisposeImage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd60], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipGetImageWidth
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd68], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipGetImageHeight
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd70], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipCreateHBITMAPFromBitmap
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd78], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipGetImagePixelFormat
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd80], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipLoadImageFromStream
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd88], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipSaveImageToFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd90], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipGetImageEncodersSize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cd98], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipGetImageEncoders
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cda0], rax
test rax, rax
je 0x140069341
mov rcx, qword [0x14021cd30]
lea rdx, str.GdipCreateBitmapFromHBITMAP
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14021cda8], rax
test rax, rax
je 0x140069341
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x14021cd38]
call qword [0x14021cd48]
test eax, eax
jne 0x140069341
mov dword [0x14021cd40], 1
mov bl, 1
mov al, bl
add rsp, 0x40
pop rbx
ret