joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004c53c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18003eea8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18004c5dd
cmp ebx, dword [rsp + 0x30]
je 0x18004c5d6
test esi, esi
je 0x18004c5d6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18004c5b1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18004c5be
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18004c59b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18004c5c2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18004c5df
mov eax, 1
jmp 0x18004c5df
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800509f0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180044a58
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180044a58
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180050b40
cmp rax, 0xffffffffffffffff
je 0x180050b40
xor edi, edi
test rbp, rbp
jle 0x180050aeb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180040a8c
mov rbx, rax
test rax, rax
jne 0x180050a78
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180050ae1
mov edx, 0x8000
mov ecx, r14d
call fcn.180050874
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180042be4
cmp eax, 0xffffffff
je 0x180050ac1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180050a88
mov edx, r15d
mov ecx, r14d
call fcn.180050874
jmp 0x180050ae1
cmp byte [rsi + 0x38], dil
je 0x180050ad8
cmp dword [rsi + 0x34], 5
jne 0x180050ad8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180050ae1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180040b04
jmp 0x180050b54
jns 0x180050b54
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180044a58
cmp rax, 0xffffffffffffffff
jne 0x180050b0c
cmp byte [rsi + 0x30], dil
je 0x180050b54
mov edi, dword [rsi + 0x2c]
jmp 0x180050b54
mov ecx, r14d
call fcn.18004cf30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180050b54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180050b54
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180050b4d
mov eax, dword [rsi + 0x2c]
jmp 0x180050b52
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180044a58
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180051d10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180051d38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180051d38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002c58
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
xor r8d, r8d
mov dword [rbp - 0x30], 0x1ebf1ebe
mov eax, r8d
mov dword [rbp - 0x2c], 0x1eb91eca
mov dword [rbp - 0x28], 0x1e881ea8
mov edx, 0x1ee2
mov dword [rbp - 0x24], 0x1e881e9e
mov dword [rbp - 0x20], 0x1e991eba
mov dword [rbp - 0x1c], 0x1e871e83
mov dword [rbp - 0x18], 0x1e8c1e8b
mov dword [rbp - 0x14], 0x1ea21e84
mov dword [rbp - 0x10], 0x1e8b1e93
mov dword [rbp - 0xc], 0x1e9b
mov byte [rbp - 8], 1
nop
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x30], cx
inc rax
cmp rax, 0x13
jb 0x1400021e0
mov qword [rsp + 0x30], r8
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rbp - 8], r8b
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401e7bf8], rax
test rax, rax
je 0x140002236
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x70
pop rbp
ret
add rsp, 0x70
pop rbp
ret
Function at 0x140002290
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov edi, dword [0x1401e7cd0]
movsxd rax, dword [reloc.WS2_32.dll_accept]
xor edx, edx
cmp eax, 0x7b
ja 0x1400022c6
lea rdx, [0x1401e6820]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14015f6d0]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x140002332
mov dword [rbp - 0x40], 0x808886b1
mov dword [rbp - 0x3c], 0xa2c89385
mov dword [rbp - 0x38], 0x100928f
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x1e]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140002300
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140002322
lea rdx, [rbp - 0x40]
jmp 0x14000234a
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140002340
lea rcx, [rbp - 0x28]
call fcn.1400154d0
cmp edi, 1
jne 0x1400023b9
movdqa xmm0, xmmword [0x14015f9c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], __WSAFDIsSet
mov byte [rbp - 0x2e], dil
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x1e]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x11
jb 0x140002380
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400023a0
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400154d0
mov dword [rbp + 0x18], 0x42f00000
mov dword [rbp + 0x1c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x18]
call fcn.14004dec0
test al, al
je 0x140002408
test edi, edi
jne 0x140002408
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140002240]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140002446
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002441
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401294d4
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140004310
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x140004333
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x140004320
mov byte [rcx + 4], 0
mov rax, rcx
ret
Function at 0x140004e10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.140129e30
sub rsp, rax
mov eax, dword [0x1401e7c00]
lea r8, [rsp + 0x48]
xor esi, esi
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0xff0]
mov ebx, edx
mov rdi, rcx
mov rcx, qword [0x1401e7bf8]
mov edx, 0x26ce2c
mov qword [rsp + 0x30], rsi
lea r9d, [rsi + 0x10]
mov dword [rsp + 0x28], esi
mov qword [rbp + 0xff0], rsi
mov dword [rsp + 0x48], 0x61a5b53
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x38], rsi
lea r9d, [rsi + 0x28]
mov eax, ebx
mov qword [rsp + 0x30], rsi
sar eax, 0x10
lea r8, [rsp + 0x58]
mov dword [rsp + 0x28], esi
mov edx, 0x26cde8
mov qword [rbp + 0x1000], rsi
mov dword [rsp + 0x79], esi
lea ecx, [rax*8 + 0x10]
mov word [rsp + 0x7d], si
mov rax, qword [rbp + 0xff0]
add rax, 0xa948240
mov byte [rsp + 0x7f], sil
add rcx, rax
mov dword [rsp + 0x58], 0x61a5b53
lea rax, [rbp + 0x1000]
mov qword [rsp + 0x60], rcx
mov rcx, qword [0x1401e7bf8]
mov qword [rsp + 0x68], rax
mov eax, dword [0x1401e7c00]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x70], 8
mov byte [rsp + 0x78], sil
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
lea rcx, [rbp + 0x7c0]
mov r8d, 0x808
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x1000]
lea r9d, [rsi + 0x28]
mov qword [rsp + 0x38], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], rsi
mov edx, 0x26cde8
movzx ecx, bx
mov dword [rsp + 0x28], esi
mov dword [rbp - 0x5f], esi
mov word [rbp - 0x5b], si
lea rcx, [rax + rcx*4]
mov byte [rbp - 0x59], sil
lea rax, [rbp + 0x7c0]
mov qword [rbp - 0x78], rcx
mov rcx, qword [0x1401e7bf8]
mov qword [rbp - 0x70], rax
mov eax, dword [0x1401e7c00]
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x80], 0x61a5b53
mov qword [rbp - 0x68], 0x808
mov byte [rbp - 0x60], sil
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp - 0x50]
mov r8d, 0x808
lea rdx, [rbp + 0x7c0]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1401e7c60]
call fcn.140015900
mov qword [rbp + 0xff0], rax
movzx r9d, si
movzx eax, word [rbp + 0x7c4]
shr ax, 1
cmp si, ax
jae 0x140005013
nop dword [rax]
movzx ecx, r9w
lea r8, [rbp - 0x4a]
add r8, rcx
movzx ecx, r9b
and ecx, 3
inc r9w
movzx edx, byte [rbp + rcx + 0xff0]
xor dl, byte [r8]
xor dl, al
mov byte [r8], dl
movzx eax, word [rbp - 0x4c]
shr ax, 1
cmp r9w, ax
jb 0x140004fe0
xorps xmm0, xmm0
lea rax, [rbp - 0x4a]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140005030
lea rdx, [rbp - 0x4a]
mov rcx, rdi
call fcn.1400160d0
mov rbx, qword [rsp + 0x10f8]
mov rax, rdi
add rsp, 0x10d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013620
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rbx, rdx
mov r15, rcx
xor r13d, r13d
mov edx, 0x100
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140013680
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140015fa0
nop
mov r8d, Ordinal_33
lea rdx, str.SoftwareDistributionDownload_
lea rcx, [rsp + 0x28]
call fcn.140014b10
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140013729
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013724
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013724
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401294d4
movdqa xmm0, xmmword [0x14015f6a0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdi, [rbx + 0x10]
mov rdx, rbx
lea r14, [rbx + 0x18]
cmp qword [rbx + 0x18], 7
jbe 0x140013758
mov rdx, qword [rbx]
lea rbp, [rbx + 0x10]
jmp 0x14001375b
mov rbp, rdi
mov r8, qword [rdi]
lea rcx, [rsp + 0x48]
call fcn.140014b10
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r12, [rbx + 0x18]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400137e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400137db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400137db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401294d4
mov rdi, rbp
mov r12, r14
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140013821
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001381c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013854
mov rcx, r8
call fcn.1401294d4
mov qword [rdi], r13
mov qword [r12], 7
mov word [rbx], r13w
mov rax, r15
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140013860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea r14, [rcx + 0x18]
cmp qword [r14], 7
mov rdi, rcx
mov dword [rsp + 0x60], r15d
jbe 0x140013891
mov rcx, qword [rcx]
lea rsi, [rdi + 0x18]
jmp 0x140013894
mov rsi, r14
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140013915
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140013909
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140013901
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013a0b
mov rcx, r8
call fcn.1401294d4
mov r14, rsi
mov qword [r14], 7
jmp 0x1400139ed
cmp rbp, 0xffffffffffffffff
jne 0x14001396b
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x14001395d
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140013958
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013a0b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.1401294d4
mov qword [rsi], 7
xor al, al
jmp 0x1400139ef
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov r8d, 0x1e00
mov qword [rsp + 0x20], r15
lea rdx, [0x140177100]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [r14]
test bl, bl
mov rbx, qword [rsp + 0x68]
je 0x14001391e
cmp rdx, 7
jbe 0x1400139e6
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400139e1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013a0b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.1401294d4
mov qword [rsi], 7
mov al, 1
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov word [rdi], r15w
mov qword [rdi + 0x10], r15
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140013a20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea r14, [rcx + 0x18]
cmp qword [r14], 7
mov rdi, rcx
mov dword [rsp + 0x60], r15d
jbe 0x140013a51
mov rcx, qword [rcx]
lea rsi, [rdi + 0x18]
jmp 0x140013a54
mov rsi, r14
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140013ad5
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140013ac9
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140013ac1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013bcb
mov rcx, r8
call fcn.1401294d4
mov r14, rsi
mov qword [r14], 7
jmp 0x140013bad
cmp rbp, 0xffffffffffffffff
jne 0x140013b2b
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140013b1d
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140013b18
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013bcb
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.1401294d4
mov qword [rsi], 7
xor al, al
jmp 0x140013baf
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov r8d, 0x21a00
mov qword [rsp + 0x20], r15
lea rdx, [0x140178f10]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [r14]
test bl, bl
mov rbx, qword [rsp + 0x68]
je 0x140013ade
cmp rdx, 7
jbe 0x140013ba6
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140013ba1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013bcb
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.1401294d4
mov qword [rsi], 7
mov al, 1
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov word [rdi], r15w
mov qword [rdi + 0x10], r15
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140019bf0
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 0x140019c4d
lea rbx, [0x140159000]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019c34
cmp r10, 2
jb 0x140019c34
cmp byte [r9], r8b
jne 0x140019c34
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 0x140019c10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140019c8f
lea rbx, [0x140159000]
cmp r8b, 0x23
jne 0x140019c73
cmp byte [r9], r8b
jne 0x140019c73
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 0x140019c60
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140019dd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140019dea
mov qword [r8], 0
lea rdx, [0x14015e6e0]
call fcn.140019ca0
mov rbx, rax
test rax, rax
jne 0x140019e0a
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 0x140019ee1
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 0x140019ee1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140019ee1
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 0x140019ee1
cmp rdi, 0xffffffffffffffff
je 0x140019ee1
mov rax, qword [0x1401e7d40]
test rax, rax
je 0x140019e7e
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 0x140019ee1
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 0x140019ece
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401e7d40]
test rax, rax
je 0x140019ec3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019eea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140019edc
mov qword [r14], rdi
mov rax, rsi
jmp 0x140019eec
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 0x14001d5c0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x140159000]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14001d64b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140032180
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001d660
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140159000]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
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