joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017b334
Capabilities:
Set console window title

Disassembly:
jmp 0x14019c2d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x14057dc40]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1405b000c]
call fcn.140183b29
mov rax, qword [rbp + 0x120]
mov rcx, rax
call fcn.1401801ef
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov rcx, qword [rbp + 0x128]
call fcn.14018342b
movzx eax, al
test eax, eax
jne 0x14019c369
mov rcx, qword [rbp + 0x128]
call fcn.1401811ee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xor ecx, ecx
call fcn.140184605
mov r9, rax
lea r8, [0x140496054]
lea rdx, [0x140496058]
lea rcx, [rbp + 8]
call fcn.140181086
mov ecx, 1
call fcn.140184605
mov r9, rax
lea r8, [0x140496060]
lea rdx, str.conout_
lea rcx, [rbp + 0x28]
call fcn.140181086
mov ecx, 2
call fcn.140184605
mov r9, rax
lea r8, [0x140496060]
lea rdx, str.conout_
lea rcx, [rbp + 0x28]
call fcn.140181086
mov rax, qword [rbp + 0x120]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140494cb0]
call fcn.1401822a6
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14017f2bd
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14017c7de
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402e7970
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405b05c4]
call fcn.140183b29
mov qword [rbp + 8], 0
jmp 0x1402e79ae
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1402e7a04
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1402e79a3
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14017cb53
Capabilities:
Get common file path

Disassembly:
jmp 0x1401bb910
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e8]
mov rax, qword [0x14057dc40]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, [0x1405b004d]
call fcn.140183b29
lea r9, [rbp + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14050cce0]
call fcn.14017e985
test eax, eax
jl 0x1401bb9aa
mov rax, qword [rbp + 0x3b0]
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.1401835c5
mov rax, qword [rbp + 0x3b0]
mov rdx, qword [rbp + 0x3b8]
mov rcx, rax
call fcn.140181577
mov rcx, qword [rbp + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call fcn.14017bac3
movzx eax, al
test eax, eax
je 0x1401bbaf1
lea rax, [rbp + 0x1a4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rbp + 0x1a4]
mov byte [rbp + 0x2c4], al
movzx eax, byte [rbp + 0x2c4]
mov byte [rbp + 0x304], al
movzx eax, byte [rbp + 0x304]
mov byte [rbp + 0x344], al
mov rax, qword [rbp + 0x3b0]
add rax, 0x28
mov rdx, rax
lea rcx, [rbp + 0x1c8]
call fcn.14017f0e7
mov rax, qword [rax]
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x328], rax
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x218], rax
mov rdi, qword [rbp + 0x218]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x218]
call fcn.14017b07d
mov qword [rbp + 0x358], rax
mov rax, qword [rbp + 0x358]
mov qword [rbp + 0x360], rax
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x368], rax
lea rax, [rbp + 0x238]
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x3b0]
mov rdx, rax
mov rcx, qword [rbp + 0x268]
call fcn.140183ae8
mov qword [rbp + 0x370], rax
mov rax, qword [rbp + 0x370]
mov qword [rbp + 0x378], rax
movzx eax, byte [rbp + 0x344]
mov byte [rsp + 0x20], al
mov r9, qword [rbp + 0x328]
mov r8, qword [rbp + 0x368]
mov rdx, qword [rbp + 0x378]
lea rcx, [rbp + 0x288]
call fcn.1401a9d80
nop
mov rcx, qword [rbp + 0x3b8]
call fcn.14017c982
lea rcx, [rbp - 0x30]
lea rdx, [0x1404974d0]
call fcn.1401822a6
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.14017f2bd
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret
Function at 0x14017ced7
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1401a1890
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405b001c]
call fcn.140183b29
mov rax, qword [rbp + 0x100]
cmp dword [rax + 8], 0
jne 0x1401a18cb
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
jmp 0x1401a19da
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 4]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0
je 0x1401a18fb
cmp dword [rbp + 0xd4], 1
je 0x1401a190a
cmp dword [rbp + 0xd4], 2
je 0x1401a1949
jmp 0x1401a19d0
mov rax, qword [rbp + 0x100]
mov byte [rax], 1
jmp 0x1401a19d0
mov rax, qword [rbp + 0x100]
mov ecx, dword [rax + 8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401a192d
mov byte [rbp + 0xd4], 1
jmp 0x1401a1934
mov byte [rbp + 0xd4], 0
mov rax, qword [rbp + 0x100]
movzx ecx, byte [rbp + 0xd4]
mov byte [rax], cl
jmp 0x1401a19d0
mov rax, qword [rbp + 0x100]
mov ecx, dword [rax + 8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [rbp + 4], ax
movsx eax, word [rbp + 4]
and eax, 0x8000
test eax, eax
je 0x1401a1975
mov rax, qword [rbp + 0x100]
mov byte [rax + 1], 1
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 1]
test eax, eax
je 0x1401a19d0
movsx eax, word [rbp + 4]
and eax, 0x8000
test eax, eax
jne 0x1401a19d0
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
test eax, eax
jne 0x1401a19ab
mov dword [rbp + 0xd4], 1
jmp 0x1401a19b5
mov dword [rbp + 0xd4], 0
mov rax, qword [rbp + 0x100]
movzx ecx, byte [rbp + 0xd4]
mov byte [rax], cl
mov rax, qword [rbp + 0x100]
mov byte [rax + 1], 0
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14017d29c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14019db80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405b0017]
call fcn.140183b29
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x138
jne 0x14019dbbc
mov rcx, qword [rbp + 0x100]
call fcn.14017c847
jmp 0x14019dbd7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jb 0x14019dbd7
mov rcx, qword [rbp + 0x100]
call fcn.14017f56a
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shr rax, 0x1d
mov rcx, qword [rbp + 0x100]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shr rax, 0x2b
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14017ee49
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1403de100
mov rax, rcx
neg rcx
test rax, 7
je 0x1403de11d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1403de178
test al, 7
jne 0x1403de110
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1403de131
mov rdx, qword [rax - 8]
test dl, dl
je 0x1403de1a2
test dh, dh
je 0x1403de19c
shr rdx, 0x10
test dl, dl
je 0x1403de196
test dh, dh
je 0x1403de190
shr rdx, 0x10
test dl, dl
je 0x1403de18a
test dh, dh
je 0x1403de184
shr edx, 0x10
test dl, dl
je 0x1403de17e
test dh, dh
jne 0x1403de131
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14017eea8
Capabilities:
Query environment variable

Disassembly:
jmp 0x14045ec60
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14045e7e0
lea rcx, [rsp + 0x20]
call fcn.14045e830
movzx eax, al
test eax, eax
jne 0x14045eca5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14045e810
mov rax, qword [rsp + 0x40]
jmp 0x14045ed9f
lea rcx, [rsp + 0x20]
call fcn.14045e930
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14045e8d0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.14017f43e
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14017e38b
lea rcx, [rsp + 0x28]
call fcn.14017fc81
movzx eax, al
test eax, eax
jne 0x14045ed3f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140181ee6
lea rcx, [rsp + 0x20]
call fcn.14045e810
mov rax, qword [rsp + 0x50]
jmp 0x14045ed9f
lea rcx, [rsp + 0x20]
call fcn.14045e930
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1401839a3
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14017f2fe
lea rcx, [rsp + 0x28]
call fcn.14018494d
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140181ee6
lea rcx, [rsp + 0x20]
call fcn.14045e810
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x14017f56a
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14019f5a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405b0017]
call fcn.140183b29
mov qword [rbp + 8], 0x137
mov qword [rbp + 0x28], 0x9c
mov qword [rbp + 0x48], 0
jmp 0x14019f5e4
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x9c
jae 0x14019f68d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
and rax, 1
test rax, rax
je 0x14019f64c
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14019f657
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0x68]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14019f5d9
mov qword [rbp + 0x88], 0x9c
jmp 0x14019f6ab
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x137
jae 0x14019f76c
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
and rax, 1
test rax, rax
je 0x14019f722
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14019f72d
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0xa8]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14019f69a
mov qword [rbp + 0xc8], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rbp + 0x1e0]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
and rax, 1
test rax, rax
je 0x14019f7de
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14019f7e9
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0xe8]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rbp + 0x1e0]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rbp + 0x1e0]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14017f6f0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14037cac0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14037c440
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14037caff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1405b2020]
jmp 0x14037cb09
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14017fb0a
Capabilities:
Query environment variable

Disassembly:
jmp 0x14045e9b0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14045e7e0
lea rcx, [rsp + 0x40]
call fcn.14045e960
movzx eax, al
test eax, eax
jne 0x14045e9f8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14045e810
mov rax, qword [rsp + 0x70]
jmp 0x14045ebc9
lea rcx, [rsp + 0x40]
call fcn.14045e930
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14045e8d0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14045e930
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1401818a6
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14045ea9e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14045e810
mov rax, qword [rsp + 0x80]
jmp 0x14045ebc9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14017f43e
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14017f0c4
lea rcx, [rsp + 0x48]
call fcn.14017e6f6
movzx eax, al
test eax, eax
jne 0x14045eb05
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14017c577
lea rcx, [rsp + 0x40]
call fcn.14045e810
mov rax, qword [rsp + 0x88]
jmp 0x14045ebc9
lea rcx, [rsp + 0x48]
call fcn.140180361
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14045e930
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1401818a6
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14045eb9b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14017c577
lea rcx, [rsp + 0x40]
call fcn.14045e810
mov rax, qword [rsp + 0xa0]
jmp 0x14045ebc9
lea rcx, [rsp + 0x48]
call fcn.14017f05b
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14017c577
lea rcx, [rsp + 0x40]
call fcn.14045e810
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14017fb37
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14037c9f0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14037c3c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14037ca31
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1405b2020]
jmp 0x14037ca37
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x14017fc8b
Capabilities:
Get geographical location

Disassembly:
jmp 0x1404353a0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1404342d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140435407
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1405b2030]
jmp 0x140435429
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14017e60b
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x14017fcb3
Capabilities:
Terminate process

Disassembly:
jmp 0x140358380
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1401802a3
Capabilities:
Print debug messages

Disassembly:
jmp 0x140469480
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14057dc40]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1404694a6
jmp 0x140469523
mov rcx, qword [rbp + 0x30]
call fcn.14017ee49
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1404694bf
jmp 0x140469523
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1404694dc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14017c90a
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14017d350
test eax, eax
jne 0x140469523
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14017f2bd
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1401804e7
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402eaf50
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405b05cd]
call fcn.140183b29
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x140589d0c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140588ef8], eax
jle 0x1402eafe4
lea rcx, [0x140588ef8]
call fcn.140182b93
cmp dword [0x140588ef8], 0xffffffff
jne 0x1402eafe4
lea rdx, str.Click_to_bind
lea rcx, [0x140588ed0]
call fcn.14017ef20
lea rcx, [0x1404912a0]
call fcn.14017e66a
nop
lea rcx, [0x140588ef8]
call fcn.140182fb7
cvtsi2ss xmm0, dword [rbp + 0x1c8]
cvtsi2ss xmm1, dword [rbp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rbp + 0xe4]
call fcn.140180767
mov qword [rbp + 0x178], rax
lea rcx, [0x140588ed0]
call fcn.14017bc71
mov qword [rbp + 0x180], rax
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
call fcn.14017ded1
movzx eax, al
test eax, eax
je 0x1402eb03e
mov byte [0x140588ea9], 1
movzx eax, byte [0x140588ea9]
test eax, eax
je 0x1402eb0c7
mov dword [rbp + 4], 1
jmp 0x1402eb05a
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1402eb0af
mov ecx, dword [rbp + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402eb0ad
cmp dword [rbp + 4], 0xc
je 0x1402eb0ad
cmp dword [rbp + 4], 0x1b
jne 0x1402eb08e
mov dword [rbp + 0x174], 0
jmp 0x1402eb097
mov eax, dword [rbp + 4]
mov dword [rbp + 0x174], eax
mov rax, qword [rbp + 0x1b8]
mov ecx, dword [rbp + 0x174]
mov dword [rax], ecx
mov byte [0x140588ea9], 0
jmp 0x1402eb052
lea rdx, str.Press_a_key
lea rcx, [0x140588ed0]
call fcn.14017b500
jmp 0x1402eb190
movzx eax, byte [0x140588ea9]
test eax, eax
jne 0x1402eb0f6
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
jne 0x1402eb0f6
lea rdx, str.Click_to_bind
lea rcx, [0x140588ed0]
call fcn.14017b500
jmp 0x1402eb190
movzx eax, byte [0x140588ea9]
test eax, eax
jne 0x1402eb190
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
je 0x1402eb190
mov rax, qword [rbp + 0x1b8]
mov r8d, dword [rax]
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x1b0]
call fcn.140180e33
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x180], rax
mov r8, qword [rbp + 0x180]
lea rdx, str.Bound_to
lea rcx, [rbp + 0x148]
call fcn.140183eb2
mov qword [rbp + 0x188], rax
mov rdx, qword [rbp + 0x188]
lea rcx, [0x140588ed0]
call fcn.14017d530
lea rcx, [rbp + 0x148]
call fcn.14017c982
nop
lea rcx, [rbp + 0x108]
call fcn.14017c982
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x14018084d
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402f30b0
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 0x1402f30ed
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.140183acf
add rsp, 0x58
ret

Function at 0x1401809ec
Capabilities:
Set environment variable

Disassembly:
jmp 0x140460b10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret