joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b69e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.1400ebf90
sub rsp, rax
movsxd rdi, edx
mov r14, rcx
xor r8d, r8d
lea rax, [rbp + 0x1368]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
mov rbx, qword [rax]
xor rbx, rcx
mov qword [rbp + 0x1388], rbx
mov qword [rbp - 0x78], rbx
mov qword [rax], r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], r8b
movdqa xmm0, xmmword [0x14013e5e0]
movdqu xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14013e810]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [0x14013e5f0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x9597959b
mov dword [rsp + 0x54], 0xc7c1c3c1
mov dword [rsp + 0x58], 0xcfc1c3c1
mov dword [rsp + 0x5c], 0x100c9c1
nop word [rax + rax]
lea eax, [r8 - 0x44]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 0x3e
jb 0x1400b6ab0
mov byte [rsp + 0x5f], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400b6ad3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140085ad0
call fcn.1400bd8e4
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
mov edx, 1
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x5c], eax
inc rdx
cmp rdx, 0x270
jb 0x1400b6b10
mov dword [rbp - 0x60], 0x270
mov rsi, qword [rsp + 0x70]
dec rsi
mov rdx, rdi
xor r8d, r8d
mov rcx, r14
call fcn.140088290
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400b6b5e
mov rcx, qword [r14]
mov rdx, rcx
jmp 0x1400b6b61
mov rdx, r14
mov rdi, rcx
mov r15, qword [r14 + 0x10]
add r15, rdx
cmp rcx, r15
je 0x1400b6bdf
lea rax, [rbp - 0x60]
mov qword [rbp + 0x1370], rax
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x60]
cmp rsi, 0xffffffffffffffff
jne 0x1400b6baa
lea rcx, [rbp - 0x60]
call fcn.14008ada0
mov ebx, eax
shl rbx, 0x20
lea rcx, [rbp - 0x60]
call fcn.14008ada0
mov eax, eax
or rbx, rax
jmp 0x1400b6bbd
lea rdx, [rsi + 1]
lea rcx, [rbp + 0x1370]
call fcn.1400b9ae0
mov rbx, rax
lea rax, [rsp + 0x60]
cmp r12, 0xf
cmova rax, r13
movzx eax, byte [rbx + rax]
mov byte [rdi], al
inc rdi
cmp rdi, r15
jne 0x1400b6b85
mov rbx, qword [rbp + 0x1388]
lea rcx, [rsp + 0x60]
call fcn.14005ed40
nop
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
lea rax, [rbp + 0x1368]
mov qword [rax], rbx
mov rax, r14
mov rbx, qword [rsp + 0x1478]
add rsp, 0x1430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b70e0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea r14, [rsp + 0x68]
movabs r15, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r14
mov rdi, qword [r14]
xor rdi, r15
mov qword [rsp + 0x38], rdi
xor esi, esi
mov qword [r14], rsi
mov r8d, ecx
xor edx, edx
lea ecx, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
jne 0x1400b71c2
movdqa xmm0, xmmword [0x14013e660]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0xeef7a8ae
mov word [rsp + 0x34], 0x100
mov eax, esi
nop word [rax + rax]
lea ecx, [rax - 0x45]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x14
jb 0x1400b7160
mov byte [rsp + 0x35], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x140242770]
call fcn.14006cbd0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400b8f40
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14005f2f0
movzx edx, al
mov rcx, rbx
call fcn.140061a10
mov rcx, rbx
call fcn.1400618e0
jmp 0x1400b71d9
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor rdi, r15
mov qword [r14], rdi
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret

Function at 0x1400b7260
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov dword [rsp + 0x20], 0x705a4166
xor ecx, ecx
mov dword [rsp + 0x24], 0x5e6c4d5d
mov dword [rsp + 0x28], 0x50574e4e
mov word [rsp + 0x2c], 0x2e
mov byte [rsp + 0x2e], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x34]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xd
jb 0x1400b72a0
mov byte [rsp + 0x2e], 0
xor eax, eax
mov dword [rbp + 0x60], 0xd1d8cfd4
mov word [rbp + 0x64], 0xd2
mov byte [rbp + 0x66], 1
nop dword [rax + rax]
lea ecx, [rax - 0x46]
xor byte [rbp + rax + 0x60], cl
inc rax
cmp rax, 5
jb 0x1400b72d0
lea rcx, [rbp + 0x60]
mov byte [rbp + 0x66], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b732d
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x11c
call rax
cmp dword [rsp + 0x3c], 0x55f0
mov ecx, 0xb
mov eax, dword [rsp + 0x34]
cmovae eax, ecx
add rsp, 0x150
pop rbp
ret
add rsp, 0x150
pop rbp
ret
Function at 0x1400ba758
Capabilities:
Parse pe header

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

Function at 0x1400bac28
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400bac62
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400bac67
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400bacb0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400f8bb0]
cmp byte [rcx + rax], 0
je 0x1400bacb0
dec r8
sub rdx, 1
jne 0x1400bac96
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400c4380
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.1400ebf90
sub rsp, rax
mov rax, qword [0x140158040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400da7b4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400c43cf
mov rax, rbp
jmp 0x1400c44d7
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 + 0x243350]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400daa44
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x243350]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400c44d3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c44d3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400daa44
test rax, rax
js 0x1400c44d3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400c44d3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400c44c5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400c44c5
cmp byte [rcx], 0xd
jne 0x1400c44ab
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400c44ba
cmp byte [rcx + 1], 0xa
jne 0x1400c44ba
inc rcx
jmp 0x1400c44ba
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1584b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400c448d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400c44d7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ebee0
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 0x1400d3d24
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400d3d44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d4b84
or eax, 0xffffffff
jmp 0x1400d3d46
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400d47a8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400d4613
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d4613
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d4613
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d4613
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d4613
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d4613
cmp dword [rcx + 0xf8], 0
je 0x1400d4613
mov ecx, ebx
call fcn.1400d46c4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400d44a0
nop
cmp dword [rbp + 0x20], 0
je 0x1400d4661
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d466c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400d45a4

Function at 0x1400d5ef0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400d5f27
call fcn.1400d4c10
mov dword [rax], socket
call fcn.1400d3358
xor eax, eax
jmp 0x1400d5fb5
mov rdx, r9
mov rcx, r8
call fcn.1400d5e8c
mov rbx, rax
test rax, rax
je 0x1400d5fb2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400d5db8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400d5f9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d4b84
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d5f86
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400d5f95
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400dc350
jmp 0x1400d5fb2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400d5faf
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400db1c8
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
lea r9, [0x140243350]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400db21f
cmp word [rdx], r13w
jne 0x1400db21f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400db224
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400db349
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400db36a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400db25d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400db284
cmp r9, r8
jae 0x1400db294
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400db23e
jmp 0x1400db349
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400db33e
cmp dword [rsp + 0x80], esi
je 0x1400db33e
lea r8, [0x140243350]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400db316
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400db2e6
mov word [rbx], r13w
jmp 0x1400db346
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400db2f3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400db346
cmp word [rsp + 0x70], r13w
jne 0x1400db323
cmp rbx, r14
je 0x1400db2e0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400daa4c
cmp word [rsp + 0x70], r13w
je 0x1400db349
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x140243350]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400db343
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400db349
Function at 0x1400de60c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400de622
mov al, 1
jmp 0x1400de682
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400de633
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400de680
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400e3a6c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400de680
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400de680
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400de680
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400de682
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400e32b0
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 0x1400e32e0
xor eax, eax
jmp 0x1400e33a3
mov rbp, rbx
cmp word [rax], si
je 0x1400e3305
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400e32ec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400e32e8
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.1400e31d0
movsxd r14, eax
test eax, eax
jne 0x1400e3343
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400e32d9
mov rcx, r14
call fcn.1400df074
mov rdi, rax
test rax, rax
jne 0x1400e335c
xor ecx, ecx
call fcn.1400dc350
jmp 0x1400e3338
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.1400e31d0
test eax, eax
jne 0x1400e338d
mov rcx, rdi
call fcn.1400dc350
jmp 0x1400e3397
xor ecx, ecx
call fcn.1400dc350
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 0x1400e6058
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400dae68
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400e60f9
cmp ebx, dword [rsp + 0x30]
je 0x1400e60f2
test esi, esi
je 0x1400e60f2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400e60cd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400e60da
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400e60b7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400e60de
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400e60fb
mov eax, 1
jmp 0x1400e60fb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400eab10
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.1400daa4c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400daa4c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400eac60
cmp rax, 0xffffffffffffffff
je 0x1400eac60
xor edi, edi
test rbp, rbp
jle 0x1400eac0b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400dc2d8
mov rbx, rax
test rax, rax
jne 0x1400eab98
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400eac01
mov edx, 0x8000
mov ecx, r14d
call fcn.1400d73e0
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.1400ddd0c
cmp eax, 0xffffffff
je 0x1400eabe1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400eaba8
mov edx, r15d
mov ecx, r14d
call fcn.1400d73e0
jmp 0x1400eac01
cmp byte [rsi + 0x38], dil
je 0x1400eabf8
cmp dword [rsi + 0x34], 5
jne 0x1400eabf8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400eac01
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400dc350
jmp 0x1400eac74
jns 0x1400eac74
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400daa4c
cmp rax, 0xffffffffffffffff
jne 0x1400eac2c
cmp byte [rsi + 0x30], dil
je 0x1400eac74
mov edi, dword [rsi + 0x2c]
jmp 0x1400eac74
mov ecx, r14d
call fcn.1400e3a6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400eac74
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 0x1400eac74
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400eac6d
mov eax, dword [rsi + 0x2c]
jmp 0x1400eac72
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400daa4c
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 0x1400ec080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ec0a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ec0a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000403c
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400f7eb0]
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._______________________________________n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._________________________________________n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____________________________________________1__Load_n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.________________________________________n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____________________________________n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.______________________________________n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.______________________________________n_n
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____________:
call fcn.1400048cc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
lea rcx, [0x1400f7e84]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp dword [rsp + 0x30], 1
je 0x140004126
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Invalid_choice._Exiting._n
call fcn.1400048cc
jmp 0x140004132
call fcn.1400038d4
mov byte [0x14018a298], 1
add rsp, 0x28
ret

Function at 0x140004138
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov edx, 0x15e
mov ecx, 0x2bc
call fcn.1400037e4
call fcn.140003b08
call fcn.14000403c
mov qword [rsp + 0x30], 5
lea rcx, [rsp + 0x30]
call fcn.140004a3c
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000415e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140005cbc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov r15, r8
mov qword [rdx], r12
mov rbx, rdx
mov qword [rdx + 8], r12
mov r14d, r12d
mov dword [rdx + 0x10], r12d
movsxd rsi, dword [r8 + 0x3c]
add rsi, r8
movzx eax, word [rsi + 0x14]
lea rdi, [rsi + 0x18]
add rdi, rax
cmp r12w, word [rsi + 6]
jae 0x140005df1
xorps xmm0, xmm0
mov qword [rbp - 0x18], r12
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], r12
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x140005d2a
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400020bc
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rbp - 0x18], 5
jne 0x140005dae
cmp dword [rax], 0x7865742e
jne 0x140005dae
cmp byte [rax + 4], 0x74
jne 0x140005dae
mov r9d, dword [rdi + 0xc]
mov r8d, r12d
mov r11d, dword [rdi + 8]
add r9, r15
mov qword [rbp - 0x40], rdi
mov r10, r12
mov qword [rbp - 0x38], r9
test r11, r11
je 0x140005d99
movzx eax, byte [r9 + r10]
inc r10
crc32 r8d, eax
cmp r10, r11
jb 0x140005d86
movups xmm0, xmmword [rbp - 0x40]
mov dword [rbp - 0x30], r8d
movsd xmm1, qword [rbp - 0x30]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp rdx, 0xf
jbe 0x140005ddd
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dd8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e19
call fcn.1400d5e54
movzx eax, word [rsi + 6]
inc r14d
add rdi, 0x28
cmp r14d, eax
jl 0x140005d17
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d5a90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3