joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013ec90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
lea r10, [r8 + 0x10]
mov r9, qword [r8 + 0x20]
mov rdi, r8
mov r14, rdx
mov r11, rcx
jb 0x14013ecc1
mov r10, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x14013ecf4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r9
jb 0x14013ece0
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x14013ed34
cmp rax, rdi
jne 0x14013ed2a
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14013ed3f
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14013ed3f
cmp rax, rdi
jne 0x14013ed3f
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r11 + 0x10]
call fcn.14000ece0
mov edx, 0x30
mov rcx, rdi
call fcn.140171af0
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x14013ed90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rbp, qword [r8 + 0x18]
mov r10, r8
mov rdi, qword [r8 + 0x10]
mov r15, rdx
mov rbx, rcx
cmp rbp, 8
jb 0x14013edbf
mov r8, qword [r8]
lea r11, [rdi + rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14013edf4
movabs rcx, 0x100000001b3
nop
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, r11
jb 0x14013ede0
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x30]
mov rbx, qword [rbx + 8]
and rax, r9
mov rcx, rax
mov qword [rsp + 0x20], rsi
add rcx, rcx
add rax, rax
mov rcx, qword [rdx + rcx*8]
mov r14, qword [rdx + rax*8]
lea r12, [rdx + rax*8]
nop dword [rax]
cmp r14, rbx
jne 0x14013ee2a
mov rax, rbx
jmp 0x14013ee32
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14013eed9
mov rax, r10
cmp rbp, 8
jb 0x14013ee47
mov rax, qword [r10]
mov rsi, qword [rcx + 0x28]
lea r9, [rcx + 0x10]
cmp rsi, 8
jb 0x14013ee59
mov r9, qword [rcx + 0x10]
mov r11, qword [rcx + 0x20]
cmp r11, rdi
jne 0x14013eec9
mov r8, r11
test r11, r11
je 0x14013ee84
sub r9, rax
nop dword [rax]
movzx edx, word [rax]
cmp word [rax + r9], dx
jne 0x14013eec9
add rax, 2
sub r8, 1
jne 0x14013ee70
lea rdx, [rcx + 0x10]
cmp rsi, 8
jb 0x14013ee91
mov rdx, qword [rdx]
cmp rbp, 8
jb 0x14013ee9a
mov r10, qword [r10]
cmp rdi, r11
jne 0x14013eed1
test rdi, rdi
je 0x14013eed4
sub r10, rdx
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [rdx + r10], ax
jne 0x14013eed1
add rdx, 2
sub rdi, 1
jne 0x14013eeb0
mov qword [r15], rcx
jmp 0x14013eedc
mov rcx, qword [rcx]
jmp 0x14013ee20
mov rcx, rbx
mov qword [r15], rcx
jmp 0x14013eedc
mov qword [r15], rbx
mov rsi, qword [rsp + 0x20]
mov rax, r15
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x140141370
Capabilities:
Log keystrokes via polling

Disassembly:
sub rcx, 0x630
jmp method.DuiLib::CAutoListUI.virtual_696
Function at 0x14014aad0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x34]
mov rbx, rcx
cmp eax, 1
jne 0x14014ab23
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x28]
mov edi, eax
call fcn.140101700
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rbx + 0x38]
xor edx, edx
sub eax, edi
sub ecx, eax
cmp eax, dword [rbx + 0x38]
cmovl edx, ecx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbx + 0x34]
cmp eax, 1
je 0x14014aae6
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1401526a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
mov rdi, rdx
mov rbx, rcx
cmp eax, 0x17
jne 0x1401526da
movzx edx, word [rcx + 0x5c8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_SetCursor]
cmp eax, 0xd
jne 0x14015272a
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rdx, qword [rdi + 0x14]
mov rcx, rax
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14015279d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x5d4], xmm0
mov rax, qword [rdi + 0x14]
mov qword [rbx + 0x5cc], rax
mov byte [rbx + 0x5e4], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xe
jne 0x140152753
mov byte [rcx + 0x5e4], 0
mov rcx, qword [rcx + 0x5c0]
test rcx, rcx
je 0x14015279d
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + InitCommonControls]
cmp eax, 9
jne 0x140152798
cmp qword [rcx + 0x5c0], 0
je 0x14015279d
cmp byte [rcx + 0x5e4], 0
je 0x14015279d
lea ecx, [rax - 8]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14015279d
mov rcx, qword [rbx + 0x5c0]
lea r8, [rdi + 0x14]
mov rdx, rbx
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1401008b0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401527b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
mov rdi, rdx
mov rbx, rcx
cmp eax, 0xd
jne 0x140152814
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
call qword [rax + 0x68]
mov rdx, qword [rdi + 0x14]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140152804
mov ecx, dword [rdi + 0x14]
sub ecx, dword [rsi]
mov dword [rbx + 0x5c8], ecx
mov eax, dword [rdi + 0x18]
sub eax, dword [rsi + 4]
mov dword [rbx + 0x5cc], eax
mov byte [rbx + 0x5d0], 1
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xe
jne 0x14015283d
mov byte [rcx + 0x5d0], 0
mov rcx, qword [rcx + 0x5c0]
test rcx, rcx
je 0x140152809
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + InitCommonControls]
cmp eax, 9
jne 0x140152879
lea ecx, [rax - 8]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140152879
mov rcx, qword [rbx + 0x5c0]
test rcx, rcx
je 0x140152809
cmp byte [rbx + 0x5d0], 0
je 0x140152809
mov rax, qword [rcx]
lea rdx, [rdi + 0x14]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1401008b0
Function at 0x140154758
Capabilities:
Log keystrokes via polling

Disassembly:
sub rcx, 0x608
jmp method.DuiLib::CAutoTableUI.virtual_696

Function at 0x14015a270
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
mov qword [rcx], rbx
call qword [sym.imp.KERNEL32.dll_GetVersion]
lea rdx, [0x1403d8608]
cmp al, 6
jb 0x14015a2c1
lea ecx, [rbx + 0x28]
call fcn.140172710
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14015a2b0
mov rcx, rax
call fcn.14015a320
mov rbx, rax
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x20
call fcn.140172710
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14015a2ff
mov qword [rax + 8], 6
lea rcx, vtable.CGDIPlusImageImpl.0
mov qword [rax], rcx
mov dword [rax + 0x10], ebx
mov qword [rax + 0x18], rbx
mov qword [rdi], rax
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14015c880
Capabilities:
Delete file
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebp, r8d
mov r14, rdx
mov rsi, rcx
test rdx, rdx
je 0x14015ca96
cmp ebp, 7
jb 0x14015ca96
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x14015c9d5
test rdi, rdi
je 0x14015c8f1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rcx, [rsp + 0x58]
call fcn.14016a740
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14015c98c
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsi]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14015c9ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015c9c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015cab3
call fcn.140171af0
mov eax, ebx
jmp 0x14015ca98
mov r8, rbp
mov rdx, r14
mov rcx, rax
call fcn.140289020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsi + 0x18]
xor ebx, ebx
lea ebp, [rbx + 1]
test rcx, rcx
je 0x14015ca05
mov rax, qword [rcx]
mov edx, ebp
call qword [rax]
mov qword [rsi + 0x18], rbx
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x48]
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov r14, qword [rsp + 0x48]
mov ecx, SafeArrayCopy
call sub.gdiplus.dll_GdipAlloc
mov rdi, rax
test rax, rax
je 0x14015ca5b
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rdi], rax
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rdi + 0x10], eax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 8], rax
jmp 0x14015ca5e
mov rdi, rbx
mov qword [rsi + 0x18], rdi
test rdi, rdi
je 0x14015ca80
mov rcx, rdi
call fcn.14015c350
mov dword [rsi + 0xc], eax
mov rcx, qword [rsi + 0x18]
call fcn.14015c2f0
mov dword [rsi + 0x10], eax
jmp 0x14015ca82
mov ebp, ebx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14015ca92
mov rdx, qword [rcx]
call qword [rdx + InitCommonControls]
mov eax, ebp
jmp 0x14015ca98
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140172190
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14028c66c
int3
Function at 0x1401666f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov ecx, edx
and r10d, 7
je 0x140166756
mov r8d, dword [rbx + 0x14]
cmp edx, r10d
jge 0x140166744
mov r9, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r9
jb 0x140166720
xor cl, cl
jmp 0x140166729
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
mov ecx, edx
shl eax, cl
add edx, 8
or eax, r8d
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], eax
mov r8d, eax
cmp edx, 0x18
jle 0x140166714
mov ecx, r10d
shr r8d, cl
sub edx, r10d
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x10], edx
mov ecx, edx
xor r9d, r9d
test edx, edx
jle 0x14016678e
mov edx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rbx + 0x14]
inc r9d
shr edx, 8
sub ecx, 8
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], edx
test ecx, ecx
jg 0x140166770
mov dword [rbx + 0x10], ecx
movsxd rcx, r9d
cmp rcx, 4
jge 0x1401667c2
mov r8, qword [rbx + 8]
nop dword [rax + rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1401667ac
xor dl, dl
jmp 0x1401667b5
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1401667a0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
je 0x140166805
lea rax, str.zlib_corrupt
mov qword [0x1403da220], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140166834
lea rax, str.read_past_buffer
mov qword [0x1403da220], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14016684e
mov rcx, rbx
call fcn.14016a200
test eax, eax
je 0x140166827
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.140289020
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14016a740
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
movdqa xmm6, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x40], xmm6
xor edi, edi
mov word [rsp + 0x30], di
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140289490
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14016a820
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140289490
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x140327fe0]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14016a820
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14016a800
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400810d0
movdqu xmm6, xmmword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm6
mov rax, rbx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x4a8]
movaps xmm6, xmmword [rsp + 0x480]
add rsp, 0x490
pop rdi
ret
Function at 0x14016e1b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, edx
mov r9, rcx
test rcx, rcx
je 0x14016e2ea
test edx, edx
je 0x14016e2ea
mov qword [rsp], rbx
lea rbx, [0x140329860]
not r8d
cmp r10d, 8
jb 0x14016e2bd
mov r11d, r10d
shr r11, 3
nop word [rax + rax]
movzx ecx, byte [r9]
mov eax, r8d
xor rcx, rax
shr r8d, 8
movzx eax, cl
add r10d, 0xfffffff8
movzx ecx, byte [r9 + 1]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r8d, dword [rbx + rax*4]
xor r8d, edx
sub r11, 1
jne 0x14016e1f0
test r10d, r10d
je 0x14016e2e3
movzx ecx, byte [r9]
lea r9, [r9 + 1]
mov eax, r8d
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rbx + rdx*4]
xor r8d, eax
add r10d, 0xffffffff
jne 0x14016e2c2
mov rbx, qword [rsp]
not r8d
mov eax, r8d
add rsp, 8
ret

Function at 0x140171210
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rbp, rcx
cmp byte [rcx + 0x30], 0
jne 0x14017123e
xor eax, eax
jmp 0x14017130d
cmp dword [rcx + 0x28], 1
jbe 0x140171278
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rbp
lea r8, [0x140171a70]
xor edx, edx
xor ecx, ecx
call fcn.1402967ac
mov qword [rbp + 0x18], rax
test rax, rax
setne bl
mov eax, ebx
jmp 0x14017130d
add rcx, 0x90
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x60]
mov rcx, qword [rbp + 0x60]
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebx, eax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x38], rdi
mov edx, 0xffffffff
mov rcx, rdi
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
cmovne ebx, eax
mov edx, dword [rbp + 0x44]
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, rdi
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
cmovne ebx, eax
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x70]
call fcn.140101700
mov rcx, rbp
call fcn.1401716c0
nop
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1401761f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x550
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x1401763b0
cmp ebx, 0x20
jb 0x1401763b0
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x400
mov dword [rsp + 0x30], 0x400
lea rcx, [rsp + 0x140]
call fcn.140289490
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x140]
lea r8, str.mid64
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWow6432NodeComMaster
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1401763b0
lea rcx, [rsp + 0x140]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1401762a0
cmp rax, 0x40
jne 0x1401763b0
mov edx, 0x80
lea r9, [rsp + 0x140]
lea rax, [rsp + 0x40]
mov r8d, edx
sub r9, rax
lea rcx, [rsp + 0x40]
lea rax, [r8 - 0x60]
test rax, rax
je 0x1401762ed
movzx eax, byte [r9 + rcx]
test al, al
je 0x1401762ed
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x1401762d0
test r8, r8
lea rax, [rcx - 1]
lea r9, [rsp + 0x160]
cmovne rax, rcx
lea rcx, [rsp + 0xc0]
mov byte [rax], 0
lea rax, [rsp + 0xc0]
sub r9, rax
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7e]
test rax, rax
je 0x140176340
movzx eax, byte [r9 + rcx]
test al, al
je 0x140176340
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140176320
test rdx, rdx
lea rax, [rcx - 1]
mov r8d, 0x400
cmovne rax, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov byte [rax], 0
call fcn.140289490
mov r8d, 0x400
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.1401763e0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1401763b0
mov rdx, rbx
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140177390
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x1401763b2
xor eax, eax
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x570]
add rsp, 0x550
pop rdi
ret
Function at 0x140176df0
Capabilities:
Get storage device properties

Disassembly:
push rbp
push r14
mov eax, 0x2c88
call fcn.1401722d0
sub rsp, rax
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x2c60], rax
mov r14d, edx
mov rbp, rcx
test rcx, rcx
je 0x140177019
test edx, edx
je 0x140177019
mov qword [rsp + 0x2ca8], rbx
mov qword [rsp + 0x2cb0], rsi
mov qword [rsp + 0x2cb8], rdi
mov qword [rsp + 0x2c80], r12
mov qword [rsp + 0x2c78], r13
mov r13d, 0x80070057
mov qword [rsp + 0x2c70], r15
xor r15d, r15d
mov ebx, r15d
mov edi, r15d
lea r12d, [r15 + 1]
nop dword [rax]
mov r9d, edi
lea r8, [0x14032b538]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140177410
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140176fda
xor eax, eax
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x550]
xor edx, edx
mov qword [rsp + 0x4c], rax
mov r8d, 0x2710
mov dword [rsp + 0x48], r15d
call fcn.140289490
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
lea rax, [rsp + 0x550]
mov dword [rsp + 0x28], 0x2710
mov r9d, listen
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140176fcd
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x3e8
call fcn.140289490
mov edx, dword [rsp + 0x568]
lea r9, [rsp + 0x160]
mov r8d, r12d
lea rcx, [rsp + 0x550]
call fcn.140177e50
lea rax, [r14 - 1]
mov ecx, r15d
cmp rax, 0x7ffffffe
mov rdx, r14
cmova ecx, r13d
test ecx, ecx
js 0x140176fc9
mov rax, rbp
test r14d, r14d
je 0x140176fb0
mov r8d, 0x7ffffffe
lea r9, [rsp + 0x160]
sub r8, rdx
sub r9, rbp
lea rcx, [r8 + rdx]
test rcx, rcx
je 0x140176fb0
movzx ecx, byte [r9 + rax]
test cl, cl
je 0x140176fb0
mov byte [rax], cl
inc rax
sub rdx, r12
jne 0x140176f94
test rdx, rdx
lea rcx, [rax - 1]
cmovne rcx, rax
mov byte [rcx], r15b
mov ecx, 0x8007007a
cmovne ecx, r15d
test ecx, ecx
cmove ebx, r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140176fe5
inc edi
cmp edi, 0x10
jl 0x140176e70
mov r15, qword [rsp + 0x2c70]
mov eax, ebx
mov rbx, qword [rsp + 0x2ca8]
mov r13, qword [rsp + 0x2c78]
mov r12, qword [rsp + 0x2c80]
mov rdi, qword [rsp + 0x2cb8]
mov rsi, qword [rsp + 0x2cb0]
jmp 0x14017701b
xor eax, eax
mov rcx, qword [rsp + 0x2c60]
xor rcx, rsp
call fcn.140172190
add rsp, 0x2c88
pop r14
pop rbp
ret
Function at 0x140177040
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test rcx, rcx
je 0x14017710e
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140289490
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14017710e
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x1401770a0
mov ecx, 0x103
mov eax, eax
sub rcx, rdx
cmp rax, rcx
jae 0x14017710e
lea rcx, [rsp + 0x20]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1401770c2
mov eax, dword [0x14032b528]
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1401770e0
xor edx, edx
nop dword [rax]
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1401770f0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x140177110
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140172190
add rsp, 0x240
pop rbx
ret