joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401840fe
Capabilities:
Create thread

Disassembly:
jmp 0x14040f080
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14058cc40]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1405c6f54]
call fcn.1401879a7
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140185855
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401882ee
nop
lea rax, [0x1401822b3]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140185b34
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14040f18c
lea rcx, [rbp + 8]
call fcn.1401814da
nop
jmp 0x14040f1a5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401801d4
nop
lea rcx, [rbp + 8]
call fcn.140185445
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140539da0]
call fcn.140185e45
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140182a60
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x140184185
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401f7000
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405c607c]
call fcn.1401879a7
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140184243
Capabilities:
Get geographical location

Disassembly:
jmp 0x140470f40
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140470f7d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140187939
add rsp, 0x58
ret
Function at 0x140184612
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401f6f80
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405c607c]
call fcn.1401879a7
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14018463f
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f8eb0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1405c607c]
call fcn.1401879a7
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x14049df70]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401f8ff6
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1401f8f4a
mov dword [rbp + 0x160], 1
jmp 0x1401f8f54
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401f8ff1
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1401f8fcb
cmp qword [rbp + 0x198], 2
jb 0x1401f8fcb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f8fcb
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f8fcb
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401f8f15
jmp 0x1401f9090
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1401f9090
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401f9067
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f9067
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f9067
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401f8ff6
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14018498c
Capabilities:
Parse pe header

Disassembly:
jmp 0x14042d7f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14042d810
xor al, al
jmp 0x14042d891
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14042d823
xor al, al
jmp 0x14042d891
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14042d84d
xor al, al
jmp 0x14042d891
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14042d861
xor al, al
jmp 0x14042d891
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14042d873
xor al, al
jmp 0x14042d891
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14042d88f
xor al, al
jmp 0x14042d891
mov al, 1
add rsp, 0x38
ret
Function at 0x14018519d
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x1403c51b0
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14058cc40]
xor rax, rbp
mov qword [rbp + 0xe0], rax
lea rcx, [0x1405c6b4e]
call fcn.1401879a7
nop
lea rcx, [0x140595550]
call fcn.140187fba
nop
mov byte [rbp + 4], 0
lea rdx, [rbp + 4]
lea rcx, [0x140183c30]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
cmp dword [0x1405955a0], 0
je 0x1403c5281
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x1403c5281
movzx eax, byte [0x140595683]
mov dword [rbp + 0xd4], eax
movzx eax, byte [0x140595683]
inc al
mov byte [0x140595683], al
cmp dword [rbp + 0xd4], 2
jl 0x1403c5253
mov dword [rbp + 0xd8], 1
jmp 0x1403c525d
mov dword [rbp + 0xd8], 0
cmp dword [rbp + 0xd8], 0
je 0x1403c5281
mov byte [0x140595689], 0
mov byte [0x140595683], 0
lea rcx, [0x140595550]
call fcn.140187fba
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1404fa380]
call fcn.140185e45
mov rcx, qword [rbp + 0xe0]
xor rcx, rbp
call fcn.140182a60
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret
Function at 0x1401859f4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
jmp 0x1403720a0
push rbp
push rsi
push rdi
sub rsp, 0x200
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14058cc40]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x1405c6551]
call fcn.1401879a7
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140372106
lea rdx, str.Failed_opening_clipboard_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14017ef91
nop
xor al, al
jmp 0x1403721e8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14037213e
lea rdx, str.Failed_getting_data__1__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14017ef91
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
xor al, al
jmp 0x1403721e8
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140372172
lea rdx, str.Failed_getting_data__2__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14017ef91
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
xor al, al
jmp 0x1403721e8
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rbp + 0x48]
call fcn.1401878f3
nop
lea rax, [rbp + 0x148]
mov qword [rbp + 0x178], rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x178]
call fcn.140181fde
lea rcx, [rbp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x1c0]
call fcn.140186c64
nop
mov byte [rbp + 0x194], 1
lea rcx, [rbp + 0x48]
call fcn.14017fbdf
movzx eax, byte [rbp + 0x194]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1404e5ff0]
call fcn.140185e45
mov rax, rdi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.140182a60
lea rsp, [rbp + 0x1e0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14018625f
Capabilities:
Create directory

Disassembly:
jmp 0x140472980
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14058cc40]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1404729bd
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140472a32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140472a20
mov edx, 1
mov ecx, 2
call fcn.14017e505
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140180b07
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140472a20
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.14017f1f3
movzx eax, al
test eax, eax
jne 0x140472a20
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140182a60
add rsp, 0x68
ret
Function at 0x1401869a8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x140376470
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14058cc40]
xor rax, rbp
mov qword [rbp + 0x410], rax
lea rcx, [0x1405c6551]
call fcn.1401879a7
nop
mov edx, 0xf8
lea rcx, [rbp + 0x10]
call fcn.1401846b2
mov edx, 1
lea rcx, [rbp + 0x10]
call fcn.140185e9a
nop
lea rcx, [rbp + 0x308]
call fcn.1401853ff
mov qword [rbp + 0x3e8], rax
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x3f0], rax
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x3f8], rax
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9b, 0x20
mov r8d, 0xffffffff
lea rdx, [rbp + 0x338]
mov rcx, qword [rbp + 0x3f8]
call fcn.14018482e
mov qword [rbp + 0x400], rax
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x408], rax
lea rax, [rbp + 0x20]
mov rdx, qword [rbp + 0x408]
mov rcx, rax
call fcn.14018666a
nop
lea rcx, [rbp + 0x338]
call fcn.14017fbdf
nop
lea rcx, [rbp + 0x308]
call fcn.14017e500
nop
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x10]
call fcn.14018569d
mov qword [rbp + 0x3e8], rax
mov rcx, qword [rbp + 0x3e8]
call fcn.1401861ab
inc rax
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x378]
call fcn.14017fbdf
nop
mov rdx, qword [rbp + 0x128]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x148], 0
je 0x14037666a
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x168], rax
cmp qword [rbp + 0x168], 0
je 0x14037666a
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x10]
call fcn.14018569d
mov qword [rbp + 0x3e8], rax
mov rcx, qword [rbp + 0x3e8]
call fcn.14017ecda
mov r8, qword [rbp + 0x128]
mov rdx, rax
mov rcx, qword [rbp + 0x168]
call fcn.140182ad3
lea rcx, [rbp + 0x3b8]
call fcn.14017fbdf
nop
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14037666a
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
mov rdx, qword [rbp + 0x148]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
lea rcx, [rbp + 0x10]
call fcn.14017f9ff
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1404e6070]
call fcn.140185e45
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.140182a60
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x1401869fd
Capabilities:
Get common file path

Disassembly:
jmp 0x140472ce0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140472d28
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x140472d28
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140472d3f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret

Function at 0x140186db8
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f8d90
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x1405c607c]
call fcn.1401879a7
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x14049df70]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1401f8e10
mov dword [rbp + 0x120], 1
jmp 0x1401f8e1a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401f8e63
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1401f8ddb
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14018774f
Capabilities:
Write file on windows

Disassembly:
jmp 0x14037e1a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14058cc40]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1405c654f]
call fcn.1401879a7
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14037e207
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14037e20e
mov al, 1
jmp 0x14037e37e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140180927
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140180927
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140185800
movzx eax, al
test eax, eax
je 0x14037e271
xor al, al
jmp 0x14037e37e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14037e2e4
cmp dword [rbp + 0x160], 1
je 0x14037e2ef
cmp dword [rbp + 0x160], 3
je 0x14037e36d
jmp 0x14037e37c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14037e33f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14037e33f
xor al, al
jmp 0x14037e37e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14037e35a
mov dword [rbp + 0x154], 1
jmp 0x14037e364
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14037e37e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14037e37e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1404e7aa0]
call fcn.140185e45
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140182a60
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140188186
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14040a1c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x14058cc40]
xor rax, rbp
mov qword [rbp + 0x1c0], rax
lea rcx, [0x1405c6e4d]
call fcn.1401879a7
nop
mov dword [rbp + 4], 0xfc
lea rax, str._none_
mov qword [rbp + 0x28], rax
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x14059653c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140595d38], eax
jle 0x14040a2ac
lea rcx, [0x140595d38]
call fcn.1401867eb
cmp dword [0x140595d38], 0xffffffff
jne 0x14040a2ac
mov dword [rbp + 0x144], 0
lea r8, [rbp + 4]
lea rdx, [rbp + 0x144]
mov rcx, qword [rbp + 0x1f0]
call fcn.1401863b8
movsxd rax, dword [rax]
lea rcx, str.D:P_
mov rdx, qword [rcx + rax*8]
lea rcx, [0x140595d10]
call fcn.1401825ec
nop
lea rcx, [0x14049aa10]
call fcn.140181c14
nop
lea rcx, [0x140595d38]
call fcn.140186cf0
nop
movzx eax, byte [0x140595d3c]
test eax, eax
je 0x14040a376
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0x164]
call fcn.140184135
mov rdx, rax
lea rcx, str._..._
call fcn.14018133b
nop
mov dword [rbp + 0x44], 0
jmp 0x14040a2ee
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x14040a374
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14040a36f
cmp dword [rbp + 0x44], 0x1b
jne 0x14040a31e
mov rax, qword [rbp + 0x1f0]
mov dword [rax], 0xffffffff
jmp 0x14040a32a
mov rax, qword [rbp + 0x1f0]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
mov dword [rbp + 0x184], 0
lea r8, [rbp + 4]
lea rdx, [rbp + 0x184]
mov rcx, qword [rbp + 0x1f0]
call fcn.1401863b8
movsxd rax, dword [rax]
lea rcx, str.D:P_
mov rdx, qword [rcx + rax*8]
lea rcx, [0x140595d10]
call fcn.14017e587
nop
mov byte [0x140595d3c], 0
jmp 0x14040a374
jmp 0x14040a2e6
jmp 0x14040a3d9
mov rax, qword [rbp + 0x1f0]
cmp dword [rax], 0xffffffff
jne 0x14040a38f
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x1b8], rax
jmp 0x14040a3a2
lea rcx, [0x140595d10]
call fcn.14017ecda
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1b8]
mov qword [rbp + 0x68], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0x1a4]
call fcn.140184135
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call fcn.14018133b
movzx eax, al
test eax, eax
je 0x14040a3d9
mov byte [0x140595d3c], 1
lea rcx, [rbp - 0x20]
lea rdx, [0x1405045a0]
call fcn.140185e45
mov rcx, qword [rbp + 0x1c0]
xor rcx, rbp
call fcn.140182a60
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x14027bbb0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1405c6216]
call fcn.1401879a7
nop
call fcn.140278cc0
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 8]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14027bc23
mov rax, qword [rbp + 8]
mov dword [rax + 0x2c], 0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14042ccf0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140187f79
movzx eax, al
test eax, eax
jne 0x14042cd10
mov ecx, 7
call fcn.140185f4e
nop
mov byte [rsp + 0x20], 0
call fcn.1401861e7
mov byte [rsp + 0x21], al
cmp dword [0x140595e40], 1
jne 0x14042cd34
mov ecx, 7
call fcn.140185f4e
nop
jmp 0x14042cd8c
cmp dword [0x140595e40], 0
jne 0x14042cd87
mov dword [0x140595e40], 1
lea rdx, [0x14049d9e8]
lea rcx, [0x14049d6b8]
call fcn.1401828e9
test eax, eax
je 0x14042cd68
mov eax, 0xff
jmp 0x14042ce91
lea rdx, [0x14049d5a8]
lea rcx, [section..rdata]
call fcn.140186165
mov dword [0x140595e40], 2
jmp 0x14042cd8c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140185d6e
call fcn.140184d88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14042cde9
mov rcx, qword [rsp + 0x30]
call fcn.140181acf
movzx eax, al
test eax, eax
je 0x14042cde9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1405c9020]
nop
call fcn.1401854a4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14042ce1d
mov rcx, qword [rsp + 0x38]
call fcn.140181acf
movzx eax, al
test eax, eax
je 0x14042ce1d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1401874b1
nop
call fcn.14042cf00
mov dword [rsp + 0x28], eax
call fcn.14018498c
movzx eax, al
test eax, eax
jne 0x14042ce3c
mov ecx, dword [rsp + 0x28]
call fcn.14017ea82
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14042ce4b
call fcn.140187669
nop
xor edx, edx
mov cl, 1
call fcn.1401817f5
mov eax, dword [rsp + 0x28]
jmp 0x14042ce91
add rsp, 0x68
ret