joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002169
mov r10, qword [rcx + 0x20]
mov r9, qword [rcx + 0x18]
mov rax, r10
mov rdx, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
mov rcx, r9
rol rax, 0x12
rol rcx, 0xc
add rax, rcx
mov rcx, r8
rol rcx, 7
add rax, rcx
mov rcx, rdx
imul rdx, rbp
imul r8, rbp
imul r9, rbp
imul r10, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 1
add rax, rcx
rol r8, 0x1f
xor rax, rdx
rol r9, 0x1f
imul rax, rsi
imul r8, rsi
imul r9, rsi
sub rax, r15
rol r10, 0x1f
xor rax, r8
imul rax, rsi
imul r10, rsi
sub rax, r15
xor rax, r9
imul rax, rsi
sub rax, r15
xor rax, r10
imul rax, rsi
sub rax, r15
jmp 0x140002170
mov rax, qword [rcx + 0x18]
add rax, r14
add rax, rdi
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x1400021aa
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002180
lea rdx, [r11 + 4]
movabs r9, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021d5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r9
xor edx, edx
mov r8, rbx
sub r8, r11
cmp r11, rbx
cmova r8, rdx
test r8, r8
je 0x14000220f
nop dword [rax]
movzx ecx, byte [r11]
lea r11, [r11 + 1]
imul rcx, r14
inc rdx
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp rdx, r8
jb 0x1400021f0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r9
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a8f0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x14000a992
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a94d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a940
cmp rcx, 1
jb 0x14000a9c3
mov byte [rsp + 0x20], dl
or rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a960
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14000dc64
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000a930
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000bc80
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14000d970
int3
Function at 0x14000ab50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000ab95
xor al, al
jmp 0x14000abe2
cmp word [rbx], 0
je 0x14000abad
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000aba0
cmp word [rsp + 0x30], 0
je 0x14000abdb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000ac03
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000abc0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000bc80
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000d970
int3
Function at 0x14000b290
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x14000b323
push rbx
push rbp
sub rsp, 0x38
mov qword [rsp + 0x50], rsi
mov rbx, rdx
mov qword [rsp + 0x60], rdi
mov rbp, rcx
mov qword [rsp + 0x30], r14
xor r14d, r14d
nop word [rax + rax]
mov edi, 0x8000
lea rcx, [0x140031da0]
cmp rbx, rdi
cmovbe edi, ebx
movsxd rsi, edi
mov rdx, rsi
call fcn.14000b150
cmp rbp, 0xffffffffffffffff
je 0x14000b309
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], r14d
mov r8d, edi
mov qword [rsp + 0x20], r14
lea rdx, [0x140031da0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b324
sub rbx, rsi
jne 0x14000b2c0
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
add rsp, 0x38
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
call fcn.14000b010
int3

Function at 0x14000b340
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001c910
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002ad3c]
lea rsi, [0x14002cd90]
mov rdi, rcx
test r11d, r11d
jne 0x14000b3b9
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000ac10
test al, al
je 0x14000b499
lea rcx, [rsp + 0x20]
call fcn.14001138c
movsxd r11, dword [0x14002ad3c]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002ad3c], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000b3f8
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000b3e4
add rax, 2
test ecx, ecx
jne 0x14000b3d0
test edx, edx
je 0x14000b495
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000b3c4
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000b400
cmp rax, 2
jne 0x14000b417
cmp word [rdi + 2], 0x3a
je 0x14000b495
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x14000b442
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b469
mov bl, 1
cmp dword [0x14002ad3c], 0x400
jge 0x14000b469
mov rcx, rdi
call fcn.14001138c
movsxd rdx, dword [0x14002ad3c]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002ad3c], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000bc80
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
mov al, 1
jmp 0x14000b474
mov ecx, 2
call fcn.14000dda0
mov rcx, rax
lea r8, str.HOME
lea rdx, str.Error__couldnt_runtime_expand_spec__ls._n
call fcn.140001010
call fcn.14000d970
int3
Function at 0x14000b5d0
Capabilities:
Check if file exists
Delete file

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, 0x60
xor edi, edi
mov dword [rax - 0x40], 3
lea rbp, [0x1400255c8]
mov qword [rax - 0x48], rdi
lea rsi, [0x14002ad60]
mov qword [rax - 0x30], rbp
mov r14d, 0x414
mov qword [rax - 0x38], rsi
lea rcx, [rax - 0x48]
mov word [rax - 0x28], r14w
mov dword [rax - 0x24], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b68a
test al, 0x10
je 0x14000b68a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b630
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sub rsp, 0x28
mov rcx, qword [0x14002cd60]
test rcx, rcx
je 0x14000b6eb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b6de
mov rcx, qword [0x14002cd60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002cd60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002ad38], 0
je 0x14000b6fd
add rsp, 0x28
jmp 0x14000b5d0
add rsp, 0x28
ret
Function at 0x14000b6b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

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, 0x60
xor edi, edi
mov dword [rax - 0x40], 3
lea rbp, [0x1400255c8]
mov qword [rax - 0x48], rdi
lea rsi, [0x14002ad60]
mov qword [rax - 0x30], rbp
mov r14d, 0x414
mov qword [rax - 0x38], rsi
lea rcx, [rax - 0x48]
mov word [rax - 0x28], r14w
mov dword [rax - 0x24], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b68a
test al, 0x10
je 0x14000b68a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b630
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sub rsp, 0x28
mov rcx, qword [0x14002cd60]
test rcx, rcx
je 0x14000b6eb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b6de
mov rcx, qword [0x14002cd60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002cd60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002ad38], 0
je 0x14000b6fd
add rsp, 0x28
jmp 0x14000b5d0
add rsp, 0x28
ret
Function at 0x1400039c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003a12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003a12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003a12
cmp dword [rcx + 0x84], 0xe
jbe 0x140003a12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003a14
xor al, al
add rsp, 0x28
ret
Function at 0x1400037b0
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 0x14000380d
lea rbx, [0x1400cde50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400037f4
cmp r10, 2
jb 0x1400037f4
cmp byte [r9], r8b
jne 0x1400037f4
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 0x1400037d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000384f
lea rbx, [0x1400cde50]
cmp r8b, 0x23
jne 0x140003833
cmp byte [r9], r8b
jne 0x140003833
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 0x140003820
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a10
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 0x140003a2e
mov qword [r8], r14
lea rdx, [0x1400cd980]
call fcn.140003860
mov rbx, rax
test rax, rax
jne 0x140003a53
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.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003b7d
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 0x140003b7d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003b7d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b7d
cmp rdi, 0xffffffffffffffff
je 0x140003b7d
mov rcx, rdi
call fcn.140007880
mov rbp, rax
test rax, rax
je 0x140003b7d
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 0x140003b6a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140163780]
test r8, r8
je 0x140003b5f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003b54
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003b86
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003b78
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003b88
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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 0x140007370
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1400cde50]
mov rax, qword [rcx + 0x108]
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 + 0x404c], ebx
jne 0x140007406
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001b070
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000aaa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401200c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140163780]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a00]
mov rbx, qword [rdi + 0x4000]
bts r9d, 8
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a38], 1
cmp qword [rbx + 0x1b8], 0
jne 0x14000ab17
cmp qword [rdi + 0x4e18], 0
mov eax, 0x260
je 0x14000ab1c
mov eax, 0x230
movss xmm2, dword [rax + rbx]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rax + rbx + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.140013d60
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a20], xmm0
xor edx, edx
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a08], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000ab8e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140003610
jmp 0x14000ab9e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.140003610
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.14000dbe0
mov rsi, qword [rdi + 0x4000]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x14000abe8
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1400ccd01]
not r9d
lea r10, [0x1400cde50]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14000ac15
cmp byte [rdx], r8b
jne 0x14000ac15
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000ac02
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x14000ac45
xor edx, edx
xor ecx, ecx
call fcn.140007410
cmp dword [rdi + 0x4b38], ebp
jne 0x14000ac8a
cmp word [rsi + 0x16c], 0
jne 0x14000ac60
cmp byte [rsi + 0x172], 0
je 0x14000ac8a
xor edx, edx
mov rcx, rsi
call fcn.1400103b0
xor edx, edx
mov rcx, rsi
call fcn.140016450
mov rdx, rsi
mov ecx, ebx
call fcn.140007410
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b8a40
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x140014a80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401200c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140163780]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140014ae1
cmp byte [rbx + 0x4d4e], 0
jne 0x140014ae1
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003590
test dil, 2
je 0x140014c0f
jmp 0x140014b6a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14010ddac]
mulss xmm1, dword [0x14010dda0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x14010dd28]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140003590
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014bc0
lea r11, [0x1400cde50]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014ba3
cmp byte [r8], r9b
jne 0x140014ba3
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 0x140014b90
not ecx
call fcn.14000afa0
test rax, rax
je 0x140014c0f
cmp byte [rax + 0xbe], 0
je 0x140014c0f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003590
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000dbe0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b8a40
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019960
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 + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019a07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400199ba
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.14001c120
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004150
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140163778]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140019a0f
mov rcx, rbx
call fcn.140004150
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019c70
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 [0x140163780]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x140019d4f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140019d48
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003a10
mov rsi, rax
test rax, rax
je 0x140019d48
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140019cd4
mov rcx, rax
call fcn.140019ea0
mov r8, qword [0x140163780]
test r8, r8
je 0x140019d3f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140019d34
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140019dde
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x140019dde
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140019dd1
mov rax, qword [0x140163780]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001a100
lea rdx, [0x1400cd984]
mov rcx, rdi
mov rsi, rax
call fcn.140003860
mov rdi, rax
test rax, rax
je 0x140019dd8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140019dd8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140019e00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140163780]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019e63
mov qword [rsp], rbx
lea rbx, [0x1400cde50]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019e43
cmp byte [r8], r9b
jne 0x140019e43
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 0x140019e30
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140019e8f
cmp dword [r8 + 8], eax
je 0x140019e96
add r8, 0x48
cmp r8, rcx
jne 0x140019e80
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret