joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017c70
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, [0x1400e2230]
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 0x140017cfe
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 0x140017ca2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140017d10
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, [0x1400e2230]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140017e14
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 0x140017e0f
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 0x140017de4
cmp qword [rsp + 0x38], 2
jb 0x140017de4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017de4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017de4
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 0x140017d57
jmp 0x140017ea6
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 0x140017ea6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140017e7c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017e7c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140017e7c
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 0x140017e14
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400526a0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub rsp, 0x48
call fcn.140050db0
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 0x140052702
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x2c], 0
add rsp, 0x48
ret

Function at 0x140053500
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 0x140053526
mov dword [rsp + 0x20], 1
jmp 0x14005352e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140094c20
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.1400a6200
nop
lea rax, [0x140091be0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.14008fbb0
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 0x140094ca5
lea rcx, [rsp + 0x30]
call fcn.1400d3930
jmp 0x140094cbc
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.1400b07e0
add rsp, 0x58
ret
Function at 0x1400b5af0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xd8
movzx eax, byte [0x140145b78]
test eax, eax
je 0x1400b5c03
lea rcx, [rsp + 0x50]
call fcn.1400d20c0
mov rax, qword [rax]
mov qword [0x140145d80], rax
mov dword [rsp + 0x20], 0
jmp 0x1400b5b34
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jge 0x1400b5bfe
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400b5bf9
mov byte [0x140145b78], 0
lea rax, [0x140107ea0]
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.1400a2180
nop
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400d6f00
mov dword [rsp + 0x24], eax
mov r9d, dword [rsp + 0x24]
lea r8, [0x140107ea8]
mov edx, pe_nt_image_headers64
lea rcx, [0x140134350]
call fcn.1400d9ed0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x80]
call fcn.1400b02b0
mov eax, dword [rsp + 0x28]
jmp 0x1400b5cf1
jmp 0x1400b5b2a
jmp 0x1400b5cf1
mov eax, dword [0x140144ec0]
cmp dword [0x140144ea8], eax
je 0x1400b5c3d
mov r9d, dword [rsp + 0xf0]
lea r8, [0x140107eb0]
mov edx, pe_nt_image_headers64
lea rcx, [0x140134350]
call fcn.1400d9ed0
mov eax, dword [0x140144ea8]
mov dword [0x140144ec0], eax
lea rdx, [0x140107eb8]
lea rcx, [0x140145d38]
call fcn.1400b1160
nop
lea rdx, [0x140134350]
lea rcx, [rsp + 0xa0]
call fcn.1400ad020
mov qword [rsp + 0x58], rax
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1400d6f00
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0xa0]
call fcn.1400b02b0
nop
jmp 0x1400b5ca0
jmp 0x1400b5ca2
lea rcx, [rsp + 0x30]
call fcn.1400d20c0
lea r8, [0x140145d80]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140081720
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140080840
lea rcx, [rsp + 0x38]
call fcn.1400ca250
comisd xmm0, xmmword [0x14010d068]
jb 0x1400b5cea
mov byte [0x14013414d], 1
mov eax, dword [rsp + 0xf0]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400b5d00
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xd8
movzx eax, byte [0x140145b79]
test eax, eax
je 0x1400b5e13
lea rcx, [rsp + 0x50]
call fcn.1400d20c0
mov rax, qword [rax]
mov qword [0x140145d80], rax
mov dword [rsp + 0x20], 0
jmp 0x1400b5d44
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jge 0x1400b5e0e
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400b5e09
mov byte [0x140145b79], 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.1400a2180
nop
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400d6f00
mov dword [rsp + 0x24], eax
mov r9d, dword [rsp + 0x24]
lea r8, [0x140107ed4]
mov edx, pe_nt_image_headers64
lea rcx, str.None
call fcn.1400d9ed0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x80]
call fcn.1400b02b0
mov eax, dword [rsp + 0x28]
jmp 0x1400b5f01
jmp 0x1400b5d3a
jmp 0x1400b5f01
mov eax, dword [0x140144ec4]
cmp dword [0x140144ea8], eax
je 0x1400b5e4d
mov r9d, dword [rsp + 0xf0]
lea r8, str.0x_02x
mov edx, pe_nt_image_headers64
lea rcx, str.None
call fcn.1400d9ed0
mov eax, dword [0x140144ea8]
mov dword [0x140144ec4], eax
lea rdx, str.Click_to_Bind_Key
lea rcx, [0x140145d60]
call fcn.1400b1160
nop
lea rdx, str.None
lea rcx, [rsp + 0xa0]
call fcn.1400ad020
mov qword [rsp + 0x58], rax
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1400d6f00
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0xa0]
call fcn.1400b02b0
nop
jmp 0x1400b5eb0
jmp 0x1400b5eb2
lea rcx, [rsp + 0x30]
call fcn.1400d20c0
lea r8, [0x140145d80]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140081720
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140080840
lea rcx, [rsp + 0x38]
call fcn.1400ca250
comisd xmm0, xmmword [0x14010d068]
jb 0x1400b5efa
mov byte [0x14013414d], 1
mov eax, dword [rsp + 0xf0]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400b66e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
lea rax, [0x140134250]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
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 [0x140145b78]
test eax, eax
je 0x1400b671c
jmp 0x1400b67d4
mov eax, dword [rsp + 0x20]
shl eax, 0x10
mov r8d, pe_nt_image_headers64
lea rdx, [0x140134250]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x1400b6746
jmp 0x1400b67d4
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x28]
lea rcx, [0x140145c30]
call fcn.1400a1fd0
lea rdx, [rsp + 0x30]
lea rcx, [0x140145c30]
call fcn.1400cdfe0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400b1590
movzx eax, al
test eax, eax
jne 0x1400b67b7
lea rcx, [rsp + 0x28]
call fcn.1400b1bd0
add rax, 8
mov rcx, rax
call fcn.1400c4bd0
mov r8d, pe_nt_image_headers64
mov rdx, rax
lea rcx, [0x140134250]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x1400b67d4
mov r9d, dword [rsp + 0x50]
lea r8, [0x140107efc]
mov edx, pe_nt_image_headers64
lea rcx, [0x140134250]
call fcn.1400d9ed0
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
lea rax, [0x140134450]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
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 [0x140145b79]
test eax, eax
je 0x1400b681c
jmp 0x1400b68d4
mov eax, dword [rsp + 0x20]
shl eax, 0x10
mov r8d, pe_nt_image_headers64
lea rdx, [0x140134450]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x1400b6846
jmp 0x1400b68d4
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x28]
lea rcx, [0x140145c30]
call fcn.1400a1fd0
lea rdx, [rsp + 0x30]
lea rcx, [0x140145c30]
call fcn.1400cdfe0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400b1590
movzx eax, al
test eax, eax
jne 0x1400b68b7
lea rcx, [rsp + 0x28]
call fcn.1400b1bd0
add rax, 8
mov rcx, rax
call fcn.1400c4bd0
mov r8d, pe_nt_image_headers64
mov rdx, rax
lea rcx, [0x140134450]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x1400b68d4
mov r9d, dword [rsp + 0x50]
lea r8, str.0x_X
mov edx, pe_nt_image_headers64
lea rcx, [0x140134450]
call fcn.1400d9ed0
add rsp, 0x40
pop rdi
ret
Function at 0x1400b6a20
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1078
call fcn.1400da360
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 0x1400b6a93
lea rdx, [0x14010440b]
mov rcx, qword [rsp + 0x1080]
call fcn.1400ad020
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1080]
jmp 0x1400b6b8e
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 0x1400b6b00
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14010440c]
mov rcx, qword [rsp + 0x1080]
call fcn.1400ad020
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1080]
jmp 0x1400b6b8e
lea rcx, [rsp + 0x48]
call fcn.1400ad250
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 0x1400b6b49
cmp dword [rsp + 0x34], 0
je 0x1400b6b49
mov eax, dword [rsp + 0x34]
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400c87f0
jmp 0x1400b6b0b
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.1400acf00
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400b02b0
mov rax, qword [rsp + 0x1080]
add rsp, 0x1078
ret

Function at 0x1400b6c00
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 0x1400b6c39
movzx eax, word [rsp + 0x60]
cmp eax, 2
je 0x1400b6c39
movzx eax, word [rsp + 0x60]
cmp eax, 4
jne 0x1400b6c7f
mov dword [rsp + 0x28], 0
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
je 0x1400b6c61
cmp dword [rsp + 0x20], 2
je 0x1400b6c6b
cmp dword [rsp + 0x20], 4
je 0x1400b6c75
jmp 0x1400b6c7d
mov dword [rsp + 0x3c], 2
jmp 0x1400b6c7d
mov dword [rsp + 0x3c], 8
jmp 0x1400b6c7d
mov dword [rsp + 0x3c], 0x20
jmp 0x1400b6cb6
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]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b8780
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 0x1400b87b9
movzx eax, word [rsp + 0x60]
cmp eax, 2
je 0x1400b87b9
movzx eax, word [rsp + 0x60]
cmp eax, 4
jne 0x1400b87ff
mov dword [rsp + 0x28], 0
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
je 0x1400b87e1
cmp dword [rsp + 0x20], 2
je 0x1400b87eb
cmp dword [rsp + 0x20], 4
je 0x1400b87f5
jmp 0x1400b87fd
mov dword [rsp + 0x3c], 4
jmp 0x1400b87fd
mov dword [rsp + 0x3c], 0x10
jmp 0x1400b87fd
mov dword [rsp + 0x3c], 0x40
jmp 0x1400b8836
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]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c0260
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 0x1400c028b
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400c0292
mov al, 1
jmp 0x1400c03ea
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1400ce760
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.1400ce760
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.1400ce7b0
movzx eax, al
test eax, eax
je 0x1400c02e7
xor al, al
jmp 0x1400c03ea
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 0x1400c0357
cmp dword [rsp + 0x30], 1
je 0x1400c0363
cmp dword [rsp + 0x30], 3
je 0x1400c03d8
jmp 0x1400c03e8
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 0x1400c03af
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 0x1400c03af
xor al, al
jmp 0x1400c03ea
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400c03c9
mov dword [rsp + 0x34], 1
jmp 0x1400c03d1
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400c03ea
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400c03ea
xor al, al
add rsp, 0xa8
ret
Function at 0x1400d7fa0
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 0x1400d7fc5
xor eax, eax
jmp 0x1400d818b
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1400d7fee
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 0x1400d818b
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 0x1400d808d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400a6320
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.1400ca120
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]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400d817b
mov rcx, qword [rsp + 0x70]
call fcn.1400c38c0
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x1400d812e
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 0x1400d812c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400d818b
jmp 0x1400d80b3
cmp qword [rsp + 0x20], 0
jbe 0x1400d817b
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 0x1400d8190
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 0x1400d81c9
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 0x1400d82b7
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 0x1400d825f
cmp qword [rsp + 0x20], 0
jle 0x1400d825f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400d8209
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.1400ca120
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]
cmp qword [rsp + 0x50], 0
jle 0x1400d82a7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400d82a7
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 0x1400da9e0
Capabilities:
Parse pe header

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