joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ea50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r8, qword [rcx]
mov r14, rcx
movabs rcx, 0xffffffff00000000
movzx eax, word [r8 + 0x14]
mov r12, qword [r8 + 0x30]
mov r9d, dword [r14 + 0x68]
and r12, rcx
dec r9
mov r11d, dword [rax + r8 + 0x20]
not r9
mov ecx, dword [rax + r8 + 0x28]
or r11, r12
and r9, r11
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r9
test ecx, ecx
jne 0x14000eab8
mov edx, dword [rax + r8 + 0x3c]
test dl, 0x40
je 0x14000eab0
mov ecx, dword [r8 + 0x20]
jmp 0x14000eab8
test dl, dl
jns 0x14000eab8
mov ecx, dword [r8 + 0x24]
mov edx, dword [rax + r8 + 0x3c]
mov r13d, 1
mov r15d, r13d
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov r10d, ecx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], 0
cmp r13w, word [r8 + 6]
jae 0x14000ebb9
lea rdi, [r8 + 0x64]
add rdi, rax
nop word [rax + rax]

Function at 0x14000fb30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x14000fb73
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test rsi, rsi
je 0x14000fc53
test rbx, rbx
je 0x14000fbe1
cmp rbp, rsi
jae 0x14000fbb3
test rbx, rbx
je 0x14000fbe1
mov r8, rsi
mov rcx, rbp
sub r8, rbp
mov rdx, rbx
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14000fba0
jmp 0x14000fbe1
jbe 0x14000fbe1
lea rcx, [rbx - 1]
mov r8, rsi
add rcx, rbp
mov rdx, rbx
sub r8, rbp
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x14000fbd0
test rdi, rdi
je 0x14000fcb0
test rbx, rbx
je 0x14000fcb0
cmp rsi, rdi
jae 0x14000fc22
test rbx, rbx
je 0x14000fc5d
mov rdx, rdi
mov rcx, rbx
sub rdx, rsi
nop word [rax + rax]
movzx eax, byte [rdx + rsi]
mov byte [rsi], al
lea rsi, [rsi + 1]
sub rcx, 1
jne 0x14000fc10
jmp 0x14000fc5d
jbe 0x14000fc5d
lea rcx, [rbx - 1]
mov r8, rdi
add rcx, rsi
mov rdx, rbx
sub r8, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x14000fc40
jmp 0x14000fc5d
test rdi, rdi
je 0x14000fcb0
test rbx, rbx
je 0x14000fcb0
cmp rdi, rbp
jae 0x14000fc82
test rbx, rbx
je 0x14000fcb0
mov rcx, rbp
sub rcx, rdi
nop dword [rax]
movzx eax, byte [rcx + rdi]
mov byte [rdi], al
lea rdi, [rdi + 1]
sub rbx, 1
jne 0x14000fc70
jmp 0x14000fcb0
jbe 0x14000fcb0
test rbx, rbx
je 0x14000fcb0
lea rcx, [rbx - 1]
mov rdx, rbp
add rcx, rdi
sub rdx, rdi
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rbx, 1
jne 0x14000fca0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x14000fce0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd r12, dword [rsp + 0x80]
mov rdi, rdx
movsxd r14, r9d
mov rbp, r12
imul rbp, rdx
mov r13, rcx
lea r15d, [r14 - 1]
add rbp, rcx
mov qword [rsp + 0x60], rbp
cmp r14d, r12d
jge 0x14000ff0b
movsxd rsi, r15d
mov rbx, r14
imul rsi, rdi
imul rbx, rdi
add rsi, rcx
add rbx, rcx
nop word [rax + rax]
movsxd rcx, r14d
mov rdx, rbp
imul rcx, rdi
add rcx, r13
call r8
test eax, eax
jg 0x14000feea
inc r15d
add rsi, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14000feff
test rsi, rsi
je 0x14000fe63
test rdi, rdi
je 0x14000fdf1
cmp rax, rsi
jae 0x14000fdc3
test rdi, rdi
je 0x14000fdf1
mov r8, rsi
mov rcx, rax
sub r8, rax
mov rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14000fdb0
jmp 0x14000fdf1
jbe 0x14000fdf1
lea rcx, [rdi - 1]
mov r8, rsi
add rcx, rbp
mov rdx, rdi
sub r8, rbp
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x14000fde0
test rbx, rbx
je 0x14000fed1
test rdi, rdi
je 0x14000fed1
cmp rsi, rbx
jae 0x14000fe33
test rdi, rdi
je 0x14000fe6d
mov r8, rbx
mov rcx, rsi
sub r8, rsi
mov rdx, rdi
nop dword [rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14000fe20
jmp 0x14000fe6d
jbe 0x14000fe6d
lea rcx, [rdi - 1]
mov r8, rbx
add rcx, rsi
mov rdx, rdi
sub r8, rsi
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x14000fe50
jmp 0x14000fe6d
test rbx, rbx
je 0x14000fed1
test rdi, rdi
je 0x14000fed1
cmp rbx, rbp
jae 0x14000fea3
test rdi, rdi
je 0x14000fed1
mov r8, rbp
mov rcx, rbx
sub r8, rbx
mov rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14000fe90
jmp 0x14000fed1
jbe 0x14000fed1
test rdi, rdi
je 0x14000fed1
lea rcx, [rdi - 1]
mov r8, rbp
add rcx, rbx
mov rdx, rdi
sub r8, rbx
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x14000fec0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x60]
inc r14d
add rbx, rdi
cmp r14d, r12d
jge 0x14000ff0b
mov r8, qword [rsp + 0x70]
jmp 0x14000fd40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [r15 + 1]
mov r8, rdi
movsxd rbx, eax
mov rdx, rbp
mov rcx, rbx
imul rcx, rdi
add rcx, r13
call fcn.14000fb30
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010100
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0xb0
lea rax, [rsp + 0xc0]
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r8, [0x1400100a0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1400100e0]
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0xc8], 0
jne 0x1400102ae
lea rcx, str.8001
call fcn.14000f450
mov r8d, eax
lea r9, str.Test
lea rdx, str.192.168.56.1
lea rcx, [rsp + 0x40]
call fcn.1400102c0
lea rcx, [rsp + 0x40]
call fcn.140010430
test al, al
je 0x1400102ae
call fcn.14000d8f0
test eax, eax
je 0x1400102ae
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xd8]
lea rdx, str._ressources_05acfd6534736a8e01a76f965c20d7b0
lea rcx, [rsp + 0x40]
call fcn.140010440
test eax, eax
jne 0x1400102ae
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14000da50
test rax, rax
je 0x1400102ae
lea rdx, str.launch
mov rcx, rax
call fcn.14000e190
test rax, rax
je 0x1400102a0
call rax
mov rcx, rax
mov rbx, rax
call fcn.14000f220
mov r9, rax
lea rdx, str._ressources_94b67c11073a50427afcffc9d981ce94
lea rax, [rsp + 0x30]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140010550
test eax, eax
jne 0x1400102a0
lea rdx, str.WINDOWSACCESSBRIDGE_64
lea rcx, [0x140011170]
add edx, ecx
lea rcx, section..text
add edx, ecx
lea rcx, [0x140011154]
call fcn.14000f830
xor eax, eax
add rsp, 0xb0
pop rbx
ret
mov eax, 2
add rsp, 0xb0
pop rbx
ret
mov eax, 1
add rsp, 0xb0
pop rbx
ret
Function at 0x2fc4db0d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dbad2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dbb6a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dbb4e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dbb42
cmp qword [rbp - 0x10], 0
je 0x2fc4dbb42
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dbb08
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dbb6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dbc70
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dbc98
mov eax, 0
jmp 0x2fc4dbce6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dbcc1
mov eax, 0
jmp 0x2fc4dbce6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dbce1
mov eax, 0
jmp 0x2fc4dbce6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dbcec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dbd6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dbd61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dbd61
mov rax, qword [rbp - 8]
jmp 0x2fc4dbd7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dbd34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140004b20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov r14d, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x13b8
mov eax, dword [r15 + rsi]
mov r12d, 0x30
test al, 1
jne 0x140004bc8
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call fcn.14002bea0
mov ecx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140004ba0
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ebx, 0x18
test al, 2
jne 0x140004be9
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rbx], rbp
mov qword [rsi + rbx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
mov rdx, r14
mov rcx, rdi
call fcn.140011440
lea r15, [rbx + rsi]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789ABCDEF
nop dword [rax]
nop word [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140004c65
mov rcx, rbx
call fcn.140014ab0
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.140014ab0
mov eax, eax
or rsi, rax
jmp 0x140004c75
inc rdx
lea rcx, [rsp + 0x28]
call fcn.1400148c0
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140004caa
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140004c9f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004cba
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call fcn.140013790
test r14, r14
jne 0x140004c30
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140011e40
Capabilities:
Parse pe header

Disassembly:
cmp byte [rcx + 0x41], 0
je 0x140011f4d
xor byte [rcx], 0x21
xor byte [rcx + 1], 0x22
xor byte [rcx + 2], 0x23
xor byte [rcx + 3], 0x24
xor byte [rcx + 4], 0x25
xor byte [rcx + 5], 0x26
xor byte [rcx + 6], 0x27
xor byte [rcx + 7], 0x28
xor byte [rcx + 8], 0x29
xor byte [rcx + 9], 0x2a
xor byte [rcx + 0xa], 0x2b
xor byte [rcx + 0xb], 0x2c
xor byte [rcx + 0xc], 0x2d
xor byte [rcx + 0xd], 0x2e
xor byte [rcx + 0xe], 0x2f
xor byte [rcx + 0xf], 0x30
xor byte [rcx + 0x10], 0x31
xor byte [rcx + 0x11], 0x32
xor byte [rcx + 0x12], 0x33
xor byte [rcx + 0x13], 0x34
xor byte [rcx + 0x14], 0x35
xor byte [rcx + 0x15], 0x36
xor byte [rcx + 0x16], 0x37
xor byte [rcx + 0x17], 0x38
xor byte [rcx + 0x18], 0x39
xor byte [rcx + 0x19], 0x3a
xor byte [rcx + 0x1a], 0x3b
xor byte [rcx + 0x1b], 0x3c
xor byte [rcx + 0x1c], 0x3d
xor byte [rcx + 0x1d], 0x3e
xor byte [rcx + 0x1e], 0x3f
xor byte [rcx + 0x1f], 0x40
xor byte [rcx + 0x20], 0x41
xor byte [rcx + 0x21], 0x42
xor byte [rcx + 0x22], 0x43
xor byte [rcx + 0x23], 0x44
xor byte [rcx + 0x24], 0x45
xor byte [rcx + 0x25], 0x46
xor byte [rcx + 0x26], 0x47
xor byte [rcx + 0x27], 0x48
xor byte [rcx + 0x28], 0x49
xor byte [rcx + 0x29], 0x4a
xor byte [rcx + 0x2a], 0x4b
xor byte [rcx + 0x2b], 0x4c
xor byte [rcx + 0x2c], 0x4d
xor byte [rcx + 0x2d], 0x4e
xor byte [rcx + 0x2e], 0x4f
xor byte [rcx + 0x2f], 0x50
xor byte [rcx + 0x30], 0x51
xor byte [rcx + 0x31], 0x52
xor byte [rcx + 0x32], 0x53
xor byte [rcx + 0x33], 0x54
xor byte [rcx + 0x34], 0x55
xor byte [rcx + 0x35], 0x56
xor byte [rcx + 0x36], 0x57
xor byte [rcx + 0x37], 0x58
xor byte [rcx + 0x38], 0x59
xor byte [rcx + 0x39], 0x5a
xor byte [rcx + 0x3a], 0x5b
xor byte [rcx + 0x3b], 0x5c
xor byte [rcx + 0x3c], 0x5d
xor byte [rcx + 0x3d], 0x5e
xor byte [rcx + 0x3e], 0x5f
xor byte [rcx + 0x3f], 0x60
mov byte [rcx + 0x41], 0
ret
Function at 0x140014ab0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140014b11
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140014ad0
mov ecx, dword [r9]
jmp 0x140014bfb
cmp ecx, 0x4e0
jb 0x140014bfb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140014b30
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140014b80
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14002b59c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14002b5ca
xor eax, eax
jmp 0x14002b6b0
cmp qword [rcx + 0x68], 0
je 0x14002b5db
call fcn.14002b6cc
jmp 0x14002b6b0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002b5f2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002b5f4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002b626
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140057cd0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14002b6aa
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14002b65d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14002b686
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14003eafc
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14002b6aa
cmp rsi, rbx
ja 0x14002b664
test rsi, rsi
je 0x14002b6aa
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14003eafc
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14002db34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002db7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002db7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002db7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002db7e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002db7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002db80
xor al, al
add rsp, 0x28
ret
Function at 0x14003aa5c
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 0x14003aacb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003aacb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003aacb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003aacb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003aacb
cmp dword [rcx + 0x84], 0xe
jbe 0x14003aacb
cmp dword [rcx + 0xf8], 0
je 0x14003aacb
mov ecx, ebx
call fcn.14003ab7c
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.14003a958
nop
cmp dword [rbp + 0x20], 0
je 0x14003ab19
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003ab24
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14003aa5c

Function at 0x14003ac60
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003aa5c
Function at 0x14004af50
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.14002d6c0
sub rsp, rax
mov rax, qword [0x14007c240]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140049b30
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14004af9f
mov rax, rbp
jmp 0x14004b0a7
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 + 0x81020]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14004c070
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x81020]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14004b0a3
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 0x14004b0a3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14004c070
test rax, rax
js 0x14004b0a3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14004b0a3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14004b095
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14004b095
cmp byte [rcx], 0xd
jne 0x14004b07b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14004b08a
cmp byte [rcx + 1], 0xa
jne 0x14004b08a
inc rcx
jmp 0x14004b08a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x7c670]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14004b05d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14004b0a7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002ccb0
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 0x14004b2c8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14004b2de
mov al, 1
jmp 0x14004b33e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14004b2ef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004b33c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400503bc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b33c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004b33c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004b33c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004b33e
xor al, al
add rsp, 0x20
pop rbx
ret