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

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, rdx
mov rsi, rdx
call sub.msvcrt.dll_strlen
mov rcx, rsi
mov r9, rbx
mov edx, 1
mov r8, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp 0x14000bdd0
jmp qword [sym.imp.msvcrt.dll_fflush]

Function at 0x1400050b0
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov eax, 0x4b008
push rsi
call fcn.1400063b0
sub rsp, rax
xor eax, eax
mov r11d, 0xa
mov r9, rcx
mov rdi, r8
mov ecx, 0x12c00
mov rsi, rsp
rep stosd dword [rdi], eax
mov ecx, 0x12c00
mov rdi, rsi
mov r10, rdx
rep stosd dword [rdi], eax
mov rax, rcx
cqo
idiv r11
mov al, byte [r10 + rdx]
xor al, byte [r9 + rcx]
mov byte [rsi + rcx], al
inc rcx
cmp rcx, 0x4b000
jne 0x1400050e4
mov rdi, r8
mov ecx, 0x12c00
rep movsd dword [rdi], dword [rsi]
add rsp, 0x4b008
pop rsi
pop rdi
ret

Function at 0x1400055f0
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.14000b800
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.14000b800
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 0x140005660
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14005d1a4]
mov rbx, rcx
test esi, esi
jle 0x140005790
mov rax, qword [0x14005d1a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400056ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140005735
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140005690
mov rcx, rbx
call fcn.1400060d0
mov rdi, rax
test rax, rax
je 0x1400057b2
mov rax, qword [0x14005d1a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140006210
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14005d1a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140005797
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000572e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140005740
add dword [0x14005d1a4], 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 [0x14005d1a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000572e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400055f0
nop dword [rax]
xor esi, esi
jmp 0x1400056b8
mov rax, qword [0x14005d1a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400055f0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400055f0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140005d40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14005d200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005d1e0]
test rbx, rbx
je 0x140005d9c
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 rsi, rsi
je 0x140005d93
test eax, eax
jne 0x140005d93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005d78
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 0x1400060d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140059f30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400060f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400060f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400060f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000614d
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 0x140006144
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400060f0
add rax, 0x28
cmp rax, r9
jne 0x140006130
xor eax, eax
ret

Function at 0x140006150
Capabilities:
Parse pe header

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

Function at 0x140006210
Capabilities:
Parse pe header

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

Function at 0x1400064e0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14005d280], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14005d288], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140006530
lea rdx, [0x1400063f0]
mov ecx, eax
mov dword [0x14005d278], eax
call fcn.14000bf30
test eax, eax
jne 0x140006538
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140006527
call sub.msvcrt.dll_abort
nop
nop
Function at 0x140006540
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140059f00]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140006578
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400065e0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x1400065f0
mov esi, dword [0x14005d278]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140006660
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x1400066a8
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x140006567
mov rcx, rbx
call fcn.140006440
mov qword [rsi + r12*8 + 8], rax
jmp 0x140006567
call fcn.140006440
mov qword [rbx + 0x10], rax
jmp 0x140006567
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000670a
mov r9d, dword [0x140058330]
test r9d, r9d
je 0x140006738
lock add dword [0x14005d280], 1
jne 0x14000676c
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x140006717
mov eax, dword [rsi]
test eax, eax
je 0x140006581
lock sub dword [0x14005d280], 1
js 0x140006581
mov rcx, qword [0x14005d288]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x140006581
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x140006793
mov qword [rax], rdi
mov ecx, dword [0x14005d278]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400065bb
call r13
jmp 0x1400065bb
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
mov rsi, rax
test rax, rax
je 0x140006793
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sub.msvcrt.dll_memset
jmp 0x140006683
call fcn.1400064e0
mov dword [0x140058330], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000660c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140006581
mov rax, qword [0x14005d270]
lea r12, [rax + 1]
mov qword [0x14005d270], r12
mov qword [rbx + 0x10], r12
jmp 0x140006627
lock add dword [0x140058334], 1
je 0x1400066f1
mov r8d, dword [0x140058330]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x140058330]
test r8d, r8d
jne 0x140006700
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140006760
jmp 0x140006700
mov rcx, qword [0x14005d288]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000661a
lock sub dword [0x14005d280], 1
jmp 0x14000661a
call sub.msvcrt.dll_abort
nop
nop dword [rax]
cmp qword [rcx], rdx
jae 0x1400067b0
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x1400067ba
mov qword [rcx + 8], r8
test r9, r9
je 0x1400067c4
cmp qword [rcx], rdx
je 0x1400067c8
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x14112e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14112e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14112e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14112e06f
add dl, dl
jne 0x14112e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14112e0f6
xor eax, eax
add dl, dl
jne 0x14112e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14112e1ad
add dl, dl
jne 0x14112e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14112e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14112e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14112e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14112e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14112e07e
mov eax, 1
add dl, dl
jne 0x14112e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14112e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14112e0fb
sub eax, ebx
mov ebx, 1
jne 0x14112e14c
mov ecx, 1
add dl, dl
jne 0x14112e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14112e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14112e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14112e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14112e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14112e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14112e15d
cmp eax, 0x7d00
jae 0x14112e19b
cmp eax, 0x500
jb 0x14112e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14112e07e
cmp eax, 0x7f
ja 0x14112e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14112e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14112e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14112e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb0], rcx
lea rax, [rbp + 0x10]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp + 0x10], 0x68
lea rax, [rbp - 0x10]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0x4c]
or ah, 1
mov dword [rbp + 0x4c], eax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x60], rax
call fcn.140007f80
mov r10, qword [0x1400101a8]
mov byte [rbp - 0x30], 0x76
mov byte [rbp - 0x2f], 0xc
mov byte [rbp - 0x2e], 0x6b
mov byte [rbp - 0x2d], 0x6f
mov byte [rbp - 0x2c], 0x50
mov byte [rbp - 0x2b], 0x54
mov byte [rbp - 0x2a], 0x5f
mov byte [rbp - 0x29], 0x53
mov byte [rbp - 0x28], 0x4a
mov byte [rbp - 0x27], 0x4d
mov byte [rbp - 0x26], 0x63
mov byte [rbp - 0x25], 0x13
mov byte [rbp - 0x24], 0x38
mov byte [rbp - 0x23], 0x31
mov byte [rbp - 0x22], 0x37
mov byte [rbp - 0x21], 0x21
mov byte [rbp - 0x20], 0x28
mov byte [rbp - 0x1f], 0x75
mov byte [rbp - 0x1e], 0x75
mov byte [rbp - 0x1d], 0x14
mov byte [rbp - 0x1c], 0x2a
mov byte [rbp - 0x1b], 0x27
mov byte [rbp - 0x1a], 0x2f
mov byte [rbp - 0x19], 0x62
mov byte [rbp - 0x18], 0x28
mov byte [rbp - 0x17], 0x36
mov byte [rbp - 0x16], 0x2a
mov byte [rbp - 0x15], 0x50
lea rax, [rbp - 0x30]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
movzx eax, byte [rax + 0x1b]
test al, al
setne al
test al, al
je 0x140007e33
lea rax, [rbp - 0x30]
lea rdx, [rbp - 0x30]
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], 0
jmp 0x140007e2c
mov eax, dword [rbp + 0x7c]
movsxd rdx, eax
mov rax, qword [rbp + 0x80]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7c]
movsxd rdx, eax
imul rdx, rdx, 0x94f2095
shr rdx, 0x20
sar edx, 1
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x37
sub eax, ecx
mov edx, eax
mov eax, edx
add eax, 0x35
mov ecx, r8d
xor ecx, eax
mov rdx, qword [rbp + 0x88]
mov eax, dword [rbp + 0x7c]
cdqe
mov byte [rdx + rax], cl
add dword [rbp + 0x7c], 1
cmp dword [rbp + 0x7c], 0x1b
jle 0x140007dda
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x78], 0
jmp 0x140007e55
mov eax, dword [rbp + 0x78]
cdqe
mov byte [rbp + rax - 0x30], 0
add dword [rbp + 0x78], 1
cmp dword [rbp + 0x78], 0x1b
jle 0x140007e47
nop
mov rax, qword [rbp + 0x98]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
call r10
test eax, eax
setne al
test al, al
je 0x140007eed
mov r8, qword [0x1400101c8]
mov rax, qword [rbp - 0x10]
mov edx, 0xffffffff
mov rcx, rax
call r8
mov rdx, qword [0x1400101b0]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rdx, qword [0x1400101b0]
mov rax, qword [rbp - 8]
mov rcx, rax
call rdx
nop
add rsp, 0x120
pop rbp
ret
Function at 0x140001e74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ebe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ebe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ebe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ebe
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ebe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ec0
xor al, al
add rsp, 0x28
ret
Function at 0x1415384a7
Capabilities:
Execute anti-debugging instructions

Disassembly:
movsxd rax, eax
add r9, rax
jmp 0x1414b4f9d
push r10
cmc
push rdi
movsx rdi, di
push rax
cmc
push rdx
rcr dil, 0x65
or dh, bl
push r12
push rcx
push r11
rcr rdx, cl
push r13
movzx di, r13b
push rsi
bsr edx, r14d
test esp, ecx
push r8
rol sil, cl
push r9
bts si, ax
btr dx, 0
mov esi, 0x5f226ed7
push rbp
not r9b
push r14
bsr r9w, r9w
shrd r9w, r10w, 0xd
shl dil, cl
push r15
xadd edx, edx
push rbx
rol bl, 0x4b
movabs rbp, 0
stc
rdtsc
jmp 0x1414e60e2
not eax
clc
xor eax, 0x75a672b0
ror eax, 3
jmp 0x141537316
push r9
ret
push rbp
btc ebx, edi
cqo
mov rbx, qword [rsp + 0x90]
sub ebx, 0x378e2698
not ebx
movzx r9, r11w
rol ebx, 2
mov dil, 0x67
xor ebx, 0x21883ae2
shrd di, r9w, 0x20
rdtsc
lea rbx, [rbx + rbp]
ror ax, 0xd
movabs rbp, 0x100000000
test r8b, 0xc3
add r9d, r12d
lea rbx, [rbx + rbp]
movsxd r9, r13d
lahf
sbb al, 0x79
mov rdi, rsp
dec si
movsx r9, cx
sub rsp, 0x180
btc eax, 0xc4
shl ax, 0x37
cwd
and rsp, 0xfffffffffffffff0
movsxd r9, eax
xchg r9w, ax
bts esi, r13d
mov rsi, rbx
setge ah
cdq
movabs rdx, 0
xor al, 0xe9
ror r9d, 0x61
sub rsi, rdx
lea r9, [0x1414e6179]
movzx eax, r11w
rol ax, cl
sub rbx, 4
mov eax, dword [rbx]
xor eax, esi
cmp r9w, 0x6bb9
sub eax, 0x4c50521b
cmp bl, bpl
xor eax, 0x10b6063f
cmc
add eax, 0x5fb3502f
cmp r12b, dl
jmp 0x1414b27a7
push rsi
shrd si, r8w, 0x25
shld si, di, 0xa9
rcl sil, cl
xor dword [rsp], eax
and rsi, 0x2f402ca5
mov si, di
and sil, bl
pop rsi
jmp 0x141441c7e
pushfq
jmp 0x141469ce7
Function at 0x140001a50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140001b10
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword gs:[0x60]
mov rsi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001b0b
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001b0b
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xe0754233
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140001b06
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140001ae0
cmp r8d, 0x7bffba1b
je 0x140001bac
test r9d, r9d
jne 0x140001ac0
mov rcx, qword [rcx]
jmp 0x140001a90
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001ba7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001ba7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd54484df
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001ba2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001b80
cmp r8d, 0x77f536b7
je 0x140001bac
test r9d, r9d
jne 0x140001b60
mov rax, qword [rax]
jmp 0x140001b30
mov ecx, dword [rbx + 0x24]
xor r8d, r8d
add rcx, r10
movzx edx, word [rcx + r9*2]
xor r9d, r9d
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, reloc.WS2_32.dll_recvfrom
add rax, r10
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x30]
test eax, eax
mov rsi, qword [rsp + 0x38]
sete al
add rsp, 0x20
pop rdi
ret
Function at 0x1400062e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140006301
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000632e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140006330
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140006389
test ecx, ecx
jle 0x140006369
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140006389
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140006389
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rcx - 0x77], cl
in al, dx
add r12, 0xb2
mov r12, qword [r12]
add r12, 4
mov cx, word [r12]
add rcx, rbp
pop r14
mov qword [rcx], r14
jmp 0x1400c4e70
mov r11, rbp
add r11, 0xb2
mov r11, qword [r11]
add r11, 6
movzx r11, word [r11]
mov bh, reloc.WLDAP32.dll_Ordinal_27
Function at 0x1400063b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400063d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400063e1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140006404
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006406
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006442
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400064de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000647d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400064be
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400064de
cmp rbx, rax
ja 0x140006490
test rbx, rbx
je 0x1400064de
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
movzx edi, word [rdi]
add r15, rbp
mov r9, rbp
add r9, 0x107
mov r9d, dword [r9]
test word [r15], r9w
pushfq
mov rcx, 0
mov r12, rbp
add r12, 0xb2
mov r12, qword [r12]
add r12, 8
mov cl, byte [r12]
cmp cl, 0
je 0x1400c4e6e
invalid
mov r12, rbp
pop r14