joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066e74
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400a1050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x140066ed9
test rax, rax
jne 0x140066ec7
lea r9, [0x140082b80]
lea r8, [0x140082b78]
lea rdx, [0x140082b80]
lea ecx, [rax + 0xa]
call fcn.140066a28
test rax, rax
je 0x140066ed9
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140077780
jmp 0x140066ef3
xor edx, edx
mov rcx, rbp
call fcn.140067164
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14006a414
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140053080
sub rsp, rax
mov rax, qword [0x140098280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140064b50
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14006a463
mov rax, rbp
jmp 0x14006a56f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x9b290]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14006bee0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x9b290]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14006a56b
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006a56b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14006bee0
test rax, rax
js 0x14006a56b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14006a56b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14006a55d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14006a55d
cmp byte [rcx], 0xd
jne 0x14006a543
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14006a552
cmp byte [rcx + 1], 0xa
jne 0x14006a552
inc rcx
jmp 0x14006a552
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x986c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14006a525
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14006a56f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400529d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b1c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x14009b290]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x14006b21e
cmp word [rdx], r9w
jne 0x14006b21e
or byte [rax + rbp*8 + 0x38], 4
jmp 0x14006b223
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x14006b3a2
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x14006b36d
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x14006b26b
cmp rcx, r8
jae 0x14006b28b
cmp word [rcx], r9w
jne 0x14006b26b
add rax, 4
mov edx, r9d
jmp 0x14006b26e
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x14006b240
jmp 0x14006b3a2
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006b366
cmp dword [rsp + 0x80], edi
je 0x14006b366
lea r9, [0x14009b290]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x14006b340
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x14006b2f3
mov word [rbx], bp
jmp 0x14006b39f
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x14006b30e
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x14006b39f
cmp word [rsp + 0x70], bp
jne 0x14006b34c
cmp rbx, rsi
je 0x14006b2eb
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14006bee8
cmp word [rsp + 0x70], bp
je 0x14006b3a2
mov word [rbx], 0xd
jmp 0x14006b39f
mov rcx, r15
lea r9, [0x14009b290]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14006b39c
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14006b3a2
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006ea48
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14006ea78
xor eax, eax
jmp 0x14006eb3b
mov rbp, rbx
cmp word [rax], si
je 0x14006ea9d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14006ea84
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14006ea80
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14006d634
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14006eade
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14006ea71
call fcn.140067530
mov rdi, rax
test rax, rax
jne 0x14006eaf4
xor ecx, ecx
call fcn.1400664e0
jmp 0x14006ead3
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14006d634
test eax, eax
jne 0x14006eb25
mov rcx, rdi
call fcn.1400664e0
jmp 0x14006eb2f
xor ecx, ecx
call fcn.1400664e0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14006eb58
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14006ebdf
mov rsi, rbx
cmp word [rax], bp
je 0x14006eb9e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14006eb88
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14006eb84
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140067530
mov rdi, rax
test rax, rax
je 0x14006ebcc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400777c0
mov rbp, rdi
xor ecx, ecx
call fcn.1400664e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140071c30
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140071ca3
cmp word [rcx], si
je 0x140071ca3
lea rdx, [0x1400840e8]
call fcn.140076038
test eax, eax
je 0x140071ca3
lea rdx, [0x140084100]
mov rcx, rbx
call fcn.140076038
test eax, eax
jne 0x140071c99
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140071cc0
mov eax, dword [rsp + 0x30]
jmp 0x140071cd2
mov rcx, rbx
call fcn.1400649c4
jmp 0x140071cd2
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140071cc4
xor eax, eax
jmp 0x140071cd2
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140071cd2
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140071ce4
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400651f4
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140071d87
cmp edi, dword [rsp + 0x30]
je 0x140071d80
test ebp, ebp
je 0x140071d80
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140071d5c
sub dx, 0x61
cmp dx, 0x19
ja 0x140071d68
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140071d49
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140071d6c
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140071d89
mov eax, 1
jmp 0x140071d89
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140075cec
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140061228
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140075d76
cmp byte [rbp - 0x21], r15b
je 0x140075d71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140075dac
call fcn.140066c94
test eax, eax
jne 0x140075d98
cmp byte [rbp - 0x21], r15b
je 0x140075d90
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140075dac
cmp byte [rbp - 0x21], r15b
je 0x140075da9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140061b5c
test eax, eax
jne 0x140075e4c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140061228
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140075deb
cmp byte [rbp - 0x21], r15b
je 0x140075e20
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140075e20
call fcn.140066c94
test eax, eax
jne 0x140075e0c
cmp byte [rbp - 0x21], r15b
je 0x140075e05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140075e20
cmp byte [rbp - 0x21], r15b
je 0x140075e1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140061b5c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140075e4c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140075e4f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140075e5d
mov rcx, rdi
call fcn.1400664e0
cmp byte [rbp + 0x3f], r15b
je 0x140075e6c
mov rcx, qword [rbp + 0x27]
call fcn.1400664e0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140076a14
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14006bee8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006bee8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140076b61
cmp rax, 0xffffffffffffffff
je 0x140076b61
xor edi, edi
test rbp, rbp
jle 0x140076b0f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140065630
mov rbx, rax
test rax, rax
jne 0x140076a9c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140076b05
mov edx, 0x8000
mov ecx, r14d
call fcn.140062f2c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400661ac
cmp eax, 0xffffffff
je 0x140076ae5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140076aac
mov edx, r15d
mov ecx, r14d
call fcn.140062f2c
jmp 0x140076b05
cmp byte [rsi + 0x38], dil
je 0x140076afc
cmp dword [rsi + 0x34], 5
jne 0x140076afc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140076b05
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400664e0
jmp 0x140076b73
jns 0x140076b73
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006bee8
cmp rax, 0xffffffffffffffff
jne 0x140076b2d
cmp byte [rsi + 0x30], dil
je 0x140076b73
jmp 0x140076b69
mov ecx, r14d
call fcn.14006f738
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140076b73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140076b73
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140076b6e
mov edi, dword [rsi + 0x2c]
jmp 0x140076b73
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006bee8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400773e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140077408
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140077408
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x417ee4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x417f3e
call fcn.0041aa44
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x417f3e
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x417f60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.00417964
test rdi, rdi
mov esi, eax
je 0x417f5e
test rbx, rbx
je 0x417f5e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x425417
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0044b220]
jne 0x42003a
rol rcx, 0x10
test cx, 0xffff
jne 0x420036
repz ret
ror rcx, 0x10
jmp 0x425370
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00450c90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x00450d88]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x4253f5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00450c90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x425417
mov rax, qword [rsp + 0x88]
mov qword [0x00450d88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00450d28], rax
mov rax, qword [0x00450d88]
mov qword [0x00450c00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00450d10], rax
mov dword [0x00450bf0], 0xc0000409
mov dword [0x00450bf4], 1
mov rax, qword [0x0044b220]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0044b228]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00450c88], eax
mov ecx, 1
call fcn.00425610
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0043e688]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00450c88], 0
jne 0x42549e
mov ecx, 1
call fcn.00425610
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x42e730
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00424ce0
xor ebx, ebx
cmp qword [0x00451530], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x42e861
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x42e793
xor eax, eax
jmp 0x42e941
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x42e78c
mov rcx, rax
call fcn.00424c70
lea rdx, [0x0043e820]
mov rcx, rbp
mov qword [0x00451530], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424c70
lea rdx, [0x0043e808]
mov rcx, rbp
mov qword [0x00451538], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424c70
lea rcx, [rsp + 0x30]
mov qword [0x00451540], rax
call fcn.00421e90
test eax, eax
je 0x42e817
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00420450
cmp dword [rsp + 0x30], 2
jne 0x42e861
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424c70
test rax, rax
mov qword [0x00451550], rax
je 0x42e861
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424c70
mov qword [0x00451548], rax
mov rcx, qword [0x00451548]
cmp rcx, rsi
je 0x42e8f3
cmp qword [0x00451550], rsi
je 0x42e8f3
call fcn.00424d40
call rax
test rax, rax
mov rbp, rax
je 0x42e8be
mov rcx, qword [0x00451550]
call fcn.00424d40
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x42e8be
test byte [rsp + 0x48], 1
jne 0x42e8f3
lea rcx, [rsp + 0x34]
call fcn.00421ee0
test eax, eax
je 0x42e8e0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00420450
cmp dword [rsp + 0x34], 4
jb 0x42e8ed
bts edi, 0x15
jmp 0x42e927
bts edi, 0x12
jmp 0x42e927
mov rcx, qword [0x00451538]
cmp rcx, rsi
je 0x42e927
call fcn.00424d40
call rax
test rax, rax
mov rbx, rax
je 0x42e927
mov rcx, qword [0x00451540]
cmp rcx, rsi
je 0x42e927
call fcn.00424d40
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x00451530]
call fcn.00424d40
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140013a60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push r15
sub rsp, 0x50
mov rax, qword [0x1400a6010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, dword [rbx + 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x14009b338]
movss dword [0x1400a6a84], xmm0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov edx, 1
mov rcx, rbx
mov dword [rbx + 0x48], eax
call fcn.140013ca0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x18
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
jne 0x140013b07
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x140013b07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400144a0
mov r8, rax
lea rdx, str.CCore::Process
lea rcx, str._s:_Failed_to_get_cursor_info___s
call fcn.140013f00
jmp 0x140013b43
mov rax, qword [rbx + 0x40]
movd xmm0, dword [rsp + 0x30]
movd xmm1, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
mov rcx, qword [rax + 0x20]
cvtdq2ps xmm1, xmm1
subss xmm0, dword [rcx + 0x10]
movss dword [0x1400a6b18], xmm0
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax + 0x20]
subss xmm1, dword [rcx + 0x14]
movss dword [0x1400a6b1c], xmm1
mov r8, qword [0x1400a6b08]
movabs r15, 0x2aaaaaaaaaaaaaab
mov r9, qword [0x1400a6b00]
mov rcx, r8
sub rcx, r9
mov rax, r15
imul rcx
xor ebp, ebp
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140013c84
mov qword [rsp + 0x78], rsi
mov esi, ebp
mov qword [rsp + 0x48], r12
mov r12d, 0x8000
mov qword [rsp + 0x40], r14
mov r14d, ebp
mov qword [rsp + 0x80], rdi
nop
sub r8, r9
mov rax, r15
imul r8
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rsi
jbe 0x140013c9a
movzx ebx, byte [r14 + r9 + 0x28]
mov ecx, dword [r14 + r9]
and bl, 0xf9
movzx edi, bl
and dil, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
jbe 0x140013bf6
movzx eax, bl
or al, 3
movzx ecx, al
test dil, dil
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
jmp 0x140013c01
test dil, dil
je 0x140013c01
and bl, 0xfe
or bl, 4
mov rcx, qword [0x1400a6b08]
mov rax, r15
mov r8, qword [0x1400a6b00]
sub rcx, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rsi
jbe 0x140013c9a
mov byte [r14 + r8 + 0x28], bl
inc ebp
mov r8, qword [0x1400a6b08]
mov rax, r15
mov r9, qword [0x1400a6b00]
mov rcx, r8
sub rcx, r9
inc rsi
imul rcx
add r14, 0x30
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, ebp
cmp rax, rdx
jb 0x140013ba0
mov rdi, qword [rsp + 0x80]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140076740
add rsp, 0x50
pop r15
pop rbp
pop rbx
ret
call fcn.140014ac0
int3
Function at 0x140013e00
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x840
mov rax, qword [0x1400a6010]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x430]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
call fcn.140015370
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x430]
mov r9, rdi
mov qword [rsp + 0x20], 0
mov r8d, 0x400
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
lea r9, [rsp + 0x430]
mov edx, 0x400
lea r8, str._____s_n
lea rcx, [rsp + 0x30]
call fcn.140015380
lea rcx, [0x1400a6ab0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140013eb1
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.140015300
lea rcx, [0x1400a6ab0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140076740
mov rbx, qword [rsp + 0x860]
add rsp, 0x840
pop rdi
ret