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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
cmp byte [rdx + 0x30], 0
mov rbp, r8
mov rax, qword [rdx]
mov rdi, rdx
mov rbx, rcx
jne 0x1400339e5
cmp dword [rdx + 0x1c], 0
ja 0x1400339e5
cmp byte [rdx + 0x31], 0
jne 0x1400339e5
xor sil, sil
jmp 0x1400339e8
mov sil, 1
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov eax, dword [rdx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0xc]
mov dword [rsp + 0x2c], eax
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x18]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x3c], eax
call fcn.140047c40
test sil, sil
je 0x140033b91
mov rax, qword [rdi + 0x20]
lea rcx, [rbx + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x20]
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x50], 0x19
mov qword [rsp + 0x58], r14
call fcn.140048ba0
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.140033db0
cmp byte [rdi + 0x30], r14b
jne 0x140033b9f
test byte [rbx + 0x60], 0x80
je 0x140033abe
mov rax, qword [rbx + 0x88]
xorps xmm0, xmm0
movss xmm1, dword [rax]
mov eax, dword [rbx + 0x6c]
cvtsi2ss xmm0, rax
mov eax, dword [rbx + 0x70]
divss xmm0, xmm1
cvttss2si rdx, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, xmm1
cvttss2si r8, xmm0
jmp 0x140033ac5
mov edx, dword [rbx + 0x6c]
mov r8d, dword [rbx + 0x70]
test byte [rbx + 0xe0], 0x80
mov eax, dword [rbx + 0xf0]
je 0x140033aee
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rax, qword [rbx + 0x108]
divss xmm0, dword [rax]
cvttss2si rcx, xmm0
jmp 0x140033af0
mov ecx, eax
mov eax, dword [rbx + 0xe4]
sub ecx, r8d
movss xmm2, dword [rbx + 0x98]
sub eax, edx
mov rdx, qword [rbx + 0x90]
sub eax, 8
movsxd r8, dword [0x1400a05c4]
mov dword [rsp + 0x88], eax
shr ecx, 1
mov rax, qword [rdx + 0x10]
mov dword [rsp + 0x8c], ecx
movzx r9d, word [rax + r8*2]
mov rax, qword [rsp + 0x88]
mov qword [rbx + 0x64], rax
movd xmm0, dword [rbx + 0x64]
movd xmm1, dword [rbx + 0x68]
mov dword [r9 + rdx + 0x5c], r14d
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm1, xmm2
cvttss2si eax, xmm0
mov dword [rsp + 0x88], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x88]
mov qword [r9 + rdx + 0x18], rax
mov r9d, 2
mov rdx, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x78]
call fcn.14004c550
jmp 0x140033b9f
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.140033db0
cmp dword [rdi + 0x14], r14d
jne 0x140033bb5
cmp dword [rdi + 0x18], r14d
jne 0x140033bb5
xor edx, edx
mov rcx, rbx
call fcn.140047db0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140039180
Capabilities:
Get explorer pid

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400d48a8]
test rbx, rbx
je 0x1400391ef
cmp dword [0x1400d48b0], 0xffffffff
je 0x1400391ef
cmp byte [0x1400d48b4], 1
je 0x1400391ef
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x1400391ef
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400391e7
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetShellWindow]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400391e7
cmp ebx, dword [rsp + 0x38]
je 0x1400391ef
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14003be60
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x5250]
mov eax, 0x5350
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rbp + 0x5240], rax
mov r9d, dword [rdx + 8]
xor esi, esi
mov r8, qword [rdx]
mov rbx, rcx
mov dword [rbp + 0x230], esi
mov dword [rbp + 0x160], r9d
lea rdx, [r8 + r9*2]
cmp r8, rdx
je 0x14003bed9
lea rcx, [rsp + 0x60]
sub rcx, r8
nop dword [rax + rax]
movzx eax, word [r8]
mov word [rcx + r8], ax
add r8, 2
cmp r8, rdx
jne 0x14003bec0
mov r9d, dword [rbp + 0x160]
cmp dword [rbx + 0x240], esi
jne 0x14003bf27
mov eax, r9d
lea rdx, [rsp + 0x60]
add r9d, 4
lea rcx, str..DLL
mov dword [rbp + 0x160], r9d
lea r8, [0x14007f578]
lea rdx, [rdx + rax*2]
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp rcx, r8
jne 0x14003bf10
mov r9d, dword [rbp + 0x160]
mov eax, r9d
lea rcx, [rsp + 0x60]
inc r9d
xor edx, edx
mov dword [rbp + 0x160], r9d
mov r8d, 0x4000
lea r9, [rbp + 0x1240]
mov word [rsp + rax*2 + 0x60], si
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x14003c000
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov eax, dword [rbp + 0x160]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x30], eax
call fcn.140009a80
mov rbx, qword [rsp + 0x40]
test ebx, ebx
je 0x14003bfdb
mov rdx, qword [rsp + 0x38]
lea r8d, [rbx + rbx]
lea rcx, [rbp + 0x240]
call fcn.140057c70
mov eax, ebx
lea r8, [0x14007fc90]
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x28]
mov word [rbp + rax*2 + 0x240], si
lea eax, [rbx + 1]
mov word [rbp + rax*2 + 0x240], si
call fcn.14005dc08
test eax, eax
jne 0x14003bfdb
mov rcx, qword [rsp + 0x28]
call fcn.14005dd84
mov bl, 1
jmp 0x14003bfdd
xor bl, bl
cmp qword [rsp + 0x38], rsi
je 0x14003bfee
mov rcx, qword [rsp + 0x38]
call fcn.14005abc0
test bl, bl
jne 0x14003c0d0
mov eax, 6
jmp 0x14003c0d2
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
lea rcx, [rbp + 0x1240]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003c0d0
cmp dword [rsp + 0x20], 4
jb 0x14003c0d0
mov rax, qword [rsp + 0x48]
lea rdx, str.StringFileInfo_04x_04xCompanyName
lea rcx, [rbp + 0x170]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call fcn.140006380
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x1240]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003c0d0
mov eax, dword [rsp + 0x20]
dec eax
cmp eax, 0x5e
ja 0x14003c0d0
mov rax, qword [rsp + 0x50]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], si
jne 0x14003c090
lea rdx, [rbx + 0x248]
mov dword [rdx + 0xc0], ecx
mov ecx, ecx
lea r8, [rax + rcx*2]
cmp rax, r8
je 0x14003c0d0
sub rdx, rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
add rax, 2
cmp rax, r8
jne 0x14003c0c0
xor eax, eax
mov rcx, qword [rbp + 0x5240]
xor rcx, rsp
call fcn.140055f70
lea r11, [rsp + 0x5350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14003ed70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1350
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rsp + 0x1340], rax
mov r9d, dword [rdx + 0x70]
mov rdi, r8
mov qword [rsp + 0x40], r8
mov r14, rdx
mov qword [rsp + 0x38], rdx
test r9d, r9d
je 0x14003efe6
mov ebp, 1
xor esi, esi
lea r12d, [rbp + 0x5b]
nop word [rax + rax]
lea ebx, [rbp - 1]
mov r13d, ebp
cmp ebx, r9d
jb 0x14003ee33
cmp ebp, dword [r14 + 0x74]
jbe 0x14003edfc
mov rcx, qword [r14 + 0x68]
mov edx, ebp
shl rdx, 3
call fcn.14005abb8
mov r9d, dword [r14 + 0x70]
mov qword [r14 + 0x68], rax
mov dword [r14 + 0x74], ebp
cmp ebp, r9d
jbe 0x14003ee2c
mov rax, qword [r14 + 0x68]
mov ecx, r9d
lea rax, [rax + rcx*8]
mov ecx, ebp
sub ecx, r9d
lea rdx, [rax + rcx*8]
cmp rax, rdx
je 0x14003ee2c
nop word [rax + rax]
mov qword [rax], rsi
add rax, 8
cmp rax, rdx
jne 0x14003ee20
mov dword [r14 + 0x70], ebp
mov r9d, ebp
mov rax, qword [r14 + 0x68]
mov r15, qword [rax + rbx*8]
test r15, r15
je 0x14003efdb
mov r8d, ebx
mov dword [rsp + 0x120], esi
lea rdx, str.Bitmap_03u.png
lea rcx, [rsp + 0x60]
call fcn.140006380
lea rax, [rsp + 0x130]
mov word [rsp + 0x48], r12w
mov rdx, rdi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x330], esi
call fcn.14000a2a0
mov r8d, dword [rsp + 0x120]
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x200]
lea eax, [rcx + r8]
mov dword [rdx + 0x200], eax
lea r9, [rdx + rcx*2]
lea rdx, [rsp + 0x60]
lea rdx, [rdx + r8*2]
lea rax, [rsp + 0x60]
cmp rax, rdx
je 0x14003eed4
lea rcx, [rsp + 0x60]
nop
movzx eax, word [rcx]
add rcx, 2
mov word [r9], ax
lea r9, [r9 + 2]
cmp rcx, rdx
jne 0x14003eec0
mov rsi, qword [0x1400a0608]
lea rdx, [rsp + 0x130]
mov ebx, dword [rsp + 0x330]
lea rcx, [rsp + 0x340]
mov rax, qword [rsi]
lea r8d, [rbx + rbx]
mov rdi, qword [rax + 0x18]
call fcn.140057c70
xor ecx, ecx
lea eax, [rbx + 1]
mov word [rsp + rbx*2 + 0x340], cx
lea rdx, [rsp + 0x340]
mov r9d, 0x80000000
xor r8d, r8d
mov word [rsp + rax*2 + 0x340], cx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call rdi
test eax, eax
jne 0x14003ef58
mov r8, qword [rsp + 0x30]
lea rdx, [r15 + 8]
call fcn.140046ad0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, dword [r15 + 0x10]
test eax, eax
je 0x14003f013
cmp dword [r15 + 0x14], 0x400
ja 0x14003f013
cmp dword [r15 + 0x18], 0x400
ja 0x14003f013
mov rdx, qword [r15 + 8]
lea eax, [rax*4]
movabs rcx, 0xcbf29ce484222325
test eax, eax
je 0x14003efc9
mov r8d, eax
movabs r14, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor rcx, rax
imul rcx, r14
sub r8, 1
jne 0x14003efb0
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
xor esi, esi
mov qword [r15], rcx
mov r9d, dword [r14 + 0x70]
lea r12d, [rsi + 0x5c]
inc ebp
cmp r13d, r9d
jb 0x14003edd0
mov al, 1
mov rcx, qword [rsp + 0x1340]
xor rcx, rsp
call fcn.140055f70
mov rbx, qword [rsp + 0x1390]
add rsp, 0x1350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x14003efe8
Function at 0x14003fd10
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4020]
mov eax, 0x4120
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rbp + 0x4010], rax
mov rcx, r8
lea r9, [rbp + 0x10]
mov rsi, rdx
xor ebx, ebx
xor edx, edx
mov dword [rbp], ebx
mov r8d, 0x4000
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14003ff0f
lea r9, [rsp + 0x20]
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
lea rcx, [rbp + 0x10]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [rsp + 0x20]
test eax, eax
jne 0x14003fd9a
cmp ecx, 4
jae 0x14003ff0f
test ecx, ecx
je 0x14003ff0f
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xFileDescription
lea rcx, [rsp + 0x40]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call fcn.140006380
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003fe52
mov eax, dword [rsp + 0x20]
dec eax
cmp eax, 0x5e
ja 0x14003fe52
mov rdi, qword [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14003fdf5
mov r14d, ebx
cmp ebx, dword [rsi + 0xc]
jbe 0x14003fe19
mov rcx, qword [rsi]
lea rdx, [r14 + r14]
call fcn.14005abb8
mov qword [rsi], rax
mov dword [rsi + 0xc], ebx
mov rcx, qword [rsi]
lea rdx, [rdi + r14*2]
mov dword [rsi + 8], ebx
cmp rdi, rdx
je 0x14003fe43
nop dword [rax + rax]
movzx eax, word [rdi]
add rdi, 2
mov word [rcx], ax
lea rcx, [rcx + 2]
cmp rdi, rdx
jne 0x14003fe30
mov rdx, rsi
call fcn.140040170
mov al, 1
jmp 0x14003ff11
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xProductName
mov dword [rbp], ebx
lea rcx, [rsp + 0x40]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call fcn.140006380
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003ff0f
mov eax, dword [rsp + 0x20]
dec eax
cmp eax, 0x5e
ja 0x14003ff0f
mov rdi, qword [rsp + 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14003feb0
mov r14d, ebx
cmp ebx, dword [rsi + 0xc]
jbe 0x14003fed4
mov rcx, qword [rsi]
lea rdx, [r14 + r14]
call fcn.14005abb8
mov qword [rsi], rax
mov dword [rsi + 0xc], ebx
mov rcx, qword [rsi]
lea rdx, [rdi + r14*2]
mov dword [rsi + 8], ebx
cmp rdi, rdx
je 0x14003ff03
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdi]
add rdi, 2
mov word [rcx], ax
lea rcx, [rcx + 2]
cmp rdi, rdx
jne 0x14003fef0
mov rdx, rsi
call fcn.140040170
mov al, 1
jmp 0x14003ff11
xor al, al
mov rcx, qword [rbp + 0x4010]
xor rcx, rsp
call fcn.140055f70
lea r11, [rsp + 0x4120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400414e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov ecx, 0x80
mov rsi, r9
mov rdi, r8
mov rbx, rdx
call fcn.140055f98
lea r12, vtable.common::HttpFetch::SendTask.0
mov r14, rax
lea rdx, [rbx + 8]
mov qword [rax], r12
mov ecx, dword [rbx]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x10]
call fcn.140009a80
lea rdx, [rbx + 0x18]
lea rcx, [r14 + 0x20]
call fcn.140009a80
movups xmm0, xmmword [rdi]
mov r9, r14
lea r8, [0x1400442c0]
mov edx, 0x20000
xor ecx, ecx
movups xmmword [r14 + 0x30], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r14 + 0x40], xmm1
movups xmm0, xmmword [rdi + 0x20]
xor edi, edi
mov qword [r14 + 0x60], rsi
mov qword [rsp + 0x28], rdi
movups xmmword [r14 + 0x50], xmm0
mov qword [r14 + 0x70], rdi
mov qword [r14 + 0x78], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1400415a3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140041603
mov qword [r14], r12
mov rcx, qword [r14 + 0x70]
test rcx, rcx
je 0x1400415c0
mov dword [r14 + 0x78], edi
call fcn.14005abc0
mov qword [r14 + 0x70], rdi
mov dword [r14 + 0x7c], edi
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x1400415da
mov dword [r14 + 0x28], edi
call fcn.14005abc0
mov qword [r14 + 0x20], rdi
mov dword [r14 + 0x2c], edi
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1400415f4
mov dword [r14 + 0x18], edi
call fcn.14005abc0
mov qword [r14 + 0x10], rdi
mov dword [r14 + 0x1c], edi
mov edx, 0x80
mov rcx, r14
call fcn.140055f90
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140041df0
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1070
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xorps xmm0, xmm0
mov edi, edx
mov rdx, qword [rcx]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov ebx, dword [rdx + 8]
mov rdx, qword [rdx]
lea r8d, [rbx + rbx]
call fcn.140057c70
xor edx, edx
mov dword [rsp + 0x28], 3
lea eax, [rbx + 1]
mov word [rsp + rbx*2 + 0x60], dx
and di, 1
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x60], dx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov eax, 0x614
shl di, 6
or di, ax
mov word [rsp + 0x40], di
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
and eax, 6
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140055f70
mov rbx, qword [rsp + 0x1088]
add rsp, 0x1070
pop rdi
ret
Function at 0x1400430c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1000]
mov eax, 0x1100
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rbp + 0xff0], rax
mov ebx, dword [rcx + 8]
xorps xmm0, xmm0
xor eax, eax
mov rsi, rdx
mov rdx, qword [rcx]
mov rdi, rcx
xor r14d, r14d
mov qword [rbp - 0x20], rax
lea r8d, [rbx + rbx]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x60], r14
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rsp + 0x68], xmm0
call fcn.140057c70
lea eax, [rbx + 1]
mov word [rbp + rbx*2 - 0x10], r14w
mov word [rbp + rax*2 - 0x10], r14w
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14004320d
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x10]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x2000000
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140043202
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.140055f70
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rdi + 8]
lea rcx, [rbp - 0x10]
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
lea r8d, [rbx + rbx]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call fcn.140057c70
lea eax, [rbx + 1]
mov word [rbp + rbx*2 - 0x10], r14w
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x70
mov dword [rbp - 0x7c], 0x40
mov word [rbp + rax*2 - 0x10], r14w
lea rax, str.open
mov qword [rbp - 0x70], rax
mov rax, qword [rsi]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x1400431d9
xor al, al
jmp 0x1400431db
Function at 0x1400432a0
Capabilities:
Create process on windows

Disassembly:
push rbx
mov eax, 0x10a0
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov ebx, dword [rcx + 8]
xorps xmm0, xmm0
mov rdx, qword [rcx]
lea rcx, [rsp + 0x90]
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rbx + rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.140057c70
xor edx, edx
mov qword [rsp + 0x20], 0x70
lea eax, [rbx + 1]
mov word [rsp + rbx*2 + 0x90], dx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rdx
mov word [rsp + rax*2 + 0x90], dx
lea rax, str.open
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.140055f70
add rsp, 0x10a0
pop rbx
ret

Function at 0x1400437c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
xor bl, bl
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400438a7
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400438a7
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x140043893
mov rcx, rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
je 0x14004388e
mov qword [rsp + 0x38], r14
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140043830
mov r14d, ebx
cmp ebx, dword [rsi + 0xc]
jbe 0x140043854
mov rcx, qword [rsi]
lea rdx, [r14 + r14]
call fcn.14005abb8
mov qword [rsi], rax
mov dword [rsi + 0xc], ebx
mov rdx, qword [rsi]
lea r8, [rdi + r14*2]
mov r14, qword [rsp + 0x38]
mov dword [rsi + 8], ebx
cmp rdi, r8
je 0x140043883
mov rcx, rdi
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp rcx, r8
jne 0x140043870
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov bl, 1
mov rdi, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x20
pop rsi
ret
Function at 0x140043e50
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x2050
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rbx, rdx
lea rax, [rsp + 0x1040]
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov edx, 0x801c
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140043fae
mov qword [rsp + 0x2060], rsi
lea rax, [rsp + 0x1040]
xor esi, esi
mov qword [rsp + 0x38], rdi
mov r9d, 0x5c
mov dword [rdi + 0x200], esi
mov word [rsp + 0x30], r9w
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140043ed3
mov eax, ecx
lea r8, [rsp + 0x1040]
mov dword [rdi + 0x200], ecx
lea r8, [r8 + rax*2]
lea rax, [rsp + 0x1040]
cmp rax, r8
je 0x140043f36
lea rcx, [rsp + 0x1040]
mov rdx, rdi
sub rdx, rcx
lea rax, [rsp + 0x1040]
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
add rax, 2
cmp rax, r8
jne 0x140043f20
mov ecx, dword [rdi + 0x200]
test ecx, ecx
je 0x140043f53
mov r8d, ecx
cmp word [rdi + r8*2 - 2], r9w
je 0x140043f53
lea eax, [rcx + 1]
mov dword [rdi + 0x200], eax
mov word [rdi + r8*2], r9w
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000a2a0
mov ebx, dword [rdi + 0x200]
lea rcx, [rsp + 0x40]
mov rdx, rdi
lea r8d, [rbx + rbx]
call fcn.140057c70
lea eax, [rbx + 1]
mov word [rsp + rbx*2 + 0x40], si
xor edx, edx
lea rcx, [rsp + 0x40]
mov word [rsp + rax*2 + 0x40], si
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rsi, qword [rsp + 0x2060]
test eax, eax
jne 0x140043faa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140043fae
mov al, 1
jmp 0x140043fb0
xor al, al
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.140055f70
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2050
pop rdi
ret