joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140123894
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x21], rcx
xor r14d, r14d
mov dword [rbp - 0x49], r14d
mov dword [rbp + 0xf], 0x2e
mov dword [rbp - 0xd], r14d
mov dword [rbp + 0xb], r14d
mov dword [rbp - 0x19], r14d
lea ecx, [r14 + 0x12]
call fcn.1401236a8
mov dword [rbp - 0x15], eax
call fcn.140123708
mov dword [rbp - 0x11], eax
lea r9d, [r14 + 8]
lea r8, [rbp + 0x17]
lea edx, [r14 + 0xe]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp + 0x17]
lea rdx, [rbp + 0xf]
test eax, eax
cmove rcx, rdx
mov qword [rbp - 9], rcx
lea r9d, [r14 + 8]
lea r8, [rbp + 0x27]
lea edx, [r14 + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp + 0x27]
lea rdx, [rbp + 0xf]
test eax, eax
cmove rcx, rdx
mov qword [rbp - 1], rcx
mov ecx, 0x1010
call fcn.1401236a8
mov dword [rbp + 7], eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov dword [rbp - 0x49], 1
cmp qword [rbx + 0x10], 0x30
jb 0x14012398e
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14012397f
mov rax, qword [rbx]
mov qword [rbx + 0x10], 0x30
mov word [rax + 0x60], r14w
jmp 0x1401239a1
xor r8d, r8d
lea edx, [r8 + 0x30]
sub rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140011d04
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1401239ae
mov rax, qword [rbx]
mov dword [rsp + 0x28], 0x30
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
mov r8, rdi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
je 0x140123a0b
movsxd rdx, eax
dec rdx
cmp rdx, qword [rbx + 0x10]
ja 0x1401239fa
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1401239ec
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], r14w
jmp 0x140123a7a
xor r8d, r8d
sub rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140011d04
jmp 0x140123a7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rbp - 0x41]
call fcn.140123c8c
nop
mov rcx, rax
call fcn.14000cb30
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140123a5e
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140123a59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140123a9d
call fcn.14000e3f0
movdqa xmm0, xmmword [0x1403a9d80]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], r14b
mov rdx, rdi
mov rcx, rbx
call fcn.140011ae8
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop r14
pop rdi
pop rbp
ret
call fcn.140287130
int3
Function at 0x14012fcf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
cmp dword [rdx + 8], 0x100
jne 0x14012fe09
cmp qword [rdx + 0x10], 0x1b
jne 0x14012fe09
call fcn.1401416c4
lea rdx, [0x14044a270]
mov rcx, rax
call fcn.140172b80
mov ebp, eax
cmp byte [0x140447198], bl
jne 0x14012fd47
cmp eax, 3
jne 0x14012fda6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1304
mov rcx, qword [rsi + 0x700]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jg 0x14012fda6
call fcn.1401c0264
mov rcx, rax
test rax, rax
je 0x14012fd84
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [case.0x14001d845.0]
mov rbx, rax
xor r9d, r9d
mov edx, 0x111
mov r8d, 0xe141
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14012feb9
cmp ebp, 1
jne 0x14012fe09
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1304
mov rcx, qword [rsi + 0x700]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14012fe09
call fcn.1401c0264
mov rdx, rax
test rax, rax
je 0x14012fdea
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x14001d845.0]
mov rbx, rax
xor r9d, r9d
mov edx, 0x111
mov r8d, 0xe141
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x14012feb9
cmp dword [rdi + 8], 0x100
jne 0x14012feae
cmp qword [rdi + 0x10], 9
jne 0x14012feae
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14012feae
cmp qword [rsi + 0x980], 1
jle 0x14012feae
mov ebp, 0x230
mov ecx, ebp
call fcn.1401bcc90
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14012fe6c
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.1402bf2e0
mov rcx, rdi
call fcn.1401b9bf8
mov rbx, rax
mov dword [rbx + 0x220], 1
mov rdx, rsi
lea rcx, str.CMainFrame
call fcn.1401d55cc
mov qword [rbx + 0x228], rax
mov r8, rsi
mov edx, 0xfb
mov rcx, rbx
call fcn.1401c20c0
mov edx, 5
mov rcx, rbx
call fcn.1401bffe4
jmp 0x14012fd9c
mov rdx, rdi
mov rcx, rsi
call fcn.1401f0570
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140130f00
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rsi, [rcx + 0x540]
mov dword [rsp + 0x28], 0xe800
mov rax, qword [rsi]
mov rdi, rcx
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rcx
mov r9d, 0x50002000
mov r8d, 0x800
movdqa xmmword [rbp - 0x40], xmm0
mov rax, qword [rax + 0x358]
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14001d845.0]
test eax, eax
je 0x1401310c6
mov edx, 0x64
mov rcx, rsi
call fcn.1401eaf4c
test eax, eax
je 0x1401310c6
lea rbx, [rdi + 0x3f0]
mov dword [rsp + 0x20], 0xe804
mov rax, qword [rbx]
mov r9d, 0x56002000
mov r8d, 0x400
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x350]
call qword [case.0x14001d845.0]
test eax, eax
je 0x1401310c6
xor r9d, r9d
xor edx, edx
mov r8d, 0x8800
mov rcx, rsi
call fcn.1401bfc98
mov edx, dword [rdi + 0x664]
mov rcx, rsi
or edx, 0x34
call fcn.1401f2568
mov rcx, qword [rdi + 0x580]
mov r9d, 1
xor r8d, r8d
mov edx, 0x454
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], LoadRegTypeLib
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.140200254
mov rcx, rdi
call fcn.1401310ec
movdqa xmm0, xmmword [0x1403a9eb0]
lea r14, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov r8d, dword [r14]
xor r9d, r9d
mov rcx, qword [rdi + 0x580]
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp - 0x30]
mov rcx, rsi
mov rbx, rax
lea r8, [rbp - 0x28]
lea rax, [rbp - 0x2c]
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.1401ead18
mov r9d, dword [rbp - 0x30]
mov edx, ebx
mov ecx, dword [rbp - 0x2c]
or r9d, 8
mov r8d, dword [rbp - 0x28]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rbp - 0x30], r9d
call fcn.1401eb840
lea rax, [rbp - 0x10]
add r14, 4
cmp r14, rax
jne 0x140131032
call fcn.1401416c4
lea rdx, [0x140449bb0]
mov rcx, rax
call fcn.140172b98
test al, al
jne 0x1401310bf
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1401d1b94
mov eax, 1
jmp 0x1401310c8
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1401310ec
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, rcx
mov dword [rbp - 0x71], 2
and dword [rbp - 0x79], 0
call fcn.1401416c4
lea rdx, [0x140449c10]
mov rcx, rax
call fcn.140172b80
mov dword [rbp - 0x75], eax
lea rcx, [rbp - 0x79]
lea rdx, [rbp - 0x75]
test eax, eax
cmovns rcx, rdx
lea rbx, [rbp - 0x71]
cmp eax, 2
cmovle rbx, rcx
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, eax
mov ecx, InitCommonControls
mov r8d, ecx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov ecx, dword [rbx]
inc ecx
imul edi, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
lea rcx, [rbp - 0x51]
call fcn.1401de470
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
lea rcx, [rbp - 0x61]
call fcn.1401de470
nop
mov ebx, 0x172
lea eax, [rbx + 0xd]
cmp edi, 0x14
cmovle ebx, eax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
mov edx, edi
call fcn.1401313dc
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8d, ebx
mov edx, edi
call fcn.1401313dc
add edi, 8
mov dword [rbp - 0x6d], edi
mov dword [rbp - 0x69], edi
mov rax, qword [rbp - 0x6d]
shr rax, 0x20
movzx r9d, ax
shl r9, 0x10
movzx eax, di
or r9, rax
xor r8d, r8d
mov edx, 0x41f
mov rcx, qword [rsi + 0x580]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rbp - 0x49]
xor r8d, r8d
mov edx, 0x430
mov rcx, qword [rsi + 0x580]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1401de7c4
test rax, rax
je 0x140131235
mov rcx, rax
call fcn.1401de75c
mov r9, qword [rbp - 0x59]
xor r8d, r8d
mov edx, 0x436
mov rcx, qword [rsi + 0x580]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1401de7c4
test rax, rax
je 0x140131263
mov rcx, rax
call fcn.1401de75c
lea rcx, [rbp - 0x51]
call fcn.1401de780
lea rcx, [rbp - 0x61]
call fcn.1401de780
mov dword [rbp - 0x39], 0x80
xor edx, edx
lea r8d, [rdx + 0x7c]
lea rcx, [rbp - 0x35]
call fcn.1402bf2e0
mov dword [rbp - 0x35], 0x20
mov dword [rbp - 5], edi
lea r9, [rbp - 0x39]
xor r8d, r8d
mov edx, 0x40b
mov rcx, qword [rsi + 0x430]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rbp - 0x61]
call fcn.1401de4ac
nop
lea rcx, [rbp - 0x51]
call fcn.1401de4ac
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14013c960
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14013dea8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x60], rax
test edx, edx
je 0x14013dec9
sub edx, 1
je 0x14013deec
cmp edx, 1
je 0x14013ded2
call qword [sym.imp.KERNEL32.dll_GetACP]
mov r8d, eax
mov ecx, r8d
call fcn.1401ad1e0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0x78
ret
call fcn.140140548
movzx ecx, ax
lea r8, [rsp + 0x20]
mov r9d, 0x20
mov edx, 0x1004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14013dec9
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xa]
call fcn.14028f070
jmp 0x14013decf

Function at 0x14013df20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1401416c4
lea rdx, [0x14044a370]
mov rcx, rax
call fcn.140172b80
mov ebx, eax
call fcn.1401416c4
lea rdx, [0x14044a350]
mov rcx, rax
call fcn.140172b80
mov r8d, ebx
mov edx, eax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14013dea8
Function at 0x140140630
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rdi, rdx
mov r14, rcx
mov esi, 5
xor r15d, r15d
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x14011ad70
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140013184
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14011a5d4
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.14000dd24
test bl, bl
je 0x14011adc6
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov esi, 2
lea rcx, [rsp + 0x40]
call fcn.14000dd24
test rdi, rdi
jne 0x14011ad1e
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, rdx
mov rdi, rdx
call fcn.1401c5d98
mov r8, qword [0x1404471e0]
mov r9d, 1
mov rbx, rax
mov rcx, qword [rax + 0x40]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
and dword [rsp + 0x28], 0
xor r9d, r9d
mov r8, qword [0x1404471e0]
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x20], 1
lea edx, [r9 + 0x30]
call fcn.1401c9da4
mov rcx, qword [0x140447180]
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x14011ace4

Function at 0x14015d66c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
mov rsi, rdx
lea ecx, [rbx + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14015d6f5
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14015d6f5
mov rax, qword [rsi + 0x10]
sub rax, 0x25
je 0x14015d6e7
sub rax, 1
je 0x14015d6df
sub rax, 1
je 0x14015d6d5
cmp rax, 1
jne 0x14015d6f1
mov r8d, 0x8041
mov rcx, qword [rdi + 0x40]
mov edx, 0x111
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14015d6ef
mov rcx, rdi
call fcn.14015ca70
jmp 0x14015d6ef
mov r8d, 0x8040
jmp 0x14015d6c1
mov rcx, rdi
call fcn.14015caa0
mov bl, 1
mov al, bl
jmp 0x14015d6f7
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14016ca2c
Capabilities:
Extract resource via kernel32 functions
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rdx
mov r15, rcx
call fcn.1401bf5e4
mov esi, 5
mov edx, reloc.OLEAUT32.dll_VarDecRound
mov r8d, esi
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r12d, r12d
test rax, rax
je 0x14011af9d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14011af9d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14011af9d
mov edx, esi
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
lea rcx, [rdi + 0x1a]
mov r8d, 0xffff
mov r14, rax
cmp word [rcx], r8w
jne 0x14011aea9
add rcx, 4
jmp 0x14011aeb5
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aea9
cmp word [rcx], r8w
jne 0x14011aec1
add rcx, 4
jmp 0x14011aecd
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aec1
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aecd
test byte [rdi + 0xc], 0x40
je 0x14011aeef
add rcx, 6
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aee3
add rcx, 3
mov esi, r12d
and rcx, 0xfffffffffffffffc
cmp r12w, word [rdi + 0x10]
jae 0x14011af9d
lea rbx, [rcx + 0x18]
mov rdx, rbx
cmp word [rbx], r8w
jne 0x14011af18
add rdx, 4
jmp 0x14011af24
movzx eax, word [rdx]
add rdx, 2
test ax, ax
jne 0x14011af18
cmp word [rdx], r8w
je 0x14011af33
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, 2
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindow]
mov r8d, 0xffff
mov r14, rax
cmp word [rbx], r8w
jne 0x14011af56
add rbx, 4
jmp 0x14011af62
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14011af56
cmp word [rbx], r8w
jne 0x14011af6e
add rbx, 4
jmp 0x14011af7a
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14011af6e
movzx eax, word [rbx]
inc esi
shr rax, 1
lea rcx, [rax*2 + 5]
movzx eax, word [rdi + 0x10]
add rcx, rbx
and rcx, 0xfffffffffffffffc
cmp esi, eax
jl 0x14011af05
mov rdx, rbp
mov rcx, r15
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
jmp 0x14011ace4
mov rdx, qword [rcx + 0x40]
mov rcx, qword [0x140447180]
jmp 0x14011ae14
Function at 0x14016ca40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rbx, rcx
mov edi, 1
mov edx, edi
call fcn.1401ca290
mov edx, edi
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, rbx
call fcn.14016d9b8
cmp qword [rbx + 0x998], 0
jne 0x14016cade
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14016c5e0]
call fcn.1401c0124
mov qword [rbx + 0x998], rax
and dword [rax + 0x50], 0
mov rcx, qword [rbx + 0x998]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14016cac2
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0x998]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [rcx + 0x60]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
je 0x14016caba
mov ecx, VarBstrFromDisp
call fcn.1401bcc90
mov rdi, rax
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x14016cb04
lea rcx, [rax + 8]
call fcn.140179d84
nop
jmp 0x14016cb06
xor edi, edi
mov rax, qword [rbx + 0x40]
mov qword [rdi], rax
mov rax, qword [rbx + 0x840]
neg rax
sbb r8, r8
and r8d, 0x20
add r8, 0x830
add r8, rbx
lea rdx, [rbx + 0x7f0]
lea rcx, [rsp + 0x30]
call fcn.14016df58
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140179efc
nop
lea rcx, [rdi + 8]
mov rdx, rax
call fcn.1400bf168
nop
lea r9, [fcn.140044410]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rsp + 0x58]
call fcn.140219af0
nop
lea rcx, [rsp + 0x30]
call fcn.140041250
mov rcx, qword [rbx + 0x998]
xor r9d, r9d
mov r8, rdi
mov edx, 0x402
mov ecx, dword [rcx + 0x60]
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]

Function at 0x14016cba8
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x998]
test rcx, rcx
je 0x14016cc34
mov ecx, dword [rcx + 0x60]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [rbx + 0x998]
mov edx, 0x64
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14016cc0e
mov rcx, qword [rbx + 0x998]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, qword [rbx + 0x998]
xor edx, edx
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x998]
test rcx, rcx
je 0x14016cc2c
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 8]
call qword [case.0x14001d845.0]
and qword [rbx + 0x998], 0
add rsp, 0x20
pop rbx
ret
Function at 0x14017216c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
and dword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x140172296
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140172296
and dword [rbp - 0x2c], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
mov edx, dword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140039764
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140172253
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x2c]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140172296
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140172284
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401722b2
call fcn.14000e3f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call fcn.140287130
int3
Function at 0x14017a350
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x100a0
call fcn.14021a050
sub rsp, rax
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x10090], rax
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
cmp qword [rcx + 0x10], rbp
je 0x14017a457
mov rdi, rcx
cmp qword [rcx + 0x18], 7
jbe 0x14017a396
mov rdi, qword [rcx]
mov edx, SafeArrayAllocDescriptorEx
mov rcx, rdi
call fcn.140278c80
test rax, rax
je 0x14017a3d5
mov r8d, 0x7fff
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
lea rcx, [rsp + 0x90]
cmp eax, 0x7ffd
cmova rcx, rdi
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bp
jne 0x14017a3ea
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140013184
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400765a0
nop
lea rcx, [rax + 0x28]
cmp qword [rcx + 0x18], 7
jbe 0x14017a420
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
lea rcx, [rsp + 0x40]
call fcn.140222560
nop
lea rcx, [rsp + 0x20]
call fcn.14000dd24
cmp edi, 0xffffffff
jne 0x14017a47c
test rsi, rsi
je 0x14017a457
mov rcx, rbx
mov rax, rsi
call qword [case.0x14001d845.0]
test al, al
jne 0x14017a4a4
xor eax, eax
mov rcx, qword [rsp + 0x10090]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x100d0]
add rsp, 0x100a0
pop rdi
pop rsi
pop rbp
ret
test dil, 0x10
jne 0x14017a4a4
test rsi, rsi
je 0x14017a49d
mov rcx, rbx
mov rax, rsi
call qword [case.0x14001d845.0]
neg al
sbb eax, eax
neg eax
inc eax
jmp 0x14017a459
mov eax, 1
jmp 0x14017a459
mov eax, 2
jmp 0x14017a459