joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112da
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400118f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x1400240a4]
call fcn.1400113a7
nop
mov dword [rbp + 0x2a4], 0
xor edx, edx
mov ecx, 2
call fcn.1400111ae
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001196c
lea rcx, str._X__ERROR:_Invalid_Handle_Value_for_process_snapshot_handle..._n
call fcn.14001119f
nop
xor eax, eax
jmp 0x1400119d5
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011249
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0
je 0x1400119c4
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x1400119af
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x2a4], eax
jmp 0x1400119c4
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011361
mov dword [rbp + 0x284], eax
jmp 0x140011986
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x2a4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac80]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400128c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x1400128e0
mov ecx, 7
call fcn.140011343
nop
mov byte [rsp + 0x20], 0
call fcn.14001135c
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012904
mov ecx, 7
call fcn.140011343
nop
jmp 0x14001295c
cmp dword [0x14001e868], 0
jne 0x140012957
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a4
test eax, eax
je 0x140012938
mov eax, 0xff
jmp 0x140012a61
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011352
mov dword [0x14001e868], 2
jmp 0x14001295c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132f
call fcn.1400112c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400129b9
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x1400129b9
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 [0x140025020]
nop
call fcn.1400112f8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400129ed
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x1400129ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001138e
nop
call fcn.140012b10
mov dword [rsp + 0x28], eax
call fcn.14001129e
movzx eax, al
test eax, eax
jne 0x140012a0c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012a1b
call fcn.140011398
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140012a61
add rsp, 0x68
ret
Function at 0x140001a60
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002930
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002930
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140001ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400070a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001c80
mov rax, qword [0x1400070a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140001b1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001ba7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001b00
mov rcx, r12
call fcn.140002580
mov rbp, rax
test rax, rax
je 0x140001cdd
mov rax, qword [0x1400070a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.1400026b0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400070a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001cc2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001ba0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001c30
add dword [0x1400070a4], 1
cmp ebx, 8
jae 0x140001bd8
test bl, 4
jne 0x140001c90
test ebx, ebx
je 0x140001bc9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001cb0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140001bc9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140001c0a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400070a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001a60
xor edi, edi
jmp 0x140001b27
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140001bc9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140001bc9
mov rax, qword [0x1400070a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140001a60
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001a60
nop
nop dword [rax]
Function at 0x1400021f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140007100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140002244
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000223b
test r12, r12
je 0x14000223b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002220
lea rcx, [0x140007100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002580
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140004360]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1400025f9
mov rcx, r10
call fcn.140002450
test eax, eax
je 0x1400025f9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1400025f6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400025ed
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1400025f9
add r8, 0x28
cmp r8, r9
jne 0x1400025d8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140028e80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140028e8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140028e9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140028e85
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140028eb5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140028ea2
sub eax, 3
jb 0x140028ecf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140028f06
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140028ef6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140028ef4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140028ee3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140028e42
jmp 0x140028e8d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x17000
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140028f52
cmp rsi, rcx
jae 0x140028f5a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140028f39
cmp al, 0x8f
ja 0x140028f39
cmp byte [rsi - 2], 0xf
je 0x140028f3f
sub al, 0xe8
cmp al, 1
ja 0x140028f23
cmp rsi, rcx
jae 0x140028f5a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140028f29
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140028f5a
lodsb al, byte [rsi]
jmp 0x140028f39
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x25000]
mov eax, dword [rdi]
or eax, eax
je 0x140028fb7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x29770]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140028f67
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140028fb1
mov qword [rbx], rax
add rbx, 8
jmp 0x140028f87
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140028ff1
cmp al, 0xef
ja 0x140028fe3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140028fc3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140028fd2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140029045
sub rsp, 0xffffffffffffff80
jmp 0x140005e1c
Function at 0x14126920c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141269216
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14126923f
pop rbp
sub rbp, 0x33
sub rbp, 0x126920c
sub rsp, 0x20
jmp 0x14126925e
mov rax, 0x126920c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffea50f473
xor byte [rax], dl
inc rax
dec rcx
jne 0x14126927d
jmp 0x141269294
cmp edi, edx
invalid
Function at 0x1419de058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1419de1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1419de089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419de06f
add dl, dl
jne 0x1419de096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419de0f6
xor eax, eax
add dl, dl
jne 0x1419de0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419de1ad
add dl, dl
jne 0x1419de0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419de0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419de0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419de0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1419de0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1419de07e
mov eax, 1
add dl, dl
jne 0x1419de106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419de113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419de0fb
sub eax, ebx
mov ebx, 1
jne 0x1419de14c
mov ecx, 1
add dl, dl
jne 0x1419de12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1419de13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419de123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419de07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1419de168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1419de175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419de15d
cmp eax, 0x7d00
jae 0x1419de19b
cmp eax, 0x500
jb 0x1419de196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419de07e
cmp eax, 0x7f
ja 0x1419de19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419de07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1419de1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1419de07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140016095
Capabilities:
Terminate process

Disassembly:
jmp 0x14003abd0
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 0x1400164d2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140039ea0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140039ec0
xor al, al
jmp 0x140039f41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140039ed3
xor al, al
jmp 0x140039f41
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 0x140039efd
xor al, al
jmp 0x140039f41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140039f11
xor al, al
jmp 0x140039f41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140039f23
xor al, al
jmp 0x140039f41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140039f3f
xor al, al
jmp 0x140039f41
mov al, 1
add rsp, 0x38
ret
Function at 0x140016fa9
Capabilities:
Print debug messages

Disassembly:
jmp 0x14003c494
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14001667b
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1400599b0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140015e06
test eax, eax
jne 0x14003c52b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14003c52b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14003c524
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140066ab4], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140037ba0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140017017
movzx eax, al
test eax, eax
jne 0x140037bc0
mov ecx, 7
call fcn.140016932
nop
mov byte [rsp + 0x20], 0
call fcn.1400169c8
mov byte [rsp + 0x21], al
cmp dword [0x140066c90], 1
jne 0x140037be4
mov ecx, 7
call fcn.140016932
nop
jmp 0x140037c3c
cmp dword [0x140066c90], 0
jne 0x140037c37
mov dword [0x140066c90], 1
lea rdx, [0x140048a98]
lea rcx, [0x140048768]
call fcn.140015e1a
test eax, eax
je 0x140037c18
mov eax, 0xff
jmp 0x140037d41
lea rdx, [0x140048658]
lea rcx, [section..rdata]
call fcn.1400169aa
mov dword [0x140066c90], 2
jmp 0x140037c3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400168e7
call fcn.140016595
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140037c99
mov rcx, qword [rsp + 0x30]
call fcn.140015ba4
movzx eax, al
test eax, eax
je 0x140037c99
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 [0x140075020]
nop
call fcn.1400166d5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140037ccd
mov rcx, qword [rsp + 0x38]
call fcn.140015ba4
movzx eax, al
test eax, eax
je 0x140037ccd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140016d92
nop
call fcn.140037df0
mov dword [rsp + 0x28], eax
call fcn.1400164d2
movzx eax, al
test eax, eax
jne 0x140037cec
mov ecx, dword [rsp + 0x28]
call fcn.14001520d
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140037cfb
call fcn.140016df6
nop
xor edx, edx
mov cl, 1
call fcn.140015aeb
mov eax, dword [rsp + 0x28]
jmp 0x140037d41
add rsp, 0x68
ret
Function at 0x140004470
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 0x1400044cd
lea rbx, [0x1400b9220]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400044b4
cmp r10, 2
jb 0x1400044b4
cmp byte [r9], r8b
jne 0x1400044b4
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 0x140004490
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000450f
lea rbx, [0x1400b9220]
cmp r8b, 0x23
jne 0x1400044f3
cmp byte [r9], r8b
jne 0x1400044f3
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 0x1400044e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400046d0
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 0x1400046ee
mov qword [r8], r14
lea rdx, [0x1400b8d00]
call fcn.140004520
mov rbx, rax
test rax, rax
jne 0x140004713
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 0x14000483d
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 0x14000483d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000483d
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 0x14000483d
cmp rdi, 0xffffffffffffffff
je 0x14000483d
mov rcx, rdi
call fcn.140008e50
mov rbp, rax
test rax, rax
je 0x14000483d
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 0x14000482a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14019e2a0]
test r8, r8
je 0x14000481f
movsx rdx, word [r8 + 0x6218]
lea rcx, [r8 + 0x621c]
mov r9d, dword [r8 + 0x3fb8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140004814
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 + 0x6218], cx
movsx rax, cx
lea rcx, [r8 + 0x621c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6214]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004846
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140004838
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140004848
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 0x14000c010
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400d5028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x14019e2a0]
mov r9, r8
mov edi, dword [rsp + 0x90]
mov r14d, edx
mov eax, edi
mov r10, rcx
and eax, 0x40000000
mov rbx, qword [rsi + 0x4070]
bts eax, 0x1d
mov r8d, dword [rsi + 0x4a80]
shr eax, 0x1d
mov r15d, eax
bts r15d, 8
test edi, edi
cmovns r15d, eax
mov eax, dword [rbx + 0x14]
and eax, 4
mov dword [rsi + 0x4ab8], r15d
or eax, 0x1000103
bts r8d, 8
or edi, eax
mov dword [rsi + 0x4a80], r8d
cmp qword [rbx + 0x1c0], 0
jne 0x14000c0b6
cmp qword [rsi + 0x4e80], 0
mov eax, 0x268
je 0x14000c0bb
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r9]
call fcn.140015ad0
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r8d, 2
movsd qword [rsi + 0x4aa0], xmm0
xor edx, edx
mov dword [rsi + 0x4a80], r8d
mov dword [rsi + 0x4a88], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000c12e
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.1400042d0
jmp 0x14000c13f
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.1400042d0
mov rcx, qword [rsp + 0x30]
mov r8d, edi
movss xmm6, dword [rsi + 0x3928]
xor edx, edx
call fcn.14000f1f0
mov rdi, qword [rsi + 0x4070]
movzx ebp, al
movss dword [rsi + 0x3928], xmm6
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x14000c186
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x1400b8071]
not r9d
lea r10, [0x1400b9220]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000c1b3
cmp byte [rdx], r8b
jne 0x14000c1b3
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 0x14000c1a0
not ebx
cmp dword [rsi + 0x40dc], ebx
jne 0x14000c1e3
xor edx, edx
xor ecx, ecx
call fcn.1400087f0
cmp dword [rsi + 0x4bac], r14d
jne 0x14000c230
bt r15d, 8
jb 0x14000c230
cmp word [rdi + 0x174], 0
jne 0x14000c206
cmp byte [rdi + 0x17a], 0
je 0x14000c230
xor edx, edx
mov rcx, rdi
call fcn.140011a90
xor edx, edx
mov rcx, rdi
call fcn.140018510
mov rdx, rdi
mov ecx, ebx
call fcn.1400087f0
mov eax, dword [rsi + 0x4be0]
mov dword [rsi + 0x4108], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140093620
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret