joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmc
cmp esi, dword [rbp - 1]
cmc
cmp al, 0x75
push rbp
cmp al, 0x74
push rbp
cmp eax, 0x3df5ff74
je 0x14003f62f
push rbp
cmc
jae 0x14003f633
push rbp
cmc
invalid
cmc
jo 0x14003f653
push rbp
cmc
jo 0x14003f657
push rbp
cmc
outsd dx, dword [rsi]
push rbp
outsd dx, dword [rsi]
push rbp
outsd dx, dword [rsi]
push rbp
outsb dx, byte [rsi]
outsb dx, byte [rsi]
outsb dx, byte [rsi]
push rbp
outsb dx, byte [rsi]
push rbp
insd dword [rdi], dx
push rbp
insd dword [rdi], dx
push rbp
insd dword [rdi], dx
push rbp
cmc
cmc
insb byte [rdi], dx
push rbp
insb byte [rdi], dx
push rbp
imul rdi, rdi, 0xfffffffffffffff5
imul rdi, r15, 0xfffffffffffffff5
cmc
cmc
push 0xffffffffffffffff
cmc
push 0xffffffffffffffff
cmc
imul r15, r15, 0xffffffffff694ef5
cmc
imul r15, rdi, 0xffffffffff684ff5
cmc
push rax
push 0x6751f5ff
push rbp
push rbp
push rcx
push rbp
push rdx
push bp
cmc
push rbx
push bp
push rbx
push rbp
push rsp
push rbp
push rbp
push rbp
push rsi
push rbp
push rsi
invalid
Function at 0x140001f3b
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [fcn.1400195b0]
xor ebx, ebx
mov rdi, rcx
mov rbp, rdx
cmp rbx, rbp
jl 0x140001f93
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x14001b15c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x140019b98
mov r12, qword [rdi + rbx*8]
mov ecx, 1
inc rbx
call rsi
xor r8d, r8d
mov rcx, rax
mov rdx, r12
call fcn.140001dda
jmp 0x140001f54

Function at 0x14000235b
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x14000237a
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140019b98
jmp qword [sym.imp.msvcrt.dll_fflush]

Function at 0x140003bc3
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov ecx, 2
call qword [fcn.1400195b0]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp 0x140019b98
Function at 0x140010b5a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor eax, eax
mov qword [rsp + 0xb0], rcx
lea rcx, [0x1404ef340]
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0x5c], eax
call fcn.140008930
xor edx, edx
xor r9d, r9d
mov r8d, 1
mov rcx, rax
mov rax, qword [str.0fP_]
mov qword [rsp + 0x30], rdx
mov edx, 0x80000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [rax]
xor edx, edx
mov rcx, rax
mov rsi, rax
mov rax, qword [0x1404efc80]
call qword [rax]
mov edi, eax
mov rax, qword [0x1404efcb0]
call qword [rax]
xor edx, edx
movsxd r8, edi
mov rcx, rax
mov rax, qword [0x1404efca0]
call qword [rax]
xor ecx, ecx
lea r9, [rsp + 0x5c]
mov r8d, edi
mov rbx, rax
mov rdx, rax
mov rax, qword [0x1404efc90]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [rax]
movsxd rsi, dword [rbx + 0x3c]
add rsi, rbx
jno 0x140010c19
call fcn.140003c02
movzx eax, word [rsi + 0x14]
lea r13, [rsi + 0x18]
mov r12d, dword [rsi + 0x88]
add rax, r13
mov qword [rsp + 0x40], rax
jno 0x140010c37
call fcn.140003c02
mov rbp, qword [rsp + 0x40]
xor r14d, r14d
lea r15, [0x1404ef310]
cmp r14w, word [rsi + 6]
jb 0x140010c66
movsxd rcx, r12d
add rcx, rbx
jno 0x140010caf
mov qword [rsp + 0x48], rcx
call fcn.140003c02
mov rcx, qword [rsp + 0x48]
jmp 0x140010caf
movzx eax, word [rsi + 0x14]
add rax, r13
mov qword [rsp + 0x48], rax
jno 0x140010c79
call fcn.140003c02
imul edi, r14d, 0x28
movzx edi, di
add rdi, qword [rsp + 0x48]
jno 0x140010c8c
call fcn.140003c02
mov edx, 8
mov rcx, rdi
call fcn.140010a98
mov rdx, r15
mov rcx, rax
call fcn.14000875f
test al, al
cmovne rbp, rdi
inc r14d
jmp 0x140010c46
mov rdx, rbp
call fcn.140010b28
movsxd rcx, dword [rax + 0x20]
mov r13, rax
add rcx, rbx
jno 0x140010cd2
mov qword [rsp + 0x48], rcx
call fcn.140003c02
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.140010b28
movsxd rcx, dword [r13 + 0x1c]
mov r14, rax
add rcx, rbx
jno 0x140010cf5
mov qword [rsp + 0x48], rcx
call fcn.140003c02
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
xor edi, edi
call fcn.140010b28
mov r15, rax
cmp dword [r13 + 0x18], edi
jle 0x140010dbe
movsxd rdx, edi
mov rcx, r14
call fcn.1400089af
mov rdx, rbp
movsxd rcx, dword [rax]
add rcx, rbx
jno 0x140010d34
mov qword [rsp + 0x48], rcx
call fcn.140003c02
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.140010b28
inc edi
mov rcx, r15
movsxd rdx, edi
mov r12, rax
call fcn.1400089af
movsxd rcx, dword [rax]
add rcx, rbx
jno 0x140010d60
mov qword [rsp + 0x48], rcx
call fcn.140003c02
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140010b28
mov rdx, qword [rsp + 0xb0]
mov rcx, r12
mov rsi, rax
mov rax, qword [str._bfP_]
call qword [rax]
test eax, eax
jne 0x140010d02
mov rcx, qword [0x14001a070]
test rcx, rcx
jns 0x140010da6
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.140004d12
mov rcx, qword [0x14001a070]
mov rdi, qword [rsp + 0xb8]
mov eax, 1
rep movsb byte [rdi], byte [rsi]
jmp 0x140010dc0
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14001155b
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140011584
cmp word [rcx], 0x5a4d
jne 0x140011584
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x140011584
call fcn.1400089d3
cmp dword [rax], 0x4550
je 0x140011586
xor eax, eax
add rsp, 0x28
ret

Function at 0x140013810
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.1400195b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400195b0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140013880
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140507c94]
mov rbx, rcx
test esi, esi
jle 0x1400139b0
mov rax, qword [0x140507c98]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400138cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140013955
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400138b0
mov rcx, rbx
call fcn.1400142d0
mov rdi, rax
test rax, rax
je 0x1400139d2
mov rax, qword [0x140507c98]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014410
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140507c98]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400139b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001394e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013960
add dword [0x140507c94], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140507c98]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001394e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013810
nop dword [rax]
xor esi, esi
jmp 0x1400138d8
mov rax, qword [0x140507c98]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140013810
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140013810
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140013f40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140507d00]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140507ce0]
test rbx, rbx
je 0x140013f9c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140013f93
test rsi, rsi
je 0x140013f93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140013f78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x1404eff20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400142f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400142f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400142f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001434d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140014344
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400142f0
add rax, 0x28
cmp rax, r9
jne 0x140014330
xor eax, eax
ret

Function at 0x140014350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1404eff20]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001436f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014378
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001436f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140014410
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1404eff20]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001442f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014438
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140004d10
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140004d44
cmp word [rcx], 0x5a4d
jne 0x140004d44
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140004d44
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004d44
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140004c50
test eax, eax
jne 0x140004d60
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140004cc0
test rax, rax
je 0x140004d55
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140005500
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140005410
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400053b0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140005864
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1404721f8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1404721f4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400058b2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400058aa
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140005999
inc ebx
add rax, 0x28
jmp 0x14000588a
mov rcx, r12
call fcn.140006091
mov rbp, rax
test rax, rax
jne 0x1400058d1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140005800
movsxd rbx, ebx
mov rax, qword [0x1404721f8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000613f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1404721f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140005933
mov rax, qword [0x1404721f8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140005800
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140005993
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140005993
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1404721f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140005993
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140005800
inc dword [0x1404721f4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140005dc0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140472260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140472240]
test rbx, rbx
je 0x140005e0c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140005e06
test eax, eax
jne 0x140005e06
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140005dde
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140005fc0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140005fe3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140005fe3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140005fe4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x14000601e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140006015
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140006020
inc r8d
add rax, 0x28
jmp 0x140005ffc
xor eax, eax
ret

Function at 0x140006091
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14046cfd0]
mov r8, rcx
mov rcx, r9
call fcn.140005fc0
test eax, eax
je 0x1400060bd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140005fe4
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002730
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 0x14000278d
lea rbx, [0x140043fa0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002774
cmp r10, 2
jb 0x140002774
cmp byte [r9], r8b
jne 0x140002774
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 0x140002750
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400027cf
lea rbx, [0x140043fa0]
cmp r8b, 0x23
jne 0x1400027b3
cmp byte [r9], r8b
jne 0x1400027b3
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 0x1400027a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000292a
mov qword [r8], 0
lea rdx, [0x140043c14]
call fcn.1400027e0
mov rbx, rax
test rax, rax
jne 0x14000294a
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 0x140002a21
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 0x140002a21
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002a21
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 0x140002a21
cmp rdi, 0xffffffffffffffff
je 0x140002a21
mov rax, qword [0x140050a30]
test rax, rax
je 0x1400029be
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 0x140002a21
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 0x140002a0e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140050a30]
test rax, rax
je 0x140002a03
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002a2a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002a1c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002a2c
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 0x140004ea0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140043fa0]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x140050a30]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140004f2b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140017210
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140010c00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140050a30]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140010c52
cmp byte [rbx + 0x424e], 0
jne 0x140010c52
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400025f0
test dil, 1
je 0x140010d78
jmp 0x140010cdb
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140048c5c]
mulss xmm1, dword [0x140048c50]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x140048b8c]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400025f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010d30
lea r11, [0x140043fa0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140010d13
cmp byte [r8], r9b
jne 0x140010d13
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 0x140010d00
not ecx
call fcn.140009e20
test rax, rax
je 0x140010d78
cmp byte [rax + 0x96], 0
je 0x140010d78
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.1400025f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c470
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140015dc0
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140015e67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140015e1a
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.140017e30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002e30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140050a28]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140015e6f
mov rcx, rbx
call fcn.140002e30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400163e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140050a30]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140016443
mov qword [rsp], rbx
lea rbx, [0x140043fa0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016423
cmp byte [r8], r9b
jne 0x140016423
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 0x140016410
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140016477
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001647e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140016464
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret