joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2806536c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x280653837
movzx edx, byte [rax]
test edx, edx
jne 0x2806536f4
nop dword [rax]
test r8b, r8b
jne 0x2806536f4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x280653707
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x2806537f7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x2806537e5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x2806537d7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x28065375d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x2806537a0
mov eax, 1
cmp rax, rbx
ja 0x28065378b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.280667540
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x2806537cf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x280653793
mov rcx, r11
mov eax, r12d
jmp 0x280653762
mov rcx, rbx
call fcn.280667480
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.280667480
mov eax, r8d
mov rcx, rbx
call fcn.280667540
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x28065382d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x2806537f0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x28065370d
mov eax, edx
mov rcx, rbx
call fcn.280667480
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.280667480
nop
int3

Function at 0x280659400
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2806594b5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.280657080
nop
test bl, bl
je 0x2806594af
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x280659500]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.280665060
xorps xmm15, xmm15
mov r14, qword [0x280900480]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.280659400
Function at 0x28065c480
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x28065c52f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x28065c580]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.280665060
xorps xmm15, xmm15
mov r14, qword [0x280900480]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.28065c480
Function at 0x280666f80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x280604543
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.28060a360
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x280604520
cmp byte [0x280900249], 0
je 0x280666f95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x2806641e0
jmp 0x280604520

Function at 0x280666fa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x280900560]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x280900249], 0
je 0x280666fd5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x280900880]
aesenc xmm0, xmmword [0x280900890]
aesenc xmm0, xmmword [0x2809008a0]
movq rax, xmm0
ret
jmp 0x28060a580

Function at 0x280666fe0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x280900560]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x280900249], 0
je 0x280667016
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x280900880]
aesenc xmm0, xmmword [0x280900890]
aesenc xmm0, xmmword [0x2809008a0]
movq rax, xmm0
ret
jmp 0x28060a5e0

Function at 0x280673380
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x28067344a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.280603a60
xorps xmm15, xmm15
mov r14, qword [0x280900480]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x28067342f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x2806e9bc0]
xor ebx, ebx
mov rcx, rdx
call fcn.28064c140
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.280673f20
inc rbx
cmp rcx, rbx
jae 0x28067341e
mov edi, 1
lea rsi, [0x2806e9bc0]
call fcn.28064c220
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x2807c7578]
lea rsi, [0x2807c6d98]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.280673380
Function at 0x2806a6ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2806a6dde
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
nop dword [rax]
test r8, r8
je 0x2806a6d62
cmp rdi, r8
jb 0x2806a6dd2
cmp rbx, rsi
je 0x2806a6d45
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
nop
nop
cmp rdi, rbx
jb 0x2806a6d42
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x2806a6dbf
mov rbx, rdx
mov rsi, rdi
nop
jmp 0x2806a6d45
mov rbx, rdx
lea rdx, [r8 - 1]
cmp rcx, rdx
jbe 0x2806a6db7
movzx ecx, byte [rax + 0x400]
movzx edx, byte [rax + 0x401]
xor edi, edi
nop
jmp 0x2806a6da0
add rsp, 0x10
pop rbp
ret
movzx r9d, byte [rsi + rdi]
inc ecx
movzx r10d, cl
mov r11d, dword [rax + r10*4]
add edx, r11d
movzx r12d, dl
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rdi], r9b
inc rdi
nop dword [rax]
cmp r8, rdi
jg 0x2806a6d68
mov byte [rax + 0x400], cl
mov byte [rax + 0x401], dl
add rsp, 0x10
pop rbp
ret
mov rax, rdx
call fcn.280667480
lea rax, [0x2806e9ac0]
lea rbx, [0x2807c7188]
call fcn.280636c20
mov rcx, r8
mov rdx, rdi
call fcn.280667500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.2806a6ce0

Function at 0x2806b01c0
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x2806b0200
cmp ecx, 0x10
jle 0x2806b01f6
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x2806b18c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2806b1fff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x2806b18ed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x2806b1b71
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x2806b1b9d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x2807c8ea0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x2806e9ac0]
lea rbx, [0x2807c74b0]
call fcn.280636c20
inc rax
cmp rax, r8
jge 0x2806b1bc2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x2806b1bf7
lea rdi, [0x2806e9b40]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x2806b18e3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x2806b1bdb
jmp 0x2806b1bb0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.2806b18c0

Function at 0x2806b21a0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x2806b21b7
inc rax
cmp rax, 4
jge 0x2806b21cf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x2806b21b4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x2806b21e0
inc rax
cmp rax, 4
jge 0x2806b21ee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x2806b2217
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x2806b21fb
jmp 0x2806b21dd
Function at 0x2806c0320
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x2806c05b9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x2806fabe0]
call fcn.28060e760
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x28070751c]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x2806fabe0]
call fcn.28060e760
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x2807072b4]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x2806fab20]
call fcn.28060e760
cmp dword [0x2809004b0], 0
jne 0x2806c03b7
mov rcx, qword [rsp + 0x70]
jmp 0x2806c03c4
call fcn.2806670c0
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x28070835c]
mov qword [rax], rcx
nop
lea rax, [0x2806fab20]
call fcn.28060e760
cmp dword [0x2809004b0], 0
jne 0x2806c0400
mov rcx, qword [rsp + 0x68]
jmp 0x2806c040d
call fcn.2806670c0
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x280707eab]
mov qword [rax], rcx
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rcx
lea rax, [0x2806eac00]
call fcn.28060e760
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.2806b9fa0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x2806c05ae
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x2806eaba0]
call fcn.28060e760
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.2806b9fa0
movzx ecx, word [0x280900260]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x78], rdx
lea rax, [0x2806eac60]
nop dword [rax]
call fcn.28060e760
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.2806b01c0
xorps xmm15, xmm15
mov r14, qword [0x280900480]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.280663c40
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.280667480
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.280665180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.2806c0320
Function at 0x2806c0600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea r12, [rsp - 0x98]
cmp r12, qword [r14 + 0x10]
jbe 0x2806c07d9
push rbp
mov rbp, rsp
sub rsp, 0x110
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov qword [rsp + 0x39], 0
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x39], 0x6e
movabs rdx, 0x6c6c642e6c6c6474
mov qword [rsp + 0x3a], rdx
lea rax, [rsp + 0x19]
lea rbx, [rsp + 0x39]
mov ecx, 9
call fcn.2806502c0
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xbc], 0
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xbc], 0x6e72656b
movabs rdx, 0x6c6c642e32336c65
mov qword [rsp + 0xc0], rdx
lea rax, [rsp + 0x9c]
lea rbx, [rsp + 0xbc]
mov ecx, 0xc
call fcn.2806502c0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x8e], 0
mov qword [rsp + 0x94], 0
mov word [rsp + 0x8e], 0x656b
mov dword [rsp + 0x90], 0x6c656e72
movabs rdx, 0x6c6c642e65736162
mov qword [rsp + 0x94], rdx
lea rax, [rsp + 0x6e]
lea rbx, [rsp + 0x8e]
mov ecx, 0xe
call fcn.2806502c0
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x62], 0
mov dword [rsp + 0x6a], 0
mov dword [rsp + 0x62], 0x61766461
movabs rdx, 0x6c6c642e32336970
mov qword [rsp + 0x66], rdx
lea rax, [rsp + 0x42]
lea rbx, [rsp + 0x62]
mov ecx, 0xc
call fcn.2806502c0
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x100], rax
xor eax, eax
jmp 0x2806c07ca
mov qword [rsp + 0xc8], rax
shl rax, 4
mov rdx, qword [rsp + rax + 0xd0]
mov rbx, qword [rsp + rax + 0xd8]
mov rax, rdx
call fcn.2806c0800
mov rax, qword [rsp + 0xc8]
inc rax
cmp rax, 4
jl 0x2806c079b
add rsp, 0x110
pop rbp
ret
call fcn.280665180
nop
jmp fcn.2806c0600

Function at 0x2806c68b0
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.2806c7740
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.2806c7740
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 0x2806c6920
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x280904984]
mov rbx, rcx
test esi, esi
jle 0x2806c6a50
mov rax, qword [0x280904988]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2806c696b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2806c69f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2806c6950
mov rcx, rbx
call fcn.2806c7180
mov rdi, rax
test rax, rax
je 0x2806c6a72
mov rax, qword [0x280904988]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2806c72c0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x280904988]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2806c6a57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x2806c69ee
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x2806c6a00
add dword [0x280904984], 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 [0x280904988]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2806c69ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2806c68b0
nop dword [rax]
xor esi, esi
jmp 0x2806c6978
mov rax, qword [0x280904988]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2806c68b0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2806c68b0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2806c6df0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2809049c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2809049a0]
test rbx, rbx
je 0x2806c6e4c
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 0x2806c6e43
test eax, eax
jne 0x2806c6e43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2806c6e28
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 0x2806c7180
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x2806c7200
Capabilities:
Parse pe header

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

Function at 0x2806c72c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x280873320]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2806c72df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2806c72e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004510]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004520]
mov dword [rax], 1
mov rax, qword [0x140004530]
mov dword [rax], 1
mov rax, qword [0x1400044b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004500]
mov dword [0x140007020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400045d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400045b0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004430]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001a80
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 dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]