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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1400ade60
test byte [rbx + 6], 0xf
jne 0x1400ade50
xor edi, edi
cmp word [rbx + 4], di
jne 0x1400ade50
cmp word [rbx + 2], di
jne 0x1400ade50
cmp word [rbx], di
jne 0x1400ade50
lea esi, [rdi + 1]
jmp 0x1400ade58
mov eax, 2
movzx esi, ax
movzx eax, si
jmp 0x1400ae06c
xor edi, edi
test cx, cx
jne 0x1400ade7b
mov rcx, rbx
call fcn.1400af674
movzx ecx, ax
cmp di, ax
jl 0x1400ae069
movsx edx, cx
test esi, esi
jle 0x1400adeab
sub ebp, edx
cmp ebp, esi
jg 0x1400adeab
movsd xmm0, qword [0x14011a9c0]
cmp word [rbx + 6], di
jge 0x1400ade9d
xorps xmm0, xmmword [0x1400da880]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1400ae06c
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400aded8
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1400ae06c
movzx r15d, r11w
lea eax, [rdx + rsi]
and r11w, 0xf
lea ebp, [rax - 1]
mov r13d, 0x8000
mov r12d, 0x10
or r11w, r12w
and r15w, r13w
mov word [rbx + 6], r11w
cmp eax, 0xffffffcb
jle 0x1400ae05e
test ebp, ebp
jns 0x1400ae05e
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1400adf7d
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x1400adf4a
mov word [rbx + 6], di
movzx r11d, di
mov word [rbx + 4], cx
mov word [rbx + 2], dx
neg bp
je 0x1400ae001
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
shr r11w, cl
mov word [rbx + 6], r11w
mov word [rbx + 4], ax
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1400ae017
jne 0x1400ae036
test byte [rbx], sil
je 0x1400ae036
add word [rbx], si
jne 0x1400ae036
add word [rbx + 2], si
jne 0x1400ae036
add word [rbx + 4], si
jne 0x1400ae036
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400aded0
cmp r11w, r15w
jne 0x1400aded0
cmp word [rbx + 4], di
jne 0x1400aded0
cmp word [rbx + 2], di
jne 0x1400aded0
cmp word [rbx], di
je 0x1400ae069
jmp 0x1400aded0
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400afb5c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14011cc60], rbx
je 0x1400afba8
cmp rax, rbx
jne 0x1400afb9b
mov ebx, 1
mov esi, ebx
jmp 0x1400afbad
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400afb80
mov ebx, 1
mov eax, dword [0x14011cc68]
cmp eax, ebx
jne 0x1400afbc3
mov ecx, 0x1f
call fcn.1401b4000
jmp 0x1400afc28
mov eax, dword [0x14011cc68]
test eax, eax
jne 0x1400afc22
mov dword [0x14011cc68], ebx
lea r15, [0x1400c5778]
lea rdi, [0x1400c5760]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400afc14
test eax, eax
jne 0x1400afc18
cmp qword [rdi], 0
je 0x1400afc09
mov rax, qword [rdi]
mov rcx, qword [0x1400c51a0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400afbea
test eax, eax
je 0x1400afc28
mov eax, 0xff
jmp 0x1400afd04
mov dword [0x14011b398], ebx
mov eax, dword [0x14011cc68]
cmp eax, ebx
jne 0x1400afc4f
lea rdx, [0x1400c5758]
lea rcx, [0x1400c51a8]
call sub.msvcrt.dll__initterm
mov dword [0x14011cc68], 2
test esi, esi
jne 0x1400afc5c
xor eax, eax
xchg qword [0x14011cc60], rax
cmp qword [0x14011cc80], 0
je 0x1400afc90
lea rcx, [0x14011cc80]
call fcn.1400b0220
test eax, eax
je 0x1400afc90
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14011cc80]
mov r9, qword [0x1400c51a0]
call r9
mov r8, qword [0x14011b3b0]
mov rdx, qword [0x14011b3a8]
mov ecx, dword [0x14011b3a0]
call fcn.14000348c
mov dword [0x14011b394], eax
cmp dword [0x14011b3b8], 0
jne 0x1400afcc0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14011b398], 0
jne 0x1400afcd5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14011b394]
jmp 0x1400afd04
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400b02a0
add rsp, 0x28
jmp 0x1400afb5c

Function at 0x1400b0130
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400b017c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b0174
cmp dword [rcx + 0x3c], edx
jl 0x1400b0174
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400b0174
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400b017c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180002e60
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, qword [0x1800dff18]
mov rbp, rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180003083
lea rcx, [rsp + 0x88]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180003083
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ucrtbase.dll_malloc]
mov r8, qword [0x1800dff18]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x180002f22
movsx rdx, word [r8 + 0x6228]
lea rax, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x180002f17
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rax, [rax*8 + 0x622c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6220]
test rdi, rdi
je 0x180002f3f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x180002f42
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1800c1aa0]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x180002f8b
mov rsi, qword [r8 + 0x98]
jmp 0x180002f8e
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.user32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180002fb9
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1800dff18]
mov rcx, qword [rax + 0x4ba0]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, [0x1800c1ab8]
mov qword [rsp + 0x28], rax
lea rax, [0x1800c1ac8]
mov qword [rsp + 0x30], rax
lea rax, [0x1800c1ad8]
mov qword [rsp + 0x38], rax
lea rax, [0x1800c1ae8]
mov qword [rsp + 0x40], rax
lea rax, [0x1800c1af8]
mov qword [rsp + 0x48], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x180003044
inc rbx
cmp rbx, 5
jl 0x180003015
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop rsi
pop rbp
ret
lea rdx, [0x1800c1b08]
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x1800c1b20]
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1800074e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000753d
lea rbx, [0x1800c2f30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180007524
cmp r10, 2
jb 0x180007524
cmp byte [r9], r8b
jne 0x180007524
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180007500
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000757f
lea rbx, [0x1800c2f30]
cmp r8b, 0x23
jne 0x180007563
cmp byte [r9], r8b
jne 0x180007563
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180007550
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180007730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x18000774e
mov qword [r8], r14
lea rdx, [0x1800c2a40]
call fcn.180007590
mov rbx, rax
test rax, rax
jne 0x180007773
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.ucrtbase.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18000789f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x18000789f
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000789f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x18000789f
cmp rdi, 0xffffffffffffffff
je 0x18000789f
mov rcx, rdi
call fcn.18000bb80
mov rbp, rax
test rax, rax
je 0x18000789f
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000788c
call qword [sym.imp.ucrtbase.dll_fclose]
mov r8, qword [0x1800dff18]
test r8, r8
je 0x180007881
movsx rdx, word [r8 + 0x6228]
lea rcx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180007876
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [r8 + 0x622c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x1800078a8
call qword [sym.imp.ucrtbase.dll_fclose]
test rsi, rsi
je 0x18000789a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1800078aa
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180014ff0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x1800c2f30]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40cc], ebx
jne 0x180015088
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001f280
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180015090
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x1800c2f30]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
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 + 0x108]
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 0x180018c80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1800dff18]
mov edi, ecx
cmp byte [rbx + 0x4dc5], 0
jne 0x180018cd2
cmp byte [rbx + 0x4dc6], 0
jne 0x180018cd2
movsx r9d, word [rbx + 0x5fe8]
lea r8, [0x1800c26c8]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1800072e0
test dil, 2
je 0x180018dff
jmp 0x180018d5d
movss xmm1, dword [rbx + 0x39e0]
lea r8, [0x1800c26c8]
movsx r9d, word [rbx + 0x5fe8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800d160c]
mov edx, 0x10
mulss xmm1, dword [0x1800d15fc]
addss xmm0, dword [rbx + 0x110]
addss xmm1, dword [rbx + 0x114]
mov qword [rbx + 0x4aa8], rax
mov dword [rbx + 0x4a94], 1
movss dword [rbx + 0x4aa0], xmm0
movss dword [rbx + 0x4aa4], xmm1
movss xmm0, dword [rbx + 0x3a3c]
mulss xmm0, dword [0x1800d14ac]
or dword [rbx + 0x4a90], 0x41
movss dword [rbx + 0x4af0], xmm0
call fcn.1800072e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180018db0
lea r11, [0x1800c2f30]
nop dword [rax]
cmp r9b, 0x23
jne 0x180018d93
cmp byte [r8], r9b
jne 0x180018d93
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 0x180018d80
not ecx
call fcn.18000eef0
test rax, rax
je 0x180018dff
cmp byte [rax + 0xca], 0
je 0x180018dff
mov byte [rax + 0xcf], 1
lea r8, [0x1800c26c8]
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5fe8]
movsx r9d, word [rbx + 0x5fe8]
call fcn.1800072e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.180011d30
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18001dba0
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 + 0x6148], 0
lea rbx, [rcx + 0x6150]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001dc47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001dbfa
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.180020440
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180007e70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6148]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6158]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800dfeff]
cmovne rcx, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001dc4f
mov rcx, rbx
call fcn.180007e70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001deb0
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
mov rbx, qword [0x1800dff18]
xor ebp, ebp
cmp byte [rbx + 0x6098], bpl
jne 0x18001df8f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001df88
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.180007730
mov rsi, rax
test rax, rax
je 0x18001df88
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18001df14
mov rcx, rax
call fcn.18001e0e0
mov r8, qword [0x1800dff18]
test r8, r8
je 0x18001df7f
movsx rdx, word [r8 + 0x6228]
lea rcx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18001df74
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [r8 + 0x622c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
mov byte [rbx + 0x6098], 1
movss xmm0, dword [rbx + 0x609c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18001e01e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x609c], xmm0
jb 0x18001e01e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x18001e011
mov rax, qword [0x1800dff18]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x609c], ebp
call fcn.18001e340
lea rdx, [0x1800c2a44]
mov rcx, rdi
mov rsi, rax
call fcn.180007590
mov rdi, rax
test rax, rax
je 0x18001e018
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fclose]
jmp 0x18001e018
mov byte [rbx + 0xe6], 1
mov dword [rbx + 0x609c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18001e040
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800dff18]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001e0a3
mov qword [rsp], rbx
lea rbx, [0x1800c2f30]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001e083
cmp byte [r8], r9b
jne 0x18001e083
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 0x18001e070
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60b0]
not eax
mov r8, qword [r10 + 0x60b8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001e0cf
cmp dword [r8 + 8], eax
je 0x18001e0d6
add r8, 0x48
cmp r8, rcx
jne 0x18001e0c0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180043e30
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180043e70
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800e0000]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180043eae
cmp rsi, r14
jb 0x180043ea6
cmp rsi, r15
jae 0x180043ea6
cmp qword [rsi + 8], 0
jne 0x180044077
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180043e91
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180043f42
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180043f39
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualQuery]
test rax, rax
je 0x180043f39
cmp dword [rsp + 0x70], 0x10000
je 0x180043fbb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180043f39
sub rbx, rbp
cmp rbx, r14
jae 0x180043f00
test rsi, rsi
jne 0x180044020
cmp rdi, r15
ja 0x18004405f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004405f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualQuery]
test rax, rax
je 0x18004405f
cmp dword [rsp + 0x70], 0x10000
je 0x180043ff1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180043f72
jmp 0x18004405f
test rbx, rbx
je 0x180043f39
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180044020
cmp rbx, r14
jae 0x180043ee0
jmp 0x180043f42
test rdi, rdi
je 0x18004405f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180044020
cmp rdi, r15
jbe 0x180043f50
jmp 0x18004405f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180044030
mov rax, qword [0x1800e0000]
mov qword [rsi], rax
mov qword [0x1800e0000], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret