joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001750
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002570
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002570
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400017c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14003d0a4]
mov rbx, rcx
test esi, esi
jle 0x1400018f0
mov rax, qword [0x14003d0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000180b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001895
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017f0
mov rcx, rbx
call fcn.140002210
mov rdi, rax
test rax, rax
je 0x140001912
mov rax, qword [0x14003d0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002350
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14003d0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000188e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400018a0
add dword [0x14003d0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14003d0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000188e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001750
nop dword [rax]
xor esi, esi
jmp 0x140001818
mov rax, qword [0x14003d0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001750
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001750
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14003d100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14003d0e0]
test rbx, rbx
je 0x140001edc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001ed3
test rsi, rsi
je 0x140001ed3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001eb8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002210
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14003a3d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002230
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002238
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002230
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000228d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002284
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002230
add rax, 0x28
cmp rax, r9
jne 0x140002270
xor eax, eax
ret

Function at 0x140002290
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003a3d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003a3d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000236f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002378
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400027a0
Capabilities:
Modify service

Disassembly:
push r13
push r12
sub rsp, 0x78
mov rax, qword [0x14003a330]
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r13, rax
test rax, rax
je 0x140002862
mov rdx, qword [0x14003a340]
mov r8d, 2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r12, rax
test rax, rax
jne 0x1400027f9
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002862
mov r8d, 2
or edx, 0xffffffff
mov rcx, rax
or r9d, 0xffffffff
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
nop
add rsp, 0x78
pop r12
pop r13
ret

Function at 0x140002ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
xor r9d, r9d
movsxd rax, dword [rdx + 0x3c]
mov r10d, dword [rax + rdx + 0x88]
add r10, rdx
mov rbx, rcx
mov r8, rdx
mov r11d, dword [r10 + 0x20]
mov esi, dword [r10 + 0x18]
add r11, rdx
cmp esi, r9d
jbe 0x140002b1c
mov ecx, dword [r11 + r9*4]
add rcx, r8
call fcn.140002c10
mov r12d, eax
lea rax, [r9 + 1]
cmp r12d, ebx
jne 0x140002b17
mov edx, dword [r10 + 0x24]
add r9, r9
mov eax, dword [r10 + 0x1c]
add r9, r8
movzx edx, word [r9 + rdx]
lea rdx, [r8 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r8
jmp 0x140002b1e
mov r9, rax
jmp 0x140002adb
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
Function at 0x140002b30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
cmp word [rax], 0x5a4d
jne 0x140002b5e
movsxd rdx, dword [rax + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x140002b5e
cmp dword [rax + rdx], 0x4550
je 0x140002b63
dec rax
jmp 0x140002b3d
ret

Function at 0x140002ba0
Capabilities:
Check for software breakpoints

Disassembly:
cmp byte [rcx - 1], 0xcc
je 0x140002bfe
test r8d, r8d
jne 0x140002baf
sub rcx, 0x20
mov r9b, byte [rcx]
cmp r9b, 0xe9
je 0x140002bc2
mov r8b, byte [rcx + 3]
cmp r8b, 0xe9
jne 0x140002bc9
inc edx
xor r8d, r8d
jmp fcn.140002ba0
xor eax, eax
cmp r9b, 0x4c
jne 0x140002c00
cmp byte [rcx + 1], 0x8b
jne 0x140002c00
cmp byte [rcx + 2], 0xd1
jne 0x140002bfe
cmp r8b, 0xb8
jne 0x140002bfe
cmp byte [rcx + 6], 0
jne 0x140002c00
movzx eax, byte [rcx + 5]
shl eax, 8
mov r8d, eax
movzx eax, byte [rcx + 4]
or eax, r8d
add eax, edx
jmp 0x140002c00
xor eax, eax
ret

Function at 0x140002c10
Capabilities:
Resolve function by brute ratel badger hash

Disassembly:
xor eax, eax
movsx edx, byte [rcx]
test dl, dl
je 0x140002c2b
imul eax, eax, 0x801
inc rcx
or eax, 0x2800000
add eax, edx
jmp 0x140002c12
ret
Function at 0x140019230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140019264
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140019250
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], 0xf
cmp r8, rax
jne 0x140019291
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x1400192b0
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400192be
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140025350
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140019335
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019330
call qword [0x14007d868]
int3
call fcn.140079f2c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140019350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x140019384
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x140019370
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], 0xf
cmp r8, rax
jne 0x1400193b1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x1400193c7
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400193d5
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140025350
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001944c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019447
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019447
call qword [0x14007d868]
int3
call fcn.140079f2c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140019460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x1400194a4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140019490
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], 0xf
cmp r8, rax
jne 0x1400194cb
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x1400194e5
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xa], 0
je 0x140019503
mov rcx, r9
nop
lea eax, [rcx + 0x4a]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x1400194f0
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], 0xf
cmp rdx, rax
jne 0x14001952a
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140019546
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14001f5d0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14001959a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019594
call qword [0x14007d868]
int3
call fcn.140079f2c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400195d8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400195d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400195d3
call qword [0x14007d868]
int3
call fcn.140079f2c
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x1400195f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xa], dil
je 0x140019624
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x140019610
mov byte [r8 + 0xa], dil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], 0xf
cmp r8, rax
jne 0x140019651
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140019673
mov qword [rsp + 0x30], 9
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x29], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140019681
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140025350
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400196f8
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400196f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400196f3
call qword [0x14007d868]
int3
call fcn.140079f2c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140019710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xc], dil
je 0x140019744
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x140019730
mov byte [r8 + 0xc], dil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], 0xf
cmp r8, rax
jne 0x140019771
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14001979d
mov qword [rsp + 0x30], 0xb
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [r8 + 8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 0xa]
mov byte [rsp + 0x2a], al
mov byte [rsp + 0x2b], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400197ab
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140025350
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140019822
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001981d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001981d
call qword [0x14007d868]
int3
call fcn.140079f2c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140019830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x140019874
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140019860
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], 0xf
cmp r8, rax
jne 0x14001989b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x1400198b5
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xd], 0
je 0x1400198d3
mov rcx, r9
nop
lea eax, [rcx + 0x4a]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xc
jb 0x1400198c0
mov byte [rdx + 0xd], 0
lea rax, [rdx + 0xc]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], 0xf
cmp rdx, rax
jne 0x1400198fa
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140019915
mov qword [rbp - 0x48], 0xc
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [rdx + 8]
mov dword [rbp - 0x50], eax
mov byte [rbp - 0x4c], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14001f5d0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140019969
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019963
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019963
call qword [0x14007d868]
int3
call fcn.140079f2c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400199a7
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400199a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400199a2
call qword [0x14007d868]
int3
call fcn.140079f2c
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret

Function at 0x140021920
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140021948
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x140021930
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x140021950
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140021973
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x140021960
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140021980
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x1400219a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140021990
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x1400018e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp dword [0x14001dc60], 0
jne 0x140001ade
mov rax, qword gs:[0x60]
xor r12d, r12d
mov edx, r12d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001aea
nop word [rax + rax]
mov r11, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14000195d
lea rdx, [r11 + rcx]
mov ecx, dword [r11 + rcx + 0xc]
mov eax, dword [rcx + r11]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000195d
mov eax, dword [rcx + r11 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001969
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001920
test rdx, rdx
je 0x140001aea
mov qword [rsp + 0x30], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x38], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x40], rsi
mov esi, dword [rdx + 0x20]
mov qword [rsp + 0x18], rdi
add rsi, r11
mov qword [rsp + 0x10], r13
mov r13d, 0x775a
mov qword [rsp + 8], r14
mov r14d, dword [rdx + 0x1c]
mov edx, r12d
add r14, r11
mov qword [rsp], r15
add rbp, r11
lea r15, [0x14001dc60]
nop word [rax + rax]
lea eax, [rbx - 1]
mov r10d, dword [rsi + rax*4]
mov ebx, eax
add r10, r11
mov edi, eax
cmp word [r10], r13w
jne 0x140001a23
mov r9d, r12d
mov r8d, 0xc2d4353d
mov rax, r10
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc r9d
add ecx, eax
mov eax, r9d
add rax, r10
xor r8d, ecx
cmp byte [rax], r12b
jne 0x1400019e0
mov ecx, edx
inc edx
add rcx, rcx
mov dword [r15 + rcx*8 + 8], r8d
movzx eax, word [rbp + rdi*2]
mov eax, dword [r14 + rax*4]
mov dword [r15 + rcx*8 + 0xc], eax
mov qword [r15 + rcx*8 + 0x10], r12
cmp edx, 0x1f4
je 0x140001a27
test ebx, ebx
jne 0x1400019c0
mov r14, qword [rsp + 8]
lea eax, [rdx - 1]
mov r13, qword [rsp + 0x10]
mov r8d, r12d
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov dword [0x14001dc60], edx
test eax, eax
je 0x140001ad0
nop
mov ecx, edx
mov eax, r12d
sub ecx, r8d
cmp ecx, 1
je 0x140001ac5
nop dword [rax]
lea r11d, [rax + 1]
mov r10d, eax
add r10, r10
mov r9d, r11d
add r9, r9
mov edi, dword [r15 + r10*8 + 0xc]
mov ebx, dword [r15 + r9*8 + 0xc]
cmp edi, ebx
jbe 0x140001ab6
mov edx, dword [r15 + r10*8 + 8]
mov eax, dword [r15 + r9*8 + 8]
mov rcx, qword [r15 + r10*8 + 0x10]
mov dword [r15 + r10*8 + 8], eax
mov rax, qword [r15 + r9*8 + 0x10]
mov qword [r15 + r10*8 + 0x10], rax
mov dword [r15 + r10*8 + 0xc], ebx
mov dword [r15 + r9*8 + 8], edx
mov dword [r15 + r9*8 + 0xc], edi
mov qword [r15 + r9*8 + 0x10], rcx
mov edx, dword [0x14001dc60]
mov ecx, edx
mov eax, r11d
sub ecx, r8d
dec ecx
cmp r11d, ecx
jb 0x140001a60
inc r8d
lea eax, [rdx - 1]
cmp r8d, eax
jb 0x140001a50
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
mov eax, 1
add rsp, 0x20
pop r12
ret
xor eax, eax
add rsp, 0x20
pop r12
ret
Function at 0x140001b40
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1f850507
call fcn.140001b00
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001b80
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x890d9f93
call fcn.140001b00
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001bc0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x19036dff
call fcn.140001b00
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001c00
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x90bfb112
call fcn.140001b00
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002380
Capabilities:
Parse pe header

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

Function at 0x140006574
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006370