joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023fa8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140031290], rdi
je 0x140024001
cmp rax, rdi
jne 0x140023ff4
mov esi, 1
jmp 0x140024001
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140023fdb
mov eax, dword [0x140031288]
cmp eax, 1
jne 0x140024016
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14002407b
mov eax, dword [0x140031288]
test eax, eax
jne 0x140024071
mov dword [0x140031288], 1
lea r12, [0x140025890]
lea rdi, [0x140025878]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x140024063
test eax, eax
jne 0x140024063
mov rcx, qword [rdi]
test rcx, rcx
je 0x140024058
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x140024041
test eax, eax
je 0x14002407b
mov eax, 0xff
jmp 0x1400241c5
mov dword [0x14002f25c], 1
mov eax, dword [0x140031288]
cmp eax, 1
jne 0x1400240a3
lea rdx, [0x140025870]
lea rcx, [0x140025770]
call sub.msvcrt.dll__initterm
mov dword [0x140031288], 2
test esi, esi
jne 0x1400240b0
xor eax, eax
xchg qword [0x140031290], rax
cmp qword [0x140031298], 0
je 0x1400240d9
lea rcx, [0x140031298]
call fcn.1400243b8
test eax, eax
je 0x1400240d9
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x140031298]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x140024164
cmp byte [rdi], 0
je 0x1400240fa
test esi, esi
jne 0x140024164
cmp byte [rdi], 0
je 0x14002410e
cmp byte [rdi], 0x20
ja 0x14002410e
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x1400240fa
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x140000000]
call fcn.140008eac
mov dword [0x14002f258], eax
cmp dword [0x14002f23c], 0
jne 0x14002414d
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002f25c], 0
jne 0x140024162
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002f258]
jmp 0x1400241c5
cmp byte [rdi], 0x22
jne 0x140024176
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14002418b
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x1400240ec
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.1400244a8
add rsp, 0x28
jmp 0x140023fa8
Function at 0x140024408
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140024455
cmp rcx, 0xffffffffffffffff
je 0x140024455
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002444d
cmp dword [rcx + 0x3c], edx
jl 0x14002444d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14002444d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140024455
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140009e40
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], r9b
mov r14, r8
mov r15, rdx
mov r12, rcx
xor esi, esi
mov dword [rsp + 0x38], esi
movdqa xmm0, xmmword [0x1400a07f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov dword [rsp + 0x38], 1
mov rdx, qword [r8 + 0x10]
add rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000ad10
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140009ec1
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005500
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140009edc
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005500
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140009f44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009f3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a009
call fcn.14003e9b0
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x34], esi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
jne 0x140009f76
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140009fe1
mov rbx, qword [rsp + 0x40]
mov edi, esi
cmp dword [rsp + 0x34], esi
jbe 0x140009fdf
movzx ebp, byte [rsp + 0xe8]
movzx r13d, byte [rsp + 0xe0]
movzx eax, byte [rsp + 0x30]
nop dword [rax]
test al, al
je 0x140009faa
cmp dword [rbx + 0x10], 0
jne 0x140009fd3
mov r9d, dword [rbx]
mov byte [rsp + 0x20], bpl
mov r8, r14
mov rdx, r15
mov rcx, r12
test r13b, r13b
je 0x140009fc7
call sym.fik.exe_private:_unsigned_long_int___cdecl_NativeUserUnmanaged::LaunchAppIntoDifferentSessionFromService_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__unsigned_long_int__bool____ptr64
jmp 0x140009fcc
call sym.fik.exe_private:_unsigned_long_int___cdecl_NativeUserUnmanaged::LaunchAppIntoDifferentSession_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__unsigned_long_int__bool____ptr64
mov esi, eax
movzx eax, byte [rsp + 0x30]
add rbx, 0x18
inc edi
cmp edi, dword [rsp + 0x34]
jb 0x140009fa0
mov eax, esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003e950
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140060238
int3
Function at 0x14000a7d0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
je 0x14000a821
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
test rax, rax
je 0x14000a810
call rax
mov eax, 1
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000a830
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor eax, eax
lea rcx, str.kernel32
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x14000a87f
call rax
jmp 0x14000a885
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
mov edx, 0xfffc
lea eax, [rcx - 6]
test dx, ax
jne 0x14000a8a4
cmp cx, 8
je 0x14000a8a4
mov al, 1
add rsp, 0x58
ret
xor al, al
add rsp, 0x58
ret

Function at 0x14000a970
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x238
xor edi, edi
call fcn.14005d770
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000aa83
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000aa83
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a9f0
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14000aa07
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rdx, rax
jne 0x14000aa50
lea rax, [rsp + 0x4c]
test rdx, rdx
je 0x14000aa36
lea rcx, [rsp + 0x4c]
sub r8, rcx
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x14000aa50
add rax, 2
sub rdx, 1
jne 0x14000aa22
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14000aa6c
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x14000a9e1
test rdi, rdi
je 0x14000aa75
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
jmp 0x14000aa85
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003e950
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400117b0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, rdx
mov rdi, rcx
mov rdx, qword [rcx + 8]
xorps xmm0, xmm0
xor ecx, ecx
movzx esi, r8w
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140011838
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], dx
movzx edx, si
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140011850
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov dword [rsp + 0x20], r8d
mov r9, rdx
lea r8, str._s_failed_w_err_0x_08lx
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400112e0
mov rdx, qword [rdi + 8]
xorps xmm0, xmm0
xor ecx, ecx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140011902
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ecx
lea edx, [r9 - 1]
mov word [rsp + 0x28], r9w
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14003e950
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
ret
Function at 0x140011cd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rax - 0x48], ebp
mov dword [rax + 8], ebp
cmp qword [r8 + 0x18], 8
jb 0x140011d05
mov r8, qword [r8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140011e3c
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov dword [rsp + 0x40], 1
mov edx, dword [rsp + 0x90]
shr rdx, 1
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x140011d74
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d6e
mov rax, qword [rbx]
mov word [rax + rdx*2], bp
jmp 0x140011d82
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.140005490
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d8f
mov rax, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x140011d99
mov rdi, qword [rdi]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140011e16
mov edx, dword [rsp + 0x90]
shr rdx, 1
dec rdx
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x140011df5
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011def
mov rax, qword [rbx]
mov word [rax + rdx*2], bp
jmp 0x140011e03
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.140005490
mov rax, rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov r8d, eax
lea rdx, str.Cannot_get_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x50]
call fcn.140011ae0
lea rdx, [0x1400b36d8]
lea rcx, [rsp + 0x50]
call fcn.14005d238
int3
mov r8d, eax
lea rdx, str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x50]
call fcn.140011ae0
lea rdx, [0x1400b36d8]
lea rcx, [rsp + 0x50]
call fcn.14005d238
int3

Function at 0x140012540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400125b5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400125b5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400125a5
nop
cmp rbx, rcx
jae 0x1400125b5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140012590
cmp rbx, rcx
jae 0x1400125b5
cmp word [rbx], 0
je 0x1400125b5
mov rax, rbx
jmp 0x1400125b7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e944
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x68], rbx
je 0x14001eaba
cmp byte [rcx + 0x72], bl
je 0x14001eaba
mov rax, qword [rcx]
mov esi, 0xffff
mov edx, esi
mov rax, qword [rax + 0x18]
call qword [case.0x14003f2e6.0]
cmp si, ax
jne 0x14001e9ad
xor al, al
jmp 0x14001eabf
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140017cd4
nop
mov esi, 1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r9, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r9, qword [rbp - 0x20]
mov rax, qword [rdx + 0x40]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x74]
call qword [case.0x14003f2e6.0]
mov ecx, eax
test eax, eax
je 0x14001ea0d
sub ecx, esi
je 0x14001ea10
cmp ecx, 2
jne 0x14001ea7c
jmp 0x14001ea79
mov byte [rdi + 0x72], bl
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r10
mov r14, qword [rbp - 0x40]
sub r14, rax
je 0x14001ea50
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r14
mov rdx, rsi
call fcn.14006fca0
cmp r14, rax
jne 0x14001ea76
cmp byte [rdi + 0x72], bl
je 0x14001ea73
test r14, r14
jne 0x14001e9c3
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140004e10
jmp 0x14001e9c3
mov bl, sil
mov sil, bl
mov bl, sil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14001eab6
inc rdx
mov r10, qword [rbp - 0x30]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001eaae
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eae5
mov rcx, r10
call fcn.14003e9b0
mov al, bl
jmp 0x14001eabf
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003e950
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140060238
int3
Function at 0x14001ed94
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx esi, dx
mov rdi, rcx
mov ebx, 0xffff
cmp bx, dx
jne 0x14001ede4
sub si, bx
neg si
sbb ax, ax
and ax, bx
jmp 0x14001efcb
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001ee20
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x14001ee20
lea ecx, [r9 - 1]
mov dword [rax], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
movzx eax, si
jmp 0x14001efcb
cmp qword [rcx + 0x80], 0
je 0x14001efc8
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001ee5f
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub rdx, rcx
sar rdx, 1
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
cmp qword [rdi + 0x68], 0
jne 0x14001ee86
mov rdx, qword [rdi + 0x80]
movzx ecx, si
call fcn.14006eed8
cmp ax, bx
je 0x14001efc8
movzx ebx, si
jmp 0x14001efc8
mov word [rbp - 0x19], si
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.140017cd4
nop
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
lea r9, [rbp + 7]
cmovae r9, qword [rbp + 7]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r8, qword [rbp + 0x17]
mov rax, qword [rdx + 0x38]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r9
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x17]
lea r8, [rbp - 0x19]
lea rdx, [rdi + 0x74]
call qword [case.0x14003f2e6.0]
test eax, eax
js 0x14001ef8e
cmp eax, 1
jg 0x14001ef71
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
cmovae rax, r10
mov r14, qword [rbp - 0x11]
sub r14, rax
je 0x14001ef3e
lea rcx, [rbp + 7]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r14
mov edx, 1
call fcn.14006fca0
cmp r14, rax
jne 0x14001ef8e
mov byte [rdi + 0x72], 1
lea rax, [rbp - 0x19]
cmp qword [rbp - 9], rax
jne 0x14001ef8b
test r14, r14
jne 0x14001ee9b
cmp qword [rbp + 0x17], 0x20
jae 0x14001ef8e
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp + 7]
call fcn.140004e10
jmp 0x14001ee9b
cmp eax, 3
jne 0x14001ef8e
mov rdx, qword [rdi + 0x80]
movzx ecx, word [rbp - 0x19]
call fcn.14006eed8
cmp ax, bx
je 0x14001ef8e
movzx ebx, si
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14001efc8
inc rdx
mov r10, qword [rbp + 7]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001efc0
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001efee
mov rcx, r10
call fcn.14003e9b0
movzx eax, bx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003e950
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140060238
int3
Function at 0x14001fae0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x68], rbx
je 0x14001fc52
cmp byte [rcx + 0x71], bl
je 0x14001fc52
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x18]
call qword [case.0x14003f2e6.0]
cmp eax, 0xffffffff
jne 0x14001fb45
xor al, al
jmp 0x14001fc57
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140017cd4
nop
mov esi, 1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r9, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r9, qword [rbp - 0x20]
mov rax, qword [rdx + 0x40]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x74]
call qword [case.0x14003f2e6.0]
mov ecx, eax
test eax, eax
je 0x14001fba5
sub ecx, esi
je 0x14001fba8
cmp ecx, 2
jne 0x14001fc14
jmp 0x14001fc11
mov byte [rdi + 0x71], bl
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r10
mov r14, qword [rbp - 0x40]
sub r14, rax
je 0x14001fbe8
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r14
mov rdx, rsi
call fcn.14006fca0
cmp r14, rax
jne 0x14001fc0e
cmp byte [rdi + 0x71], bl
je 0x14001fc0b
test r14, r14
jne 0x14001fb5b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140004e10
jmp 0x14001fb5b
mov bl, sil
mov sil, bl
mov bl, sil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14001fc4e
inc rdx
mov r10, qword [rbp - 0x30]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001fc46
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fc7d
mov rcx, r10
call fcn.14003e9b0
mov al, bl
jmp 0x14001fc57
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003e950
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140060238
int3