joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038c28
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1030
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r12d, edx
lea rdx, [0x1400c378c]
xor r8d, r8d
call fcn.1400319b0
mov rbp, rax
xor eax, eax
cmp rbp, rax
jne 0x140038c7f
mov eax, 0x32
jmp 0x140038dd4
mov r13d, 0x1000
cmp r12d, 0x8000
jbe 0x140038d8c
mov edx, r12d
xor r8d, r8d
mov rcx, rbp
shr edx, 3
add edx, r13d
call fcn.1400aa2d4
mov r14d, 1
lea rcx, [rsp + 0x20]
mov rdx, r14
mov r9, rbp
mov r8, r13
call fcn.1400a9fd4
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140038844
mov edx, r12d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov esi, eax
add edx, r13d
call fcn.1400aa2d4
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400a9fd4
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140038844
lea edx, [r12 + r12]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov edi, eax
add edx, r13d
call fcn.1400aa2d4
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400a9fd4
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140038844
lea edx, [r12 + r12*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov ebx, eax
add edx, r13d
call fcn.1400aa2d4
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400a9fd4
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140038844
mov rcx, rbp
add eax, ebx
add eax, edi
add eax, esi
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
call fcn.1400aa410
mov eax, ebx
jmp 0x140038dd4
cmp r12d, r13d
jbe 0x140038d9a
mov rax, r12
sub rax, r13
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.1400aa2d4
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov edx, 1
call fcn.1400a9fd4
mov rcx, rbp
mov rbx, rax
call fcn.1400aa410
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140038844
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14003c6c8
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
mov rbx, rcx
lea rdi, [0x1400c64b0]
lea rcx, str.Setup.rar
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.ace
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
lea rdx, [0x1400c6338]
mov rcx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0x17]
lea rdi, str.Setup
lea rdx, str.ShellExt
mov rcx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.14005c3b8
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005c3b8

Function at 0x14003cf6c
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x38]
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x28]
add rsp, 0x20
pop rbx
ret
Function at 0x14003cfb8
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rdi
mov eax, 0x1080
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov edi, 0x400
lea r8, [rsp + 0x60]
mov r9, rdi
call fcn.140052988
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003cfff
xor al, al
jmp 0x14003d06f
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x860]
mov r8, rdi
call fcn.14006b580
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x860]
lea r8d, [rax + 0x38]
xor edx, edx
repne scasw ax, word [rdi]
xor edi, edi
not rcx
mov word [rsp + rcx*2 + 0x860], di
lea rcx, [rsp + 0x20]
call fcn.1400a9164
lea eax, [rdi + 0x14]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x860]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, edi
sete al
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x1080
pop rdi
ret
Function at 0x14003f2dc
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
mov eax, 0x1ce0
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1cd0], rax
movsxd rax, dword [rcx + 0xa30]
xor r12d, r12d
mov rdi, rcx
cmp eax, r12d
je 0x14003f584
mov rsi, qword [rcx + rax*8 + 0x928]
mov qword [rsp + 0x40], r12
cmp rsi, r12
je 0x14003f584
mov rdx, qword [rcx]
mov rax, qword [rsi]
lea r9, [rsp + 0x40]
lea r8d, [r12 + 0x20]
mov rcx, rsi
call qword [rax + 0x20]
cmp eax, r12d
jne 0x14003f584
cmp qword [rsp + 0x40], r12
je 0x14003f584
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
movsxd rdx, dword [rdi + 0xa30]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rdi + rdx*8 + 0x828]
lea r9, [rsp + 0x13d0]
lea r8d, [r12 + 1]
mov qword [rsp + 0x20], 0x480
call fcn.140026728
cmp al, r12b
je 0x14003f3ab
lea rcx, [rsp + 0x13d0]
call fcn.1400999b8
mov qword [rsp + 0x30], r12
mov ebp, r12d
jmp 0x14003f556
mov rax, qword [rsi]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rsi
mov dword [rsp + 0x38], 0x10000000
call qword [rax + 0x48]
bt dword [rsp + 0x38], 0x1c
jae 0x14003f544
mov rdx, qword [rsp + 0x30]
lea r9, [rsp + 0xbd0]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], 0x400
call fcn.140026728
cmp al, r12b
je 0x14003f544
movsxd rcx, dword [rdi + 0xa30]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi + rcx*8 + 0x828]
call fcn.1400265f0
lea r8, [rsp + 0xd0]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 0x4409
mov rbx, rax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [0x1401276f0]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 0x28]
mov eax, dword [rsp + 0xd8]
lea rcx, [rsp + 0x390]
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0xbd0]
xor edx, edx
mov r8d, 0x838
mov dword [rsp + 0x58], 7
mov dword [rsp + 0x5c], ebp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], r12d
call fcn.1400a9164
mov r11, qword [rsp + 0x30]
mov dword [rsp + 0xbac], 0x20
mov rcx, r12
mov qword [rsp + 0xbb8], r11
movzx eax, word [rsp + rcx + 0xbd0]
add rcx, 2
mov word [rsp + rcx + 0x38e], ax
cmp ax, r12w
jne 0x14003f4b5
lea rdx, [rsp + 0x390]
lea rcx, [0x140116170]
mov dword [rsp + 0xba0], 0x10
call fcn.14003ee54
mov rcx, qword [rdi]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x104d
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x2e8]
lea r9, [rsp + 0x90]
mov qword [rsp + 0xa8], rcx
mov rcx, qword [rdi]
mov edx, 0x1074
movsxd r8, eax
mov dword [rsp + 0x98], 2
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebp
jmp 0x14003f556
mov rcx, qword [0x1401276f0]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x18]
cmp eax, r12d
je 0x14003f3b8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x1cd0]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1ce0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14003fc4c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x1012
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 1
mov si, ax
lea ecx, [rbx + 0x11]
shr esi, 0xf
and esi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [rbx + 0x10]
mov di, ax
shr edi, 0xf
and edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11d, ebx
test byte [rsp + 0x28], bl
jne 0x14003fcdd
test esi, esi
jne 0x14003fcdd
test edi, edi
jne 0x14003fcdd
test r11d, r11d
je 0x14003fcdf
xor ebx, ebx
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14003fcf4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb40
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0xb30], rax
mov rdi, rcx
mov rcx, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x330]
mov edx, 0x400
mov rbx, rax
call fcn.140086084
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x330]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400a9164
mov eax, dword [rsp + 0x78]
and dword [rsp + 0x38], 0
mov ecx, 0x3d4
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x34], ebx
call fcn.140061d2c
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104d
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rdi]
movsxd r8, ebx
xor r9d, r9d
mov edx, 0x1076
mov byte [rdi + 0x28], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0xb30]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0xb58]
add rsp, 0xb40
pop rdi
ret
Function at 0x14004485c
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1830
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1820], rax
mov rbx, rcx
lea rdx, [rsp + 0x1020]
lea rcx, [0x140105fb0]
mov r8d, 0x400
call fcn.1400129d4
lea rcx, [rsp + 0x1020]
call fcn.140052abc
lea rdx, str.rarkey
mov r8d, 6
mov rcx, rax
call fcn.140073e5c
xor esi, esi
cmp eax, esi
jne 0x140044a52
lea rdi, str.rarreg.key
mov rcx, rbx
mov rdx, rdi
call fcn.140042d6c
cmp al, sil
jne 0x1400448fe
lea rdx, str.rarreg.txt
mov rcx, rbx
call fcn.140042d6c
cmp al, sil
je 0x140044a52
lea rcx, [rsp + 0x820]
call fcn.14008bb48
cmp al, sil
je 0x140044a52
lea rdx, [rsp + 0x20]
mov r8d, 0x400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call fcn.140052abc
movzx ecx, word [rdi]
add rdi, 2
mov word [rax], cx
add rax, 2
cmp cx, si
jne 0x140044931
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x820]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, esi
jne 0x1400449c0
lea rcx, [rsp + 0x20]
call fcn.140053308
lea rcx, [rsp + 0x20]
call fcn.14005254c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
lea rdx, [rsp + 0x20]
xor r8d, r8d
repne scasw ax, word [rdi]
mov rax, qword [str.rarreg.key]
lea rcx, [rsp + 0x820]
mov qword [rdi - 2], rax
mov rax, qword [0x1400c7830]
mov qword [rdi + 6], rax
mov eax, dword [0x1400c7838]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400c783c]
mov word [rdi + 0x12], ax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x820]
call fcn.1400313a4
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea rdx, [rsp + 0x20]
mov r8b, 1
xor ecx, ecx
call fcn.14001b8dc
lea rcx, [0x140105570]
mov byte [0x1400ec040], al
call fcn.14004475c
cmp byte [0x1400ec040], sil
je 0x140044a36
mov ecx, 0x368
call fcn.140061d2c
mov ecx, 0x367
mov rdi, rax
call fcn.140061d2c
mov rcx, qword [0x1400ffd80]
mov r9d, 0x30
mov r8, rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140044a52
lea rcx, [rsp + 0x20]
call fcn.1400313a4
mov ecx, 0x366
call fcn.140061d2c
mov rcx, rax
call fcn.140095e68
mov rcx, qword [rsp + 0x1820]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1830]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140044a78
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1840
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1830], rax
mov rbp, rcx
lea rdi, [0x1400c39c0]
mov rsi, rdx
mov ecx, 3
mov r13, rdx
repe cmpsw word [rsi], word [rdi]
sete r12b
xor ebx, ebx
lea r14d, [rbx + 1]
cmp byte [rbp + 0x82a], bl
je 0x140044b0a
cmp r12b, bl
lea rdi, [0x1400c3258]
lea ecx, [rbx + 2]
mov edx, ebx
mov rsi, r13
cmovne edx, r14d
repe cmpsw word [rsi], word [rdi]
jne 0x140044af4
mov edx, dword [rbp + 0xa30]
cmp edx, ebx
je 0x140044b0a
xor r8d, r8d
mov rcx, rbp
call fcn.14003ffe8
xor edx, edx
jmp 0x140044ced
mov byte [rbp + 0x82a], bl
cmp byte [0x1400fec05], bl
je 0x140044c05
lea rdx, str.FlatView
lea rcx, str.FileList
xor r8d, r8d
call fcn.14005c420
cmp eax, ebx
je 0x140044b3f
cmp r12b, bl
je 0x140044cf5
lea r14, [0x140105fb0]
lea rdx, [rsp + 0x1030]
mov r8d, 0x400
mov rcx, r14
call fcn.1400129b4
lea rdi, [0x1400c3258]
mov rsi, r13
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140044b9d
mov rdx, r13
mov rcx, r14
call fcn.140012894
cmp al, bl
je 0x140044b9d
neg r12b
lea rax, [rsp + 0x1030]
mov rcx, rbp
sbb rdx, rdx
and rdx, rax
call fcn.140043cfc
jmp 0x140044cf5
lea rdx, [rsp + 0x830]
mov r8d, 0x400
mov rcx, r14
call fcn.1400129d4
mov rdx, rbx
movzx eax, word [rsp + rdx + 0x830]
add rdx, 2
mov word [rsp + rdx + 0x2e], ax
cmp ax, bx
jne 0x140044bb6
lea rcx, [rsp + 0x30]
call fcn.140053094
lea rcx, [rsp + 0x30]
call fcn.1400861c4
mov rcx, rbp
call fcn.140042c50
cmp al, bl
je 0x140044cf5
lea rcx, [rsp + 0x830]
call fcn.140052abc
mov rdx, rax
jmp 0x140044ced
lea rcx, [rsp + 0x1030]
mov edx, 0x400
call fcn.140087408
cmp r12b, bl
je 0x140044ccd
mov rcx, rbx
movzx eax, word [rsp + rcx + 0x1030]
add rcx, 2
mov word [rsp + rcx + 0x2e], ax
cmp ax, bx
jne 0x140044c23
lea rdx, [rsp + 0x830]
lea rcx, [rsp + 0x30]
call fcn.140053df8
lea rcx, [rsp + 0x30]
call fcn.14005254c
lea rcx, [rsp + 0x830]
call fcn.14005254c
lea rdx, [rsp + 0x830]
lea rcx, [rsp + 0x30]
call fcn.140073da4
cmp eax, ebx
jne 0x140044ccd
cmp dword [rbp + 0xa30], ebx
jle 0x140044c8c
mov byte [rbp + 0x82a], r14b
jmp 0x140044b03
mov rcx, qword [rbp]
lea r8, [rsp + 0x20]
mov edx, 0x11
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140105570]
call fcn.140040eec
mov rcx, qword [0x1401276f0]
mov rdx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140044b03
mov rcx, r13
call fcn.1400861c4
cmp r12b, bl
je 0x140044cea
lea rcx, [rsp + 0x1030]
call fcn.140052abc
mov rbx, rax
mov rdx, rbx
mov rcx, rbp
call fcn.140043330
mov rcx, qword [rsp + 0x1830]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1840]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140046b20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
movsxd rdi, r8d
mov rbx, rdx
mov rsi, rcx
cmp qword [0x1400df300], rbp
jne 0x140046b95
lea r9d, [rbp + 0x64]
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r11d, word [rsp + 0xa0]
lea rax, [0x140116b14]
mov word [0x140116b14], r11w
mov word [0x140116b16], bp
mov qword [0x1400df300], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14006b5e0
lea r9, [0x1400df2e8]
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], edi
mov word [rbx], bp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov word [rbx + rdi*2 - 2], bp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret

Function at 0x140046cb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r13d, r13d
mov rbx, rcx
cmp rcx, r13
je 0x140046e0c
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r12, rcx
je 0x140046e0c
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, r13d
jne 0x140046d07
xor eax, eax
jmp 0x140046e11
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rsi, [r12 + r12 + 2]
mov ecx, 0x2002
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, r13
je 0x140046d5d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r13
je 0x140046d5d
lea r8, [r12 + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140073a88
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rsi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, r13
je 0x140046db7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
cmp rax, r13
je 0x140046db7
lea r8, [r12 + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140073a88
mov rdx, rbp
mov rcx, rbp
call qword [sym.imp.USER32.dll_CharToOemA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 7
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rsi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, r13
je 0x140046e06
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r13
je 0x140046e06
sub rax, rbx
movzx ecx, word [rbx]
mov word [rax + rbx], cx
add rbx, 2
cmp cx, r13w
jne 0x140046dde
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140047e4c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0xa0
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x90], rax
and dword [rsp + 8], 0
and dword [rsp + 4], 0
and dword [rsp], 0
lea ebp, [r8 - 0x78]
xor r9d, r9d
lea rbx, [rdx + 2]
lea r8, [rsp]
cmp r9d, ebp
jge 0x140047f1b
mov r10d, dword [r8]
mov ecx, ebp
mov eax, 0x88888889
sub ecx, r9d
lea r12, [rsp + 0x10]
mov rdi, rbx
dec ecx
mul ecx
shr edx, 0xa
lea esi, [rdx + 1]
xor edx, edx
mov r11, rdi
mov cl, byte [r11 - 1]
mov al, byte [r11 - 2]
add rdx, 3
sub al, cl
mov byte [rsp + rdx + 0xe], cl
mov byte [rsp + rdx + 0xd], al
mov al, byte [r11]
add r11, 3
sub al, cl
cmp rdx, 0x78
mov byte [rsp + rdx + 0xf], al
jl 0x140047ec0
mov ecx, 3
mov al, byte [rsp + rcx + 0x10]
inc rcx
sub al, byte [r12 + rcx - 4]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add r10d, eax
cmp rcx, 0x78
jl 0x140047eee
add rdi, 0x780
sub rsi, 1
jne 0x140047ebb
mov dword [r8], r10d
inc r9d
add r8, 4
inc rbx
cmp r9d, 2
jle 0x140047e97
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x140047f44
cmp eax, dword [rsp + 8]
ja 0x140047f44
xor eax, eax
jmp 0x140047f4e
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x1400484b8
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140048516
lea rdx, str.CreateThread_failed
lea rcx, [0x1400ec668]
call fcn.140028b70
lea rcx, [0x1400ec668]
call fcn.1400286c0
lea edx, [rbx + 2]
lea rcx, [0x1400ec668]
call fcn.140028e50
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14004e9e8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r12d, dword [rsp + 0x60]
xor r11d, r11d
mov eax, r9d
lea ebx, [r11 + 1]
mov r14d, r8d
mov r10d, 0x400
cmp r12d, ebx
mov esi, r11d
mov rbp, rbx
jl 0x14004eaf9
lea eax, [r12 + r12]
lea ecx, [rbx + 7]
sub r14d, eax
mov r8d, r11d
mov edi, r14d
mov r9, rdx
mov r15d, 4
cmp edi, ecx
mov eax, edi
mov r11, r9
cmovg eax, ecx
movsxd r13, eax
add r13, r9
cmp r9, r13
jae 0x14004ea96
lea r12, [r9 + rbp]
mov dl, byte [r12]
mov al, byte [r12 + rbp]
sub al, dl
sub dl, byte [r11]
movsx ecx, al
movsx eax, dl
sub eax, ecx
mov ecx, 0x20
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovl ecx, eax
inc r11
inc r12
add r8d, ecx
cmp r11, r13
jb 0x14004ea5f
mov ecx, 8
add r9, 0x40
sub edi, 0x40
sub r15, 1
jne 0x14004ea46
mov r12d, dword [rsp + 0x60]
xor r11d, r11d
cmp r8d, r10d
jge 0x14004eadd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x2f0]
cmp eax, r11d
je 0x14004ead2
cmp esi, eax
jne 0x14004ead2
mov eax, r10d
lea ecx, [r8 + r8*4]
shl eax, 2
cmp ecx, eax
jge 0x14004eadd
cmp r8d, 0x10
mov esi, ebx
mov r10d, r8d
jl 0x14004eaf5
mov rdx, qword [rsp + 0x48]
inc ebx
inc rbp
cmp ebx, r12d
mov ecx, 8
jle 0x14004ea37
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, esi
mov eax, r11d
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140050150
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov bl, dl
mov rsi, rcx
call fcn.14003ec88
cmp eax, 0x600
jb 0x140050186
mov rcx, qword [rsi]
movzx edx, bl
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x140050214
mov rax, qword [rsi + 0x10]
mov byte [rax + 0x160], bl
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140050214
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rbp, 0xffffffffffffffff
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1400a93a4
mov rcx, qword [rsi + 0x18]
mov r8d, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rsi + 0x18]
mov r9, rbp
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
lea r9d, [rbp + 2]
lea r8d, [rbp + 9]
mov edx, 0x102
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rdi
call fcn.1400a9218
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret