joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a6c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44a76f
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, [0x0044a7c0]
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.00451a00
xorps xmm15, xmm15
mov r14, qword [0x00601d98]
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.00451b40
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.0044a6c0
Function at 0x453940
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 [0x00601e40]
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 [0x00601b8c], 0
je 0x453975
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00602120]
aesenc xmm0, xmmword [0x00602130]
aesenc xmm0, xmmword [0x00602140]
movq rax, xmm0
ret
jmp 0x407f20

Function at 0x453980
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 [0x00601e40]
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 [0x00601b8c], 0
je 0x4539b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00602120]
aesenc xmm0, xmmword [0x00602130]
aesenc xmm0, xmmword [0x00602140]
movq rax, xmm0
ret
jmp 0x407f80

Function at 0x455520
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x455554
mov rcx, 0x28
jmp 0x45555f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00601d98], rcx
pop rbp
ret
Function at 0x4665a0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x46677b
push rbp
mov rbp, rsp
sub rsp, 0xa8
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x40], xmm15
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0
nop dword [rax]
call fcn.00403880
xorps xmm15, xmm15
mov r14, qword [0x00601d98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x466629
jmp 0x466672
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x68], xmm15
lea rdx, [0x00534408]
mov qword [rsp + 0x40], rdx
lea rdx, [0x00533cc8]
mov qword [rsp + 0x48], rdx
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
add rsp, 0xa8
pop rbp
ret
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x38], rcx
inc rcx
mov qword [rsp + 0x30], rcx
lea rax, [0x004f26a0]
mov rbx, rcx
call fcn.0043f720
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rsi
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdx
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x28], rsi
cmp rsi, rdx
jg 0x4666fb
jmp 0x466702
mov qword [rsp + 0x28], rdx
jmp 0x466704
jmp 0x466704
mov rdx, qword [rsp + 0x90]
cmp qword [rsp + 0x50], rdx
jne 0x466715
jmp 0x466733
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x20], rcx
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x90]
call fcn.00454600
jmp 0x466735
jmp 0x466735
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
movups xmmword [rsp + 0x40], xmm15
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
xor edi, edi
xor esi, esi
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00451b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004665a0
Function at 0x4667a0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x46695a
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x58], 0
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x48], xmm15
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0
nop dword [rax]
call fcn.00403880
xorps xmm15, xmm15
mov r14, qword [0x00601d98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x466829
jmp 0x466872
mov qword [rsp + 0x58], 0
movups xmmword [rsp + 0x60], xmm15
lea rdx, [0x00534408]
mov qword [rsp + 0x48], rdx
lea rdx, [0x00533cc8]
mov qword [rsp + 0x50], rdx
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x58]
add rsp, 0xa0
pop rbp
ret
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rcx
inc rcx
lea rax, [0x004f27e0]
xor ebx, ebx
call fcn.0043f720
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
inc rsi
mov qword [rsp + 0x80], rsi
mov rdx, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov rcx, rax
xor edi, edi
mov rax, rdx
call fcn.00468620
lea rdx, [rbx + 1]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
cmp rcx, rdx
jae 0x4668e8
jmp 0x4668ea
jmp 0x466903
mov rbx, rdx
mov edi, 1
lea rsi, [0x004f27e0]
call fcn.0043f800
mov rdx, rbx
jmp 0x466903
lea r8, [rax + rdx*2]
lea r8, [r8 - 2]
mov word [r8], 0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
movups xmmword [rsp + 0x48], xmm15
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor edi, edi
xor esi, esi
add rsp, 0xa0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00451b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004667a0
Function at 0x498680
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
test byte [rbx], al
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rbx + 8]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 9
jmp 0x4986dd
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jg 0x4986ee
jmp 0x4987f9
mov rax, qword [rsp + 0x28]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
lea rax, [rsp + rax*8 + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0xa0]
test byte [rax], al
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x18], rcx
test byte [rax], al
mov rdx, rcx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rcx
sar rdx, 3
add rax, rdx
movzx eax, byte [rax]
mov rdx, rcx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rcx
and rdx, 0xfffffffffffffff8
sub rcx, rdx
test rcx, rcx
jge 0x498765
nop dword [rax + rax]
jmp 0x498802
mov edx, 1
shl edx, cl
cmp rcx, 0x20
sbb ebx, ebx
and edx, ebx
test dl, al
setne byte [rsp + 7]
jmp 0x49877d
jne 0x498782
nop
jmp 0x4987b8
mov rax, qword [rsp + 0xa8]
test byte [rax], al
mov rdx, qword [rsp + 8]
lea rax, [rax + rdx*8]
lea rax, [rax + 0xc0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
test byte [rax], al
mov rdx, qword [rsp + 0x10]
mov qword [rax], rdx
jmp 0x4987ed
mov rax, qword [rsp + 0xa8]
test byte [rax], al
mov rdx, qword [rsp + 8]
lea rax, [rax + rdx*8]
lea rax, [rax + 0xc0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
test byte [rax], al
mov qword [rax], 0
jmp 0x4987ed
jmp 0x4987ef
inc qword [rsp + 0x28]
jmp 0x4986dd
add rsp, 0x90
pop rbp
ret
call fcn.0042cbe0
nop
int3
Function at 0x4d24a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4d263f
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov byte [rsp + 7], 0
mov rcx, qword [rsp + 0x88]
test byte [rcx], al
mov rdx, qword [rsp + 0x90]
and edx, 0x7f
shl rdx, 5
add rcx, rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], 0
jmp 0x4d24f3
cmp qword [rsp + 0x30], 4
jl 0x4d24fd
jmp 0x4d2542
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
test byte [rdx], al
lea rcx, [rdx + rcx*8]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x90]
cmp rcx, rdx
je 0x4d2529
jmp 0x4d2539
mov byte [rsp + 7], 1
mov eax, 1
add rsp, 0x78
pop rbp
ret
jmp 0x4d253b
inc qword [rsp + 0x30]
jmp 0x4d24f3
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 4
jmp 0x4d256f
mov rcx, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rcx
jg 0x4d257d
jmp 0x4d25af
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
test byte [rdx], al
lea rcx, [rdx + rcx*8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x28], 0
jmp 0x4d25df
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
mov rdx, qword [rsp + 0x38]
and edx, 3
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsp + 0x90]
xchg qword [rcx], rdx
mov byte [rsp + 7], 0
xor eax, eax
add rsp, 0x78
pop rbp
ret
cmp qword [rsp + 0x28], 8
jl 0x4d25e9
jmp 0x4d2622
movzx ecx, byte [rsp + 0x18]
xor rcx, qword [rsp + 0x10]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x18]
shr rdx, 8
mov qword [rsp + 0x18], rdx
movabs rdx, 0x100000001b3
imul rcx, rdx
mov qword [rsp + 0x10], rcx
jmp 0x4d261b
inc qword [rsp + 0x28]
jmp 0x4d25df
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 8], rcx
jmp 0x4d262e
mov qword [rsp + 0x38], rcx
jmp 0x4d2635
inc qword [rsp + 0x48]
jmp 0x4d256f
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00451b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004d24a0
Function at 0x4d49a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4d4adb
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x4d49db
jmp 0x4d49fd
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00460780
mov qword [rsp + 0x48], rax
inc rax
mov qword [rsp + 0x28], rax
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x48], rdi
cmp rdi, 1
je 0x4d4a0a
jmp 0x4d4a59
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rsp + 0x27], al
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], al
call fcn.00403200
xorps xmm15, xmm15
mov r14, qword [0x00601d98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], rax
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x30], 0
jmp 0x4d4a64
jmp 0x4d4a66
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x68]
call fcn.004d8be0
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x4d4a8c
jmp 0x4d4a9c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
add rsp, 0x50
pop rbp
ret
inc qword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdx
add rdx, rax
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x68]
sub rsi, rdx
mov r8, rsi
neg rsi
sar rsi, 0x3f
and rdx, rsi
add rdx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
jmp 0x4d4ad9
jmp 0x4d4a64
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00451b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004d49a0
Function at 0x140002453
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002472
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140013318

Function at 0x14000428d
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140013318

Function at 0x1400042cc
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1400210f0], 0
jne 0x1400042e4
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14000428d
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.1400041f7
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1400210f0]
test rbx, rbx
je 0x140004315
test byte [rbx + 7], 0x40
jne 0x140004315
mov rcx, rbx
call fcn.140003928
lea rcx, [0x1400191e0]
call fcn.14000df60
cmp byte [rax], 0
je 0x14000434d
lea rcx, [0x1400190e0]
mov byte [rax], 0
call fcn.14000df60
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140004259
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x1400048b0
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1400210c0]
xor ebx, ebx
lea r14, [0x1400191e0]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140004936
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001a2bb]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.140013318
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400047fe
mov rcx, r14
call fcn.14000df60
cmp byte [rax], 0
jne 0x140004968
inc rbx
jmp 0x1400048e9
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x14000678f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, qword gs:[0x60]
movzx rax, byte [rax + 2]
ret
Function at 0x14000d0d0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140013000
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x14000d140
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140021284]
test esi, esi
mov rbx, rcx
jle 0x14000d270
mov rax, qword [0x140021288]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000d18b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000d215
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000d170
mov rcx, rbx
call fcn.14000dbb0
test rax, rax
mov rdi, rax
je 0x14000d292
mov rax, qword [0x140021288]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000dcf0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140021288]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000d277
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000d20e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000d220
add dword [0x140021284], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140021288]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000d20e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000d0d0
nop dword [rax]
xor esi, esi
jmp 0x14000d198
mov rax, qword [0x140021288]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000d0d0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000d0d0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000d800
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400212e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400212c0]
test rbx, rbx
je 0x14000d85c
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 0x14000d853
test rsi, rsi
je 0x14000d853
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000d838
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 0x14000da70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000daa8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000dab0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000da80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000daa8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000dab0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000da90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000daa8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000dab0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000dbb0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x14000dc30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001c2a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000dc4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000dc58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000dc4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x14000dcf0
Capabilities:
Parse pe header

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

Function at 0x140013e60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x87], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140013f6a
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x140013f42
add rax, 1
cmp rax, 0x6b
je 0x140013f5f
cmp byte [rcx + rax], 0
jne 0x140013f38
cmp eax, 0x6a
movsxd rdx, eax
je 0x140013f5f
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x140013f53

Function at 0x1400142e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140021dd0], 1
je 0x140014358
lea rdi, [0x140021dd0]
mov rcx, rdi
call fcn.140013be0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.140013560
mov esi, dword [0x140021dd0]
test esi, esi
jne 0x140014368
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x140019508], eax
je 0x140018d36
mov dword [0x140021dd0], 1
mov rcx, rbp
call fcn.140013850
test rbx, rbx
je 0x140014358
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140013f80
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x140014338
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.140013020
jmp 0x140014338
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop