joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c800
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c33b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c820
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c828
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c820
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000c87d
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 0x14000c874
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000c820
add rax, 0x28
cmp rax, r9
jne 0x14000c860
xor eax, eax
ret

Function at 0x14000c880
Capabilities:
Parse pe header

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

Function at 0x14000c940
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c33b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000c95f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000c968
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000d5b0
Capabilities:
Allocate thread local storage
Create thread
Resume thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [0x1400c2800]
mov rsi, r8
mov r8d, dword [rax]
mov rdi, rcx
mov rbp, rdx
test r8d, r8d
je 0x14000d5e0
mov ecx, dword [0x1400b90f0]
test ecx, ecx
je 0x14000d660
mov ecx, 0x18
call sub.msvcrt.dll_malloc
xor ecx, ecx
lea r8, [0x14000d570]
xor edx, edx
mov qword [rax], rbp
mov rbx, rax
mov r9, rax
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov rcx, rax
test rax, rax
je 0x14000d640
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rbx + 0x10]
mov qword [rdi], rax
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rbx
call fcn.140017250
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
lock add dword [0x1400b90f4], 1
jne 0x14000d6a0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000d6d0
mov rdx, qword [fcn.140017250]
mov ecx, eax
mov dword [0x1400b90f8], eax
call fcn.1400175d0
test eax, eax
jne 0x14000d6d8
mov dword [0x1400b90f0], 1
jmp 0x14000d5e0
mov edx, dword [0x1400b90f0]
mov r12, qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x1400b90f0]
test edx, edx
jne 0x14000d5e0
nop dword [rax]
xor ecx, ecx
call r12
mov eax, dword [rbx]
test eax, eax
je 0x14000d6c0
jmp 0x14000d5e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d689
call sub.msvcrt.dll_abort
nop
nop
Function at 0x14007a920
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007a968
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007a93a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14009f070
Capabilities:
Get system information on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
movdqu xmm0, xmmword [rdx]
pxor xmm1, xmm1
mov rdi, qword [rdx]
movups xmmword [rdx], xmm1
movq rsi, xmm0
mov rcx, qword [rsi + 0x10]
movups xmmword [rdi + 8], xmm0
test rcx, rcx
je 0x14009ef1c
mov rdx, qword [rcx + 8]
lea r8, [rcx + 8]
movabs rax, 0x100000001
cmp rdx, rax
je 0x14009ef40
mov rax, qword [0x1400c2800]
mov eax, dword [rax]
test eax, eax
jne 0x14009ef70
mov eax, dword [rcx + 8]
lea edx, [rax - 1]
mov dword [rcx + 8], edx
cmp eax, 1
je 0x14009ef80
mov r8, rsi
lea rdx, [0x1400b7820]
mov rcx, rbx
call fcn.14000d5b0
test eax, eax
jne 0x14009efa9
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [rcx]
lea r8, [0x140093b20]
mov qword [rcx + 8], 0
mov rdx, qword [rax + 0x10]
cmp rdx, r8
jne 0x14009ef98
mov rdx, qword [rax + 0x18]
lea r8, [0x140096170]
cmp rdx, r8
jne 0x14009ef90
call qword [rax + 8]
jmp 0x14009ef1c
mov eax, 0xffffffff
lock xadd dword [r8], eax
jmp 0x14009ef17
call fcn.140096240
jmp 0x14009ef1c
call rdx
jmp 0x14009ef1c
mov qword [rsp + 0x28], rcx
call rdx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
jmp 0x14009ef5b
mov rcx, qword [rsi + 0x10]
pxor xmm0, xmm0
movups xmmword [rdi + 8], xmm0
test rcx, rcx
je 0x14009efc7
mov dword [rsp + 0x28], eax
call fcn.140096180
mov eax, dword [rsp + 0x28]
mov ecx, eax
call fcn.1400b8460
nop
nop
push rsi
push rbx
sub rsp, 0x38
mov rbx, rdx
mov rax, qword [0x1400c2800]
mov eax, dword [rax]
test eax, eax
je 0x14009f00e
mov r8, qword [rdx]
lea rdx, [0x1400b77e0]
call fcn.14000d5b0
test eax, eax
jne 0x14009f007
mov qword [rbx], 0
add rsp, 0x38
pop rbx
pop rsi
ret
mov ecx, eax
call fcn.1400b8460
mov ecx, 0x20
call fcn.1400b6cc0
mov rbx, rax
call fcn.14009acc0
lea rdx, [rsp + 0x20]
lea r8, str.Enable_multithreading_to_use_std::thread
mov rcx, rbx
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x28], rax
call fcn.14007bba0
lea r8, [fcn.14007c380]
lea rdx, [0x1400c55b0]
mov rcx, rbx
call fcn.1400b7540
mov rsi, rax
mov rcx, rbx
call fcn.1400b6fd0
mov rcx, rsi
call fcn.14000d2d0
nop
nop
nop
nop
nop
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor edx, edx
test eax, eax
cmovs eax, edx
add rsp, 0x58
ret

Function at 0x1400b7020
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400bc2c0]
jmp 0x14000d9c0
Function at 0x1400b7030
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400bc2c0]
jmp 0x14000d9c0
Function at 0x140001450
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x45947b13
call fcn.1400027e0
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 0x140001490
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x14936d01
call fcn.1400027e0
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 0x1400014d0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xb4ab6bed
call fcn.1400027e0
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 0x140001510
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xe6b3c71f
call fcn.1400027e0
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 0x140001550
Capabilities:
Execute syscall

Disassembly:
push rcx
push rdx
push r8
push r9
mov ecx, 0x1dd56333
call fcn.1400027e0
pop r9
pop r8
pop rdx
pop rcx
mov r10, rcx
syscall
ret

Function at 0x14000156c
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3d22f75
call fcn.1400027e0
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 0x140001870
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.1400026b0
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.1400026b0
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 0x1400018e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140009294]
mov rbx, rcx
test esi, esi
jle 0x140001a10
mov rax, qword [0x140009298]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000192b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400019b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001910
mov rcx, rbx
call fcn.140002350
mov rdi, rax
test rax, rax
je 0x140001a32
mov rax, qword [0x140009298]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002490
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140009298]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400019ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400019c0
add dword [0x140009294], 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 [0x140009298]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400019ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001870
nop dword [rax]
xor esi, esi
jmp 0x140001938
mov rax, qword [0x140009298]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001870
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001870
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001fc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009300]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400092e0]
test rbx, rbx
je 0x14000201c
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 rsi, rsi
je 0x140002013
test eax, eax
jne 0x140002013
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ff8
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 0x140002350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005a70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002370
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023cd
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 0x1400023c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002370
add rax, 0x28
cmp rax, r9
jne 0x1400023b0
xor eax, eax
ret

Function at 0x1400023d0
Capabilities:
Parse pe header

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

Function at 0x140002490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005a70]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140068170
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14022e2a0]
xor rax, rsp
mov qword [rbp], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x50], r8
xor esi, esi
mov qword [rbp - 8], rsi
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x1400681b9
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax]
mov qword [rbp - 8], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14006a340
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x48], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400681ea
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [rax]
mov qword [rbp - 0x48], rax
mov ecx, 0x60
call fcn.14013b3b0
mov rbx, rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], SafeArrayGetLBound
mov byte [rsp + 0x60], 0
lea rcx, [rax + 0x20]
mov qword [rcx + 0x38], rsi
lea rdx, [rbp - 0x80]
call fcn.14006b9a0
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14006d900]
xor edx, edx
xor ecx, ecx
call fcn.140140edc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400682fc
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14006827d
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x48], rsi
lea rcx, [rsp + 0x60]
call fcn.1400668e0
cmp dword [rsp + 0x38], 0
je 0x14006830b
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14011dc68
test eax, eax
jne 0x1400682f4
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400682cd
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 8], rsi
mov rcx, rdi
call fcn.1400668e0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14013b390
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.14011d17c
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.14011d1b8
nop
mov ecx, 1
call fcn.14011d1b8
int3
Function at 0x140068af0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140068b88
test r8, r8
jle 0x140068b80
nop word [rax + rax]
mov rcx, rdi
call fcn.14006aef0
test rax, rax
jle 0x140068b5e
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.14013d430
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140068b78
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140068b80
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140068b20
sub r14, rbx
mov rax, r14
jmp 0x140068c06
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140068ba1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140068ba3
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140068bfb
test ecx, ecx
jle 0x140068bdc
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14013d430
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140068bfb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140068bfb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14014188c
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140068c20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140068c51
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140068ccb
mov rdi, r14
mov rcx, rbx
call fcn.14006af10
test rax, rax
jle 0x140068ca3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14013d430
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140068cbb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140068cc3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140068c65
sub r14, rdi
jmp 0x140068daf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140068ce2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140068ce4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140068d16
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14013d430
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140068dac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140068d51
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140068d8d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140144cdc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140068dac
cmp rbp, rax
ja 0x140068d60
test rbp, rbp
je 0x140068dac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140144cdc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400691b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14022e2a0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400691dd
xor eax, eax
jmp 0x14006932b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140069217
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140069217
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14006932b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14006931e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006925a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140069269
movsx ecx, dil
jmp 0x1400692bd
lea r8, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x41]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x1400692d7
sub eax, 1
je 0x1400692d7
cmp eax, 2
jne 0x14006931e
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call fcn.140140988
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140069323
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140069304
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14014188c
cmp rsi, rax
jne 0x14006931e
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140069323
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013b390
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140076b60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14022e2a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140076c34
cmp byte [rcx + 0x72], 0
je 0x140076c34
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140076c30
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140076bf6
sub eax, 1
je 0x140076bfa
cmp eax, 2
jne 0x140076c30
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14013b390
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140076c27
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.14014188c
cmp rdi, rax
jne 0x140076c30
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140076bde
xor al, al
jmp 0x140076bde
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14013b390
add rsp, 0x60
pop rbx
ret
Function at 0x14007f2d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14022e2a0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14007f301
xor eax, eax
jmp 0x14007f44e
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14007f33e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14007f33e
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14007f44e
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14007f443
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14007f385
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14007f3ae
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.140148074
cmp ax, di
je 0x14007f443
movzx edi, si
jmp 0x14007f443
lea r8, [rsp + 0x48]
mov word [rsp + 0x40], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x42]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x14007f404
sub eax, 1
je 0x14007f404
cmp eax, 2
jne 0x14007f443
movzx ecx, word [rsp + 0x40]
jmp 0x14007f391
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14007f431
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call fcn.14014188c
cmp rbp, rax
jne 0x14007f443
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
cmovne di, si
mov rbp, qword [rsp + 0xb0]
movzx eax, di
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013b390
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret