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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005866f
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, [0x1400586c0]
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 + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140061d20
xorps xmm15, xmm15
mov r14, qword [0x140328b30]
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.140061e60
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.1400585c0
Function at 0x140063c40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400041c3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.140009e80
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061e60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x1400041a0
cmp byte [0x1403288ed], 0
je 0x140063c55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x140060ea0
jmp 0x1400041a0

Function at 0x140063c60
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 [0x140328c40]
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 [0x1403288ed], 0
je 0x140063c95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140328f00]
aesenc xmm0, xmmword [0x140328f10]
aesenc xmm0, xmmword [0x140328f20]
movq rax, xmm0
ret
jmp 0x14000a0a0

Function at 0x140063ca0
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 [0x140328c40]
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 [0x1403288ed], 0
je 0x140063cd6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140328f00]
aesenc xmm0, xmmword [0x140328f10]
aesenc xmm0, xmmword [0x140328f20]
movq rax, xmm0
ret
jmp 0x14000a100

Function at 0x140072060
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x1400720cb
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x140072084
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x1400720a1
cmp rdx, 0
je 0x1400720ed
test rdx, 0xf
je 0x14007207d
test rdx, 7
jne 0x1400720a1
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x14007207d
ret
Function at 0x14007e600
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14007e83b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x14007e69a
mov qword [rsp + 0x88], rax
lea rbx, [0x140177e60]
mov rcx, rax
lea rax, [0x1402d5940]
call fcn.14006ad80
test cl, cl
jne 0x14007e683
mov rax, qword [rsp + 0x88]
call fcn.14007d9e0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x1401aded0]
call fcn.14004d720
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x50], rax
call fcn.14007f9c0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x14007e6c0
lea rdx, [0x140175b80]
cmp rax, rdx
jne 0x14007e6ab
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
nop
nop dword [rax + rax]
call fcn.14005f7e0
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x14015da80]
call fcn.14000ad40
inc rdx
nop dword [rax]
cmp rbx, rdx
jle 0x14007e704
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x14007e6ba
lea rax, [0x1402d5940]
lea rbx, [0x140177e60]
lea rdi, [0x140175b80]
call fcn.14006af40
lea rdx, [0x140175b80]
cmp rax, rdx
jne 0x14007e82b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
lea rcx, [0x140155800]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x140162940]
call fcn.14000d880
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x140328ba0], 0
je 0x14007e75d
mov rbx, rax
lea rax, [0x140162940]
call fcn.1400137a0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
nop
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.140001940
nop
call fcn.14005f8a0
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x14007e7c6
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x14007e7b8
mov dword [rsi + 0x10], edx
cmp dword [0x140328ba0], 0
je 0x14007e7e7
call fcn.140063da0
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x1402d5940]
lea rbx, [0x140177e60]
lea rdi, [0x140175b80]
call fcn.14006af40
lea rdx, [0x140175b80]
cmp rax, rdx
jne 0x14007e81c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x14015da80]
call fcn.14000ad40
mov rbx, rdx
lea rcx, [0x14015da80]
call fcn.14000ad40
nop
mov qword [rsp + 8], rax
call fcn.140061e60
mov rax, qword [rsp + 8]
jmp fcn.14007e600
Function at 0x140088760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x14008879f
jb 0x1400887b4
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x140088820
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x1400888f4
jb 0x140088953
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.140088700
aeskeygenassist xmm1, xmm0, 1
call fcn.140088720
aeskeygenassist xmm1, xmm2, 2
call fcn.140088700
aeskeygenassist xmm1, xmm0, 2
call fcn.140088720
aeskeygenassist xmm1, xmm2, 4
call fcn.140088700
aeskeygenassist xmm1, xmm0, 4
call fcn.140088720
aeskeygenassist xmm1, xmm2, 8
call fcn.140088700
aeskeygenassist xmm1, xmm0, 8
call fcn.140088720
aeskeygenassist xmm1, xmm2, 0x10
call fcn.140088700
aeskeygenassist xmm1, xmm0, 0x10
call fcn.140088720
aeskeygenassist xmm1, xmm2, 0x20
call fcn.140088700
aeskeygenassist xmm1, xmm0, 0x20
call fcn.140088720
aeskeygenassist xmm1, xmm2, 0x40
call fcn.140088700
jmp 0x1400889c1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.140088660
aeskeygenassist xmm1, xmm2, 2
call fcn.1400886c0
aeskeygenassist xmm1, xmm2, 4
call fcn.140088660
aeskeygenassist xmm1, xmm2, 8
call fcn.1400886c0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.140088660
aeskeygenassist xmm1, xmm2, 0x20
call fcn.1400886c0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.140088660
aeskeygenassist xmm1, xmm2, 0x80
call fcn.1400886c0
jmp 0x1400889c1
aeskeygenassist xmm1, xmm0, 1
call fcn.140088620
aeskeygenassist xmm1, xmm0, 2
call fcn.140088620
aeskeygenassist xmm1, xmm0, 4
call fcn.140088620
aeskeygenassist xmm1, xmm0, 8
call fcn.140088620
aeskeygenassist xmm1, xmm0, 0x10
call fcn.140088620
aeskeygenassist xmm1, xmm0, 0x20
call fcn.140088620
aeskeygenassist xmm1, xmm0, 0x40
call fcn.140088620
aeskeygenassist xmm1, xmm0, 0x80
call fcn.140088620
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.140088620
aeskeygenassist xmm1, xmm0, 0x36
call fcn.140088620
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x1400889ce
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x140088b00
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x1401af250]
movdqu xmm14, xmmword [0x1401af260]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x140088beb
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x140088beb
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x140088c50
ret
Function at 0x14008acc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14008ad8a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.140004080
xorps xmm15, xmm15
mov r14, qword [0x140328b30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x14008ad6f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x140159340]
xor ebx, ebx
mov rcx, rdx
call fcn.140049900
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.14008b7c0
inc rbx
cmp rcx, rbx
jae 0x14008ad5e
mov edi, 1
lea rsi, [0x140159340]
call fcn.1400499e0
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, [0x1401afbc8]
lea rsi, [0x1401af0a0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061e60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14008acc0
Function at 0x1400bc240
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 0x1400bc257
inc rax
cmp rax, 4
jge 0x1400bc26f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x1400bc254
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x1400bc280
inc rax
cmp rax, 4
jge 0x1400bc28e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x1400bc2b7
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 0x1400bc29b
jmp 0x1400bc27d
Function at 0x140107360
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14010756b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x58], rcx
mov rdx, qword [rax + 0x50]
test rdx, rdx
jle 0x140107484
cmp rdx, 0x40
ja 0x14010755d
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rsi, [rdx - 0x40]
mov r8, rsi
neg rsi
sar r8, 0x3f
and r8, rdx
lea rdx, [rax + r8]
lea rdx, [rdx + 0x10]
cmp rcx, rsi
cmovl rsi, rcx
mov qword [rsp + 0x28], rsi
cmp rbx, rdx
je 0x1401073f4
mov rax, rdx
mov rcx, rsi
call fcn.140064aa0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
add rdx, rsi
mov qword [rax + 0x50], rdx
nop
cmp rdx, 0x40
jne 0x140107460
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.1401077a0
xorps xmm15, xmm15
mov r14, qword [0x140328b30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rsi
jb 0x140107555
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rcx
sub r8, rsi
add rbx, rdx
jmp 0x140107487
mov r8, rcx
cmp r8, 0x40
jl 0x140107505
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call fcn.1401077a0
xorps xmm15, xmm15
mov r14, qword [0x140328b30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x30]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
test r8, r8
je 0x140107548
lea rdx, [rax + 0x10]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
nop dword [rax + rax]
cmp rbx, rdx
je 0x140107544
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
call fcn.140064aa0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x50], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rax, rsi
call fcn.1400641c0
mov rax, rdx
mov ecx, 0x40
call fcn.1400641c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call fcn.140061e60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.140107360
Function at 0x14010f100
Capabilities:
Parse pe header

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14010f269
push rbp
mov rbp, rsp
sub rsp, 0x30
test rax, rax
je 0x14010f261
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov rcx, rax
mov qword [rsp + 0x28], rax
test rbx, rbx
je 0x14010f14d
lea rdx, [rcx + rbx]
lea rsi, [rcx + 0x40]
nop
nop dword [rax + rax]
cmp rsi, rdx
jbe 0x14010f14d
xor eax, eax
add rsp, 0x30
pop rbp
ret
lea rax, [0x14015a260]
call fcn.14000d880
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], 0x40
mov rdx, qword [0x140136530]
mov rbx, rax
mov edi, 2
mov rax, rdx
mov rcx, rdi
nop
call fcn.1400c26c0
test rax, rax
jne 0x14010f259
mov rcx, qword [rsp + 0x28]
cmp word [rcx], 0x5a4d
jne 0x14010f251
mov ecx, dword [rcx + 0x3c]
cmp ecx, 0x400
jg 0x14010f249
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rcx, rdx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x14010f1e7
nop
add rsi, rdx
cmp rdx, 8
ja 0x14010f1df
cmp rsi, 0x100
jae 0x14010f1e7
xor eax, eax
add rsp, 0x30
pop rbp
ret
lea rax, [0x14015a260]
call fcn.14000d880
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], 0x40
mov rcx, qword [0x140136530]
mov rbx, rax
mov edi, 2
mov rax, rcx
mov rcx, rdi
call fcn.1400c26c0
nop dword [rax]
test rax, rax
jne 0x14010f241
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14010f23a
xor eax, eax
add rsp, 0x30
pop rbp
ret
add rsp, 0x30
pop rbp
nop
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061e60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14010f100

Function at 0x140116910
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.140121ae0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140121ae0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140116980
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14032d554]
mov r12, rcx
test ebx, ebx
jle 0x140116ab0
mov rax, qword [0x14032d558]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1401169cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140116a53
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1401169b0
mov rcx, r12
call fcn.140117320
mov rsi, rax
test rax, rax
je 0x140116ad2
mov rax, qword [0x14032d558]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140117450
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14032d558]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140116ab7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140116a4c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140116a60
add dword [0x14032d554], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14032d558]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140116a4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140116910
nop dword [rax]
xor ebx, ebx
jmp 0x1401169d7
mov rax, qword [0x14032d558]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140116910
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140116910
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140116f90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14032d5c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14032d5a0]
test rbx, rbx
je 0x140116fe4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140116fdb
test r12, r12
je 0x140116fdb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140116fc0
lea rcx, [0x14032d5c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140117320
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402caa60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140117340
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140117348
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140117340
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140117395
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14011738c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140117340
add rax, 0x28
cmp rax, r9
jne 0x140117378
xor eax, eax
ret

Function at 0x1401173a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402caa60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401173c0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401173c8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401173c0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140117450
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402caa60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140117470
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140117478
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140118e00
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1402caae0]
mov rax, qword [rsi]
test rax, rax
je 0x140118e90
cmp qword [rax + 0x30], 0
jne 0x140118eb0
lea rbx, [0x1401498a8]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140118e60
cmp qword [rax + 0x30], 0
jne 0x140118e80
lea rdx, [0x1401498a8]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x140121c70
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14011dd00
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140118e42
test rax, rax
jne 0x140118e80
call fcn.14011dd00
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140118e50
call fcn.14011dd00
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140118e20
test rax, rax
jne 0x140118eb0
call fcn.14011dd00
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x140118e2b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2