joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401dc798
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x1401dc7b7
call fcn.1401e8f88
jmp 0x1401dc86c
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1401d5a78
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x1401dc802
cmp byte [rbp - 0x38], 0
je 0x1401dc837
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401dc837
call fcn.1401e2c00
test eax, eax
jne 0x1401dc823
cmp byte [rbp - 0x38], al
je 0x1401dc81b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401dc837
cmp byte [rbp - 0x38], 0
je 0x1401dc834
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.1401dc87c
test eax, eax
je 0x1401dc850
or ebx, 0xffffffff
jmp 0x1401dc85b
mov rcx, qword [rbp - 0x20]
call fcn.1401e8f88
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x1401dc86a
mov rcx, qword [rbp - 0x20]
call fcn.1401e46ac
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x1401dd174
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140299078]
mov rbp, rcx
call fcn.1401e71d8
xor edi, edi
test rax, rax
je 0x1401dd25a
mov ebx, edi
call fcn.1401dbc64
mov r14d, dword [rax]
call fcn.1401dbc64
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1401e95ec
mov rsi, rax
test rax, rax
je 0x1401dd1eb
call fcn.1401dbc64
mov dword [rax], r14d
jmp 0x1401dd215
call fcn.1401dbc64
cmp dword [rax], 0x22
jne 0x1401dd252
call fcn.1401dbc64
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1401e95ec
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401dd252
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1401dd219
cmp rax, 3
je 0x1401dd234
mov rcx, rsi
call fcn.1401dd0d0
test al, al
je 0x1401dd245
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401dd245
mov dil, 1
mov rcx, rbx
call fcn.1401df344
mov al, dil
jmp 0x1401dd25c
mov rcx, rbx
call fcn.1401df344
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14008b1d0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1401e27e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401e2808
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401e2808
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1401e8538
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401e8568
xor eax, eax
jmp 0x1401e862b
mov rbp, rbx
cmp word [rax], si
je 0x1401e858d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401e8574
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401e8570
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401e8458
movsxd r14, eax
test eax, eax
jne 0x1401e85cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401e8561
mov rcx, r14
call fcn.1401e4ef4
mov rdi, rax
test rax, rax
jne 0x1401e85e4
xor ecx, ecx
call fcn.1401e46ac
jmp 0x1401e85c0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401e8458
test eax, eax
jne 0x1401e8615
mov rcx, rdi
call fcn.1401e46ac
jmp 0x1401e861f
xor ecx, ecx
call fcn.1401e46ac
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1401e8648
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401e86cf
mov rsi, rbx
cmp word [rax], bp
je 0x1401e868e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401e8678
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401e8674
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401e4ef4
mov rdi, rax
test rax, rax
je 0x1401e86bc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401ccb20
mov rbp, rdi
xor ecx, ecx
call fcn.1401e46ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401ebee4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1402c8200]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1401ebf3b
cmp word [rdx], r13w
jne 0x1401ebf3b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401ebf40
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401ec065
mov r11d, ntohs
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401ec086
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401ebf79
mov rdx, r9
mov word [rbx], cx
jmp 0x1401ebfa0
cmp r9, r8
jae 0x1401ebfb0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1401ebf5a
jmp 0x1401ec065
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401ec05a
cmp dword [rsp + 0x80], esi
je 0x1401ec05a
lea r8, [0x1402c8200]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401ec032
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401ec002
mov word [rbx], r13w
jmp 0x1401ec062
mov ecx, ntohs
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1401ec00f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401ec062
cmp word [rsp + 0x70], r13w
jne 0x1401ec03f
cmp rbx, r14
je 0x1401ebffc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401ec2a8
cmp word [rsp + 0x70], r13w
je 0x1401ec065
mov ecx, ntohs
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1402c8200]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401ec05f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401ec065

Function at 0x1401ec5ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401ec602
mov al, 1
jmp 0x1401ec662
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401ec613
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401ec660
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401e8fb4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401ec660
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401ec660
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401ec660
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401ec662
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1401f0b10
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401d5a78
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401f0b9a
cmp byte [rbp - 0x21], r15b
je 0x1401f0b95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401f0bd0
call fcn.1401e2c00
test eax, eax
jne 0x1401f0bbc
cmp byte [rbp - 0x21], r15b
je 0x1401f0bb4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401f0bd0
cmp byte [rbp - 0x21], r15b
je 0x1401f0bcd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401dc87c
test eax, eax
jne 0x1401f0c70
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401d5a78
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401f0c0f
cmp byte [rbp - 0x21], r15b
je 0x1401f0c44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401f0c44
call fcn.1401e2c00
test eax, eax
jne 0x1401f0c30
cmp byte [rbp - 0x21], r15b
je 0x1401f0c29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401f0c44
cmp byte [rbp - 0x21], r15b
je 0x1401f0c41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401dc87c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401f0c70
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401f0c73
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401f0c81
mov rcx, rdi
call fcn.1401e46ac
cmp byte [rbp + 0x3f], r15b
je 0x1401f0c90
mov rcx, qword [rbp + 0x27]
call fcn.1401e46ac
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401f0cd8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401f0d22
call fcn.1401dbc84
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1401dbc64
mov dword [rax], ntohs
call fcn.1401e47c4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008b1d0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401f0d2d
lea eax, [rbx + 1]
jmp 0x1401f0d0f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401f0d0d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401f0d0f

Function at 0x1401f3d18
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.1401ec2a8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401ec2a8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401f3e68
cmp rax, 0xffffffffffffffff
je 0x1401f3e68
xor edi, edi
test rbp, rbp
jle 0x1401f3e13
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401e4d84
mov rbx, rax
test rax, rax
jne 0x1401f3da0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401f3e09
mov edx, 0x8000
mov ecx, r14d
call fcn.1401dcd18
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.1401eaa7c
cmp eax, 0xffffffff
je 0x1401f3de9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401f3db0
mov edx, r15d
mov ecx, r14d
call fcn.1401dcd18
jmp 0x1401f3e09
cmp byte [rsi + 0x38], dil
je 0x1401f3e00
cmp dword [rsi + 0x34], 5
jne 0x1401f3e00
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohs
cmp byte [rsi + 0x30], dil
je 0x1401f3e09
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401e46ac
jmp 0x1401f3e7c
jns 0x1401f3e7c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401ec2a8
cmp rax, 0xffffffffffffffff
jne 0x1401f3e34
cmp byte [rsi + 0x30], dil
je 0x1401f3e7c
mov edi, dword [rsi + 0x2c]
jmp 0x1401f3e7c
mov ecx, r14d
call fcn.1401e8fb4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401f3e7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, ntohs
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohs
jmp 0x1401f3e7c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401f3e75
mov eax, dword [rsi + 0x2c]
jmp 0x1401f3e7a
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401ec2a8
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 0x140002fc0
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 0x14000301d
lea rbx, [0x1400b64f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003004
cmp r10, 2
jb 0x140003004
cmp byte [r9], r8b
jne 0x140003004
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 0x140002fe0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000305f
lea rbx, [0x1400b64f0]
cmp r8b, 0x23
jne 0x140003043
cmp byte [r9], r8b
jne 0x140003043
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 0x140003030
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400031aa
mov qword [r8], 0
lea rdx, [0x1400b5f50]
call fcn.140003070
mov rbx, rax
test rax, rax
jne 0x1400031ca
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 0x1400032a1
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 0x1400032a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400032a1
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 0x1400032a1
cmp rdi, 0xffffffffffffffff
je 0x1400032a1
mov rax, qword [0x1400cc200]
test rax, rax
je 0x14000323e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400032a1
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 0x14000328e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cc200]
test rax, rax
je 0x140003283
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400032aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000329c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400032ac
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 0x140010750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400cc200]
mov r8d, ecx
mov rbx, qword [rax + 0x1b98]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x1400b64f0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140010810
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1400107f6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400107fb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140020fd0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140011210
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400cb060]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cc200]
mov edi, edx
cmp byte [rbx + 0x1efd], 0
jne 0x140011270
cmp byte [rbx + 0x1efe], 0
jne 0x140011270
mov r9d, dword [rbx + 0x2f40]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140002eb0
test dil, 1
je 0x1400113a7
jmp 0x1400112ff
movss xmm1, dword [rbx + 0x16f4]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2f40]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400bbc80]
mulss xmm1, dword [0x1400bbc6c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1c64], rax
mov dword [rbx + 0x1c4c], 1
movss dword [rbx + 0x1c5c], xmm0
mov byte [rbx + 0x1c84], 1
movss dword [rbx + 0x1c60], xmm1
movss xmm0, dword [rbx + 0x1750]
mulss xmm0, dword [0x1400bbbe8]
or dword [rbx + 0x1c48], 0x41
movss dword [rbx + 0x1ca8], xmm0
call fcn.140002eb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140011350
lea r11, [0x1400b64f0]
nop
cmp r9b, 0x23
jne 0x140011333
cmp byte [r8], r9b
jne 0x140011333
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140011320
mov rcx, qword [0x1400cc200]
not edx
add rcx, 0x1b80
call fcn.140003600
test rax, rax
je 0x1400113a7
cmp byte [rax + 0xbf], 0
je 0x1400113a7
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2f40]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2f40]
call fcn.140002eb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000cf70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a49c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140015ee0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1400cc200]
cmp byte [rbx + 0x3008], 0
je 0x140015fcc
cmp qword [rbx + 0x3010], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3018]
je 0x140015fb4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140015f5b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140020ea0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400039e0
mov eax, dword [rdi]
lea rcx, [0x1400cc1f8]
mov r9, qword [rbx + 0x3010]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x3020]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400039e0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x140016360
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x1400163b2
lea r11, [0x1400b64f0]
cmp r9b, 0x23
jne 0x140016395
cmp byte [r8], r9b
jne 0x140016395
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 0x140016382
mov r11, qword [0x1400cc200]
mov r10, qword [r11 + 0x2ff0]
test r10, r10
je 0x1400163f9
lea r9, [r10 + 4]
test r9, r9
je 0x1400163f9
not eax
cmp dword [r9], eax
je 0x140016402
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x2fe8]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400163d0
mov rcx, rbx
pop rbx
jmp fcn.140016270
mov rax, r9
pop rbx
ret