joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008970
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140043940]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140008a04
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001bfe0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140008a20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140043940]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14000c250
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140062df8]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x14000c296
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000c29b
mov eax, 0x220
movss xmm3, dword [rax + rbx]
xor r15d, r15d
movss xmm2, dword [rax + rbx + 4]
xorps xmm5, xmm5
cvttss2si eax, dword [r8]
mov edx, 2
subss xmm3, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movss xmm4, dword [0x140048524]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
mov r8d, 1
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, r15d
ucomiss xmm1, xmm5
cvtdq2ps xmm0, xmm0
cmove eax, r8d
ucomiss xmm0, xmm5
cmove r15d, edx
or r15d, eax
comiss xmm1, xmm5
ja 0x14000c30c
addss xmm3, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm4
comiss xmm0, xmm5
ja 0x14000c31c
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm4
or dword [rdi + 0x47b8], edx
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], r8d
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000c360
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400049f0
jmp 0x14000c375
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x60]
call fcn.1400049f0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000ed30
mov rsi, qword [rdi + 0x3ed8]
movzx r14d, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], ebp
mov byte [rsi + 0xd2], r15b
jne 0x14000c3c6
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, ebp
lea rdx, [0x140042991]
not r9d
lea r10, [0x140043940]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000c3f3
cmp byte [rdx], r8b
jne 0x14000c3f3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000c3e0
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000c423
xor edx, edx
xor ecx, ecx
call fcn.140008c10
cmp dword [rdi + 0x48e0], ebp
jne 0x14000c468
cmp word [rsi + 0x15c], 0
jne 0x14000c43e
cmp byte [rsi + 0x162], 0
je 0x14000c468
xor edx, edx
mov rcx, rsi
call fcn.140011130
xor edx, edx
mov rcx, rsi
call fcn.140017110
mov rdx, rsi
mov ecx, ebx
call fcn.140008c10
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400151c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140062df8]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x140015221
cmp byte [rbx + 0x4a92], 0
jne 0x140015221
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004970
test dil, 2
je 0x14001534f
jmp 0x1400152ac
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004854c]
mov edx, 0x10
mulss xmm1, dword [0x140048544]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x1400484c8]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140004970
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015300
lea r11, [0x140043940]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400152e3
cmp byte [r8], r9b
jne 0x1400152e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400152d0
not ecx
call fcn.14000c790
test rax, rax
je 0x14001534f
cmp byte [rax + 0xb6], 0
je 0x14001534f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.140004970
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ed30
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003f020
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a8e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a89a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001cc40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400052e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140062df0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a8ef
mov rcx, rbx
call fcn.1400052e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ad70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140062df8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001add3
mov qword [rsp], rbx
lea rbx, [0x140043940]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001adb3
cmp byte [r8], r9b
jne 0x14001adb3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ada0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001adff
cmp dword [r8 + 8], eax
je 0x14001ae06
add r8, 0x48
cmp r8, rcx
jne 0x14001adf0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003b300
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14003b38c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14003b360
lea r11, [0x140043940]
nop
cmp r9b, 0x23
jne 0x14003b343
cmp byte [r8], r9b
jne 0x14003b343
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003b330
mov rcx, qword [0x140062df8]
not eax
cmp dword [rcx + 0x3f38], eax
jne 0x14003b377
mov dword [rcx + 0x3f3c], eax
cmp dword [rcx + 0x3f68], eax
jne 0x14003b3e9
mov byte [rcx + 0x3f6c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140062df8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004b10
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f20], eax
jne 0x14003b3e2
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001bfe0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003fb24
Capabilities:
Parse pe header

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

Function at 0x18058567e
Capabilities:
Encode data using xor

Disassembly:
test rax, rax
push 0xffffffff9a913d86
lea rsp, [rsp + 0x28]
je 0x180571073
push r9
lea rdx, [0x180571ce8]
mov r9d, 0xf1275f04
shr r9, 0xa1
xor r9b, byte [r10 + r9]
xor r9d, edi
push 0x69246399
and r9d, 0xff
mov r9d, dword [rdx + r9*4]
shr edi, 8
xor edi, r9d
ror word [rsp + 2], 0xa9
inc r10
xor edi, 0x69b514ad
dec rax
lea rsp, [rsp + 8]
jne 0x18055c800
call fcn.180582dcc
call fcn.18058127e
push 0xffffffffe51d2e34
xor edi, edi
jmp 0x18055c7e4
Function at 0x140003d00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13d0
call fcn.140010fa0
sub rsp, rax
mov rax, qword [0x14371a080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov r15, r8
movsxd rsi, edx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call fcn.14000fea8
mov r9d, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov ecx, 1
nop word [rax + rax]
mov eax, r9d
shr eax, 0x1e
xor eax, r9d
imul r9d, eax, 0x6c078965
add r9d, ecx
mov dword [rsp + rcx*4 + 0x34], r9d
inc rcx
cmp rcx, 0x270
jb 0x140003d70
mov dword [rsp + 0x30], 0x270
mov r14d, dword [r15 + 0x10]
dec r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
mov dword [rsp + 0x20], 1
mov r12, rsi
test esi, esi
je 0x140003e9c
mov r13d, 0x80000000
xor r14d, r13d
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x30]
cmp r14d, 0x7fffffff
jne 0x140003df7
call fcn.14000c470
mov ecx, eax
jmp 0x140003e3c
lea esi, [r14 - 0x7fffffff]
call fcn.14000c470
mov ebp, esi
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jae 0x140003e38
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x140003e38
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14000c470
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jb 0x140003e20
mov rbx, qword [rdi + 0x10]
shr rcx, 0x20
lea eax, [rcx + r13]
xor eax, r13d
mov rcx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140003e50
mov rcx, qword [r15]
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x18]
cmp rbx, rcx
jae 0x140003e7f
lea rax, [rbx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rcx, 0xf
jbe 0x140003e74
mov rax, qword [rdi]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x140003e8f
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call fcn.14000ae00
mov rbx, qword [rdi + 0x10]
cmp r12, rbx
ja 0x140003de0
mov rax, rdi
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400106b0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006140
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140006164
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400061f2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400061c0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400061c0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140033020
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400061dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400061e5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140006181
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400062d0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140006209
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000620b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000623d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140033020
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400062cd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140006278
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400062ae
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14001a0f0
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400062cd
cmp rsi, rax
ja 0x140006281
test rsi, rsi
je 0x1400062cd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001a0f0
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x14000c470
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000c4d1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000c490
mov ecx, dword [r9]
jmp 0x14000c5bb
cmp ecx, 0x4e0
jb 0x14000c5bb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000c4f0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000c540
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14001155c
Capabilities:
Parse pe header

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

Function at 0x14001621c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001628b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001628b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001628b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001628b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001628b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001628b
cmp dword [rcx + 0xf8], 0
je 0x14001628b
mov ecx, ebx
call fcn.14001633c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140016118
nop
cmp dword [rbp + 0x20], 0
je 0x1400162d9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400162e4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001621c

Function at 0x140016420
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001628b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001628b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001628b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001628b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001628b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001628b
cmp dword [rcx + 0xf8], 0
je 0x14001628b
mov ecx, ebx
call fcn.14001633c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140016118
nop
cmp dword [rbp + 0x20], 0
je 0x1400162d9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400162e4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001621c
Function at 0x14001fa80
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001fa96
mov al, 1
jmp 0x14001faf6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001faa7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001faf4
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002a35c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001faf4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001faf4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001faf4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001faf6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140024984
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140010fa0
sub rsp, rax
mov rax, qword [0x14371a080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001f960
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400249d3
mov rax, rbp
jmp 0x140024adb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x371c390]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400263a4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x371c390]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140024ad7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140024ad7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400263a4
test rax, rax
js 0x140024ad7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140024ad7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140024ac9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140024ac9
cmp byte [rcx], 0xd
jne 0x140024aaf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140024abe
cmp byte [rcx + 1], 0xa
jne 0x140024abe
inc rcx
jmp 0x140024abe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x371a4c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140024a91
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140024adb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400106b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret