joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100016f40
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x100021380]
xor rax, rbp
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea r12, [rsp + 0x20]
mov eax, dword [r12]
lea rdx, [rbp + 8]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x100017046
mov r13, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
and dword [rbp], ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x100016fce
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea edx, [rdi - 1]
lea ecx, [rdx + rbx]
cmp ecx, ebx
jb 0x100017046
mov eax, edx
not eax
and ecx, eax
je 0x100016fe9
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x100017046
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovb ecx, eax
and rbx, r12
lea rax, [r13 + rdi]
mov esi, ecx
sub rbx, rsi
cmp rbx, rax
jb 0x100017046
mov r9d, 4
mov r8d, 0x1000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x100017046
lea r9, [rbp + 4]
mov r8d, 0x104
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100017046
mov eax, 1
jmp 0x100017048
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.10000c740
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r13
pop r12
pop rbp
ret
Function at 0x180006760
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x180069008]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x180069050]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1800067e0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x18000685a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18000680b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180054dc0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x18000685a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x18000685d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x18000686a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x180006882
inc rbx
test eax, eax
jne 0x180006870
test ecx, ecx
mov rcx, rsi
je 0x1800068e2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1800067d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800068de
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800068d9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006965
mov rcx, r8
call fcn.180053e5c
xor eax, eax
jmp 0x180006925
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x180006922
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18000691d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006965
mov rcx, r8
call fcn.180053e5c
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.180053a80
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180006bf0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x180069008]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x180006c70
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x180006cea
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x180006c9b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180054dc0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x180006cea
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x180006ced
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x180006cfa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x180006d12
inc rbx
test eax, eax
jne 0x180006d00
test ecx, ecx
mov rcx, rsi
je 0x180006d72
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180006c60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180006d6e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180006d69
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006df3
mov rcx, r8
call fcn.180053e5c
xor eax, eax
jmp 0x180006db3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x180006db1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180006dac
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006df3
mov rcx, r8
call fcn.180053e5c
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.180053a80
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180009370
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 0x1800093cd
lea rbx, [0x180059e20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800093b4
cmp r10, 2
jb 0x1800093b4
cmp byte [r9], r8b
jne 0x1800093b4
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 0x180009390
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000940f
lea rbx, [0x180059e20]
cmp r8b, 0x23
jne 0x1800093f3
cmp byte [r9], r8b
jne 0x1800093f3
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 0x1800093e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180009550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000956a
mov qword [r8], 0
lea rdx, [0x180059990]
call fcn.180009420
mov rbx, rax
test rax, rax
jne 0x18000958a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180009661
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009661
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180009661
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009661
cmp rdi, 0xffffffffffffffff
je 0x180009661
mov rax, qword [0x180069d80]
test rax, rax
je 0x1800095fe
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180009661
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000964e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180069d80]
test rax, rax
je 0x180009643
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000966a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000965c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000966c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18000d5f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180059e20]
mov rax, qword [rcx + 0xf8]
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
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x18000d686
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180021ce0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000d690
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x180059e20]
vmovss xmm3, dword [rcx + 0x110]
vmovss xmm4, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18001a570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180069008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180069d80]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x18001a5d1
cmp byte [rbx + 0x4a9e], 0
jne 0x18001a5d1
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1800091d0
test dil, 1
je 0x18001a6ff
jmp 0x18001a659
vmovss xmm0, dword [rbx + 0x389c]
vmovss xmm1, dword [0x18005f3bc]
vfmadd213ss xmm1, xmm0, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x18005f3d4]
vfmadd213ss xmm2, xmm0, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e4], xmm1
vmovss dword [rbx + 0x47e0], xmm2
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x18005f2d0]
or dword [rbx + 0x47d0], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4830], xmm1
call fcn.1800091d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18001a6b0
lea r11, [0x180059e20]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001a693
cmp byte [r8], r9b
jne 0x18001a693
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 0x18001a680
not ecx
call fcn.1800114b0
test rax, rax
je 0x18001a6ff
cmp byte [rax + 0xb6], 0
je 0x18001a6ff
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 + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.1800091d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180013c90
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180053a80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800205f0
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180020697
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002064a
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.180022a00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180009e00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180069d78]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002069f
mov rcx, rbx
call fcn.180009e00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180020b10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180069d80]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180020b73
mov qword [rsp], rbx
lea rbx, [0x180059e20]
nop dword [rax]
cmp r9b, 0x23
jne 0x180020b53
cmp byte [r8], r9b
jne 0x180020b53
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 0x180020b40
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180020ba7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180020bae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180020b94
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18004ca40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
je 0x18004cac2
mov r10d, 0xffffffff
lea r8, [0x18005898d]
mov eax, r10d
lea r11, [0x180059e20]
mov r9b, 0x45
cmp r9b, 0x23
jne 0x18004ca7a
cmp byte [r8], r9b
jne 0x18004ca7a
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 0x18004ca67
mov rcx, qword [0x180069d80]
not eax
cmp dword [rcx + 0x3f58], eax
jne 0x18004caae
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x18004cb27
mov byte [rcx + 0x3f8c], 1
add rsp, 0x28
ret
mov rax, qword [0x180069d80]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rbx, qword [rax + 0x3ef8]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x18005898c]
call fcn.180009370
mov rcx, qword [rbx]
mov edi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f40], eax
jne 0x18004cb20
lea r8, [0x18005898c]
mov edx, 0xb
mov ecx, eax
call fcn.180021ce0
mov eax, edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140001d4c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x920
mov eax, dword [rcx]
mov rdi, rcx
cmp eax, dword [0x140029ac0]
je 0x140001e50
cmp eax, 0xeedfade
je 0x140001e50
mov rax, qword [0x140029ab8]
xor ebx, ebx
test rax, rax
je 0x140001da9
cmp word [0x140029aba], bx
je 0x140001d9a
call rax
mov qword [0x140029ab8], rax
mov ecx, eax
call fcn.140004a1c
mov rcx, rax
jmp 0x140001e3a
mov ecx, 0x27
call fcn.140004a1c
mov r9, qword [rdi + 0x10]
mov r8d, dword [rdi]
lea rcx, [rsp + 0x120]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
cmp dword [rdi + 0x18], ebx
jbe 0x140001e07
lea rsi, [rdi + 0x20]
mov r8, qword [rsi]
lea rdx, str._t0x_p_n
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x18]
jb 0x140001dd4
cmp byte [str.___Install__UTF_8_], 0x3b
je 0x140001e32
mov ecx, 3
call fcn.140004a1c
lea rdx, [rsp + 0x120]
xor r9d, r9d
mov r8, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001e3f
lea rcx, [rsp + 0x120]
call fcn.14000c3d0
call fcn.1400073c0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r11, [rsp + 0x920]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001f58
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rsi, rcx
lea rcx, [rbp - 0x39]
mov rbx, r8
mov edi, edx
call fcn.140015d14
lea rcx, [rbp - 0x29]
call fcn.140015d14
xor edx, edx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x70]
call sub.msvcrt.dll_memset
mov qword [rbp + 0xf], rbx
mov ebx, 1
mov edx, 0x740
mov dword [rbp - 0x19], 0x70
mov dword [rbp + 0x17], 0xa
mov dword [rbp - 0x15], edx
test bl, dil
je 0x140001fcc
and dword [rbp + 0x17], 0
mov edx, 0x8740
mov dword [rbp - 0x15], edx
test dil, 2
lea rax, str.runas
cmove rax, qword [rbp - 9]
and edi, 0x10000
mov qword [rbp - 9], rax
jne 0x140001fef
bts edx, 8
mov dword [rbp - 0x15], edx
mov rcx, qword [0x140029ae0]
mov edx, 5
mov qword [rbp - 0x11], rcx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.USER32.dll_BringWindowToTop]
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.140003804
lea rcx, [rbp - 0x29]
mov rdx, rax
call fcn.140015de4
cmp dword [rbp - 0x31], 0
je 0x14000206a
mov rax, qword [rbp - 0x39]
lea rcx, [rbp - 0x19]
mov qword [rbp - 1], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp + 7], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140002068
test edi, edi
jne 0x14000205c
mov rcx, qword [rbp + 0x4f]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x4f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000206a
xor ebx, ebx
mov rcx, qword [rbp - 0x29]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x39]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea r11, [rsp + 0xb0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140002ca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
add rcx, 0x18
call fcn.140015de4
mov eax, dword [rdi + 0x20]
cmp dword [rdi + 0x24], eax
jne 0x140002ccc
lea rcx, [rdi + 0x18]
call fcn.140015a68
mov edx, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
xor esi, esi
mov r8d, 0x5c
lea rax, [rsp + 0x50]
mov r9, rdi
mov word [rcx + rdx*2], r8w
inc edx
mov qword [rsp + 0x28], rax
mov word [rcx + rdx*2], si
mov dword [rdi + 0x20], edx
lea r8, [0x140002b44]
xor edx, edx
xor ecx, ecx
mov qword [0x140029ad0], rdi
mov dword [0x140029ad8], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140029ac8], rax
test rax, rax
je 0x140002d4c
cmp dword [0x140029b5c], 2
je 0x140002d39
call fcn.14000b5d8
mov rax, qword [0x140029ac8]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x140029ac8]
mov r8d, dword [0x140029ad8]
mov qword [0x140029d20], rsi
test r8d, r8d
je 0x140002dae
cmp r8d, 1
je 0x140002da0
cmp r8d, 2
je 0x140002d99
cmp r8d, 3
je 0x140002d92
cmp r8d, 0x67
jle 0x140002d81
cmp r8d, 0x6b
jle 0x140002e1f
mov edx, 0x14
xor ecx, ecx
call fcn.14000c52c
jmp 0x140002e1f
mov edx, 0x12
jmp 0x140002da5
mov edx, 0x13
jmp 0x140002da5
mov edx, reloc.COMCTL32.dll_InitCommonControls
xor ecx, ecx
call fcn.14000c52c
jmp 0x140002e1f
cmp dword [0x140029d1c], esi
mov ecx, esi
mov dword [rsp + 0x40], ecx
jne 0x140002e1f
test rax, rax
je 0x140002ddf
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0x40]
test eax, eax
je 0x140002ddf
test ecx, ecx
jne 0x140002ddf
xor eax, eax
jmp 0x140002e24
mov edx, 0x80070000
mov eax, ecx
and eax, edx
cmp eax, edx
je 0x140002df6
mov r8d, ecx
mov edx, 0x21
jmp 0x140002d86
movzx ecx, cx
cmp ecx, 0xe
jne 0x140002e07
cmp dword [0x140029b60], 0xffffffff
je 0x140002e1f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, dword [rsp + 0x40]
mov edx, 0x22
lea ecx, [rdx - 0x21]
call fcn.14000c52c
mov eax, 0x80004005
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140003774
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x10], 0
lea rax, [0x140023238]
mov rbx, rcx
mov qword [rcx], rax
je 0x140003797
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rbx + 8]
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_

Function at 0x1400038e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140003927
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000390e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000392c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003927
test al, 0x10
jne 0x140003927
mov ecx, 0xb7
jmp 0x140003904
mov eax, 1
add rsp, 0x20
pop rbx
ret