joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017d50
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400e3210]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140017dde
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140017d82
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140017df0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400e3210]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140017ef4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140017eef
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140017ec4
cmp qword [rsp + 0x38], 2
jb 0x140017ec4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017ec4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017ec4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140017e37
jmp 0x140017f86
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140017f86
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140017f5c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017f5c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017f5c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140017ef4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140052a30
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub rsp, 0x48
call fcn.140051130
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140052a92
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x2c], 0
add rsp, 0x48
ret

Function at 0x1400538b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400538d6
mov dword [rsp + 0x20], 1
jmp 0x1400538de
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140096060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.1400a6cc0
nop
lea rax, [0x140092f50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400911a0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400960e6
lea rcx, [rsp + 0x30]
call fcn.1400d4b30
nop
jmp 0x1400960fd
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.1400b1410
nop
add rsp, 0x58
ret
Function at 0x1400b6390
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xd8
movzx eax, byte [0x140146d0d]
test eax, eax
je 0x1400b64a4
lea rcx, [rsp + 0x50]
call fcn.1400d3270
mov rax, qword [rax]
mov qword [0x140146eb0], rax
mov dword [rsp + 0x20], 0
jmp 0x1400b63d4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jge 0x1400b649f
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400b649a
mov byte [0x140146d0d], 0
lea rax, [0x140106e34]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 6
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.1400a2c80
nop
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400d8110
mov dword [rsp + 0x24], eax
mov r9d, dword [rsp + 0x24]
lea r8, [0x140106e3c]
mov edx, 0x100
lea rcx, [0x1401354d0]
call fcn.1400db320
nop
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x80]
call fcn.1400b0ee0
mov eax, dword [rsp + 0x28]
jmp 0x1400b6594
jmp 0x1400b63ca
jmp 0x1400b6594
mov eax, dword [0x140146000]
cmp dword [0x140145fcc], eax
je 0x1400b64de
mov r9d, dword [rsp + 0xf0]
lea r8, [0x140106e44]
mov edx, 0x100
lea rcx, [0x1401354d0]
call fcn.1400db320
mov eax, dword [0x140145fcc]
mov dword [0x140146000], eax
lea rdx, [0x140106e50]
lea rcx, [0x140146e68]
call fcn.1400b1d40
nop
lea rdx, [0x1401354d0]
lea rcx, [rsp + 0xa0]
call fcn.1400adcc0
mov qword [rsp + 0x58], rax
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1400d8110
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0xa0]
call fcn.1400b0ee0
nop
jmp 0x1400b6541
jmp 0x1400b6543
lea rcx, [rsp + 0x30]
call fcn.1400d3270
nop
lea r8, [0x140146eb0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140081b50
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140080cf0
nop
lea rcx, [rsp + 0x38]
call fcn.1400cb350
comisd xmm0, xmmword [0x14010ee38]
jb 0x1400b658d
mov byte [0x140135162], 1
mov eax, dword [rsp + 0xf0]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400b65a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xd8
movzx eax, byte [0x140146d0e]
test eax, eax
je 0x1400b66b4
lea rcx, [rsp + 0x50]
call fcn.1400d3270
mov rax, qword [rax]
mov qword [0x140146eb0], rax
mov dword [rsp + 0x20], 0
jmp 0x1400b65e4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jge 0x1400b66af
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400b66aa
mov byte [0x140146d0e], 0
lea rax, str.:02x
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 6
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.1400a2c80
nop
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400d8110
mov dword [rsp + 0x24], eax
mov r9d, dword [rsp + 0x24]
lea r8, [0x140106e6c]
mov edx, 0x100
lea rcx, str.None
call fcn.1400db320
nop
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x80]
call fcn.1400b0ee0
mov eax, dword [rsp + 0x28]
jmp 0x1400b67a4
jmp 0x1400b65da
jmp 0x1400b67a4
mov eax, dword [0x140146004]
cmp dword [0x140145fcc], eax
je 0x1400b66ee
mov r9d, dword [rsp + 0xf0]
lea r8, str.0x_02x
mov edx, 0x100
lea rcx, str.None
call fcn.1400db320
mov eax, dword [0x140145fcc]
mov dword [0x140146004], eax
lea rdx, [0x140106e80]
lea rcx, [0x140146e90]
call fcn.1400b1d40
nop
lea rdx, str.None
lea rcx, [rsp + 0xa0]
call fcn.1400adcc0
mov qword [rsp + 0x58], rax
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1400d8110
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0xa0]
call fcn.1400b0ee0
nop
jmp 0x1400b6751
jmp 0x1400b6753
lea rcx, [rsp + 0x30]
call fcn.1400d3270
nop
lea r8, [0x140146eb0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140081b50
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140080cf0
nop
lea rcx, [rsp + 0x38]
call fcn.1400cb350
comisd xmm0, xmmword [0x14010ee38]
jb 0x1400b679d
mov byte [0x140135162], 1
mov eax, dword [rsp + 0xf0]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400b6fd0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
lea rax, [0x1401353d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
xor edx, edx
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x140146d0d]
test eax, eax
je 0x1400b700c
jmp 0x1400b70c7
mov eax, dword [rsp + 0x20]
shl eax, 0x10
mov r8d, 0x100
lea rdx, [0x1401353d0]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x1400b7036
jmp 0x1400b70c7
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x28]
lea rcx, [0x140146e10]
call fcn.1400a2ad0
nop
lea rdx, [rsp + 0x30]
lea rcx, [0x140146e10]
call fcn.1400cf120
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400b2170
movzx eax, al
test eax, eax
jne 0x1400b70a9
lea rcx, [rsp + 0x28]
call fcn.1400b27b0
add rax, 8
mov rcx, rax
call fcn.1400c5d90
mov r8d, 0x100
mov rdx, rax
lea rcx, [0x1401353d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
nop
jmp 0x1400b70c7
mov r9d, dword [rsp + 0x50]
lea r8, [0x140106ecc]
mov edx, 0x100
lea rcx, [0x1401353d0]
call fcn.1400db320
nop
add rsp, 0x40
pop rdi
ret

Function at 0x1400b70d0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
lea rax, [0x1401355d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
xor edx, edx
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x140146d0e]
test eax, eax
je 0x1400b710c
jmp 0x1400b71c7
mov eax, dword [rsp + 0x20]
shl eax, 0x10
mov r8d, 0x100
lea rdx, [0x1401355d0]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x1400b7136
jmp 0x1400b71c7
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x28]
lea rcx, [0x140146e10]
call fcn.1400a2ad0
nop
lea rdx, [rsp + 0x30]
lea rcx, [0x140146e10]
call fcn.1400cf120
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400b2170
movzx eax, al
test eax, eax
jne 0x1400b71a9
lea rcx, [rsp + 0x28]
call fcn.1400b27b0
add rax, 8
mov rcx, rax
call fcn.1400c5d90
mov r8d, 0x100
mov rdx, rax
lea rcx, [0x1401355d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
nop
jmp 0x1400b71c7
mov r9d, dword [rsp + 0x50]
lea r8, str.0x_X
mov edx, 0x100
lea rcx, [0x1401355d0]
call fcn.1400db320
nop
add rsp, 0x40
pop rdi
ret
Function at 0x1400b7320
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1078
call fcn.1400db7b0
sub rsp, rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400b7393
lea rdx, [0x140105e6e]
mov rcx, qword [rsp + 0x1080]
call fcn.1400adcc0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1080]
jmp 0x1400b748f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__raw.githubusercontent.com_Spencer0187_Roblox_Macro_Utilities_main_version
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400b7400
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140105e6f]
mov rcx, qword [rsp + 0x1080]
call fcn.1400adcc0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1080]
jmp 0x1400b748f
lea rcx, [rsp + 0x48]
call fcn.1400adef0
nop
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400b744a
cmp dword [rsp + 0x34], 0
je 0x1400b744a
mov eax, dword [rsp + 0x34]
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400c99d0
nop
jmp 0x1400b740b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x1080]
call fcn.1400adba0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400b0ee0
mov rax, qword [rsp + 0x1080]
add rsp, 0x1078
ret

Function at 0x1400b7500
Capabilities:
Get keyboard layout

Disassembly:
mov word [rsp + 8], cx
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x60]
cmp eax, 1
je 0x1400b7539
movzx eax, word [rsp + 0x60]
cmp eax, 2
je 0x1400b7539
movzx eax, word [rsp + 0x60]
cmp eax, 4
jne 0x1400b757f
mov dword [rsp + 0x28], 0
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
je 0x1400b7561
cmp dword [rsp + 0x20], 2
je 0x1400b756b
cmp dword [rsp + 0x20], 4
je 0x1400b7575
jmp 0x1400b757d
mov dword [rsp + 0x3c], 2
jmp 0x1400b757d
mov dword [rsp + 0x3c], 8
jmp 0x1400b757d
mov dword [rsp + 0x3c], 0x20
jmp 0x1400b75b6
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [rsp + 0x60]
mov r8, rax
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x28], 1
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x32], ax
mov dword [rsp + 0x34], 8
mov r8d, 0x28
lea rdx, [rsp + 0x28]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
nop
add rsp, 0x50
pop rdi
ret
Function at 0x1400b91e0
Capabilities:
Get keyboard layout

Disassembly:
mov word [rsp + 8], cx
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x60]
cmp eax, 1
je 0x1400b9219
movzx eax, word [rsp + 0x60]
cmp eax, 2
je 0x1400b9219
movzx eax, word [rsp + 0x60]
cmp eax, 4
jne 0x1400b925f
mov dword [rsp + 0x28], 0
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
je 0x1400b9241
cmp dword [rsp + 0x20], 2
je 0x1400b924b
cmp dword [rsp + 0x20], 4
je 0x1400b9255
jmp 0x1400b925d
mov dword [rsp + 0x3c], 4
jmp 0x1400b925d
mov dword [rsp + 0x3c], 0x10
jmp 0x1400b925d
mov dword [rsp + 0x3c], 0x40
jmp 0x1400b9296
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [rsp + 0x60]
mov r8, rax
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x28], 1
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x32], ax
mov dword [rsp + 0x34], 0xa
mov r8d, 0x28
lea rdx, [rsp + 0x28]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
nop
add rsp, 0x50
pop rdi
ret
Function at 0x1400c11b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400c11db
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400c11e2
mov al, 1
jmp 0x1400c133a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1400cf8a0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.1400cf8a0
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.1400cf8f0
movzx eax, al
test eax, eax
je 0x1400c1237
xor al, al
jmp 0x1400c133a
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.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 [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400c12a7
cmp dword [rsp + 0x30], 1
je 0x1400c12b3
cmp dword [rsp + 0x30], 3
je 0x1400c1328
jmp 0x1400c1338
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400c12ff
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400c12ff
xor al, al
jmp 0x1400c133a
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400c1319
mov dword [rsp + 0x34], 1
jmp 0x1400c1321
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400c133a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400c133a
xor al, al
add rsp, 0xa8
ret
Function at 0x1400d9160
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x1400d9185
xor eax, eax
jmp 0x1400d934c
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1400d91ae
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400d934c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400d924e
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400a6de0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1400cb220
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400d933c
mov rcx, qword [rsp + 0x70]
call fcn.1400c4970
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x1400d92ef
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x1400d92ed
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400d934c
jmp 0x1400d9274
cmp qword [rsp + 0x20], 0
jbe 0x1400d933c
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x1400d9360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400d9399
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400d9488
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400d9430
cmp qword [rsp + 0x20], 0
jle 0x1400d9430
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400d93d9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400cb220
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x1400d9478
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400d9478
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400dbf50
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400dbf9a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400dbf9a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400dbf9a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400dbf9a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400dbf9a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400dbf9c
xor al, al
add rsp, 0x28
ret