joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xc
mov byte [rsp + 0x28], 0x3f
mov byte [rsp + 0x29], 0x2d
mov byte [rsp + 0x2a], 0x2a
mov byte [rsp + 0x2b], 0x30
mov byte [rsp + 0x2c], 0x2e
mov byte [rsp + 0x2d], 0x37
mov byte [rsp + 0x2e], 0x3d
mov byte [rsp + 0x2f], 0xf7
mov byte [rsp + 0x30], 0x2e
mov byte [rsp + 0x31], 0x41
mov byte [rsp + 0x32], 0x2e
mov byte [rsp + 0x33], 0xc9
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001899c], eax
jle 0x1400097ea
lea rcx, [0x14001899c]
call fcn.1400112c4
cmp dword [0x14001899c], 0xffffffff
jne 0x1400097ea
lea rdx, [rsp + 0x28]
lea rcx, [0x140018bd0]
call fcn.14000c100
lea rcx, [0x140013430]
call fcn.1400111d0
nop
lea rcx, [0x14001899c]
call fcn.140011258
lea rax, [0x140018bd0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140010ca0
add rsp, 0x48
ret

Function at 0x140009810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xe
mov byte [rsp + 0x28], 0x3f
mov byte [rsp + 0x29], 0x2d
mov byte [rsp + 0x2a], 0x3c
mov byte [rsp + 0x2b], 0x2e
mov byte [rsp + 0x2c], 0x3b
mov byte [rsp + 0x2d], 0x3f
mov byte [rsp + 0x2e], 0x32
mov byte [rsp + 0x2f], 0x2c
mov byte [rsp + 0x30], 0x2e
mov byte [rsp + 0x31], 0xf7
mov byte [rsp + 0x32], 0x2e
mov byte [rsp + 0x33], 0x41
mov byte [rsp + 0x34], 0x2e
mov byte [rsp + 0x35], 0xc9
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140018a3c], eax
jle 0x1400098d4
lea rcx, [0x140018a3c]
call fcn.1400112c4
cmp dword [0x140018a3c], 0xffffffff
jne 0x1400098d4
lea rdx, [rsp + 0x28]
lea rcx, [0x140018b18]
call fcn.14000bfc0
lea rcx, [0x140013410]
call fcn.1400111d0
nop
lea rcx, [0x140018a3c]
call fcn.140011258
lea rax, [0x140018b18]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140010ca0
add rsp, 0x48
ret
Function at 0x140011a08
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014cb8], rbx
je 0x14000c6c3
cmp rax, rbx
jne 0x14000c6b6
mov ebx, 1
mov esi, ebx
jmp 0x14000c6c8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c69b
mov ebx, 1
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c6e0
mov edi, 0x1f
mov ecx, edi
call fcn.140157000
jmp 0x14000c74c
mov eax, dword [0x140014cc0]
test eax, eax
jne 0x14000c741
mov dword [0x140014cc0], ebx
lea r15, [0x14000eb70]
lea rdi, [0x14000eb58]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c733
test eax, eax
jne 0x14000c737
cmp qword [rdi], r14
je 0x14000c728
mov rax, qword [rdi]
mov rcx, qword [0x14000eb00]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c70a
test eax, eax
je 0x14000c747
mov eax, 0xff
jmp 0x14000c8a0
mov dword [0x140014400], ebx
mov edi, 0x1f
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c773
lea rdx, [0x14000eb50]
lea rcx, [0x14000eb18]
call sub.msvcrt.dll__initterm
mov dword [0x140014cc0], 2
test esi, esi
jne 0x14000c781
mov rax, r14
xchg qword [0x140014cb8], rax
cmp qword [0x140014cd8], r14
je 0x14000c7b4
lea rcx, [0x140014cd8]
call fcn.14000cc80
test eax, eax
je 0x14000c7b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014cd8]
mov r9, qword [0x14000eb00]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c7cd
mov eax, 0xff
jmp 0x14000c8a0
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000c851
cmp word [rcx], r14w
je 0x14000c7e6
test edx, edx
jne 0x14000c851
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000c7fc
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7e6
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400018e8
mov dword [0x1400143fc], eax
cmp dword [0x140014420], r14d
jne 0x14000c83a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014400], r14d
jne 0x14000c84f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143fc]
jmp 0x14000c8a0
cmp word [rcx], 0x22
jne 0x14000c865
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7d6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000cd00
add rsp, 0x28
jmp 0x14000c65c
Function at 0x14000cb90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000cbdc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000cbd4
cmp dword [rcx + 0x3c], edx
jl 0x14000cbd4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000cbd4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000cbdc
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14015513e
Capabilities:
Encode data using xor

Disassembly:
invalid
jge 0x1401550f0
lodsd eax, dword [rsi]
xor byte [rsi + 0x6e], bh
sbb eax, 0x9a3317a7
mov ch, 0x3d
pop rcx
stosd dword [rdi], eax
xor ebx, dword [rdx - 0x54a6c24b]
push 0xffffffffda92440e
xchg edx, eax
je 0x140155147
mov ah, 0x9a
nop
sbb eax, 0x97698ec7
hlt
Function at 0x180008000
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
stc
sbb rax, 0xffffffffa13e572c
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0x30], rcx
movzx eax, r11w
btc ax, 0xb6
mov eax, dword [rsp + 0x3c]
stc
cmp dx, r10w
cmp r15w, 0xe193
sub eax, 1
jmp 0x18000803a
jne 0x180008097
jmp 0x180008045
xor eax, eax
mov r9d, eax
lea r8, [0x180001070]
xor eax, eax
movsx ecx, r15w
mov ch, ch
movzx rdx, r8w
mov rcx, r9
mov rdx, r9
jmp 0x180008068
mov dword [rsp + 0x20], 0
jmp 0x180008075
mov qword [rsp + 0x28], 0
jmp 0x180008083
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
jmp 0x180008091
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
test ebp, 0x59926b2
cmp r13b, r15b
add rsp, 0x48
ret
Function at 0x18000b5f9
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x18], rbx
cmc
push rbp
movsxd rax, r14d
and rbp, 0x4aae4409
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x180005040]
and bl, 0x1f
sar bx, cl
movabs rbx, 0x2b992ddfa232
test r13, 0x10a07822
cmp rax, rbx
jmp 0x18000b637
jne 0x18000b711
and qword [rbp + 0x10], 0
movsx cx, cl
setge cl
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x10], rax
jmp 0x18000b660
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
xor qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
lea rcx, [rbp + 0x18]
cmc
xor qword [rbp - 0x10], rax
jmp 0x18000b682
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp + 0x18]
or cx, 0x501e
stc
bsr cx, bx
lea rcx, [rbp - 0x10]
test bh, 0x2b
cmp r14d, 0x5c3eccae
shl rax, 0x20
xor rax, qword [rbp + 0x18]
jmp 0x18000b6b2
xor rax, qword [rbp - 0x10]
movzx rbp, r12w
movsx rbp, r10w
xor rax, rcx
xor bpl, dl
movabs rcx, 0xffffffffffff
bt rbp, rdx
and rax, rcx
clc
adc ch, 0xb
btc bp, cx
movabs rcx, 0x2b992ddfa233
test r9w, cx
xor bp, 0x3abe
xor bpl, r12b
cmp rax, rbx
cmove rax, rcx
movzx ebx, r8w
rcl rbx, cl
sar bl, cl
mov qword [0x180005040], rax
movsx ebx, r9w
adc bpl, r15b
mov rbx, qword [rsp + 0x50]
adc bpl, r9b
cmovge bp, dx
ror bp, cl
not rax
mov qword [0x180005080], rax
dec bpl
sub bpl, sil
bts bp, bp
add rsp, 0x30
cmovno ebp, esp
pop rbp
jmp 0x18000b741
ret

Function at 0x18000b762
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
adc r8w, r12w
lahf
mov r8, rcx
bsf rax, r13
and eax, 0x443a0d3e
mov eax, 0x5a4d
cmp ah, 0x9b
cmp al, spl
clc
cmp word [0x180000000], ax
jmp 0x18000b78f
jne 0x18000b8b9
movsxd rcx, dword [0x18000003c]
bswap edx
rcl dh, 0xbb
lea rdx, [0x180000000]
add rcx, rdx
cmp esi, 0xc911991b
cmp dword [rcx], 0x4550
jmp 0x18000b7bc
jne 0x18000b8b9
mov eax, 0x20b
test rbx, rsi
cmp r14w, dx
cmc
cmp word [rcx + 0x18], ax
jmp 0x18000b7d8
jne 0x18000b8b9
sub r8, rdx
movzx rdx, r8w
rol r9b, 0x93
sal dx, 0xbd
movzx edx, word [rcx + 0x14]
add rdx, 0x18
movzx r9d, r15w
btc rax, 0xf
add rdx, rcx
movzx eax, word [rcx + 6]
bt r9, 0x82
movsxd r9, r8d
lea rcx, [rax + rax*4]
rol r9d, cl
movzx r9d, r10w
lea r9, [rdx + rcx*8]
cmc
clc
mov qword [rsp], rdx
cmp rdx, r9
je 0x18000b875
mov ecx, dword [rdx + 0xc]
jmp 0x18000b837
cmp r8, rcx
jb 0x18000b867
mov eax, dword [rdx + 8]
cmp cl, r9b
test r9, 0xffffffff86b85fb7
add eax, ecx
test cl, r12b
stc
test ecx, 0x4fa3e791
cmp r8, rax
jmp 0x18000b861
jb 0x18000b878
add rdx, 0x28
jmp 0x18000b870
jmp 0x18000b81e
sub edx, edx
stc
test rdx, rdx
jmp 0x18000b880
jne 0x18000b892
xor al, al
jmp 0x18000b88d
jmp 0x18000b8ca
cmp dword [rdx + 0x24], 0
jmp 0x18000b89b
jge 0x18000b8ad
xor al, al
jmp 0x18000b8a8
jmp 0x18000b8ca
mov al, 1
jmp 0x18000b8b4
jmp 0x18000b8ca
xor al, al
jmp 0x18000b8c0
jmp 0x18000b8ca
add rsp, 0x18
ret
Function at 0x14001123f
Capabilities:
Terminate process

Disassembly:
jmp 0x140013830
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112da
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014b80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ba0
xor al, al
jmp 0x140014c21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014bb3
xor al, al
jmp 0x140014c21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014bdd
xor al, al
jmp 0x140014c21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014bf1
xor al, al
jmp 0x140014c21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014c03
xor al, al
jmp 0x140014c21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014c1f
xor al, al
jmp 0x140014c21
mov al, 1
add rsp, 0x38
ret
Function at 0x1400128d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001140b
movzx eax, al
test eax, eax
jne 0x1400128f0
mov ecx, 7
call fcn.14001137f
nop
mov byte [rsp + 0x20], 0
call fcn.140011393
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012914
mov ecx, 7
call fcn.14001137f
nop
jmp 0x14001296c
cmp dword [0x14001d868], 0
jne 0x140012967
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111ea
test eax, eax
je 0x140012948
mov eax, 0xff
jmp 0x140012a71
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011389
mov dword [0x14001d868], 2
jmp 0x14001296c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001136b
call fcn.1400112fd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400129c9
mov rcx, qword [rsp + 0x30]
call fcn.140011195
movzx eax, al
test eax, eax
je 0x1400129c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.14001132f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400129fd
mov rcx, qword [rsp + 0x38]
call fcn.140011195
movzx eax, al
test eax, eax
je 0x1400129fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113ca
nop
call fcn.140012b20
mov dword [rsp + 0x28], eax
call fcn.1400112da
movzx eax, al
test eax, eax
jne 0x140012a1c
mov ecx, dword [rsp + 0x28]
call fcn.140011064
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012a2b
call fcn.1400113d4
nop
xor edx, edx
mov cl, 1
call fcn.140011181
mov eax, dword [rsp + 0x28]
jmp 0x140012a71
add rsp, 0x68
ret
Function at 0x180008ba0
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 0x180008bfd
lea rbx, [0x18003e2e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180008be4
cmp r10, 2
jb 0x180008be4
cmp byte [r9], r8b
jne 0x180008be4
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 0x180008bc0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180008c3f
lea rbx, [0x18003e2e0]
cmp r8b, 0x23
jne 0x180008c23
cmp byte [r9], r8b
jne 0x180008c23
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 0x180008c10
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180008d80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180008d9a
mov qword [r8], 0
lea rdx, [0x18003e03c]
call fcn.180008c50
mov rbx, rax
test rax, rax
jne 0x180008dba
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 0x180008e93
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180008e93
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180008e93
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 0x180008e93
cmp rdi, 0xffffffffffffffff
je 0x180008e93
mov rax, qword [0x18004d020]
test rax, rax
je 0x180008e30
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180008e93
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 0x180008e80
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18004d020]
test rax, rax
je 0x180008e75
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180008e9c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180008e8e
mov qword [r14], rdi
mov rax, rsi
jmp 0x180008e9e
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 0x18000aaf0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x18003e2e0]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x18004d020]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x18000ab7c
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x18000ab8b
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x18000aba2
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001bc90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180015c80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18004c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18004d020]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x180015ce1
cmp byte [rbx + 0x41ce], 0
jne 0x180015ce1
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180008b20
test dil, 1
je 0x180015e08
jmp 0x180015d6c
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180043178]
mov edx, 0x10
mulss xmm1, dword [0x18004316c]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x1800430f0]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.180008b20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180015dc0
lea r11, [0x18003e2e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180015da3
cmp byte [r8], r9b
jne 0x180015da3
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 0x180015d90
not ecx
call fcn.18000f600
test rax, rax
je 0x180015e08
cmp byte [rax + 0x8e], 0
je 0x180015e08
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.180008b20
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180011cb0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003a320
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18001a9e0
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001aa87
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001aa3a
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.18001ca50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800091e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18004d018]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001aa8f
mov rcx, rbx
call fcn.1800091e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180036c60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180036c88
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180036cae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180036cb0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180036d09
test ecx, ecx
jle 0x180036ce9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180036d09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180036d09
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x180036d30
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180036d52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180036d68
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180036d84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180036d86
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180036dc2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180036e5e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180036dfd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180036e3e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180036e5e
cmp rbx, rax
ja 0x180036e10
test rbx, rbx
je 0x180036e5e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret