joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d8bd890
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8de5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8bda18
mov rax, qword [0x6d8de5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8bd8dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8bd965
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8bd8c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8bda4d
mov rax, qword [0x6d8de5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8de5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8bda30
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8bd95e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8bd9c0
add dword [0x6d8de5e4], 1
cmp edi, 8
jae 0x6d8bd993
test dil, 4
jne 0x6d8bda04
test edi, edi
je 0x6d8bd988
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8bda1f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8bd988
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8bd9ac
jmp 0x6d8bd988
add rsi, qword [0x6d8de5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8bd95e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8bd988
xor esi, esi
jmp 0x6d8bd8e7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8bd988
mov rax, qword [0x6d8de5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8be1a0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8de8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8de8a0]
test rbx, rbx
je 0x6d8be1f4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8be1eb
test rsi, rsi
je 0x6d8be1eb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8be1d0
lea rcx, [0x6d8de8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8be430
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8be440
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8be450
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8be491
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8be488
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8be493
add rax, 0x28
cmp rax, r9
jne 0x6d8be474
xor eax, eax
ret

Function at 0x6d8be530
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8db1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8be59d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8be59d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8be59d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8be594
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8be59f
add rax, 0x28
cmp rax, r9
jne 0x6d8be580
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8be6a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8db1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8be6c0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8be6b8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8be71d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8be714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8be724
add rax, 0x28
cmp rax, r9
jne 0x6d8be700
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8be740
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8db1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8be7ae
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8be7ae
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8be7ae
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8be7ae
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8be7a5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8be7b5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8be790
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8be7c8
jmp 0x6d8be7ae
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8be7d6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8be7ae
test r9d, r9d
jg 0x6d8be7c0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8beb40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x6d8d0ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8f25e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8d1028
mov rax, qword [0x6d8f25e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8d0eec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8d0f75
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8d0ed0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8d105d
mov rax, qword [0x6d8f25e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8f25e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8d1040
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8d0f6e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8d0fd0
add dword [0x6d8f25e4], 1
cmp edi, 8
jae 0x6d8d0fa3
test dil, 4
jne 0x6d8d1014
test edi, edi
je 0x6d8d0f98
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8d102f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8d0f98
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8d0fbc
jmp 0x6d8d0f98
add rsi, qword [0x6d8f25e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8d0f6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8d0f98
xor esi, esi
jmp 0x6d8d0ef7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8d0f98
mov rax, qword [0x6d8f25e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8d17b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8f28c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8f28a0]
test rbx, rbx
je 0x6d8d1804
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8d17fb
test rsi, rsi
je 0x6d8d17fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8d17e0
lea rcx, [0x6d8f28c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8d1a40
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8d1a50
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8d1a60
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8d1aa1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8d1a98
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8d1aa3
add rax, 0x28
cmp rax, r9
jne 0x6d8d1a84
xor eax, eax
ret

Function at 0x6d8d1b40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8ef1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8d1bad
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8d1bad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8d1bad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8d1ba4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8d1baf
add rax, 0x28
cmp rax, r9
jne 0x6d8d1b90
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8d1cb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8ef1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8d1cd0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8d1cc8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8d1d2d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8d1d24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8d1d34
add rax, 0x28
cmp rax, r9
jne 0x6d8d1d10
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8d1d50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8ef1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8d1dbe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8d1dbe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8d1dbe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8d1dbe
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8d1db5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8d1dc5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8d1da0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8d1dd8
jmp 0x6d8d1dbe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8d1de6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8d1dbe
test r9d, r9d
jg 0x6d8d1dd0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8d2150
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001140
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov al, byte [rsp + 0x7f]
mov byte [rsp + 0x7e], 0xe0
mov qword [rsp + 0x60], 0x26407b7d
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x38], 0
mov r9w, word [rsp + 0x6e]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x1c], r8d
mov qword [rsp + 0x10], rcx
mov byte [rsp + 0xf], al
mov word [rsp + 0xc], r9w
jmp 0x1400011a1
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x4c], 0
jmp 0x14000121c
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov dl, al
mov r8b, byte [rsp + 0xf]
add r8b, 0x86
mov byte [rsp + 0x7f], r8b
mov r9, qword [rsp + 0x70]
sub r9, qword [rsp + 0x70]
mov qword [rsp + 0x70], r9
mov r9, qword [rsp + 0x60]
add r9, 0xffffffffd9bf8484
mov r10, qword [rsp + 0x10]
mov byte [r10 + rcx], dl
mov r11, qword [rsp + 0x70]
xor r11, 0x9319c93
add rcx, r9
mov qword [rsp + 0x70], r11
add eax, 1
mov qword [rsp + 0x50], rcx
mov si, word [rsp + 0xc]
or si, 0x6a40
mov word [rsp + 0x6e], si
mov dword [rsp + 0x38], eax
cmp rcx, 0x100
je 0x14000118e
jmp 0x1400011a1
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x60]
add rcx, 0x36cfc65a
mov dx, word [rsp + 0xc]
mov word [rsp + 0x6e], dx
mov r8b, byte [rsp + 0x7e]
add r8b, 5
mov r9, qword [rsp + 0x70]
xor r9, 0x3368d3c6
mov qword [rsp + 0x70], r9
mov r10b, byte [rsp + 0x7e]
add r10b, 0xa
mov dword [rsp + 0x28], eax
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x58], r9
mov byte [rsp + 0x2f], r10b
mov r9, qword [rsp + 0x10]
add r9, qword [rsp + 0x58]
mov r10b, byte [rsp + 0x2f]
mov qword [rsp + 0x30], r9
mov r9, qword [rsp + 0x30]
mov r11b, byte [r9]
mov byte [rsp + 0x3f], r11b
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x68], eax
mov r9, qword [rsp + 0x70]
or r9, qword [rsp + 0x70]
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x4c], 0x30461c6d
cmp r8b, r10b
jae 0x14000121c
mov eax, 0x100
mov cl, byte [rsp + 0x3f]
mov qword [rsp + 0x70], 0x5155d8a4
mov edx, dword [rsp + 0x68]
and edx, dword [rsp + 0x68]
movzx r8d, cl
mov r9d, dword [rsp + 0x28]
mov dword [rsp + 0x68], edx
add r9d, r8d
mov byte [rsp + 0x7f], 0xae
mov edx, dword [rsp + 0x68]
or edx, dword [rsp + 0x68]
mov r10, qword [rsp + 0x58]
mov r8d, r10d
mov dword [rsp + 8], eax
mov eax, r8d
xor r8d, r8d
mov dword [rsp + 4], edx
mov edx, r8d
mov r8d, dword [rsp + 0x1c]
div r8d
mov r11d, dword [rsp + 4]
mov dword [rsp + 0x68], r11d
mov edx, edx
mov r10d, edx
mov byte [rsp + 0x7f], 0x20
mov rsi, qword [rsp + 0x20]
movzx edx, byte [rsi + r10]
add r9d, edx
mov cl, byte [rsp + 0xf]
and cl, cl
mov byte [rsp + 0x7f], cl
mov eax, r9d
cdq
mov r9d, dword [rsp + 8]
idiv r9d
movsxd r10, edx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x10]
mov cl, byte [rbx + r10]
mov byte [rdi], cl
mov r11d, dword [rsp + 0x68]
xor r11d, 0x3e054c21
mov dword [rsp + 0x68], r11d
mov cl, byte [rsp + 0x3f]
mov byte [rbx + r10], cl
mov r10, qword [rsp + 0x58]
add r10, 1
mov qword [rsp + 0x40], r10
imul rdi, qword [rsp + 0x70], 0x7f5b351a
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x4c], edx
cmp r10, 0x100
jne 0x14000121c
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001228c
Capabilities:
Encode data using xor

Disassembly:
cwde
invalid
shr ebx, cl
sti
push rax
or al, 0xde
sal esp, 1
jno 0x1400121aa
jbe 0x140012289
xchg edi, eax
invalid
jmp 0x140012249
jge 0x140012231
out dx, al
sbb dword [riz*8 + 0x9948955], esi
imul esp, edi, 0xf2f3714c
js sym.WINSTA.dll_WinStationQueryInformationA
xchg esp, eax
or dword [rcx - 0x19], ebp
jno 0x140012242
bnd js sym.WINSTA.dll_WinStationQueryInformationA
shr byte [r8 + 0x2853cba6], cl
and eax, 0x5a785560
jg 0x140012297
mov ecx, 0xb4576c66
jne 0x140012241
nop
scasd eax, dword [rdi]
and byte [rsi + 0x1de6a962], ch
std
fidivr dword [rcx - 0x72]
cld
xchg ebp, eax
sub eax, 0x8a544b45
invalid
loopne 0x140012268
adc eax, edi
scasd eax, dword [rdi]
xor byte [rdi + 0x26], ch
sal byte [rdx], 1
pop rcx
shl dword [rdi + 0x501fcb48], 1
rol ch, cl
mov esp, 0x82a25397
je 0x140012248
retf
sti
and eax, 0x6a464de0
cmp eax, 0x4441594
pop rsi
invalid

Function at 0x14002c3dc
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x6953739e
pop rax
ja 0x14002c44b
xchg ebp, eax
ja 0x14002c41e
jge 0x14002c3e2
xchg dword [rbx + 0x4f], ebx
adc ebx, dword [rdi - 0x71]
fdiv qword [rcx + 0x75d4c6b6]
scasb al, byte [rdi]
add bpl, byte [rax + r11*2 + 0x24f91ea4]
pop rcx
invalid
xchg edi, eax
invalid
pop rdx
cmp al, 0x3f
invalid

Function at 0x14004e820
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x30
lea rax, [fcn.14004e820]
mov qword [rsp + 0x28], 0x4f1db680
mov qword [rsp + 8], rax
jmp 0x14004e89f
mov rax, qword [rsp + 0x20]
sub rax, 0x7bc7e8c2
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0xffffffffb0e23980
mov dword [rsp + 0x18], 0x7384a05d
mov cl, byte [rsp + 0x1f]
mov rdx, qword [rsp + 0x28]
xor rdx, 0xffffffffb0e24680
and cl, 0xde
mov byte [rsp + 0x1f], cl
mov r8, qword [rsp]
add r8, rax
mov byte [rsp + 0x1f], 0xed
mov cl, byte [rsp + 0x1f]
xor cl, 0x1a
and r8, rdx
mov byte [rsp + 0x1f], cl
mov qword [rsp + 8], r8
jmp 0x14004e89f
mov rax, qword [rsp]
add rsp, 0x30
ret
mov rax, qword [rsp + 8]
mov cx, word [rsp + 0x16]
mov dx, word [rsp + 0x16]
mov r8w, word [rax]
sub cx, dx
mov word [rsp + 0x16], cx
cmp r8w, 0x5a4d
mov qword [rsp], rax
jne 0x14004e83b
imul rax, qword [rsp + 0x20], 0x3c9ee797
mov qword [rsp + 0x20], rax
mov al, byte [rsp + 0x1f]
mul byte [rsp + 0x1f]
mov byte [rsp + 0x1f], al
mov rcx, qword [rsp + 0x20]
add rcx, 0x123ebb8c
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp]
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
je 0x14004e896
jmp 0x14004e83b
Function at 0x1400013b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d1bc
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 5]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d1bc
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r12, [0x140046570]
lea rcx, [rax + 5]
mov r10, rdi
mov qword [rbx + 0x10], rcx
sub r11, rdi
xor ecx, ecx
sub r14, rdi
mov dword [rax], ecx
mov r15, 0xfffffffffffffffe
mov byte [rax + 4], cl
not r10
add rax, 5
movabs rbp, 0xc907da4e871146ad
mov qword [rbx + 8], rax
sub r15, rdi
nop word [rax + rax]
lea rcx, [r15 + r8]
mov rax, rbp
mul rsi
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 - 2]
sub rsi, rax
mov rax, qword [rbx]
xor dl, byte [rsi + r12]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 - 1]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r10 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
mov rcx, r8
sub rcx, rdi
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 + 1]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r11 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add r9d, 5
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 + 2]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r14 + r8]
mov byte [rcx + rax], dl
add r8, 5
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 5
jb 0x140001450
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000d1bc
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 2]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000d1bc
mov qword [rbx], rax
lea r11, [0x140046570]
mov r9d, edi
mov r8d, edi
movabs r10, 0xc907da4e871146ad
lea rcx, [rax + 2]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov word [rax], cx
add rax, 2
mov qword [rbx + 8], rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r9 + rsi]
lea r9, [r9 + 2]
mov rax, r10
mul r8
shr rdx, 8
imul rax, rdx, 0x146
sub r8, rax
mov rax, qword [rbx]
xor cl, byte [r8 + r11]
mov byte [r9 + rax - 2], cl
mov rax, r10
movzx ecx, byte [r9 + rsi - 1]
movsxd r8, edi
add edi, 2
inc r8
mul r8
shr rdx, 8
imul rax, rdx, 0x146
sub r8, rax
mov rax, qword [rbx]
xor cl, byte [r8 + r11]
movsxd r8, edi
mov byte [rax + r9 - 1], cl
cmp r8, 2
jb 0x140001ae0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret