joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043040
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r10, [0x140093320]
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x1400430cb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140057750
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400430e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x140093320]
vmovss xmm3, dword [rcx + 0x120]
vmovss xmm4, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140050af0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14014adf8]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x140050b42
cmp byte [rbx + 0x4d22], 0
jne 0x140050b42
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14003ee70
test dil, 2
je 0x140050c6f
jmp 0x140050bca
vmovss xmm1, dword [rbx + 0x39c4]
vmovss xmm0, dword [0x140099d68]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe4c]
vmovss xmm2, dword [0x140099d84]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe48]
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x49ec], 1
vmovss dword [rbx + 0x49f8], xmm2
vmovss dword [rbx + 0x49fc], xmm0
mov qword [rbx + 0x4a00], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3a2c]
vmulss xmm1, xmm0, dword [0x140099c34]
or dword [rbx + 0x49e8], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4a48], xmm1
call fcn.14003ee70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140050c20
lea r11, [0x140093320]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140050c03
cmp byte [r8], r9b
jne 0x140050c03
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 0x140050bf0
not ecx
call fcn.140047040
test rax, rax
je 0x140050c6f
cmp byte [rax + 0xbe], 0
je 0x140050c6f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e68]
movsx r9d, word [rbx + 0x5e68]
call fcn.14003ee70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140049b50
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140056070
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fc0], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1400560f3
xor edx, edx
add rcx, 0x5fc8
call fcn.140057cd0
mov r8, rsi
lea rcx, [rbx + 0x5fc8]
mov rdx, rbp
call fcn.14003fe00
mov eax, dword [rbx + 0x5fc8]
xor edx, edx
mov r9, qword [rbx + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x5fd0]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x14014adec]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400560ff
add rcx, 0x5fc8
call fcn.14003fe00
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140056460
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14014adf8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400564c3
mov qword [rsp], rbx
lea rbx, [0x140093320]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400564a3
cmp byte [r8], r9b
jne 0x1400564a3
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 0x140056490
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400564ef
cmp dword [r8 + 8], eax
je 0x1400564f6
add r8, 0x48
cmp r8, rcx
jne 0x1400564e0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140056500
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, [0x140092e40]
call fcn.14003f110
mov rbx, rax
test rax, rax
je 0x140056684
mov qword [rsp + 0x30], rsi
mov rcx, rax
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 0x140056671
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 0x140056671
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140056671
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 0x140056671
cmp rdi, 0xffffffffffffffff
je 0x140056671
mov rcx, rdi
call fcn.1400438c0
mov rsi, rax
test rax, rax
je 0x140056671
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 0x1400565d5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.140043960
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400565eb
mov rdx, rdi
mov rcx, rsi
call fcn.140056690
mov r8, qword [0x14014adf8]
test r8, r8
je 0x140056658
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je case.default.0x14005666a
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 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
xor eax, eax
mov dword [rcx], r9d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1400568d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14014adf8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f1c], ecx
test rbx, rbx
je 0x14005693f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140056950
lea rdx, [0x140092e3c]
mov rcx, rbx
mov rdi, rax
call fcn.14003f110
mov rbx, rax
test rax, rax
je 0x14005693a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14008a6d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14014adf8]
test rax, rax
je 0x14008a6eb
mov rbx, qword [rax + 0x90]
jmp 0x14008a6ed
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14008a718
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14008b420
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 7
syscall
ret

Function at 0x14008be1c
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1409652e7
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 0x140965191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140965177
add dl, dl
jne 0x14096519e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409651fe
xor eax, eax
add dl, dl
jne 0x1409651ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409652b5
add dl, dl
jne 0x1409651be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409651cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409651d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409651e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409651f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140965186
mov eax, 1
add dl, dl
jne 0x14096520e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14096521b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140965203
sub eax, ebx
mov ebx, 1
jne 0x140965254
mov ecx, 1
add dl, dl
jne 0x140965236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140965243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14096522b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140965186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140965270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14096527d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140965265
cmp eax, 0x7d00
jae 0x1409652a3
cmp eax, 0x500
jb 0x14096529e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140965186
cmp eax, 0x7f
ja 0x1409652a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140965186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409652da
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 0x140965186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1ccc058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1ccc1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1ccc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1ccc06f
add dl, dl
jne 0x1ccc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1ccc0f6
xor eax, eax
add dl, dl
jne 0x1ccc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1ccc1ad
add dl, dl
jne 0x1ccc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ccc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ccc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ccc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1ccc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1ccc07e
mov eax, 1
add dl, dl
jne 0x1ccc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ccc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1ccc0fb
sub eax, ebx
mov ebx, 1
jne 0x1ccc14c
mov ecx, 1
add dl, dl
jne 0x1ccc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ccc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1ccc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1ccc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1ccc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ccc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1ccc15d
cmp eax, 0x7d00
jae 0x1ccc19b
cmp eax, 0x500
jb 0x1ccc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1ccc07e
cmp eax, 0x7f
ja 0x1ccc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1ccc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1ccc1d2
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 0x1ccc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
xor eax, eax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
lea rdx, [0x14002c5a0]
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x58]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rsi, r9
mov ebp, eax
call fcn.14000ab10
mov r15d, eax
test eax, eax
je 0x1400010d3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, [0x14002c5b0]
call fcn.140002000
lea eax, [rbp - 1]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x2000
mov qword [rsp + 0x80], r13
call fcn.14001575c
mov r13, rax
test rax, rax
jne 0x140001109
lea r8, [rbx + 0x12]
lea rdx, [0x14002c600]
lea rcx, [0x14002c644]
call fcn.140001fc0
jmp 0x140001264
mov ecx, 0x2000
call fcn.14001575c
mov rbp, rax
test rax, rax
jne 0x140001137
lea r8, [rbx + 0x12]
lea rdx, [0x14002c650]
lea rcx, [0x14002c644]
call fcn.140001fc0
jmp 0x140001264
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [rax]
mov eax, 0x2000
mov rbx, r12
cmp r12, rax
mov r9, rdi
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14000ff6c
cmp rax, rbx
jne 0x14000125c
mov rcx, rdi
call fcn.14000fce0
test eax, eax
jne 0x14000125c
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop word [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.140008f50
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001241
cmp eax, 2
je 0x14000123c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001203
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.1400106ac
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000fce0
test eax, eax
je 0x140001219
mov edi, r15d
jmp 0x140001241
test rsi, rsi
je 0x140001219
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14002aec0
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001237
test r12, r12
je 0x140001241
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x14000125c
mov edi, 0xfffffffd
mov rdx, qword [rsp + 0xc8]
lea rcx, [0x14002c6a0]
add rdx, 0x12
mov r8d, edi
call fcn.140002000
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000a7f0
mov rcx, r13
call fcn.140015748
mov rcx, rbp
call fcn.140015748
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400012a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x1050
call fcn.14000b280
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x14002c7a4]
mov ebp, 0xffffffff
call fcn.1400031a0
mov r14, rax
test rax, rax
jne 0x140001301
lea rdx, [rsi + 0x12]
lea rcx, [0x14002c7a8]
call fcn.140002000
xor ebx, ebx
jmp 0x14000142a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.1400102a4
test eax, eax
jns 0x14000133d
lea r8, [rsi + 0x12]
lea rdx, [0x14002c7e0]
lea rcx, [0x14002c81c]
call fcn.140001fc0
mov rcx, r14
call fcn.14000fc1c
xor ebx, ebx
jmp 0x14000142a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.14001575c
mov r12, rax
mov rbx, rax
test rax, rax
jne 0x140001380
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, [0x14002c830]
lea rcx, [0x14002c644]
call fcn.140001fc0
mov rcx, r14
call fcn.14000fc1c
jmp 0x140001422
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x1090], rdi
mov qword [rsp + 0x1040], r15
jne 0x140001453
mov r9, r12
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
jne 0x1400014c7
mov rcx, r14
add rsi, 0x12
call fcn.14000fc1c
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.1400069d0
test eax, eax
js 0x140001412
mov qword [rsp + 0x28], rsi
lea r9, [r13 + 0x3070]
lea r8, [0x14002c874]
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.140001ee0
cmp eax, 0x1000
jge 0x140001412
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140003340
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.140015748
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000b2e0
add rsp, 0x1050
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov edi, dword [rsi + 0xc]
mov r15, r12
test rdi, rdi
je 0x1400013b3
mov eax, 0x2000
nop word [rax + rax]
cmp rdi, rax
mov rbp, rdi
mov r9, r14
mov r8d, 1
cmova rbp, rax
mov rcx, r15
mov rdx, rbp
call fcn.14000ff6c
cmp rax, 1
jb 0x1400014ab
add r15, rbp
mov eax, 0x2000
sub rdi, rbp
jne 0x140001470
mov ebp, 0xffffffff
jmp 0x1400013b3
lea r8, [rsi + 0x12]
lea rdx, [0x14002c728]
lea rcx, [0x14002c75c]
call fcn.140001fc0
mov ebp, 0xffffffff
mov rcx, r12
call fcn.140015748
mov rcx, r14
call fcn.14000fc1c
xor ebx, ebx
jmp 0x140001412
Function at 0x140001590
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
add rcx, 0x70
lea rdx, [0x14002c7a4]
xor r14d, r14d
call fcn.1400031a0
mov r15, rax
test rax, rax
jne 0x1400015e0
lea rdx, [rsi + 0x12]
lea rcx, [0x14002c7a8]
call fcn.140002000
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [rbx]
mov rcx, r15
call fcn.1400102a4
test eax, eax
jns 0x140001611
lea r8, [rsi + 0x12]
lea rdx, [0x14002c7e0]
lea rcx, [0x14002c81c]
call fcn.140001fc0
jmp 0x1400016df
mov ecx, dword [rsi + 0xc]
call fcn.14001575c
mov r14, rax
test rax, rax
jne 0x140001641
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, [0x14002c830]
lea rcx, [0x14002c644]
call fcn.140001fc0
jmp 0x1400016df
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
jne 0x14000166d
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140001050
test eax, eax
je 0x1400016d0
jmp 0x1400016c5
mov ebx, dword [rsi + 0xc]
mov rbp, r14
test rbx, rbx
je 0x1400016d0
mov r12d, 0x2000
nop
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.14000ff6c
cmp rax, 1
jb 0x1400016ae
add rbp, rdi
sub rbx, rdi
jne 0x140001680
jmp 0x1400016d0
lea r8, [rsi + 0x12]
lea rdx, [0x14002c728]
lea rcx, [0x14002c75c]
call fcn.140001fc0
mov rcx, r14
call fcn.140015748
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000fc1c
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140001700
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
cmp dword [rcx + 0x5074], 1
mov rdi, rdx
mov rbx, rcx
je 0x14000172e
lea rcx, [0x14002c880]
call fcn.140002000
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
cmp byte [rdx + 0x11], 0x6e
jne 0x140001758
call fcn.1400012a0
mov ebx, eax
test eax, eax
jns 0x14000174f
lea rdx, [rdi + 0x12]
lea rcx, [0x14002c8d0]
call fcn.140002000
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
add rcx, 0x3070
lea rbp, [rdx + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.140006e20
mov r12, rax
test rax, rax
jne 0x1400017a9
mov r8, rbp
lea rdx, [0x14002c8f8]
lea rcx, [0x14002c92c]
call fcn.140001fc0
mov rbp, qword [rsp + 0x50]
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rcx, [rbx + 0x70]
mov qword [rsp + 0x20], r15
lea rdx, [0x14002c7a4]
call fcn.1400031a0
mov r15, rax
test rax, rax
jne 0x1400017de
mov rdx, rbp
lea rcx, [0x14002c7a8]
call fcn.140002000
lea ebx, [r15 - 1]
jmp 0x14000191f
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx]
mov rcx, r15
call fcn.1400102a4
test eax, eax
jns 0x140001813
mov r8, rbp
lea rdx, [0x14002c7e0]
lea rcx, [0x14002c81c]
call fcn.140001fc0
mov ebx, 0xffffffff
jmp 0x140001917
cmp byte [rdi + 0x10], 1
jne 0x140001831
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001050
mov ebx, eax
jmp 0x140001917
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.14001575c
mov r14, rax
test rax, rax
jne 0x140001872
mov r8, rbp
lea rdx, [0x14002c6e8]
lea rcx, [0x14002c644]
call fcn.140001fc0
lea ebx, [r14 - 1]
jmp 0x14000190d
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x140001905
mov qword [rsp + 0x58], rsi
nop dword [rax]
nop word [rax + rax]
cmp rdi, r13
mov rsi, rdi
mov r9, r15
mov r8d, 1
cmova rsi, r13
mov rcx, r14
mov rdx, rsi
call fcn.14000ff6c
cmp rax, 1
jb 0x1400018e5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r14
call fcn.1400106ac
cmp rax, 1
jb 0x1400018d5
sub rdi, rsi
jne 0x140001890
jmp 0x140001900
lea rdx, [0x14002c768]
lea rcx, [0x14002c79c]
jmp 0x1400018f3
lea rdx, [0x14002c728]
lea rcx, [0x14002c75c]
mov r8, rbp
call fcn.140001fc0
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r14
call fcn.140015748
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000fc1c
mov rcx, r12
call fcn.14000fc1c
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret