joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401af500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1401af5f9
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
test rcx, rcx
jle 0x1401af5e5
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call fcn.1401af760
xorps xmm15, xmm15
mov r14, qword [0x1403d7a68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x18]
cmp rcx, rdx
mov rbx, rdx
cmovl rdx, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
cmp rdi, rsi
jne 0x1401af593
cmp rcx, rbx
jmp 0x1401af5c8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov rax, rsi
mov rbx, rdi
mov rcx, rdx
call fcn.1400650c0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rbx, rcx
mov rsi, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x20]
jae 0x1401af5d8
mov byte [rsi + rcx], 0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rcx
mov rcx, rbx
nop
call fcn.140064700
lea rax, [0x1401f9420]
lea rbx, [0x14028c9d0]
call fcn.140036180
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140062080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1401af500

Function at 0x1401b1f10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r14
push r13
push r12
sub rsp, 0x20
mov eax, dword [0x1403dc970]
mov r14, rcx
test eax, eax
je 0x1401b1f48
xor ecx, ecx
xor r12d, r12d
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1401b1f6a
mov eax, r12d
add rsp, 0x20
pop r12
pop r13
pop r14
ret
lea rcx, str.HTML_Format
xor r12d, r12d
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
xor ecx, ecx
mov dword [0x1403dc970], eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401b1f36
mov rcx, r14
call sub.msvcrt.dll_strlen
mov ecx, 0x2002
lea rdx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r13, rax
test rax, rax
je 0x1401b1f36
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
test rax, rax
je 0x1401b1fcd
mov rdx, r14
call sub.msvcrt.dll_strcpy
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [0x1403dc970]
mov rdx, r13
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
setne r12b
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, r12d
add rsp, 0x20
pop r12
pop r13
pop r14
ret
Function at 0x1401b7320
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.1401b8900
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1401b8900
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x1401b7390
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1403dd454]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x1401b7540
mov rax, qword [0x1403dd458]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1401b73dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1401b7467
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1401b73c0
mov rcx, r12
call fcn.1401b7e40
mov rbp, rax
test rax, rax
je 0x1401b759d
mov rax, qword [0x1403dd458]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.1401b7f70
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1403dd458]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401b7582
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1401b7460
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401b74f0
add dword [0x1403dd454], 1
cmp ebx, 8
jae 0x1401b7498
test bl, 4
jne 0x1401b7550
test ebx, ebx
je 0x1401b7489
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1401b7570
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1401b7489
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1401b74ca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1403dd458]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401b7460
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1401b7320
xor edi, edi
jmp 0x1401b73e7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1401b7489
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1401b7489
mov rax, qword [0x1403dd458]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.1401b7320
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1401b7320
nop
nop dword [rax]
Function at 0x1401b7ab0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1403dd4c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1403dd4a0]
test rbx, rbx
je 0x1401b7b04
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1401b7afb
test r12, r12
je 0x1401b7afb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401b7ae0
lea rcx, [0x1403dd4c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1401b7e40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14037e560]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1401b7eb9
mov rcx, r10
call fcn.1401b7d10
test eax, eax
je 0x1401b7eb9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1401b7eb6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1401b7ead
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1401b7eb9
add r8, 0x28
cmp r8, r9
jne 0x1401b7e98
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140004c40
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
lea rdx, [rsp + 0x20]
mov rcx, r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebp, eax
test eax, eax
je 0x140004d4c
mov ecx, ebp
mov qword [rsp + 0x80], rsi
call fcn.140013d1c
mov edx, dword [rsp + 0x20]
mov r9, rax
mov r8d, ebp
mov rcx, r14
mov rsi, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x140004d3a
lea r9, [rsp + 0x24]
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x28]
mov rcx, rsi
lea rdx, [0x14006bf98]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x140004d3a
mov rdx, qword [rsp + 0x28]
movdqa xmm0, xmmword [0x14006c6d0]
mov ecx, dword [rdx + 8]
mov eax, ecx
shr eax, 0x10
mov dword [rsp + 0x38], eax
movzx eax, cx
mov ecx, dword [rdx + 0xc]
mov dword [rsp + 0x3c], eax
mov eax, ecx
shr eax, 0x10
mov dword [rsp + 0x40], eax
movzx eax, cx
mov dword [rsp + 0x44], eax
movdqu xmmword [rsp + 0x28], xmm0
nop dword [rax]
mov eax, dword [rsp + rbx + 0x28]
cmp dword [rsp + rbx + 0x38], eax
jne 0x140004d30
add rbx, 4
cmp rbx, 0x10
jl 0x140004d10
mov dword [rdi + 0xc0], 0x6ab
jmp 0x140004d3a
mov dword [rdi + 0xc0], 0x270f
xor edx, edx
mov rcx, rsi
call fcn.140013964
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140013940
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x140007650
Capabilities:
Delete file

Disassembly:
sub rsp, 0x478
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rcx, [rsp + 0x60]
sub rcx, rdx
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140007671
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.140036f8c
test rax, rax
je 0x140007758
cmp byte [rax - 1], 0x3a
je 0x140007758
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400076b0
cdqe
lea rcx, [rax + 1]
cmp rcx, 0x400
jae 0x140007772
add rax, 2
mov byte [rsp + rcx + 0x60], 0
cmp rax, 0x400
jae 0x140007772
xor ecx, ecx
mov byte [rsp + rax + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x42], rcx
mov qword [rsp + 0x30], rax
mov eax, 0x194
mov word [rsp + 0x40], ax
lea rax, [0x14006c210]
mov dword [rsp + 0x4a], ecx
mov word [rsp + 0x4e], cx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 3
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp dword [rsp + 0x44], 0
jne 0x140007758
mov eax, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140013940
add rsp, 0x478
ret
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140013940
add rsp, 0x478
ret
call fcn.140013a7c
int3
Function at 0x140007c80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140007ca2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140007d1c
mov rdi, r14
mov rcx, rbx
call fcn.140008e90
test rax, rax
jle 0x140007cf4
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.140031dd0
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 0x140007d0c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140007d14
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140007cb6
sub r14, rdi
jmp 0x140007e09
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140007d33
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007d35
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007d6a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140031dd0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140007e06
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140007da5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140007de1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14003ae58
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140007e1f
cmp rbp, rax
ja 0x140007db1
mov r8, rdi
test rdi, rdi
je 0x140007e06
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14003ae58
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140007e09
Function at 0x140008240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000826d
xor eax, eax
jmp 0x1400083b3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400082a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400082a7
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 0x1400083b3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400083a6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400082ea
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 0x1400082f9
movsx ecx, dil
jmp 0x14000834d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x1400083a6
cmp eax, 1
jle 0x140008367
cmp eax, 3
jne 0x1400083a6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140036580
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400083ab
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140008394
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14003a6f8
cmp rsi, rax
jne 0x1400083a6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400083ab
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140013940
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b9d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rdi, rdx
lea r8, [0x14006c2a0]
mov rdx, rcx
lea rcx, [rbp - 0x60]
call fcn.14003cc38
test eax, eax
jne 0x14000bb84
mov rsi, qword [rbp - 0x60]
test rsi, rsi
je 0x14000bb84
mov qword [rsp + 0x78], r14
mov rax, rdi
mov qword [rsp + 0x70], r15
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov r14d, r15d
test rdi, rdi
je 0x14000ba3f
mov rax, qword [rax + 0x30]
inc r14d
test rax, rax
jne 0x14000ba33
xor eax, eax
lea rcx, [rbp - 0x48]
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
mov edx, 0x28
mov dword [rbp - 0x28], r14d
mov eax, 0x2010
mov r9, rsi
movups xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x48], ax
lea r8d, [rdx - 0x27]
movups xmmword [rbp - 0x38], xmm0
call fcn.14003a6f8
test rdi, rdi
je 0x14000bb6c
mov qword [rsp + 0xb0], rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdi]
mov ecx, r15d
mov word [rbp - 0x48], ax
movzx eax, word [rdi + 2]
mov word [rbp - 0x46], ax
mov eax, dword [rdi + 4]
mov dword [rbp - 0x44], eax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x40], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x38], eax
mov eax, dword [rdi + 0x14]
mov dword [rbp - 0x34], eax
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x30], eax
mov eax, dword [rdi + 0x1c]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], ecx
mov dword [rbp - 0x24], r15d
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14000baec
cmp word [rax], r15w
jl 0x14000bae3
inc ecx
mov dword [rbp - 0x28], ecx
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14000bad8
mov edx, 0x28
lea rcx, [rbp - 0x48]
mov r9, rsi
lea r8d, [rdx - 0x27]
call fcn.14003a6f8
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14000bb57
nop word [rax + rax]
movzx ecx, word [rax]
lea rbx, [rax + 0x10]
test cx, cx
js 0x14000bb4f
mov word [rbp - 0x58], cx
mov edx, 0x10
movzx ecx, word [rax + 2]
mov r9, rsi
mov word [rbp - 0x56], cx
mov ecx, dword [rax + 4]
mov dword [rbp - 0x54], ecx
lea r8d, [rdx - 0xf]
mov ecx, dword [rax + 8]
mov dword [rbp - 0x50], ecx
mov ecx, dword [rax + 0xc]
mov dword [rbp - 0x4c], ecx
lea rcx, [rbp - 0x58]
call fcn.14003a6f8
mov rax, qword [rbx]
test rax, rax
jne 0x14000bb10
mov rdi, qword [rdi + 0x30]
test rdi, rdi
jne 0x14000ba90
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rbp - 0x60]
call fcn.140036c6c
mov r15, qword [rsp + 0x70]
mov eax, r14d
mov r14, qword [rsp + 0x78]
jmp 0x14000bb89
mov eax, 0xffffffdd
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140013940
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e4d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x110]
test rcx, rcx
jne 0x14000e509
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013940
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x60], rsi
mov rsi, 0xffffffffffffffff
mov rax, rsi
mov qword [rsp + 0x68], rdi
nop dword [rax]
cmp byte [rdx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14000e520
lea r8d, [rax + 1]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 0x118]
mov edi, eax
test rcx, rcx
je 0x14000e557
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rsp + 0x30]
test edi, edi
mov rdi, qword [rsp + 0x68]
cmove eax, esi
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013940
add rsp, 0x40
pop rbx
ret

Function at 0x14000e580
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rcx + 0x110], 0
mov rdi, rcx
je 0x14000e62f
cmp qword [rcx + 0x118], 0
je 0x14000e5e1
lea rdx, [0x14006c3c8]
call fcn.14000e4d0
mov rcx, qword [rdi + 0x118]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013940
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
xor esi, esi
nop dword [rax]
mov rcx, qword [rdi + 0x110]
lea r9, [rsp + 0x30]
mov r8d, 4
mov qword [rsp + 0x20], rsi
lea rdx, [0x14006c3c8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xa
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x14000e5f0
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013940
add rsp, 0x40
pop rdi
ret
Function at 0x14000f740
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xcb0
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rsp + 0xca0], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
xor edx, edx
mov r8d, 0x600
lea rcx, [rsp + 0x260]
call fcn.140032280
lea rcx, [rsp + 0xaa0]
sub rcx, rbx
nop dword [rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14000f790
mov edx, 0x5c
lea rcx, [rsp + 0xaa0]
call fcn.140031bd0
mov byte [rax], 0
mov edx, 0x5c
lea rcx, [rsp + 0xaa0]
call fcn.140031bd0
mov byte [rax], 0
xor edx, edx
mov r8d, 0xa40
lea rcx, [rsp + 0x60]
call fcn.140032280
mov r8, rdi
lea rdx, [0x14006c47c]
lea rcx, [rsp + 0x60]
call fcn.1400098c0
lea r8, [rsp + 0xaa0]
lea rdx, str._sobinGbrunion_DLL
lea rcx, [rsp + 0x460]
call fcn.1400098c0
lea r8, [rsp + 0xaa0]
lea rdx, [0x14006c47c]
lea rcx, [rsp + 0x660]
call fcn.1400098c0
mov r8, rsi
lea rdx, [0x14006c47c]
lea rcx, [rsp + 0xba0]
call fcn.140009920
xor ebx, ebx
mov ecx, ebx
movzx eax, byte [rsp + rcx + 0xba0]
mov byte [rsp + rcx + 0x860], al
lea rcx, [rcx + 1]
test al, al
jne 0x14000f841
mov eax, dword [rsp + 0xce0]
mov dword [rsp + 0xa60], eax
mov dword [rsp + 0xa64], 0x86
mov dword [rsp + 0xa68], 4
movsd xmm0, qword [0x14006c620]
movsd qword [rsp + 0xa78], xmm0
movaps xmm1, xmmword [0x14006c6c0]
movaps xmmword [rsp + 0xa80], xmm1
mov ecx, 0x128
call fcn.140013c10
mov rdi, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x128
mov rcx, rax
call fcn.140032280
mov edx, 2
mov rcx, rdi
call fcn.140012640
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x60], rbx
lea rcx, [rdi + 0x68]
lea r8, str.DyMtx_GetContPe
mov edx, 0x40
call fcn.14003a448
nop
mov word [rdi + 0xa8], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0xac], eax
mov qword [rdi + 0xb0], rbx
mov qword [rdi + 0xb8], rbx
mov dword [rdi + 0xc0], ebx
lea rcx, [rdi + 0xc8]
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov r8d, 0xd
lea rdx, str.dyacsv64.dll
call fcn.140009140
nop
lea rcx, [rdi + 0xe8]
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov r8d, 4
lea rdx, str._vkf
call fcn.140009140
nop
lea rcx, [rdi + 0x108]
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov r8d, 0xf
lea rdx, str.gbrunion64.dll
call fcn.140009140
mov qword [rdi + 0xb0], rbx
mov qword [rdi + 0xb8], rbx
mov byte [rdi + 0xa9], 0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140005450
mov rbx, rax
mov rcx, rdi
call fcn.14000f9f0
mov rax, rbx
mov rcx, qword [rsp + 0xca0]
xor rcx, rsp
call fcn.140013940
lea r11, [rsp + 0xcb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret