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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14000f960], rbx
je 0x140006727
cmp rax, rbx
jne 0x14000671a
mov ebx, 1
mov esi, ebx
jmp 0x14000672c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400066ff
mov ebx, 1
mov eax, dword [0x14000f968]
cmp eax, ebx
jne 0x140006744
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400067b0
mov eax, dword [0x14000f968]
test eax, eax
jne 0x1400067a5
mov dword [0x14000f968], ebx
lea r15, [0x1400089b8]
lea rdi, [0x1400089a0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140006797
test eax, eax
jne 0x14000679b
cmp qword [rdi], r14
je 0x14000678c
mov rax, qword [rdi]
mov rcx, qword [0x140008920]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000676e
test eax, eax
je 0x1400067ab
mov eax, 0xff
jmp 0x140006906
mov dword [0x14000d3e4], ebx
mov edi, 0x1f
mov eax, dword [0x14000f968]
cmp eax, ebx
jne 0x1400067d7
lea rdx, [0x140008998]
lea rcx, [0x140008928]
call sub.msvcrt.dll__initterm
mov dword [0x14000f968], 2
test esi, esi
jne 0x1400067e5
mov rax, r14
xchg qword [0x14000f960], rax
cmp qword [0x14000f970], r14
je 0x140006818
lea rcx, [0x14000f970]
call fcn.140006b30
test eax, eax
je 0x140006818
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000f970]
mov r9, qword [0x140008920]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140006831
mov eax, 0xff
jmp 0x140006906
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400068b7
test ax, ax
je 0x14000684c
test edx, edx
jne 0x1400068b7
sub ax, bx
cmp ax, di
ja 0x140006862
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000684c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400013dc
mov dword [0x14000d3e0], eax
cmp dword [0x14000d400], r14d
jne 0x1400068a0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000d3e4], r14d
jne 0x1400068b5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000d3e0]
jmp 0x140006906
cmp ax, 0x22
jne 0x1400068cb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000683a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call 0x140197000
add rsp, 0x28
jmp 0x1400066c0
Function at 0x140007720
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000775a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000775f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400077a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400093f0]
cmp byte [rcx + rax], 0
je 0x1400077a8
dec r8
sub rdx, 1
jne 0x14000778e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400081e4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
mov qword [rsp], rcx
xor r8b, r8b
lea r9, [rsp + 0x30]
mov r10d, send
nop word [rax + rax]
movzx ecx, r8b
lea r9, [r9 + 4]
movzx eax, r8b
add r8b, 4
movzx edx, byte [rax + rdi + 1]
movzx eax, byte [rcx + rdi]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + rdi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + rdi + 3]
shl edx, 8
or edx, eax
mov dword [r9 - 4], edx
sub r10, 1
jne 0x140019160
mov esi, dword [rsp + 0x30]
lea rbx, [rsp + 0x30]
mov r11b, 0x10
nop dword [rax + rax]
mov r9d, dword [rbx + 4]
lea r10, [rbx]
movzx eax, r11b
lea rbx, [rbx + 4]
mov r8d, r9d
inc r11b
ror r8d, 0x12
mov edx, dword [rsp + rax*4 + 0x28]
mov ecx, edx
ror ecx, 0x13
mov eax, r9d
ror eax, 7
xor r8d, eax
mov eax, r9d
shr eax, 3
xor r8d, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 + 0x24]
add r8d, esi
mov esi, r9d
mov dword [r10 + 0x40], r8d
cmp r11b, 0x40
jb 0x1400191b0
movups xmm0, xmmword [rdi + 0x48]
lea rax, [rdi + 0x48]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rsp + 8], rax
mov edi, 0x40
movups xmmword [rsp + 0x10], xmm0
mov r12d, dword [rsp + 0x18]
mov r13d, dword [rsp + 0x14]
mov r11d, dword [rsp + 0x10]
movups xmmword [rsp + 0x20], xmm1
mov r14d, dword [rsp + 0x28]
mov r15d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x2c]
nop word [rax + rax]
mov ecx, ebx
lea rsi, [rsi + 4]
ror ecx, 0xb
mov r10d, ebx
ror r10d, 0x19
mov edx, ebx
xor r10d, ecx
not edx
and edx, r14d
mov ecx, ebx
ror ecx, 6
mov r8d, r12d
xor r10d, ecx
mov r9d, r13d
mov ecx, r15d
and r9d, r8d
and ecx, ebx
xor edx, ecx
lea rcx, [0x140031cd0]
add r10d, edx
mov edx, r11d
add r10d, dword [rsi + rcx - 4]
mov ecx, r11d
add r10d, dword [rsp + rsi + 0x2c]
ror ecx, 0xd
add r10d, eax
ror edx, 0x16
mov eax, r14d
xor edx, ecx
mov r14d, r15d
mov ecx, r11d
mov r15d, ebx
mov ebx, dword [rsp + 0x1c]
ror ecx, 2
add ebx, r10d
xor edx, ecx
mov dword [rsp + 0x1c], r12d
mov r12d, r13d
mov r13d, r11d
mov ecx, r12d
or ecx, r8d
and r11d, ecx
lea ecx, [r10 + rdx]
or r11d, r9d
add r11d, ecx
sub rdi, 1
jne 0x140019250
lea r8, [rsp + 0x10]
mov dword [rsp + 0x2c], eax
sub r8, qword [rsp]
mov edx, 8
mov rax, qword [rsp + 8]
mov dword [rsp + 0x10], r11d
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x18], r12d
mov dword [rsp + 0x14], r13d
nop dword [rax + rax]
mov ecx, dword [rax + r8 - 0x48]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140019320
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140021260
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001b300
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
xor ecx, ecx
call qword [0x1400300e0]
mov ebp, 0x5a4d
lea rsi, str..text
mov r9, rax
test rax, rax
jne 0x14001b351
call qword [0x140030040]
lea r8, str._Failed_to_get_module_handle:__d___GetSectionAddress_n
mov edx, 2
mov r9d, eax
call fcn.140012b70
xor edi, edi
jmp 0x14001b3e9
cmp word [rax], bp
je 0x14001b36e
lea r8, str._Invalid_DOS_header___GetSectionAddress._n
mov edx, 2
call fcn.1400129c0
xor edi, edi
jmp 0x14001b3e9
movsxd rcx, dword [rax + 0x3c]
add rcx, r9
cmp dword [rcx], 0x4550
je 0x14001b392
lea r8, str._Invalid_NT_header___GetSectionAddress._n
mov edx, 2
call fcn.1400129c0
xor edi, edi
jmp 0x14001b3e9
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
xor edi, edi
mov r8d, edi
test rdx, rdx
je 0x14001b3cb
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rsi + rcx - 1]
jne 0x14001b3cb
cmp rcx, 6
jne 0x14001b3b0
mov ebx, dword [rdx + 0xc]
add rbx, r9
jmp 0x14001b3ec
add rdx, 0x28
inc r8d
cmp r8d, 6
jl 0x14001b3a2
lea r8, str..text_section_not_found._n
mov edx, 1
call fcn.1400129c0
mov rbx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
test rbx, rbx
jne 0x14001b42b
lea r8, str.textAddr_was_NULL___Detections::IsTextSectionWritable
mov edx, 2
call fcn.1400129c0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call qword [0x140030088]
cmp word [rax], bp
je 0x14001b44b
lea r8, str.Invalid_DOS_signature___GetTextSectionSize
mov edx, 2
call fcn.1400129c0
jmp 0x14001b4a8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14001b46d
lea r8, str.Invalid_NT_signature___GetTextSectionSize
mov edx, 2
call fcn.1400129c0
jmp 0x14001b4a8
movzx r9d, word [rcx + 0x14]
mov edx, edi
add r9, 0x18
add r9, rcx
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rax + rax*4]
mov rax, rdi
lea r8, [r9 + rcx*8]
nop
movzx ecx, byte [r8 + rax]
inc rax
cmp cl, byte [rsi + rax - 1]
jne 0x14001b505
cmp rax, 6
jne 0x14001b490
mov edi, dword [r8 + 8]
mov edi, edi
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
add rdi, rbx
call qword [0x1400300b0]
test rax, rax
je 0x14001b414
nop word [rax + rax]
cmp rbx, rdi
jae 0x14001b414
cmp dword [rsp + 0x44], 0x20
jne 0x14001b512
add rbx, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x30
call qword [0x1400300b0]
test rax, rax
jne 0x14001b4d0
jmp 0x14001b414
inc edx
cmp edx, 6
jl 0x14001b480
jmp 0x14001b4a8
mov r9, rbx
call fcn.14001bfc0
mov rax, rbx
jmp 0x14001b416
Function at 0x14001d580
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rdx, qword [rdx]
test rdx, rdx
je 0x14001d563
cmp qword [rcx + 8], 0xffffffffffffffff
jne 0x14001d4d3
mov eax, 0xd
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd r11, dword [rbx + 8]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov r10d, esi
test r11, r11
jle 0x14001d51b
mov r9, rdx
nop dword [rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor cl, 0x90
lea eax, [rcx + 0x70]
sub cl, 0x70
test r10b, 1
movzx ecx, cl
movzx eax, al
cmovne ecx, eax
inc r10d
mov byte [r9 - 1], cl
sub r11, 1
jne 0x14001d4f0
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rcx, qword [rdi + 8]
call qword [0x140030590]
mov rcx, qword [rbx]
mov edi, 8
cmp eax, dword [rbx + 8]
cmove edi, esi
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x14001d549
call fcn.1400212bc
mov edx, send
mov rcx, rbx
call fcn.1400212bc
mov eax, edi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov eax, send
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, edx
mov r14, rcx
mov ecx, send
call fcn.140021280
mov rdi, rax
mov qword [rsp + 0x50], rax
mov ecx, 0x3e8
call fcn.140021530
mov qword [rdi], rax
mov dword [rdi + 8], 0
mov dword [rdi + 0xc], 0x3e8
mov word [rax], 5
mov esi, dword [rdi + 8]
add esi, 2
mov dword [rdi + 8], esi
lea ecx, [rsi + 4]
mov eax, dword [rdi + 0xc]
cmp eax, ecx
jge 0x14001d60a
nop dword [rax]
add eax, eax
cmp eax, ecx
jl 0x14001d5e0
mov dword [rdi + 0xc], eax
movsxd rcx, eax
call fcn.140021530
mov rbx, rax
movsxd rsi, esi
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, rax
call fcn.1400223be
mov qword [rdi], rbx
jmp 0x14001d60d
movsxd rsi, esi
mov rax, qword [rdi]
mov dword [rsi + rax], ebp
add dword [rdi + 8], 4
mov rdx, rdi
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp 0x14001d4a0
Function at 0x14001e8f0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
mov esi, ebp
mov r8, qword [rax + 0x18]
mov r14, qword [r8 + 0x20]
nop dword [rax]
mov rax, qword [rbx + 0x18]
cmp esi, 0x100
jge 0x14001ea22
mov rdx, rbx
cmp rax, 7
jbe 0x14001e93c
mov rdx, qword [rbx]
mov rcx, qword [r14 + 0x40]
call qword [0x1400304f8]
test rax, rax
jne 0x14001e952
mov r14, qword [r14]
inc esi
jmp 0x14001e920
cmp qword [rdi + 0x18], 7
mov r8, rdi
jbe 0x14001e95f
mov r8, qword [rdi]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [r14 + 0x40]
inc rdx
call qword [0x140030760]
movzx eax, word [rdi + 0x10]
add ax, ax
inc ax
mov word [r14 + 0x38], ax
movzx eax, word [rdi + 0x10]
add ax, ax
inc ax
mov word [r14 + 0x3a], ax
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14001e9cd
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001e9c8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001eac7
mov rcx, r8
call fcn.1400212bc
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14001ea1b
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001ea16
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001eac7
mov rcx, r8
call fcn.1400212bc
mov al, 1
jmp 0x14001eaa5
cmp rax, 7
jbe 0x14001ea59
mov rcx, qword [rbx]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x14001ea54
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001eac7
mov rcx, r8
call fcn.1400212bc
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14001eaa3
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001ea9e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001eac7
mov rcx, r8
call fcn.1400212bc
xor al, al
mov rbx, qword [rsp + 0x50]
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call qword [0x140030690]
int3
Function at 0x14001f3e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x650
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov rax, qword gs:[0x60]
mov ecx, 0x18
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rbx, qword [rsi]
call fcn.140021280
mov rdi, rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov r8, qword [rbx + 0x50]
lea rcx, [rsp + 0x220]
mov edx, 0x200
call qword [0x140030760]
mov r8, qword [rbx + 0x60]
lea rcx, [rsp + 0x20]
mov edx, 0x100
call qword [0x140030760]
mov rax, qword [rbx + 0x30]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x638], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x620], rax
mov eax, dword [rbx + 0x40]
mov dword [rsp + 0x628], eax
cmp rdx, qword [rdi + 0x10]
je 0x14001f4a6
mov rcx, rdx
mov r8d, 0x620
lea rdx, [rsp + 0x20]
call fcn.1400223be
add qword [rdi + 8], 0x620
jmp 0x14001f4b3
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.140016710
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14001f432
mov rax, rdi
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.140021260
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14001f4f0
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r8, rcx
mov r10, rcx
mov r9, qword [rax + 0x18]
add r9, 0x10
mov rdi, qword [r9]
mov rax, qword [rdi + 0x60]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001f534
add rax, 2
test ecx, ecx
jne 0x14001f520
test edx, edx
je 0x14001f578
nop dword [rax + rax]
mov rdi, qword [rdi]
cmp rdi, r9
je 0x14001f5ef
mov rax, qword [rdi + 0x60]
mov r8, r10
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001f574
add rax, 2
test ecx, ecx
jne 0x14001f560
test edx, edx
jne 0x14001f540
mov ecx, 0x620
mov qword [rsp + 0x30], rbx
call fcn.140021280
xor edx, edx
mov r8d, 0x620
mov rcx, rax
mov rbx, rax
call fcn.140022134
mov r8, qword [rdi + 0x50]
lea rcx, [rbx + 0x200]
mov edx, 0x200
call qword [0x140030760]
mov r8, qword [rdi + 0x60]
mov edx, 0x100
mov rcx, rbx
call qword [0x140030760]
mov rcx, qword [rdi + 0x30]
mov qword [rbx + 0x618], rcx
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x600], rax
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x608], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140021ecc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140030088]
test rax, rax
je 0x140021f16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140021f16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140021f16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140021f16
cmp dword [rcx + 0x84], 0xe
jbe 0x140021f16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140021f18
xor al, al
add rsp, 0x28
ret
Function at 0x1400774d2
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
jnp 0x1400774f7
test al, 0x69
ret 0x213e
mov esi, 0x21377021
movabs al, byte [0xefb30ca021df2372]
adc al, byte [rax + 1]
add byte [rax], al
add byte [rax + rdx + 0x7b], ch
and dword [rax + 0x213ec2d3], ebp
xor byte [rcx], cl
and dword [rax], ebp
adc edx, dword [rax + 0x21a02109]
xor byte [rax + rax + 0x13], ch
pop rax
insb byte [rdi], dx
js 0x140077539
sbb byte [rax + rsi*4 + 0x13], ch
or byte [rax + rbp*2 + 0x13], ch
cwde
insb byte [rdi], dx
and byte [rbx], dl
mov byte [rax + rax*4 + 0x13], ch
mov eax, 0x5013486c
insb byte [rdi], dx
adc edx, dword [rax + 0x6c]
nop
adc esp, dword [rax + 0x6c]
cmp byte [rbx], dl
xor byte [0x168288569], dl
and dword [rax], edi
and dword [rax + 0x21], esp
jo 0x140077570
and dword [rax - 0x6fdeafdf], esp
and dword [rax + 0x48219821], ebp
and dword [rax], ecx
and dword [rax + 0x20217821], eax
and dword [rax], ebx
movsd dword [rdi], dword [rsi]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
insb byte [rdi], dx
cmp byte [rcx], cl
and dword [rax + 0x21], ebp
pop rax
adc ebx, dword [rax]
insb byte [rdi], dx
and byte [rbx], dl
js 0x1400775e9
adc byte [rbx], 8
insb byte [rdi], dx
adc rbx, qword [rax - 0x6fec5794]
insb byte [rdi], dx
push rax
adc esp, dword [rax + 0x7013406c]
insb byte [rdi], dx
invalid
insb byte [rdi], dx
cmp byte [rbx], dl
push 0xffffffff9013006c
adc eax, 0xcccc25b8
int3
Function at 0x140026ef0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400ed028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1400ff3b8]
test rdi, rdi
jne 0x140026fa3
mov ecx, 0x50
call fcn.140067374
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140067374
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140026fc5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1400ff3b8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140026ff1
mov rcx, rax
call fcn.1400818f8
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140027000
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400686c0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400959c0
int3
Function at 0x140027000
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400ed028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14002d620
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140027194
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400daa08]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140027211
lea rdx, [0x1400daa58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140027224
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140110008]
mov r15, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14002722c
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x140027236
lea r14, [r12 + r12*2]
mov rcx, r14
call fcn.140067374
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r14
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r14, rbx
test r14, r14
je 0x1400271b9
mov rdx, qword [r15 + r13]
mov rcx, r14
call fcn.1400230d0
add r14, 0x18
add r13, 8
cmp r12, r13
jne 0x14002710c
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140026d00
movups xmmword [rsi], xmm6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002715a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140027194
cmp r14, rbx
je 0x14002718c
add r14, 0xffffffffffffffe8
test r14, r14
je 0x1400271e5
cmp byte [r14 + 0x17], 0
js 0x140027182
lea rax, [r14 - 0x18]
cmp r14, rbx
mov r14, rax
jne 0x140027168
jmp 0x14002718c
mov rcx, qword [r14]
call fcn.1400673b0
jmp 0x140027174
mov rcx, rbx
call fcn.1400673b0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400686c0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400959c0
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.1400959c0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400270b1
xor r15d, r15d
jmp 0x1400270b4
xor r14d, r14d
xor ebx, ebx
jmp 0x140027133
call fcn.14007afa0
int3
Function at 0x140029e80
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140029f40
mov eax, dword [rsi]
mov dword [0x1400eef48], eax
test al, 1
jne 0x140029ea1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1400ff3f8]
test rcx, rcx
jne 0x140029ebb
mov rcx, qword [0x1400ff3d0]
test rcx, rcx
je 0x140029edf
jmp 0x140029f01
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400ff3f8], 0
mov rcx, qword [0x1400ff3d0]
test rcx, rcx
jne 0x140029f01
and byte [0x1400eef48], 0xfe
mov ecx, 0x18
call fcn.140067374
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1400ff3d0], rax
mov rdx, qword [rsi + 8]
call fcn.14002aaa0
cmp dword [rsi + 0x14], 0
jne 0x140029f26
mov rcx, qword [0x1400ff3d0]
cmp byte [rcx + 0x17], 0
jns 0x140029f20
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400ad7a0