joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014be5e
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14023f6c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x538
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x558]
mov rax, qword [0x14051f2c0]
xor rax, rbp
mov qword [rbp + 0x508], rax
mov qword [rbp + 0x308], 0
lea rcx, [0x14054930c]
call fcn.14014fb49
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 0xf
call fcn.14014c219
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14014d01f
nop
mov dword [rbp + 0x284], 0
call fcn.14014eb1d
mov dword [rbp + 0x2a4], eax
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2e8], 0
mov rcx, qword [rbp + 0x538]
call fcn.140149929
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x3c]
mov qword [rbp + 0x2c8], rax
cmp qword [rbp + 0x2c8], 0
jne 0x14023f7a8
mov qword [rbp + 0x4e0], 0
jmp 0x14023f893
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0x3fffffff
jle 0x14023f7d9
mov qword [rbp + 0x4e8], 0
jmp 0x14023f885
movsxd rax, dword [rbp + 0x284]
shl rax, 1
mov qword [rbp + 0x4f0], rax
movsxd rcx, dword [rbp + 0x284]
shl rcx, 1
add rcx, 0x24
mov qword [rbp + 0x4f8], rcx
mov rcx, qword [rbp + 0x4f8]
add rcx, 0xf
cmp rcx, qword [rbp + 0x4f8]
ja 0x14023f81d
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14014a27a
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x500], rax
lea r8, [rbp + 0x308]
mov rdx, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x500]
call fcn.140150576
add qword [rbp + 0x500], 0x20
mov r9d, dword [rbp + 0x2a4]
mov rax, qword [rbp + 0x4f0]
mov r8d, eax
mov rdx, qword [rbp + 0x2c8]
mov rcx, qword [rbp + 0x500]
call fcn.14014b4b3
mov qword [rbp + 0x4e8], rax
mov rax, qword [rbp + 0x4e8]
mov qword [rbp + 0x4e0], rax
mov rdx, qword [rbp + 0x4d8]
mov rcx, qword [rbp + 0x4e0]
call fcn.1401505e4
test eax, eax
jne 0x14023f8d5
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x4a4], eax
mov rcx, qword [rbp + 0x538]
call fcn.14014a2ca
mov eax, dword [rbp + 0x4a4]
jmp 0x14023f917
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14014eba9
test eax, eax
jne 0x14023f770
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x4c4], 0
mov rcx, qword [rbp + 0x538]
call fcn.14014a2ca
mov eax, dword [rbp + 0x4c4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1404133d0]
mov r8, qword [rbp + 0x308]
call fcn.14014d489
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.14014c30e
lea rsp, [rbp + 0x518]
pop rdi
pop rbp
ret
Function at 0x14014c3e5
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140181a40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140548140]
call fcn.14014fb49
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140181a85
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x140181b16
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x140181adb
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140181ae5
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140181a7a
mov qword [rbp + 0x88], 0xe3
jmp 0x140181b34
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x140181bdd
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140181b99
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140181ba3
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140181b23
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x140181c3d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140181c47
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14014cae8
Capabilities:
Terminate process

Disassembly:
jmp 0x1403d2850
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]
nop
add rsp, 0x28
ret
Function at 0x14014d37b
Capabilities:
Write file on windows

Disassembly:
jmp 0x14026cfe0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140549452]
call fcn.14014fb49
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14014d411
Capabilities:
Get geographical location

Disassembly:
jmp 0x1403ccdd0
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 0x1403cce0d
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.14014fb08
add rsp, 0x58
ret

Function at 0x14014d704
Capabilities:
Read file on windows

Disassembly:
jmp 0x14026cf60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140549452]
call fcn.14014fb49
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14014d727
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14026ef60
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x140549452]
call fcn.14014fb49
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140414420]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x14026f0a6
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x14026effa
mov dword [rbp + 0x160], 1
jmp 0x14026f004
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x14026f0a1
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x14026f07b
cmp qword [rbp + 0x198], 2
jb 0x14026f07b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14026f07b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14026f07b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x14026efc5
jmp 0x14026f140
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x14026f140
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x14026f117
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14026f117
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14026f117
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x14026f0a6
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x14014d95c
Capabilities:
Create process on windows

Disassembly:
jmp 0x14037ed20
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1405497d6]
call fcn.14014fb49
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0xe8]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14014d9ac
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403d40e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1403d4100
xor al, al
jmp 0x1403d4181
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403d4113
xor al, al
jmp 0x1403d4181
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1403d413d
xor al, al
jmp 0x1403d4181
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1403d4151
xor al, al
jmp 0x1403d4181
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1403d4163
xor al, al
jmp 0x1403d4181
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1403d417f
xor al, al
jmp 0x1403d4181
mov al, 1
add rsp, 0x38
ret
Function at 0x14014eb8b
Capabilities:
Create directory

Disassembly:
jmp 0x1403ce3d0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14051f2c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1403ce40d
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1403ce482
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x1403ce470
mov edx, 1
mov ecx, 2
call fcn.14014937a
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14014ad83
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1403ce470
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.140149c85
movzx eax, al
test eax, eax
jne 0x1403ce470
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014c30e
add rsp, 0x68
ret
Function at 0x14014f2d9
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14026ee40
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x140549452]
call fcn.14014fb49
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140414420]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x14026eec0
mov dword [rbp + 0x120], 1
jmp 0x14026eeca
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x14026ef13
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x14026ee8b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14014f397
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14023b9a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x166
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x14051f2c0]
xor rax, rbp
mov qword [rbp + 0x7c8], rax
mov qword [rbp + 0x508], 0
lea rcx, [0x1405490d0]
call fcn.14014fb49
nop
mov dword [rbp + 0x10], 0x438
mov rax, qword [rbp + 0x7f0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call fcn.14014c219
mov qword [rbp + 0x468], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.14014d191
nop
mov dword [rbp + 0x484], 0
call fcn.14014eb1d
mov dword [rbp + 0x4a4], eax
mov qword [rbp + 0x4c8], 0
mov qword [rbp + 0x4e8], 0
mov rcx, qword [rbp + 0x7f8]
call fcn.140149929
mov qword [rbp + 0x798], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x4c8], rax
cmp qword [rbp + 0x4c8], 0
jne 0x14023ba90
mov qword [rbp + 0x7a0], 0
jmp 0x14023bb7b
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov dword [rbp + 0x484], eax
cmp dword [rbp + 0x484], 0x3fffffff
jle 0x14023bac1
mov qword [rbp + 0x7a8], 0
jmp 0x14023bb6d
movsxd rax, dword [rbp + 0x484]
shl rax, 1
mov qword [rbp + 0x7b0], rax
movsxd rcx, dword [rbp + 0x484]
shl rcx, 1
add rcx, 0x24
mov qword [rbp + 0x7b8], rcx
mov rcx, qword [rbp + 0x7b8]
add rcx, 0xf
cmp rcx, qword [rbp + 0x7b8]
ja 0x14023bb05
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14014a27a
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x7c0], rax
lea r8, [rbp + 0x508]
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x7c0]
call fcn.140150576
add qword [rbp + 0x7c0], 0x20
mov r9d, dword [rbp + 0x4a4]
mov rax, qword [rbp + 0x7b0]
mov r8d, eax
mov rdx, qword [rbp + 0x4c8]
mov rcx, qword [rbp + 0x7c0]
call fcn.14014b4b3
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov qword [rbp + 0x7a0], rax
mov rdx, qword [rbp + 0x798]
mov rcx, qword [rbp + 0x7a0]
call fcn.1401505e4
test eax, eax
jne 0x14023bbc0
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x768], rax
mov rcx, qword [rbp + 0x7f8]
call fcn.14014a2ca
mov rax, qword [rbp + 0x768]
jmp 0x14023bc04
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.140149f3c
test eax, eax
jne 0x14023ba58
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0x788], 0
mov rcx, qword [rbp + 0x7f8]
call fcn.14014a2ca
mov rax, qword [rbp + 0x788]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140412ba0]
mov r8, qword [rbp + 0x508]
call fcn.14014d489
mov rax, rdi
mov rcx, qword [rbp + 0x7c8]
xor rcx, rbp
call fcn.14014c30e
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret
Function at 0x14014f9cd
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401d7290
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14051f2c0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14054820f]
call fcn.14014fb49
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1401d72f7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1401d72fe
mov al, 1
jmp 0x1401d746e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14014ac2f
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14014ac2f
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14014e460
movzx eax, al
test eax, eax
je 0x1401d7361
xor al, al
jmp 0x1401d746e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.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 [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1401d73d4
cmp dword [rbp + 0x160], 1
je 0x1401d73df
cmp dword [rbp + 0x160], 3
je 0x1401d745d
jmp 0x1401d746c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1401d742f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1401d742f
xor al, al
jmp 0x1401d746e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1401d744a
mov dword [rbp + 0x154], 1
jmp 0x1401d7454
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1401d746e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1401d746e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1403fc120]
call fcn.14014e8ac
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14014c30e
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14014fac2
Capabilities:
Set console window title

Disassembly:
jmp 0x14023f9f0
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14051f2c0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14054936b]
call fcn.14014fb49
nop
mov dword [rbp + 4], 0x19
lea rax, str.0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
mov dword [rbp + 0x94], 0
jmp 0x14023fa6a
mov eax, dword [rbp + 0x94]
inc eax
mov dword [rbp + 0x94], eax
cmp dword [rbp + 0x94], 0x19
je 0x14023fac1
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x3f
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x28]
movzx eax, word [rcx + rax*2]
mov dword [rbp + 0x164], eax
movsxd rax, dword [rbp + 0x94]
movzx eax, word [rbp + rax*2 + 0x48]
mov word [rbp + 0x168], ax
movzx eax, word [rbp + 0x168]
add eax, dword [rbp + 0x164]
movsxd rcx, dword [rbp + 0x94]
mov word [rbp + rcx*2 + 0x48], ax
jmp 0x14023fa5c
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x140413660]
call fcn.14014e8ac
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14014c30e
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14015019d
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402155e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
lea rcx, [0x1405484aa]
call fcn.14014fb49
nop
movzx eax, byte [0x140520e49]
test eax, eax
jne 0x140215636
mov rcx, qword [rbp + 0x200]
call fcn.14014ad5b
nop
jmp 0x14021581e
mov eax, 0x130
mov eax, eax
mov ecx, dword [0x140523204]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140521034], eax
jle 0x14021568a
lea rcx, [0x140521034]
call fcn.14014ef82
cmp dword [0x140521034], 0xffffffff
jne 0x14021568a
lea rcx, [0x140521028]
call fcn.14014fd60
nop
lea rcx, [0x140521034]
call fcn.14014f275
nop
mov rax, qword [rbp + 0x200]
mov ecx, dword [0x140499068]
cmp dword [rax + 0xf8], ecx
jbe 0x1402157f5
mov rax, qword [rbp + 0x200]
mov rax, qword [rax + 0xa0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x200]
add rax, 0xfc
mov qword [rbp + 0x1d8], rax
movss xmm2, dword [0x1403f9b68]
lea rdx, [rbp + 0x144]
mov rcx, qword [rbp + 0x1d8]
call fcn.14014b387
mov r8, qword [rax]
lea rdx, [rbp + 0x164]
lea rcx, [0x140521028]
call fcn.14014aee6
mov r8, qword [rax]
lea rdx, [rbp + 0x184]
lea rcx, [rbp + 8]
call fcn.14014d817
mov r8, qword [rax]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.14014aee6
nop
mov rax, qword [rbp + 0x200]
movss xmm0, dword [rax + 0x148]
mulss xmm0, dword [str.X94_]
movss xmm1, dword [rbp + 0x2c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x140520b50]
cvttss2si eax, xmm0
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x200]
movss xmm0, dword [rax + 0x148]
mulss xmm0, dword [str.X94_]
movss xmm1, dword [rbp + 0x28]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x140520b54]
cvttss2si eax, xmm0
mov dword [rbp + 0x64], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402157ba
mov eax, dword [rbp + 0x64]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rbp + 0x44]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
nop
mov rax, qword [rbp + 0x200]
add rax, 0xfc
mov qword [rbp + 0x1d8], rax
movss xmm2, dword [0x1403f9b68]
lea rdx, [rbp + 0x1a4]
mov rcx, qword [rbp + 0x1d8]
call fcn.14014b387
mov rax, qword [rax]
mov qword [0x140521028], rax
jmp 0x140215811
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0x1c4]
call fcn.14014f608
mov rax, qword [rax]
mov qword [0x140521028], rax
mov rcx, qword [rbp + 0x200]
call fcn.14014ad5b
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140407d50]
call fcn.14014e8ac
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret

Function at 0x1401502c4
Capabilities:
Move file

Disassembly:
jmp 0x1403cfb70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1403cfb9c
xor eax, eax
jmp 0x1403cfba2
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret