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

Disassembly:
jmp 0x14019d020
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 [0x14057bc48]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1405af00c]
call fcn.140183b6f
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.140183476
movzx eax, al
test eax, eax
jne 0x14019d0b9
mov rcx, qword [rbp + 0x128]
call fcn.14018120c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xor ecx, ecx
call fcn.14018465f
mov r9, rax
lea r8, [0x140493f44]
lea rdx, [0x140493f48]
lea rcx, [rbp + 8]
call fcn.1401810a4
mov ecx, 1
call fcn.14018465f
mov r9, rax
lea r8, [0x140493f50]
lea rdx, str.conout_
lea rcx, [rbp + 0x28]
call fcn.1401810a4
mov ecx, 2
call fcn.14018465f
mov r9, rax
lea r8, [0x140493f50]
lea rdx, str.conout_
lea rcx, [rbp + 0x28]
call fcn.1401810a4
mov rax, qword [rbp + 0x120]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140492cb0]
call fcn.1401822e2
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14017f2db
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14017c7e8
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402e88c0
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, [0x1405af5dc]
call fcn.140183b6f
mov qword [rbp + 8], 0
jmp 0x1402e88fe
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1402e8954
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 0x1402e88f3
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14017cb62
Capabilities:
Get common file path

Disassembly:
jmp 0x1401bc6e0
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 [0x14057bc48]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, [0x1405af050]
call fcn.140183b6f
lea r9, [rbp + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14050a738]
call fcn.14017e98f
test eax, eax
jl 0x1401bc77a
mov rax, qword [rbp + 0x3b0]
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140183615
mov rax, qword [rbp + 0x3b0]
mov rdx, qword [rbp + 0x3b8]
mov rcx, rax
call fcn.140181595
mov rcx, qword [rbp + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call fcn.14017bac8
movzx eax, al
test eax, eax
je 0x1401bc8c1
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.14017f0f6
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.140183b2e
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.1401aab70
nop
mov rcx, qword [rbp + 0x3b8]
call fcn.14017c98c
lea rcx, [rbp - 0x30]
lea rdx, [0x1404953e0]
call fcn.1401822e2
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.14017f2db
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret
Function at 0x14017cee1
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1401a2660
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405af01d]
call fcn.140183b6f
mov rax, qword [rbp + 0x100]
cmp dword [rax + 8], 0
jne 0x1401a269b
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
jmp 0x1401a27aa
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 4]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0
je 0x1401a26cb
cmp dword [rbp + 0xd4], 1
je 0x1401a26da
cmp dword [rbp + 0xd4], 2
je 0x1401a2719
jmp 0x1401a27a0
mov rax, qword [rbp + 0x100]
mov byte [rax], 1
jmp 0x1401a27a0
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 0x1401a26fd
mov byte [rbp + 0xd4], 1
jmp 0x1401a2704
mov byte [rbp + 0xd4], 0
mov rax, qword [rbp + 0x100]
movzx ecx, byte [rbp + 0xd4]
mov byte [rax], cl
jmp 0x1401a27a0
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 0x1401a2745
mov rax, qword [rbp + 0x100]
mov byte [rax + 1], 1
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 1]
test eax, eax
je 0x1401a27a0
movsx eax, word [rbp + 4]
and eax, 0x8000
test eax, eax
jne 0x1401a27a0
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
test eax, eax
jne 0x1401a277b
mov dword [rbp + 0xd4], 1
jmp 0x1401a2785
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 0x14017d2a1
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14019e950
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405af018]
call fcn.140183b6f
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x138
jne 0x14019e98c
mov rcx, qword [rbp + 0x100]
call fcn.14017c851
jmp 0x14019e9a7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jb 0x14019e9a7
mov rcx, qword [rbp + 0x100]
call fcn.14017f57e
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 0x1403de9a0
mov rax, rcx
neg rcx
test rax, 7
je 0x1403de9bd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1403dea18
test al, 7
jne 0x1403de9b0
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 0x1403de9d1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1403dea42
test dh, dh
je 0x1403dea3c
shr rdx, 0x10
test dl, dl
je 0x1403dea36
test dh, dh
je 0x1403dea30
shr rdx, 0x10
test dl, dl
je 0x1403dea2a
test dh, dh
je 0x1403dea24
shr edx, 0x10
test dl, dl
je 0x1403dea1e
test dh, dh
jne 0x1403de9d1
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 0x14017eead
Capabilities:
Query environment variable

Disassembly:
jmp 0x14045d7a0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14045d320
lea rcx, [rsp + 0x20]
call fcn.14045d370
movzx eax, al
test eax, eax
jne 0x14045d7e5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14045d350
mov rax, qword [rsp + 0x40]
jmp 0x14045d8df
lea rcx, [rsp + 0x20]
call fcn.14045d470
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14045d410
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.14017f457
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14017e38b
lea rcx, [rsp + 0x28]
call fcn.14017fc95
movzx eax, al
test eax, eax
jne 0x14045d87f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140181f0e
lea rcx, [rsp + 0x20]
call fcn.14045d350
mov rax, qword [rsp + 0x50]
jmp 0x14045d8df
lea rcx, [rsp + 0x20]
call fcn.14045d470
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1401839ee
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.14017f31c
lea rcx, [rsp + 0x28]
call fcn.1401849a2
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140181f0e
lea rcx, [rsp + 0x20]
call fcn.14045d350
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x14017f57e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1401a01f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405af018]
call fcn.140183b6f
mov qword [rbp + 8], 0x137
mov qword [rbp + 0x28], 0x9c
mov qword [rbp + 0x48], 0
jmp 0x1401a0234
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x9c
jae 0x1401a02dd
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 0x1401a029c
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x1401a02a7
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 0x1401a0229
mov qword [rbp + 0x88], 0x9c
jmp 0x1401a02fb
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x137
jae 0x1401a03bc
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 0x1401a0372
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x1401a037d
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 0x1401a02ea
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 0x1401a042e
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x1401a0439
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 0x14017f704
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14037d680
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14037d000
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14037d6bf
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 [0x1405b1020]
jmp 0x14037d6c9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14017fb1e
Capabilities:
Query environment variable

Disassembly:
jmp 0x14045d4f0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14045d320
lea rcx, [rsp + 0x40]
call fcn.14045d4a0
movzx eax, al
test eax, eax
jne 0x14045d538
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14045d350
mov rax, qword [rsp + 0x70]
jmp 0x14045d709
lea rcx, [rsp + 0x40]
call fcn.14045d470
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14045d410
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.14045d470
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.1401818c9
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14045d5de
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14045d350
mov rax, qword [rsp + 0x80]
jmp 0x14045d709
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14017f457
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14017f0ce
lea rcx, [rsp + 0x48]
call fcn.14017e700
movzx eax, al
test eax, eax
jne 0x14045d645
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14017c586
lea rcx, [rsp + 0x40]
call fcn.14045d350
mov rax, qword [rsp + 0x88]
jmp 0x14045d709
lea rcx, [rsp + 0x48]
call fcn.140180370
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14045d470
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.1401818c9
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14045d6db
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14017c586
lea rcx, [rsp + 0x40]
call fcn.14045d350
mov rax, qword [rsp + 0xa0]
jmp 0x14045d709
lea rcx, [rsp + 0x48]
call fcn.14017f065
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14017c586
lea rcx, [rsp + 0x40]
call fcn.14045d350
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14017fb4b
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14037d5b0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14037cf80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14037d5f1
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 [0x1405b1020]
jmp 0x14037d5f7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x14017fc9f
Capabilities:
Get geographical location

Disassembly:
jmp 0x1404350c0
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.140433ff0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140435127
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 [0x1405b1030]
jmp 0x140435149
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14017e615
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 0x14017fcc7
Capabilities:
Terminate process

Disassembly:
jmp 0x140359230
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 0x1401802a8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140467fc0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14057bc48]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140467fe6
jmp 0x140468063
mov rcx, qword [rbp + 0x30]
call fcn.14017ee49
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140467fff
jmp 0x140468063
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14046801c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14017c90f
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.14017d355
test eax, eax
jne 0x140468063
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14017f2db
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1401804f6
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402ebea0
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, [0x1405af5c9]
call fcn.140183b6f
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x140587e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140587038], eax
jle 0x1402ebf34
lea rcx, [0x140587038]
call fcn.140182bde
cmp dword [0x140587038], 0xffffffff
jne 0x1402ebf34
lea rdx, str.Click_to_bind
lea rcx, [0x140587010]
call fcn.14017ef2a
lea rcx, [0x14048fc40]
call fcn.14017e674
nop
lea rcx, [0x140587038]
call fcn.14018300c
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, [0x140587010]
call fcn.14017bc7b
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 0x1402ebf8e
mov byte [0x140586fe9], 1
movzx eax, byte [0x140586fe9]
test eax, eax
je 0x1402ec017
mov dword [rbp + 4], 1
jmp 0x1402ebfaa
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1402ebfff
mov ecx, dword [rbp + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402ebffd
cmp dword [rbp + 4], 0xc
je 0x1402ebffd
cmp dword [rbp + 4], 0x1b
jne 0x1402ebfde
mov dword [rbp + 0x174], 0
jmp 0x1402ebfe7
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 [0x140586fe9], 0
jmp 0x1402ebfa2
lea rdx, str.Press_a_key
lea rcx, [0x140587010]
call fcn.14017b505
jmp 0x1402ec0e0
movzx eax, byte [0x140586fe9]
test eax, eax
jne 0x1402ec046
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
jne 0x1402ec046
lea rdx, str.Click_to_bind
lea rcx, [0x140587010]
call fcn.14017b505
jmp 0x1402ec0e0
movzx eax, byte [0x140586fe9]
test eax, eax
jne 0x1402ec0e0
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
je 0x1402ec0e0
mov rax, qword [rbp + 0x1b8]
mov r8d, dword [rax]
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x1b0]
call fcn.140180e56
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.140183f07
mov qword [rbp + 0x188], rax
mov rdx, qword [rbp + 0x188]
lea rcx, [0x140587010]
call fcn.14017d53a
lea rcx, [rbp + 0x148]
call fcn.14017c98c
nop
lea rcx, [rbp + 0x108]
call fcn.14017c98c
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x14018085c
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402f43c0
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 0x1402f43fd
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.140183b15
add rsp, 0x58
ret

Function at 0x140180a0a
Capabilities:
Set environment variable

Disassembly:
jmp 0x14045f650
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