joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140070860
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx]
mov edx, eax
shr edx, 4
test ah, 2
jne 0x1400708e0
test dl, 2
jne 0x1400708a8
test dh, 2
jne 0x140070910
test rcx, rcx
je 0x14007088d
test byte [rcx + 0x113], 2
je 0x1400708f0
and dh, 1
lea rbx, [0x1401d71f8]
lea rax, [0x1401d71f6]
cmovne rbx, rax
jmp 0x1400708af
lea rbx, [0x1401d71f2]
mov ecx, 1
call qword [fcn.1401bee20]
mov rcx, rbx
mov r8d, 1
mov edx, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 0x20
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_putchar
lea rbx, [0x1401d71f0]
jmp 0x1400708af
cmp qword [rcx + 0x570], 0
lea rbx, [0x1401d71fa]
jne 0x1400708af
test byte [rcx + 0x114], 4
jne 0x140070920
add rsp, 0x20
pop rbx
ret
lea rbx, [0x1401d71f4]
jmp 0x1400708af
lea rbx, [0x1401d71fc]
jmp 0x1400708af

Function at 0x140070b40
Capabilities:
Set thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [0x140207460]
mov rsi, qword [sym.imp.msvcrt.dll__errno]
mov rax, qword [r13]
mov qword [rsp + 0x28], rax
xor eax, eax
mov rbx, rcx
mov r12, rdx
mov ebp, r8d
lea rdi, [rsp + 0x24]
jmp 0x140070b8b
call rsi
cmp dword [rax], 4
jne 0x140070c30
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400baec0
test rax, rax
js 0x140070b80
cmp rbx, rax
je 0x140070be0
xor r14d, r14d
mov edi, 0xffffffff
test ebp, ebp
je 0x140070c60
call rsi
mov dword [rax], r14d
mov rax, qword [rsp + 0x28]
sub rax, qword [r13]
jne 0x140070c74
mov eax, edi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movzx edi, byte [rsp + 0x24]
xor r14d, r14d
test ebp, ebp
jne 0x140070bb3
mov rax, qword [0x14023d948]
test rax, rax
je 0x140070c28
lea r8, [0x14023d948]
jmp 0x140070c11
lea r8, [rcx + 0x10]
test rax, rax
je 0x140070c28
mov rdx, qword [rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp rbx, rdx
jne 0x140070c08
mov qword [r8], rax
call fcn.1400d2670
mov r14d, ebp
jmp 0x140070bb3
call rsi
mov edi, 0xffffffff
mov r14d, dword [rax]
test ebp, ebp
jne 0x140070bb3
mov rdx, r12
lea rcx, str.waitpid_for__s_failed
mov ebp, r14d
call fcn.1400a0ab0
jmp 0x140070bec
mov rdx, r12
lea rcx, str.waitpid_is_confused___s_
call fcn.1400a0b40
jmp 0x140070bec
call fcn.1401be670
nop
nop word [rax + rax]
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
mov ecx, dword [0x14023d90c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbx + 0x3c]
mov ecx, dword [rbx + 0x38]
mov r8, qword [rbx + 8]
call qword [rbx]
cdqe
add rsp, 0x20
pop rbx
ret
Function at 0x140070c80
Capabilities:
Set thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [0x140207460]
mov rsi, qword [sym.imp.msvcrt.dll__errno]
mov rax, qword [r13]
mov qword [rsp + 0x28], rax
xor eax, eax
mov rbx, rcx
mov r12, rdx
mov ebp, r8d
lea rdi, [rsp + 0x24]
jmp 0x140070b8b
call rsi
cmp dword [rax], 4
jne 0x140070c30
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400baec0
test rax, rax
js 0x140070b80
cmp rbx, rax
je 0x140070be0
xor r14d, r14d
mov edi, 0xffffffff
test ebp, ebp
je 0x140070c60
call rsi
mov dword [rax], r14d
mov rax, qword [rsp + 0x28]
sub rax, qword [r13]
jne 0x140070c74
mov eax, edi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movzx edi, byte [rsp + 0x24]
xor r14d, r14d
test ebp, ebp
jne 0x140070bb3
mov rax, qword [0x14023d948]
test rax, rax
je 0x140070c28
lea r8, [0x14023d948]
jmp 0x140070c11
lea r8, [rcx + 0x10]
test rax, rax
je 0x140070c28
mov rdx, qword [rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp rbx, rdx
jne 0x140070c08
mov qword [r8], rax
call fcn.1400d2670
mov r14d, ebp
jmp 0x140070bb3
call rsi
mov edi, 0xffffffff
mov r14d, dword [rax]
test ebp, ebp
jne 0x140070bb3
mov rdx, r12
lea rcx, str.waitpid_for__s_failed
mov ebp, r14d
call fcn.1400a0ab0
jmp 0x140070bec
mov rdx, r12
lea rcx, str.waitpid_is_confused___s_
call fcn.1400a0b40
jmp 0x140070bec
call fcn.1401be670
nop
nop word [rax + rax]
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
mov ecx, dword [0x14023d90c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbx + 0x3c]
mov ecx, dword [rbx + 0x38]
mov r8, qword [rbx + 8]
call qword [rbx]
cdqe
add rsp, 0x20
pop rbx
ret
Function at 0x140070de0
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
sub rsp, 0x28
mov r8d, 0xac
lea rdx, [0x1401d72b1]
lea rcx, [0x1401d72ba]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x140207460]
mov rbx, rcx
mov rsi, rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
call fcn.1400a07e0
mov rdx, rsi
mov rcx, rbx
call rax
mov eax, dword [0x14023d910]
test eax, eax
jne 0x140070e52
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x418
call fcn.140003470
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, [rsp + 0x20]
mov ebx, dword [0x14023d938]
call fcn.1400c3900
cmp ebx, dword [rsp + 0x38]
je 0x140070e34
mov ecx, dword [0x14023d90c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x140070e83
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140070e8f
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x14023d900]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
cmp qword [rsi + 0x10], 0
mov ebp, ecx
je 0x140070efc
xor ebx, ebx
jmp 0x140070ed2
add rbx, 1
cmp rbx, qword [rsi + 0x10]
jae 0x140070efc
lea rax, [rbx + rbx*4]
lea rdx, [rbx + rax*4]
mov rax, qword [rdi + 8]
lea rax, [rax + rdx*8]
cmp dword [rax], 1
jne 0x140070ec8
mov rcx, qword [rax + 0x38]
mov edx, ebp
add rbx, 1
call fcn.1400ba340
cmp rbx, qword [rsi + 0x10]
jb 0x140070ed2
mov ecx, ebp
call fcn.14007b110
mov ecx, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400bade0
Function at 0x140070e00
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
sub rsp, 0x28
mov r8d, 0xac
lea rdx, [0x1401d72b1]
lea rcx, [0x1401d72ba]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x140207460]
mov rbx, rcx
mov rsi, rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
call fcn.1400a07e0
mov rdx, rsi
mov rcx, rbx
call rax
mov eax, dword [0x14023d910]
test eax, eax
jne 0x140070e52
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x418
call fcn.140003470
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, [rsp + 0x20]
mov ebx, dword [0x14023d938]
call fcn.1400c3900
cmp ebx, dword [rsp + 0x38]
je 0x140070e34
mov ecx, dword [0x14023d90c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x140070e83
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140070e8f
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x14023d900]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
cmp qword [rsi + 0x10], 0
mov ebp, ecx
je 0x140070efc
xor ebx, ebx
jmp 0x140070ed2
add rbx, 1
cmp rbx, qword [rsi + 0x10]
jae 0x140070efc
lea rax, [rbx + rbx*4]
lea rdx, [rbx + rax*4]
mov rax, qword [rdi + 8]
lea rax, [rax + rdx*8]
cmp dword [rax], 1
jne 0x140070ec8
mov rcx, qword [rax + 0x38]
mov edx, ebp
add rbx, 1
call fcn.1400ba340
cmp rbx, qword [rsi + 0x10]
jb 0x140070ed2
mov ecx, ebp
call fcn.14007b110
mov ecx, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400bade0
Function at 0x140070ea0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r8d, 0xac
lea rdx, [0x1401d72b1]
lea rcx, [0x1401d72ba]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x140207460]
mov rbx, rcx
mov rsi, rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
call fcn.1400a07e0
mov rdx, rsi
mov rcx, rbx
call rax
mov eax, dword [0x14023d910]
test eax, eax
jne 0x140070e52
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x418
call fcn.140003470
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, [rsp + 0x20]
mov ebx, dword [0x14023d938]
call fcn.1400c3900
cmp ebx, dword [rsp + 0x38]
je 0x140070e34
mov ecx, dword [0x14023d90c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x140070e83
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140070e8f
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x14023d900]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
cmp qword [rsi + 0x10], 0
mov ebp, ecx
je 0x140070efc
xor ebx, ebx
jmp 0x140070ed2
add rbx, 1
cmp rbx, qword [rsi + 0x10]
jae 0x140070efc
lea rax, [rbx + rbx*4]
lea rdx, [rbx + rax*4]
mov rax, qword [rdi + 8]
lea rax, [rax + rdx*8]
cmp dword [rax], 1
jne 0x140070ec8
mov rcx, qword [rax + 0x38]
mov edx, ebp
add rbx, 1
call fcn.1400ba340
cmp rbx, qword [rsi + 0x10]
jb 0x140070ed2
mov ecx, ebp
call fcn.14007b110
mov ecx, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400bade0

Function at 0x140071e60
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [rcx + 0x5c]
mov rbx, rcx
test edx, edx
js 0x140071ecc
mov eax, dword [rcx + 0x60]
test eax, eax
js 0x140071ecc
call fcn.1400711b0
test eax, eax
jne 0x140071ec6
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
mov rdx, qword [rax]
call fcn.140070b40
mov r8, rbx
mov edx, 0x3d3
lea rcx, str.run_command.c
mov r9d, eax
mov dword [rsp + 0x2c], eax
call fcn.14008f0b0
mov rcx, rbx
call fcn.140083180
lea rcx, [rbx + 0x18]
call fcn.140083180
call fcn.14008b200
mov eax, dword [rsp + 0x2c]
add rsp, 0x30
pop rbx
ret
lea r8, str.run_command_with_a_pipe_can_cause_deadlock
mov edx, 0x3e7
lea rcx, str.run_command.c
call fcn.1400a0ca0
nop
nop word cs:[rax + rax]

Function at 0x140071ef0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x140207460]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
mov eax, dword [0x14023d910]
test eax, eax
je 0x140071f28
lea rcx, [rsp + 0x20]
mov esi, dword [0x14023d938]
call fcn.1400c3900
xor eax, eax
cmp dword [rsp + 0x38], esi
setne al
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbx]
jne 0x140071f39
add rsp, 0x58
pop rbx
pop rsi
ret
call fcn.1401be670
nop
nop
Function at 0x140071f40
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140207460]
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
cmp ecx, 0x20
je 0x140071f70
mov rbx, qword [rsp + 0x48]
sub rbx, qword [rax]
jne 0x140071fd1
add rsp, 0x50
pop rbx
ret
mov eax, dword [0x14023d910]
test eax, eax
jne 0x140071fb0
xor edx, edx
mov ecx, 0xd
call fcn.1400badb0
mov ecx, 0xd
call fcn.1400bade0
mov r8d, 0x8d
mov edx, 0x46b
lea rcx, str.run_command.c
call fcn.140003470
mov ecx, eax
call sub.msvcrt.dll_exit
nop
lea rcx, [rsp + 0x20]
mov ebx, dword [0x14023d938]
call fcn.1400c3900
cmp ebx, dword [rsp + 0x38]
je 0x140071f7a
mov ecx, 0x8d
call qword [sym.imp.msvcrt.dll__endthreadex]
call fcn.1401be670
nop
nop word [rax + rax]
Function at 0x140071fe0
Capabilities:
Allocate thread local storage

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov r13, qword [0x140207460]
mov r12d, dword [rcx + 0x10]
mov rax, qword [r13]
mov qword [rsp + 0x68], rax
xor eax, eax
mov rbx, rcx
test r12d, r12d
js 0x1400720e8
mov edi, dword [rcx + 0x14]
test edi, edi
js 0x140072140
test r12d, r12d
mov esi, 0xffffffff
cmovne esi, r12d
test edi, edi
mov ebp, 0xffffffff
cmovne ebp, edi
mov edx, dword [0x14023d910]
test edx, edx
je 0x140072080
mov dword [rbx + 0x38], esi
xor edx, edx
lea rcx, [rbx + 0x18]
mov r9, rbx
mov dword [rbx + 0x3c], ebp
lea r8, [0x140070c80]
call fcn.1400c3820
test eax, eax
jne 0x140072168
mov rdx, qword [rsp + 0x68]
sub rdx, qword [r13]
jne 0x140072221
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [0x14023d910], 1
lea rcx, [rsp + 0x30]
call fcn.1400c3900
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmm1, xmmword [rsp + 0x40]
mov r14, qword [sym.imp.KERNEL32.dll_TlsAlloc]
movups xmmword [0x14023d920], xmm0
movups xmmword [0x14023d930], xmm1
call r14
mov dword [0x14023d90c], eax
call r14
lea rcx, [0x140070e00]
mov dword [0x14023d908], eax
call fcn.1400a07d0
lea rcx, [0x140070cb0]
call fcn.1400a0830
jmp 0x14007203b
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.1400ba260
test eax, eax
js 0x1400721be
mov eax, dword [rsp + 0x5c]
mov edi, dword [rbx + 0x14]
mov dword [rbx + 0x10], eax
test edi, edi
js 0x140072118
mov esi, dword [rsp + 0x58]
jmp 0x140072027
lea rcx, [rsp + 0x60]
call fcn.1400ba260
test eax, eax
js 0x140072217
mov eax, dword [rsp + 0x60]
mov esi, dword [rsp + 0x58]
mov dword [rbx + 0x14], eax
mov ebp, dword [rsp + 0x64]
jmp 0x140072031
lea rcx, [rsp + 0x60]
call fcn.1400ba260
test eax, eax
js 0x1400721d3
mov eax, dword [rsp + 0x60]
mov esi, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
test esi, esi
mov eax, 0xffffffff
cmove esi, eax
jmp 0x140072135
mov ecx, eax
call sub.msvcrt.dll_strerror
lea rcx, str.cannot_create_async_thread:__s
mov rdx, rax
mov rax, qword [0x1402078f0]
mov eax, dword [rax]
test eax, eax
je 0x140072198
mov qword [rsp + 0x28], rdx
call sub.libintl_8.dll_libintl_gettext
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.1400a0b40
test r12d, r12d
js 0x140072203
mov ecx, dword [rbx + 0x10]
test ecx, ecx
jne 0x1400721fc
test edi, edi
js 0x1400721e8
mov ecx, dword [rbx + 0x14]
test ecx, ecx
jne 0x1400721e1
mov eax, 0xffffffff
jmp 0x14007205e
mov ecx, dword [rbx + 0x14]
test ecx, ecx
jg 0x1400721da
lea rcx, str.cannot_create_pipe
call fcn.1400a0ab0
jmp 0x1400721b4
mov ecx, dword [rbx + 0x10]
test ecx, ecx
je 0x1400721c5
call sub.msvcrt.dll__close
jmp 0x1400721c5
call sub.msvcrt.dll__close
jmp 0x1400721b4
mov ecx, dword [rsp + 0x60]
call sub.msvcrt.dll__close
mov ecx, dword [rsp + 0x64]
call sub.msvcrt.dll__close
jmp 0x1400721b4
call sub.msvcrt.dll__close
jmp 0x1400721a9
mov ecx, dword [rsp + 0x58]
call sub.msvcrt.dll__close
mov ecx, dword [rsp + 0x5c]
call sub.msvcrt.dll__close
jmp 0x1400721a9
mov rcx, rsi
call fcn.140070930
jmp 0x1400721c5
call fcn.1401be670
nop
nop word [rax + rax]
Function at 0x14007dff0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x140207460]
mov r15, rdx
mov r14, rcx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
test r15, r15
je 0x14007e22d
xor r11d, r11d
movsxd rax, r9d
mov dword [rsp + 0xb0], r8d
xor edi, edi
mov qword [rsp + 0x28], rax
mov ebp, 1
mov rsi, r11
lea r12, [0x14023dbd0]
mov dword [rsp + 0xb8], r9d
jmp 0x14007e107
mov rdx, rbx
mov rcx, r13
call fcn.14007da40
mov rcx, qword [r13 + 8]
mov rdx, r14
add rcx, qword [r13 + 0x10]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
mov rdx, qword [r13 + 8]
add rdx, rbx
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rax, rdx
jb 0x14007e239
mov rax, qword [r13 + 0x10]
mov qword [r13 + 8], rdx
cmp rax, r12
je 0x14007e198
mov byte [rax + rdx], 0
lea r8, [rbp + 1]
cmp rdi, r8
jae 0x14007e0ef
movabs rax, 0x1fffffffffffffff
lea rdi, [rdi + rdi*2 + 0x30]
shr rdi, 1
cmp rdi, r8
cmovb rdi, r8
cmp rax, rdi
jb 0x14007e251
mov rcx, rsi
lea rdx, [rdi*8]
mov qword [rsp + 0x20], r8
call fcn.1400a61c0
mov r8, qword [rsp + 0x20]
mov rsi, rax
shl rbp, 3
add r14, rbx
mov qword [rsi + rbp - 8], r13
sub r15, rbx
je 0x14007e1c0
mov rbp, r8
mov eax, dword [rsp + 0xb8]
mov ebx, r15d
test eax, eax
jle 0x14007e11f
mov rax, qword [rsp + 0x28]
cmp rbp, rax
jae 0x14007e140
mov edx, dword [rsp + 0xb0]
mov r8, r15
mov rcx, r14
call sub.msvcrt.dll_memchr
mov rdx, rax
sub rdx, r14
add edx, 1
test rax, rax
cmovne ebx, edx
mov ecx, 0x18
movsxd rbx, ebx
call fcn.1400a5fa0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], 0
mov r13, rax
mov qword [rsp + 0x38], 0
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], r12
test rbx, rbx
je 0x14007e058
mov rdx, rbx
mov rcx, rax
call fcn.14007da40
jmp 0x14007e058
cmp byte [r12], 0
je 0x14007e0a7
mov r8d, 0xac
lea rdx, [0x1401d8e30]
lea rcx, [0x1401d8e39]
call qword [sym.imp.msvcrt.dll__assert]
nop dword [rax]
mov r13, r8
mov r11, rsi
cmp rdi, r8
jb 0x14007e200
mov qword [r11 + rbp], 0
mov rsi, qword [0x140207460]
mov rax, qword [rsp + 0x48]
sub rax, qword [rsi]
jne 0x14007e265
mov rax, r11
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [rdi + rdi*2 + 0x30]
shr r8, 1
cmp r8, r13
cmovb r8, r13
mov rax, r8
shr rax, 0x3d
jne 0x14007e26a
lea rdx, [r8*8]
mov rcx, r11
call fcn.1400a61c0
mov r11, rax
jmp 0x14007e1cb
xor ebp, ebp
mov edx, 0xc0
xor r11d, r11d
jmp 0x14007e220
lea r8, [0x1401d8e74]
mov edx, 0xa7
lea rcx, [0x1401d8e30]
call fcn.1400a0ca0
mov r8, rdi
mov edx, 8
lea rcx, [0x1401d8e98]
call fcn.1400a08a0
call fcn.1401be670
mov edx, 8
lea rcx, [0x1401d8e98]
call fcn.1400a08a0
nop
nop dword [rax]
Function at 0x14007f620
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, qword [0x140207460]
mov r12, qword [rcx + 8]
mov r13, qword [rcx]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
xor eax, eax
mov edi, edx
test r8, r8
mov rdx, r8
mov eax, 0x2000
mov rsi, rcx
cmove rdx, rax
call fcn.14007da40
jmp 0x14007f679
mov qword [rsi + 0x10], 0
xor ecx, ecx
mov qword [rsi], rdx
call fcn.1400a61c0
mov qword [rsi + 0x10], rax
mov byte [rax], 0
mov rcx, qword [rsi + 0x10]
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
lea rbx, [r8 - 1]
sub rbx, rax
lea rdx, [rcx + rax]
mov ecx, edi
mov r8, rbx
call fcn.1400a6630
test rax, rax
js 0x14007f700
mov rdx, qword [rsi + 8]
add rdx, rax
mov qword [rsi + 8], rdx
cmp rbx, rax
jg 0x14007f738
mov r8, qword [rsi]
cmp rdx, 0xffffffffffffdffe
ja 0x14007f7d0
add rdx, 0x2001
test r8, r8
je 0x14007f660
mov rcx, qword [rsi + 0x10]
cmp r8, rdx
jae 0x14007f680
lea rax, [r8 + r8*2 + 0x30]
shr rax, 1
cmp rax, rdx
cmovae rdx, rax
mov qword [rsi], rdx
call fcn.1400a61c0
mov r8, qword [rsi]
mov qword [rsi + 0x10], rax
mov rcx, rax
jmp 0x14007f680
mov rax, qword [rsi]
test r13, r13
jne 0x14007f750
test rax, rax
jne 0x14007f780
mov rax, 0xffffffffffffffff
nop dword [rax]
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbp]
jne 0x14007f7f4
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [rsi + 0x10]
mov byte [rax + rdx], 0
mov rax, qword [rsi + 8]
sub rax, r12
jmp 0x14007f718
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rax, r12
jb 0x14007f7dc
mov rax, qword [rsi + 0x10]
lea rdx, [0x14023dbd0]
mov qword [rsi + 8], r12
cmp rax, rdx
je 0x14007f7bf
mov byte [rax + r12], 0
jmp 0x14007f70d
mov rcx, qword [rsi + 0x10]
call fcn.1400d2670
lea rax, [0x14023dbd0]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], rax
jmp 0x14007f70d
cmp byte [rax], 0
je 0x14007f70d
call fcn.14007d6b0
nop dword [rax]
lea rcx, str.you_want_to_use_way_too_much_memory
call fcn.1400a08a0
lea r8, [0x1401d8e74]
mov edx, 0xa7
lea rcx, [0x1401d8e30]
call fcn.1400a0ca0
call fcn.1401be670
nop
nop word [rax + rax]
Function at 0x14007f800
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x140207460]
mov rdi, qword [rcx]
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
xor eax, eax
mov ebp, edx
test r8, r8
mov rdx, r8
mov eax, 0x2000
mov rbx, rcx
cmove rdx, rax
call fcn.14007da40
mov rdx, qword [rbx + 8]
mov ecx, ebp
mov r8, rdx
add rdx, qword [rbx + 0x10]
not r8
add r8, qword [rbx]
call fcn.1400a6460
test rax, rax
jg 0x14007f8c0
test rdi, rdi
je 0x14007f870
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsi]
jne 0x14007f906
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp qword [rbx], 0
je 0x14007f857
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x28], rax
call fcn.1400d2670
lea rdx, [0x14023dbd0]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], rdx
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], rdx
jmp 0x14007f857
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
add rcx, rax
cmp rdx, 1
adc rdx, 0xffffffffffffffff
cmp rdx, rcx
jb 0x14007f90b
mov rdx, qword [rbx + 0x10]
lea r8, [0x14023dbd0]
mov qword [rbx + 8], rcx
cmp rdx, r8
je 0x14007f8f8
mov byte [rdx + rcx], 0
jmp 0x14007f857
cmp byte [rdx], 0
je 0x14007f857
call fcn.14007d6b0
call fcn.1401be670
lea r8, [0x1401d8e74]
mov edx, 0xa7
lea rcx, [0x1401d8e30]
call fcn.1400a0ca0
nop
nop word cs:[rax + rax]
nop
Function at 0x140081c40
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, 0x98
mov r12, qword [0x140207460]
mov r13, qword [rsp + 0x100]
mov rsi, rcx
mov ecx, 0x80c8
mov rdi, rdx
mov r14, r8
mov rax, qword [r12]
mov qword [rsp + 0x88], rax
xor eax, eax
mov rbp, r9
call fcn.1400a5fa0
mov rcx, rsi
mov rbx, rax
call fcn.1400660f0
test eax, eax
je 0x140081cb8
mov rax, qword [rsi + 0x10]
test byte [rax + 0x30], 1
je 0x140081caa
mov rax, qword [rax + 0x28]
mov ecx, dword [rax + 0x1c]
test ecx, ecx
je 0x140081cb8
mov rdx, rdi
mov rcx, rsi
call fcn.140066060
mov rdi, rax
lea r15, [rsp + 0x30]
pxor xmm0, xmm0
xor r9d, r9d
mov rdx, rdi
lea rax, [rsp + 0x2c]
mov r8, r15
mov rcx, rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140029f30
test eax, eax
js 0x140081e60
mov edx, dword [rsp + 0x60]
lea rax, [0x140081680]
cmp edx, 1
je 0x140081d28
lea rax, [0x140081320]
cmp edx, 2
jne 0x140081d28
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x140081e70
nop dword [rax]
mov qword [rbx], rax
mov r9, r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
test eax, eax
jne 0x140081de0
test r13, r13
je 0x140081dd0
mov ecx, 0x80c8
lea rdi, [0x140081bd0]
call fcn.1400a5fa0
lea rdx, [0x1400819c0]
movq xmm0, rdi
movq xmm1, rdx
mov edx, 0xffffffff
mov qword [rax + 0xa0], rbx
punpcklqdq xmm0, xmm1
mov qword [rax + 0xa8], r13
mov dword [rax + 0x80c0], 0
mov dword [rax + 0x18], 0xffffffff
movups xmmword [rax + 8], xmm0
pxor xmm0, xmm0
movups xmmword [rax + 0x80b0], xmm0
mov dword [rbp], edx
mov rdx, qword [rsp + 0x88]
sub rdx, qword [r12]
jne 0x140081ea7
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rbx + 0x18]
mov rax, rbx
jmp 0x140081da3
pxor xmm0, xmm0
mov r9d, 0x20
mov r8, r15
mov rdx, rdi
lea rax, [0x140081960]
lea rcx, [0x140081300]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
movq xmm2, rax
lea rax, [rbx + 0x18]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movq xmm0, rcx
mov rcx, rsi
mov dword [rbx + 0xa8], 0
punpcklqdq xmm0, xmm2
movups xmmword [rbx + 8], xmm0
mov qword [rsp + 0x38], rax
lea rax, [rbx + 0xa0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x58], rax
call fcn.140029f30
test eax, eax
je 0x140081d41
nop dword [rax + rax]
mov rcx, rbx
call fcn.1400d2670
xor eax, eax
jmp 0x140081da6
mov rdx, qword [0x1402075e0]
mov ecx, dword [rsp + 0x2c]
cmp dword [rdx], ecx
jae 0x140081d28
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0xa0], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0xa8], rax
lea rax, [0x1400813d0]
jmp 0x140081d28
call fcn.1401be670
nop
nop dword [rax]