joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cf98
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
cmp r8, 0xffffffffffffffff
jne 0x14000cfc0
mov rcx, rdx
call fcn.1400c5b70
mov r8, rax
lea r10, [0x1400fef10]
cmp r8, 2
jbe 0x14000d05f
lea rcx, [r8 - 3]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
lea r9, [rdi + 2]
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
lea rbx, [rdx*4]
add r8, rax
movzx eax, byte [rsi + 1]
movzx ecx, byte [rsi]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 2]
shl rcx, 8
add rsi, 3
or rcx, rax
mov rax, rcx
shr rax, 0x12
mov al, byte [rax + r10]
mov byte [r9 - 2], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r10]
mov byte [r9 - 1], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
mov al, byte [rax + r10]
mov byte [r9], al
lea r9, [r9 + 4]
mov al, byte [rcx + r10]
mov byte [r9 - 3], al
sub rdx, 1
jne 0x14000cffb
test r8, r8
je 0x14000d0be
movzx ecx, byte [rsi]
shl rcx, 0x10
cmp r8, 1
jbe 0x14000d07c
movzx eax, byte [rsi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
mov al, byte [rax + r10]
mov byte [rbx + rdi], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r10]
mov byte [rbx + rdi + 1], al
cmp r8, 1
jbe 0x14000d0af
shr rcx, 6
and ecx, 0x3f
mov al, byte [rcx + r10]
jmp 0x14000d0b1
mov al, 0x3d
mov byte [rbx + rdi + 2], al
mov byte [rbx + rdi + 3], 0x3d
add rbx, 4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e534
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x14000e597
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e5ca
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e58c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e57f
call fcn.1400c0480
mov edx, 0x28
mov rcx, rdi
call fcn.1400b9c5c
and qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
jmp 0x14000e5ca
xor edx, edx
mov rcx, rbx
call fcn.14000e990
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000e7d4
mov rax, qword [rbx + 8]
mov r8d, edi
mov rcx, rsi
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f4f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov eax, dword [0x140121ad8]
test eax, eax
je 0x14000f543
lea r8, [0x1400fe088]
lea rcx, [0x140121a50]
call fcn.14000c7bc
mov eax, dword [0x140121ad8]
cmp eax, 2
je 0x14000f6dc
lea r12, vtable.TextStream.0
mov qword [rbp - 0x19], r12
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov dword [rbp - 9], r15d
mov dword [rbp - 5], 0xffffffff
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
mov ecx, dword [0x140128010]
cmp ecx, 0xffffffff
je 0x14000f591
mov dword [rbp - 5], ecx
lea rdx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x14000f591
mov byte [rbp + 5], r15b
lea r13, vtable.TextFile.0
mov qword [rbp - 0x19], r13
mov qword [rbp + 0x27], 0xffffffffffffffff
mov r9d, dword [r14 + 0x7a0]
mov r8d, 2
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.140099800
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.140099f90
mov r8d, dword [rbp - 0xd]
test r8d, r8d
je 0x14000f61b
cmp qword [rbp + 0x17], 0
jne 0x14000f61b
mov rax, qword [rbp - 0x19]
mov r9, qword [rax + 0x20]
lea rax, [fcn.14009a480]
mov rdx, qword [rbp + 0x1f]
cmp r9, rax
jne 0x14000f60d
mov dword [rbp - 0x29], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x29]
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000f614
lea rcx, [rbp - 0x19]
call r9
mov r8d, r15d
mov dword [rbp - 0xd], r15d
mov word [rbp + 0x13], r15w
mov rax, qword [rbp - 0x19]
mov rdx, qword [rax + 0x10]
lea rax, [fcn.14009a410]
cmp rdx, rax
jne 0x14000f664
mov rcx, qword [rbp + 0x27]
cmp rcx, 0xffffffffffffffff
je 0x14000f672
mov eax, dword [rbp - 0x11]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14000f657
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp - 0xd]
mov rcx, 0xffffffffffffffff
mov qword [rbp + 0x27], rcx
jmp 0x14000f672
lea rcx, [rbp - 0x19]
call rdx
mov rcx, qword [rbp + 0x27]
mov r8d, dword [rbp - 0xd]
mov qword [rbp - 0x19], r13
test r8d, r8d
je 0x14000f6a1
cmp qword [rbp + 0x17], 0
jne 0x14000f6a1
mov dword [rbp - 0x29], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x29]
mov rdx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0xd], r15d
mov rcx, qword [rbp + 0x27]
mov word [rbp + 0x13], r15w
cmp rcx, 0xffffffffffffffff
je 0x14000f6c9
mov eax, dword [rbp - 0x11]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14000f6c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x27], 0xffffffffffffffff
mov qword [rbp - 0x19], r12
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14000f6dc
call fcn.1400c0480
nop
lea r11, [rsp + 0x90]
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 0x140012110
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
mov eax, 0x4040
call fcn.1400d9ac0
sub rsp, rax
mov rbx, qword [rsp + 0x4080]
mov r14, r9
mov r12, r8
mov esi, edx
mov rdi, rcx
test rbx, rbx
jne 0x14001215f
mov rbx, qword [rcx + 0x6b8]
test rbx, rbx
jne 0x14001215f
mov ecx, dword [rcx + 0x2d8]
movzx eax, word [rdi + 0x2dc]
jmp 0x140012167
movzx ecx, word [rbx + 2]
movzx eax, word [rbx + 4]
test esi, esi
je 0x140012278
mov r9, qword [0x140125fc0]
lea rdx, [0x1400ff490]
movzx ecx, cx
lea r8, [0x1400ff4a8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rdx
movzx eax, ax
mov r9, qword [r9 + rcx*8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x4060], rbp
mov qword [rsp + 0x4068], r15
mov r15d, 0x2000
mov edx, r15d
mov dword [rsp + 0x20], eax
call fcn.14009c880
cmp word [r14], 0
movsxd rbp, eax
je 0x1400121e9
lea rax, [rsp + 0x40]
sub r15d, ebp
lea rcx, [rax + rbp*2]
mov edx, r15d
mov r9, r14
lea r8, [0x1400ff4d0]
call fcn.14009c880
add ebp, eax
mov r15, qword [rsp + 0x4068]
cmp esi, 3
jne 0x14001220f
lea r9, [0x1400ffd5c]
mov r8d, ebp
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000f4f0
jmp 0x140012270
mov eax, dword [0x140121ad4]
test eax, eax
je 0x140012237
lea r8, [0x1400fe090]
lea rdx, [rsp + 0x40]
lea rcx, [0x140121a50]
call fcn.14000c7bc
mov eax, dword [0x140121ad4]
cmp eax, 2
je 0x140012247
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x140012270
mov qword [rsp + 0x28], 0
lea r8d, [rsi - 1]
mov r9, r14
mov qword [rsp + 0x20], rbx
mov rdx, r12
lea rcx, [0x140127620]
call fcn.140010850
mov rbp, qword [rsp + 0x4060]
lea r11, [rsp + 0x4040]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x140022d00
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
xor edi, edi
xor edx, edx
mov esi, edi
mov r15, rcx
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov r14, rax
test rax, rax
je 0x140022edc
movaps xmm0, xmmword [0x140101c20]
lea rcx, [rbp - 0x6c]
movaps xmm1, xmmword [0x140101c30]
mov eax, dword [0x140101c80]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x140101c40]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x140101c50]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x140101c60]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [0x140101c70]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140101c84]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x6c], ax
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
je 0x140022e9c
lea rax, [rbp + 0x200]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140022e98
mov rcx, qword [rbp + 0x200]
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x28], rax
lea rdx, [0x140101c88]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x2f0], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x1f8], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x200]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x2f0]
jne 0x140022e98
mov edx, dword [rbp + 0x1f8]
test edx, edx
je 0x140022e98
shr edx, 1
mov ecx, edx
dec edx
mov dword [rbp + 0x1f8], edx
cmp word [rbp + rdx*2 - 0x50], si
jne 0x140022e70
test edx, edx
je 0x140022e9c
mov ecx, edx
mov r8d, edx
nop
lea eax, [r8 - 1]
mov edx, ecx
mov r8d, eax
cmp word [rbp + rax*2 - 0x50], si
jne 0x140022e85
mov dword [rbp + 0x1f8], eax
mov ecx, eax
mov edx, eax
test eax, eax
jne 0x140022e50
jmp 0x140022e85
mov dword [rbp + 0x1f8], ecx
cmp ecx, 0x104
jae 0x140022e98
mov word [rbp + rcx*2 - 0x50], di
mov edx, ecx
test edx, edx
je 0x140022e9c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x140022e9c
mov word [rbp - 0x50], di
cmp r15, r14
je 0x140022eac
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
test rsi, rsi
je 0x140022edc
lea rdx, [0x140101ca0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140022ed3
call rax
mov edi, dword [rax + 0x50]
not edi
and edi, 1
add edi, 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140023350
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movzx r10d, word [rcx]
movzx ebp, r8b
mov rsi, rcx
test r10w, r10w
je 0x140023495
movzx r9d, word [rcx + 2]
movzx ecx, r10w
test r9w, r9w
jne 0x14002339e
mov r8, qword [rsp + 0x60]
mov r9b, 1
call fcn.1400234b0
jmp 0x140023497
mov edx, 0xffdf
lea eax, [r10 - 0x61]
and cx, dx
cmp ax, 0x19
cmova cx, r10w
cmp cx, 0x56
jne 0x140023400
movzx ecx, r9w
lea eax, [r9 - 0x61]
and cx, dx
cmp ax, 0x19
cmova cx, r9w
cmp cx, 0x4b
jne 0x140023400
lea rcx, [rsi + 4]
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x40]
call fcn.1400c6d68
mov rcx, qword [rsp + 0x40]
xor edi, edi
movzx edx, al
cmp word [rcx], di
cmove edi, edx
movzx eax, dil
jmp 0x140023497
lea r15, [0x14011f3a0]
xor edi, edi
mov rbx, r15
lea r14, [0x14011fa50]
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.1400c0304
test eax, eax
je 0x140023487
inc edi
add rbx, 0x10
cmp rbx, r14
jl 0x140023413
test bpl, bpl
jne 0x140023495
xor edx, edx
mov rcx, rsi
call fcn.140023260
test ax, ax
je 0x140023495
movzx edx, ax
sub edx, 0x45
je 0x140023483
mov r8d, 0xff
sub edx, 0xf1
je 0x14002345c
cmp edx, 0xf
jne 0x140023460
and ax, r8w
bt ax, 8
jae 0x140023473
and ax, r8w
mov ecx, 0xe000
or ax, cx
movzx ecx, ax
mov edx, 3
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x140023497
mov al, reloc.WSOCK32.dll_send
jmp 0x140023497
movsxd rax, edi
add rax, rax
movzx eax, byte [r15 + rax*8 + 8]
jmp 0x140023497
xor al, al
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400234b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx esi, r9b
mov rdi, rdx
movzx ebx, cx
cmp cx, 0xa
jne 0x1400234e1
mov al, 0xd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, r8
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdx, ax
mov rcx, rdx
shr rcx, 8
cmp cl, 0xff
jne 0x140023536
cmp dl, 0xff
jne 0x140023536
test sil, sil
je 0x14002353b
cmp bx, 0x5a
ja 0x140023523
cmp bx, 0x41
jb 0x14002353b
movzx eax, bl
cmp bx, 0x5a
ja 0x140023531
cmp bx, 0x41
jb 0x140023531
mov cl, 1
jmp 0x140023533
lea eax, [rbx - 0x61]
cmp ax, 0x19
ja 0x14002353b
movzx eax, bl
and al, 0xdf
xor cl, cl
movzx edx, al
test cl, 0x38
je 0x14002354d
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rdi, rdi
je 0x140023590
movzx eax, cl
and al, 6
cmp al, 6
jne 0x140023560
or byte [rdi], 8
jmp 0x140023580
test cl, 2
je 0x140023570
movzx eax, byte [rdi]
test al, 3
jne 0x140023570
or al, 1
mov byte [rdi], al
test cl, 4
je 0x140023580
movzx eax, byte [rdi]
test al, 0xc
jne 0x140023580
or al, 4
mov byte [rdi], al
test cl, 1
je 0x140023590
movzx eax, byte [rdi]
test al, 0x30
jne 0x140023590
or al, 0x10
mov byte [rdi], al
mov rbx, qword [rsp + 0x30]
movzx eax, dl
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002c820
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x190
mov r9d, dword [rcx]
mov rsi, rdx
movsxd rdi, r8d
mov r14, rcx
test r9d, r9d
je 0x14002ca3d
sub r9d, 2
je 0x14002ca34
sub r9d, 1
je 0x14002ca2b
sub r9d, 1
je 0x14002c880
cmp r9d, 1
je 0x14002c874
lea rax, [0x1400fbbd0]
jmp 0x14002ca44
lea rax, [0x1401023d8]
jmp 0x14002ca44
test rsi, rsi
je 0x14002ca22
movzx eax, word [rcx + 0x68]
mov qword [rsp + 0x1a8], rbp
test ax, ax
je 0x14002c8b7
xor ebp, ebp
mov word [rdx], ax
mov word [rdx + 2], bp
lea rax, [0x1401018c0]
mov rbp, qword [rsp + 0x1a8]
jmp 0x14002ca44
cmp byte [rcx + 0x6b], 0
mov qword [rsp + 0x1a0], rbx
je 0x14002c987
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x100
call fcn.1400bc740
mov byte [rsp + 0xa0], 0x80
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
mov ebx, ebp
test rax, rax
je 0x14002c92f
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x48
mov ecx, eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x14002c92f
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002c92f
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, byte [r14 + 0x65]
mov ebx, ebp
cmp dword [0x140125adc], ebx
mov rdi, rax
setne bl
xor edx, edx
call fcn.140023ea0
movzx ecx, byte [r14 + 0x65]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x30], rdi
mov r9, rsi
movzx edx, ax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
movsxd rcx, eax
mov word [rsi + rcx*2], bp
jmp 0x14002ca12
xor ebp, ebp
mov word [rdx], bp
cmp byte [rcx + 0x6a], bpl
je 0x14002c9df
movzx edx, word [rcx + 0x66]
lea rax, [0x14011f2d8]
mov ecx, ebp
lea r8, [0x14011f3a8]
cmp word [rax], dx
je 0x14002c9b8
inc ecx
add rax, 0x10
cmp rax, r8
jl 0x14002c9a6
jmp 0x14002c9df
movsxd rdx, ecx
lea rax, [0x14011f2d0]
add rdx, rdx
lea r8, [rdi - 1]
mov rcx, rsi
mov rdx, qword [rax + rdx*8]
call fcn.1400cee44
mov word [rsi + rdi*2 - 2], bp
cmp word [rsi], bp
jne 0x14002ca12
cmp byte [r14 + 0x6a], bpl
mov r8d, edi
movzx ecx, byte [r14 + 0x65]
mov rdx, rsi
sete r9b
call fcn.140022f60
cmp word [rsi], bp
jne 0x14002ca12
movzx r9d, word [r14 + 0x66]
lea r8, [0x140101cb8]
mov edx, edi
mov rcx, rsi
call fcn.14009c880
mov rbx, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1a8]
lea rax, [0x1401018c0]
jmp 0x14002ca44
lea rax, [0x140101910]
jmp 0x14002ca44
lea rax, [0x140101988]
jmp 0x14002ca44
lea rax, [0x1401023e0]
lea r11, [rsp + 0x190]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140046930
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x2f0], 0
mov rbx, rcx
je 0x140046ad7
mov r8, qword [0x14011f188]
movzx ecx, byte [0x140125b5d]
test dl, dl
jne 0x14004697e
cmp byte [rbx + 0x820], dl
jne 0x140046ad7
movzx eax, byte [0x140128ec9]
cmp byte [r8 + 0x7c], al
jne 0x14004697e
cmp cl, byte [0x140128ec8]
je 0x140046ad7
movzx edx, byte [r8 + 0x7c]
mov qword [rsp + 0x48], rdi
test dl, dl
je 0x14004699d
xor edi, edi
test cl, cl
setne dil
add rdi, 0xcf
jmp 0x1400469ac
test cl, cl
mov edi, 0x9f
mov eax, 0xce
cmovne edi, eax
mov rax, qword [rbx + 0x810]
test rax, rax
je 0x1400469d1
cmp byte [rbx + 0x820], 0
jne 0x140046a84
test dl, dl
jne 0x1400469d1
test cl, cl
je 0x140046a84
mov eax, dword [0x1401290c8]
mov qword [rsp + 0x40], rsi
mov qword [rbx + 0x308], 0
test al, 1
jne 0x140046a18
or eax, 1
lea rcx, [0x140102440]
mov dword [0x1401290c8], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14010a768]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401290d0], rax
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp qword [0x1401290d0], 0
mov esi, eax
je 0x140046a5a
xor edx, edx
lea rcx, [0x1401030e0]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call qword [0x1401290d0]
mov r8d, dword [0x1401275fc]
mov ecx, esi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov rcx, qword [0x140125b48]
mov r9d, esi
mov dword [rsp + 0x28], 0x8000
mov r8d, 1
mov rdx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
mov rsi, qword [rsp + 0x40]
lea rdx, [rbx + 0x2e8]
mov qword [rbx + 0x308], rax
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov rdi, qword [rsp + 0x48]
test eax, eax
jne 0x140046ab9
lea rdx, [rbx + 0x2e8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x140046ad7
mov rax, qword [0x14011f188]
movzx ecx, byte [rax + 0x7c]
movzx eax, byte [0x140125b5d]
mov byte [0x140128ec8], al
mov byte [0x140128ec9], cl
add rsp, 0x30
pop rbx
ret
Function at 0x140053770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.1400d9ac0
sub rsp, rax
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x30]
mov r9, r8
mov rbx, rdx
lea r8, [0x140105ed8]
mov edx, 0x8001
call fcn.14009c880
lea rcx, [rsp + 0x30]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140053804
test al, 0x10
je 0x140053804
lea ecx, [rdi + 0xfd]
movsxd rcx, ecx
lea rcx, [rcx*2 + 0xa]
call fcn.1400990d0
mov rcx, rax
test rax, rax
je 0x14005381f
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
lea eax, [rdi + 1]
movsxd r8, eax
add r8, r8
call fcn.1400bba40
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea rax, [0x1400fbbd0]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
call fcn.1400111a0
int3
Function at 0x140053830
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x230
mov rax, qword [rsp + 0x280]
xor ebx, ebx
cmp qword [0x140128e98], rbx
mov r13, r9
mov rsi, r8
mov byte [r9], 0
mov r14, rdx
mov rdi, rcx
mov byte [rax], 0
lea rax, [0x140128e98]
jne 0x1400538f4
mov r8, qword [rcx + 0x768]
lea r9, [0x140105ea0]
mov rdx, rax
call fcn.140053770
lea r9, [rsp + 0x270]
xor r8d, r8d
mov edx, 0x4000
lea rcx, [0x1400e00f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
lea r9, [0x140105eb0]
lea rdx, [0x140128ea8]
cmovns rbx, qword [rsp + 0x270]
mov r8, rbx
call fcn.140053770
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8, qword [rdi + 0x788]
lea r9, [0x140105ea0]
lea rdx, [0x140128eb8]
call fcn.140053770
xor ebx, ebx
lea rax, [0x140128e98]
test rsi, rsi
jne 0x14005390b
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x140053900
cmp rsi, 0xfd
ja 0x140053a49
mov qword [rsp + 0x268], rbp
mov qword [rsp + 0x228], r12
mov r12, r14
mov qword [rsp + 0x220], r15
mov r15d, ebx
nop word [rax + rax]
mov ebp, ebx
mov rbx, rax
mov rcx, qword [rbx]
cmp word [rcx], 0
je 0x140053993
mov rax, qword [rbx + 8]
lea rdi, [rsi + rsi]
mov r8, rdi
mov rdx, r12
lea rcx, [rcx + rax*2]
call fcn.1400bba40
movsd xmm0, qword [0x140104660]
movsd qword [rdi + rax], xmm0
lea rcx, [rdi + rax]
movzx eax, word [0x140104668]
mov word [rcx + 8], ax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140053993
test al, 0x10
je 0x1400539f9
inc ebp
add rbx, 0x10
cmp ebp, 3
jl 0x140053945
mov edx, 0x5f
mov rcx, r14
call fcn.1400bb988
mov rsi, rax
test rax, rax
je 0x140053a31
sub rsi, r14
sar rsi, 1
cmp rsi, 0xfe
jae 0x140053a31
lea rbx, [rsi + rsi]
mov rdx, r14
mov r8, rbx
lea rcx, [rsp + 0x20]
lea r12, [rsp + 0x20]
call fcn.1400bba40
xor eax, eax
inc r15d
mov word [rsp + rbx + 0x20], ax
cmp r15d, 2
jge 0x140053a31
xor ebx, ebx
lea rax, [0x140128e98]
jmp 0x140053940
mov rax, qword [rsp + 0x280]
xor r9d, r9d
mov rcx, qword [rsp + 0x260]
xor r8d, r8d
movsxd rdx, ebp
add rdx, rdx
mov byte [rax], 1
lea rax, [0x140128e98]
mov rdx, qword [rax + rdx*8]
call fcn.140048620
test eax, eax
jne 0x140053a31
mov byte [r13], 1
mov r12, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x268]
mov r15, qword [rsp + 0x220]
add rsp, 0x230
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005e940
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
lea r8, [0x140106600]
mov edx, 0xfffe
call fcn.14009c880
mov r9, qword [rsp + 0x90]
lea r10, [0x140000000]
mov r8d, dword [0x140127290]
mov ebp, 0x190
movsxd rdx, eax
mov r11d, 2
mov dword [rsp + 0x98], 0xffffffff
mov eax, r8d
lea rcx, [r9 + rdx*2]
mov qword [rsp + 0xa8], rcx
nop dword [rax + rax]
xor r12b, r12b
mov r13, rcx
test ebp, ebp
jle 0x14005eb83
mov edx, ebp
mov esi, r11d
mov qword [rsp + 0xa0], rdx
movsxd rcx, eax
nop
cmp eax, 0x190
lea rdi, [rcx - 0x190]
lea r14d, [rax - 0x190]
cmovl rdi, rcx
cmovl r14d, eax
cmp qword [r10 + rdi*8 + 0x126610], 0
je 0x14005eb58
movzx r15d, r12b
lea eax, [rsi - 1]
xor r12b, r12b
cmp eax, ebp
jge 0x14005ea82
test r15b, r15b
jne 0x14005eb58
mov edx, dword [r10 + rdi*4 + 0x125fd0]
lea eax, [r14 + 1]
xor ebx, ebx
lea rcx, [rdi + 1]
cmp eax, 0x190
cmovl rbx, rcx
mov ebx, dword [r10 + rbx*4 + 0x125fd0]
sub ebx, edx
cmp ebx, 0x7fffffff
jbe 0x14005eaa1
mov r12b, 1
cmp esi, ebp
jne 0x14005ea5e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x125fd0]
jmp 0x14005ea99
lea rax, [rdi + 2]
mov rbx, 0xfffffffffffffe72
cmp rax, 0x190
cmovl rbx, r11
add rbx, rdi
mov ebx, dword [r10 + rbx*4 + 0x125fd0]
sub ebx, edx
jmp 0x14005eaa1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x125fd0]
mov r9, qword [rsp + 0x90]
mov rax, qword [r10 + rdi*8 + 0x126610]
movzx ecx, word [rax + 2]
cmp dword [rsp + 0x98], ecx
je 0x14005eaf6
mov edx, 0xfffe
mov dword [rsp + 0x98], ecx
mov rax, r13
lea r8, [0x140106808]
sub rax, r9
mov r9, qword [0x140125fc0]
sar rax, 1
sub edx, eax
mov r9, qword [r9 + rcx*8]
mov rcx, r13
call fcn.14009c880
movsxd rcx, eax
lea r10, [0x140000000]
lea r13, [r13 + rcx*2]
mov rcx, qword [r10 + rdi*8 + 0x126610]
mov r8d, 0xc8
mov r9d, 0xfffe
mov byte [rsp + 0x30], 1
mov rax, r13
mov byte [rsp + 0x28], r15b
sub rax, qword [rsp + 0x90]
mov rdx, r13
sar rax, 1
sub r9d, eax
mov dword [rsp + 0x20], ebx
cmp r9d, r8d
cmovl r8d, r9d
call fcn.14005ebe0
mov rdx, qword [rsp + 0xa0]
lea r10, [0x140000000]
mov r9, qword [rsp + 0x90]
mov r13, rax
mov r11d, 2
inc esi
lea eax, [r14 + 1]
sub rdx, 1
lea rcx, [rdi + 1]
mov qword [rsp + 0xa0], rdx
jne 0x14005e9d0
mov r8d, dword [0x140127290]
mov rcx, qword [rsp + 0xa8]
mov rax, r13
mov edx, 0xfffe
sub rax, r9
sar rax, 1
sub edx, eax
cmp edx, 0x18
jg 0x14005ebaf
cmp ebp, 0x78
jl 0x14005ebaf
sub ebp, 0x64
mov eax, r8d
sub eax, ebp
add eax, 0x190
jmp 0x14005e9b0
lea r8, [0x140106820]
mov rcx, r13
call fcn.14009c880
movsxd rcx, eax
lea rax, [rcx*2]
add rax, r13
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret