joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eb2d8
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1fa0]
mov eax, 0x20a0
call fcn.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x1f90], rax
mov rsi, qword [rbp + 0x2008]
lea rcx, [rsp + 0x20]
mov rbx, qword [rbp + 0x2010]
mov rdi, rdx
xor edx, edx
mov r15, r8
mov r12, r9
lea r8d, [rdx + 0x70]
call fcn.1400fd700
mov eax, 0x500
mov dword [rsp + 0x20], 0x70
xor r13d, r13d
mov qword [rsp + 0x38], rdi
cmp byte [rbp + 0x2000], r13b
mov qword [rsp + 0x30], rbx
lea ecx, [rax + 0x40]
cmove eax, ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
call fcn.14007f780
test rax, rax
je 0x1400eb375
cmp word [rax], 0x2e
jne 0x1400eb386
cmp word [rax + 2], r13w
jne 0x1400eb386
or dword [rsp + 0x24], 1
lea rax, [0x14011c97c]
mov qword [rsp + 0x68], rax
mov rcx, rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
call fcn.1400803f0
cmp rax, rdi
jne 0x1400eb3d1
lea rdx, [0x14011c550]
mov rcx, rdi
call fcn.14007ea64
test al, al
jne 0x1400eb3d1
mov r9, rdi
lea r8, str.._s
mov edx, 0x1000
lea rcx, [rbp - 0x70]
call fcn.140002810
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x140166ce5], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
jne 0x1400eb426
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400eb40d
test rsi, rsi
je 0x1400eb406
mov qword [rsi], r13
mov al, 1
jmp 0x1400eb4ef
cmp qword [rsp + 0x30], r13
je 0x1400eb426
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [0x140166ce5], r13b
test ebx, ebx
je 0x1400eb4ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x1400eb4ed
cmp byte [rbp + 0x2000], r13b
jne 0x1400eb406
mov r8, qword [rbp - 0x78]
lea rdi, [0x140000000]
test r8, r8
je 0x1400eb494
movsxd rdx, dword [0x1401cd7e0]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x1cd6e0], r8
mov qword [rdi + rdx*8 + 0x1cd760], rax
inc edx
and edx, 0x8000000f
jge 0x1400eb48c
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x1401cd7e0], edx
jmp 0x1400eb4dc
mov rbx, r13
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x1cd760], rax
jne 0x1400eb4cf
mov rcx, qword [rbx + rdi + 0x1cd6e0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400eb4cb
mov r8, qword [rbx + rdi + 0x1cd6e0]
mov qword [rbp - 0x78], r8
jmp 0x1400eb4cf
mov r8, qword [rbp - 0x78]
add rbx, 8
cmp rbx, 0x80
jl 0x1400eb497
test rsi, rsi
je 0x1400eb406
mov qword [rsi], r8
jmp 0x1400eb406
xor al, al
mov rcx, qword [rbp + 0x1f90]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x20a0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400eba00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140167e60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400eba4f
mov ecx, 0x2bc
call fcn.1400901c8
mov ecx, 0x2bd
mov rbx, rax
call fcn.1400901c8
mov rcx, qword [0x140166d18]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400d0120
xor r8d, r8d
lea rdx, [0x140167e60]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400ea2c0
Function at 0x1400ee740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd r13, dword [rdx + 0x1c]
lea r9, [0x140000000]
mov r14, qword [rdx]
xor ebx, ebx
mov r11, qword [rdx + 8]
or esi, 0xffffffff
mov dword [rsp + 0x70], esi
mov ebp, 0x23d
mov dword [0x1401dd4e4], ebx
mov r12, rcx
mov dword [0x1401dd4e8], ebp
mov r15, rdx
lea r10d, [rsi + 2]
mov edi, ebx
mov r8d, ebx
mov ecx, ebx
test r13d, r13d
jle 0x1400ee7eb
cmp word [r14 + rcx*4], bx
je 0x1400ee7d1
add edi, r10d
mov dword [rsp + 0x70], r8d
movsxd rax, edi
mov esi, r8d
mov dword [0x1401dd4e4], edi
mov dword [r9 + rax*4 + 0x1dcbf0], r8d
cmp rcx, rbp
jae 0x1400ee9c1
mov byte [rcx + r9 + 0x1dd4f0], bl
jmp 0x1400ee7d7
mov word [r14 + rcx*4 + 2], bx
add r8d, r10d
add rcx, r10
cmp rcx, r13
jl 0x1400ee79b
cmp edi, 2
jge 0x1400ee881
mov r9d, dword [0x1401ddb28]
mov r8d, dword [0x1401fdb30]
movsxd rdx, esi
cmp esi, 2
jge 0x1400ee813
add esi, r10d
add rdx, r10
mov dword [rsp + 0x70], esi
mov rcx, rdx
mov r10d, esi
jmp 0x1400ee819
mov r10d, ebx
mov rcx, rbx
inc edi
lea rbx, [0x140000000]
movsxd rax, edi
mov dword [0x1401dd4e4], edi
mov dword [rbx + rax*4 + 0x1dcbf0], r10d
mov r10d, 1
mov word [r14 + rcx*4], r10w
lea ebx, [r10 - 1]
cmp rcx, rbp
jae 0x1400ee9c7
dec r9d
lea rax, [0x140000000]
mov byte [rcx + rax + 0x1dd4f0], bl
mov dword [0x1401ddb28], r9d
test r11, r11
je 0x1400ee878
movzx eax, word [r11 + rcx*4 + 2]
sub r8d, eax
mov dword [0x1401fdb30], r8d
cmp edi, 2
jl 0x1400ee7fc
mov eax, edi
mov dword [r15 + 0x24], esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cmp eax, r10d
jl 0x1400ee8af
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.1400efb28
mov r10d, 1
sub ebx, r10d
cmp ebx, r10d
jge 0x1400ee893
lea rsi, [0x140000000]
jmp 0x1400ee8bb
mov r10, r15
movsxd rbx, dword [0x1401dcbf4]
mov r8d, r10d
movsxd rax, edi
mov rdx, r14
sub edi, r10d
mov rcx, r12
mov dword [0x1401dd4e4], edi
mov eax, dword [rsi + rax*4 + 0x1dcbf0]
mov dword [0x1401dcbf4], eax
call fcn.1400efb28
movsxd rcx, dword [0x1401dcbf4]
mov r15d, 1
mov r9, rcx
movsxd rdx, r13d
sub ebp, r15d
mov r8d, r15d
movsxd rax, ebp
sub ebp, r15d
mov dword [rsi + rax*4 + 0x1dcbf0], ebx
movsxd rax, ebp
mov dword [rsi + rax*4 + 0x1dcbf0], ecx
movzx eax, word [r14 + rcx*4]
add ax, word [r14 + rbx*4]
mov word [r14 + rdx*4], ax
mov al, byte [rcx + rsi + 0x1dd4f0]
cmp byte [rbx + rsi + 0x1dd4f0], al
cmova ecx, ebx
movsxd rax, ecx
mov cl, byte [rax + rsi + 0x1dd4f0]
add cl, r15b
mov word [r14 + r9*4 + 2], r13w
mov byte [rdx + rsi + 0x1dd4f0], cl
mov rdx, r14
mov word [r14 + rbx*4 + 2], r13w
mov rcx, r12
mov dword [0x1401dcbf4], r13d
add r13d, r15d
call fcn.1400efb28
cmp edi, 2
jge 0x1400ee8b8
mov eax, dword [0x1401dcbf4]
sub ebp, r15d
mov rdx, qword [rsp + 0x68]
movsxd rcx, ebp
mov dword [0x1401dd4e8], ebp
mov dword [rsi + rcx*4 + 0x1dcbf0], eax
mov rcx, r12
call fcn.1400ef7c0
mov r8d, dword [rsp + 0x70]
mov rdx, r14
mov rcx, r12
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400ef9fc
call fcn.1400fc254
int3
call fcn.1400fc254
int3
Function at 0x1400f1ee0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2fa0]
mov eax, 0x30a0
call fcn.1400fc480
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x30e0], rbx
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x2f90], rax
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov rax, rdx
mov r9, r8
sub r9, rdx
movzx edx, word [rax]
movzx r8d, word [rax + r9]
sub edx, r8d
jne 0x1400f1f4b
add rax, 2
test r8d, r8d
jne 0x1400f1f35
test edx, edx
je 0x1400f2150
xor r14b, r14b
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [rbp + 0x1f90]
call fcn.1401038a4
mov r15d, eax
mov r13d, 1
cmp word [rbp + 0x1f90], 0x5c
je 0x1400f1fc1
cmp word [rsi], 0x5c
je 0x1400f1fc1
cmp word [rdi], 0x5c
je 0x1400f1fc1
movzx ecx, word [rsi]
call fcn.1401038a4
mov ebx, eax
movzx ecx, word [rdi]
call fcn.1401038a4
cmp word [rsi + 2], 0x3a
cmovne ebx, r15d
cmp word [rdi + 2], 0x3a
cmovne eax, r15d
movzx r14d, r14b
cmp ebx, eax
cmovne r14d, r13d
mov rcx, rdi
call fcn.14006f794
test al, al
je 0x1400f2026
lea rcx, [rsp + 0x30]
call fcn.14006df10
nop
mov r8d, r13d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14006e560
test al, al
je 0x1400f2012
lea rcx, [rsp + 0x30]
call fcn.14006e010
test al, al
je 0x1400f2012
mov rcx, rdi
call fcn.14006f4ac
test al, al
je 0x1400f2012
lea rcx, [rsp + 0x30]
call fcn.14006df48
jmp 0x1400f2026
lea rcx, [rsp + 0x30]
call fcn.14006df48
mov eax, 0xf
jmp 0x1400f2152
test r14b, r14b
jne 0x1400f2043
mov rdx, rdi
mov rcx, rsi
call fcn.14006fea8
test al, al
sete al
test al, al
je 0x1400f2150
lea rcx, [rsp + 0x30]
call fcn.14006df10
nop
lea rcx, [rbp + 0xf60]
call fcn.14006df10
nop
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14006e560
test al, al
jne 0x1400f2088
mov rdx, rsi
lea rcx, [0x14019bd38]
call fcn.140069630
mov ebx, 0xa
jmp 0x1400f2115
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0xf60]
call fcn.14006e1d0
test al, al
jne 0x1400f20a8
mov ebx, 0xf
jmp 0x1400f2115
xor edx, edx
lea rcx, [0x14019bd38]
call fcn.140069740
or r9, 0xffffffffffffffff
lea r8, [rbp + 0xf60]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400f1964
mov r14d, eax
lea rcx, [rsp + 0x30]
call fcn.14006e010
lea rcx, [rbp + 0xf60]
call fcn.14006e010
mov dl, r13b
lea rcx, [0x14019bd38]
call fcn.140069740
test r14d, r14d
je 0x1400f2130
mov rcx, rdi
call fcn.14006f4ac
mov eax, 0xe
lea ebx, [rax - 4]
cmp r14d, ebx
cmove r14d, eax
mov ebx, r14d
lea rcx, [rbp + 0xf60]
call fcn.14006df48
nop
lea rcx, [rsp + 0x30]
call fcn.14006df48
mov eax, ebx
jmp 0x1400f2152
mov rcx, rsi
call fcn.14006f4ac
nop
lea rcx, [rbp + 0xf60]
call fcn.14006df48
nop
lea rcx, [rsp + 0x30]
call fcn.14006df48
xor eax, eax
mov rcx, qword [rbp + 0x2f90]
xor rcx, rsp
call fcn.1400fc4f0
mov rbx, qword [rsp + 0x30e0]
add rsp, 0x30a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f24d4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xd0
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0xc0], rax
inc dword [rcx + 0x1f4]
mov r14d, r8d
cmp dword [rcx + 0x1f4], 1
mov rdi, rdx
mov rsi, rcx
jne 0x1400f2529
xor ecx, ecx
call fcn.140108fa0
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
xor eax, ebx
mov ecx, eax
call fcn.140108ef0
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400936a8
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f2680
xor ebp, ebp
mov r12d, 0xfffd
call fcn.140108ec4
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
sar eax, 7
and ebx, r12d
movzx edi, al
or ebx, 2
mov edx, edi
call fcn.1400f26dc
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor al, dil
mov byte [rsp + rbp + 0x30], al
inc rbp
cmp rbp, 0xa
jl 0x1400f2551
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f2680
xor ebp, ebp
mov edi, dword [rsi + 0x1f0]
mov rcx, rsi
movzx ebx, byte [rsp + rbp + 0x30]
and edi, r12d
mov edx, ebx
or edi, 2
call fcn.1400f26dc
mov eax, edi
xor eax, 1
imul eax, edi
shr eax, 8
xor al, bl
mov byte [rsp + rbp + 0x30], al
inc rbp
cmp rbp, 0xa
jl 0x1400f259c
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.140093940
mov edi, dword [rsi + 0x1f0]
mov ebx, r14d
shr ebx, 0x10
and edi, r12d
movzx edx, bl
mov rcx, rsi
or edi, 2
call fcn.1400f26dc
mov eax, edi
shr r14d, 0x18
xor eax, 1
mov edx, r14d
imul eax, edi
mov rcx, rsi
shr eax, 8
xor al, bl
mov ebx, dword [rsi + 0x1f0]
and ebx, r12d
mov byte [rsp + 0x3a], al
or ebx, 2
call fcn.1400f26dc
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov eax, ebx
mov r9d, 0xc
xor eax, 1
mov rcx, rsi
imul eax, ebx
lea r8d, [r9 - 0xb]
shr eax, 8
xor al, r14b
mov byte [rsp + 0x3b], al
call fcn.1400f14c4
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400fc4f0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400f26dc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, dword [rcx + 0x1e8]
lea rbx, [0x1401fdb60]
mov r10, rcx
mov eax, edx
mov r11d, edx
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
mov edx, dword [r10 + 0x1f0]
mov r8d, dword [rbx + rax*4]
xor r8d, r9d
mov dword [rcx + 0x1e8], r8d
movzx eax, r8b
add eax, dword [rcx + 0x1ec]
imul ecx, eax, 0x8088405
inc ecx
mov dword [r10 + 0x1ec], ecx
shr rcx, 0x18
xor rcx, rdx
shr edx, 8
movzx eax, cl
mov eax, dword [rbx + rax*4]
mov rbx, qword [rsp + 8]
xor eax, edx
mov dword [r10 + 0x1f0], eax
mov eax, r11d
ret
Function at 0x1400f2758
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
cmp byte [0x1401789b0], 0
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
je 0x1400f27e7
cmp byte [rcx + 4], 0
je 0x1400f27a4
mov edx, ebp
lea r8, [rcx + 8]
imul edx, r14d
mov rcx, r15
call fcn.1400bddbc
jmp 0x1400f27e7
mov rdi, r14
mov r12, r15
imul rdi, rbp
test rdi, rdi
je 0x1400f27e7
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
movsx edx, byte [r12]
and ebx, 0xfffd
or ebx, 2
call fcn.1400f26dc
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor byte [r12], al
inc r12
sub rdi, 1
jne 0x1400f27b3
and dword [rsp + 0x20], 0
mov r9, rbp
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1400f14c4
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x1400fae28
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fae60
test al, 0x10
jne 0x1400fae5c
and eax, 0xffffffdf
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400fae60
mov al, 1
jmp 0x1400fae76
mov rdx, qword [rdi + 0x64bad8]
mov r8, rbx
mov ecx, 0x11
call fcn.14002edb4
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14010df00
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14010dda0
call fcn.140106c1c
mov dword [rax], 0x16
call fcn.1401033ec
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14010dd88
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14010dd88
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14010ddd2
lock or dword [rax + 0x14], 0x10
jmp 0x14010dd88
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14010ddef
mov rcx, qword [rbp + 0x10]
call fcn.140112790
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401081ec
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401058c4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14010de46
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14010dd88
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14010deb2
mov rcx, qword [rbp + 0x10]
call fcn.1401081ec
cmp eax, 0xffffffff
je 0x14010de99
mov rcx, qword [rbp + 0x10]
call fcn.1401081ec
cmp eax, 0xfffffffe
je 0x14010de99
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401081ec
movsxd rdi, eax
lea rsi, [0x1401fed30]
mov rcx, rbx
sar rdi, 6
call fcn.1401081ec
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14010dea0
lea rax, [0x140160760]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14010deb2
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14010dee8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14010dee4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14010dee4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14010dd8b
jmp 0x14010dd58
Function at 0x140002bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x140265c80]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x140002c07
mov r8d, 0x594
lea rdx, str.C:UsersKDesktopmenus_recode_saphire2_recode_saphireimgui.cpp
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x140265c80]
cmp byte [rbx + 0x37a1], 0
je 0x140002db1
movss xmm1, dword [0x140057918]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140002c54
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140002c4d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140002c4b
je 0x140002c4d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140002c79
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140002c72
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140002c70
je 0x140002c72
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x140002ccf
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x140002cb2
mov r8d, 0x72d
lea rdx, str.C:UsersKDesktopmenus_recode_saphire2_recode_saphireimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x140002d59
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x140002c90
movsd xmm0, qword [r14 + 0xdfc]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x140002d0e
jne 0x140002d0e
ucomiss xmm1, xmm7
jp 0x140002d0e
je 0x140002db1
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x140002d8f
inc ecx
test r8d, r8d
je 0x140002d7b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140002d80
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140002ce3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001f510
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret
Function at 0x1400031b0
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 0x14000320d
lea rbx, [0x14004fe40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400031f4
cmp r10, 2
jb 0x1400031f4
cmp byte [r9], r8b
jne 0x1400031f4
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 0x1400031d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000324f
lea rbx, [0x14004fe40]
cmp r8b, 0x23
jne 0x140003233
cmp byte [r9], r8b
jne 0x140003233
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 0x140003220
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003410
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000343f
mov r8d, 0x789
lea rdx, str.C:UsersKDesktopmenus_recode_saphire2_recode_saphireimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000344b
mov qword [rdi], 0
lea rdx, [0x14004f698]
mov rcx, rbx
call fcn.140003260
mov rbx, rax
test rax, rax
jne 0x14000346d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003544
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 0x140003544
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003544
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 0x140003544
cmp rsi, 0xffffffffffffffff
je 0x140003544
mov rax, qword [0x140265c80]
test rax, rax
je 0x1400034e1
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003544
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140003531
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140265c80]
test rax, rax
je 0x140003526
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000354d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000353f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000354f
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 rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140006da0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140006dd7
mov r8d, 0x736
lea rdx, str.C:UsersKDesktopmenus_recode_saphire2_recode_saphireimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x14004fe40]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140265c80]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140006e56
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e2d0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret