joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002fa70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14002faa1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14002fb1b
mov rdi, r14
mov rcx, rbx
call fcn.1400084b0
test rax, rax
jle 0x14002faf3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400fe780
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14002fb0b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14002fb13
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14002fab5
sub r14, rdi
jmp 0x14002fbff
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14002fb32
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002fb34
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002fb66
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400fe780
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002fbfc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002fba1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14002fbdd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14010ee9c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002fbfc
cmp rbp, rax
ja 0x14002fbb0
test rbp, rbp
je 0x14002fbfc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14010ee9c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400343d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14003449c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14003449c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400344b5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14003448c
cmp byte [rax], 0x5c
jne 0x140034486
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140034486
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140034472
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140034483
test r8b, 0x10
jne 0x140034486
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140034486
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400374d0
test edi, edi
jne 0x1400343f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140035cc0
int3
Function at 0x140037e20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140037e54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140037e40
ret

Function at 0x14003bfc0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14003c07a
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14003c07a
mov rdx, qword [rdi + 0x10]
mov ecx, 2
mov qword [rsp + 0x30], rbx
inc rdx
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x14003c025
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rdi + 0x18], 0x10
jb 0x14003c02f
mov rdi, qword [rdi]
mov rbx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call fcn.1400fe780
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14003c750
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov qword [rcx], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
lea rcx, str.ALG_1.0
lea edx, [rax + 4]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14003d800
Capabilities:
Prepare http request
Receive http response
Send data
Send http request

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xa0
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp qword [rcx], 0
mov rbx, r9
mov rbp, r8
mov rdi, rcx
je 0x14003d9cd
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x98], rsi
call fcn.14003a290
cmp qword [rax + 0x18], 8
jb 0x14003d84c
mov rax, qword [rax]
mov rcx, qword [rdi]
mov r8d, 0x1bb
xor r9d, r9d
mov rdx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdx, qword [rsp + 0x80]
mov rsi, rax
cmp rdx, 8
jb 0x14003d8a9
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d8a4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d9ee
call fcn.1400fc768
movdqa xmm0, xmmword [0x14013fee0]
mov qword [rsp + 0x90], r14
xor r14d, r14d
mov word [rsp + 0x68], r14w
movdqu xmmword [rsp + 0x78], xmm0
test rsi, rsi
je 0x14003d9b4
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.14003a290
cmp qword [rsp + 0x60], 8
lea r8, [rsp + 0x48]
mov dword [rsp + 0x30], 0x800000
lea rdx, str.POST
cmovae r8, qword [rsp + 0x48]
mov rcx, rsi
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x14003d96d
mov ecx, dword [rbx + 0x10]
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], ecx
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp qword [rbx + 0x18], 0x10
mov r8d, dword [rbx + 0x10]
mov dword [rsp + 0x40], r14d
jb 0x14003d951
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14003d9b4
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d9af
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d9e8
call fcn.1400fc768
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400fc880
add rsp, 0xa0
pop rdi
pop rbp
pop rbx
ret
call fcn.1401033e4
int3
call fcn.1401033e4
int3
Function at 0x14003e4c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rdx
mov r14, rcx
cmp qword [rdx + 0x18], 0x10
jb 0x14003e506
mov rdi, qword [rdx]
add rdi, qword [rdx + 0x10]
mov rsi, qword [rdx]
jmp 0x14003e50d
mov rdi, qword [rdx + 0x10]
add rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor r15d, r15d
mov ebp, r15d
mov qword [rsp + 0x58], r15
sub rdi, rsi
je 0x14003e59c
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14003e6e3
cmp rdi, 0x1000
jb 0x14003e56b
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003e6e9
call fcn.1400fc72c
test rax, rax
je 0x14003e6dd
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003e576
mov rcx, rdi
call fcn.1400fc72c
mov rbx, rax
mov qword [rsp + 0x48], rbx
lea rbp, [rbx + rdi]
mov qword [rsp + 0x58], rbp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400fe780
mov rdi, rbp
mov qword [rsp + 0x50], rbp
jmp 0x14003e5a6
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14003a290
cmp qword [rax + 0x18], 8
jb 0x14003e5bd
mov rax, qword [rax]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14003e628
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e623
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6ef
call fcn.1400fc768
movdqa xmm0, xmmword [0x14013fee0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
cmp rsi, 0xffffffffffffffff
jne 0x14003e647
xor dil, dil
jmp 0x14003e678
mov dword [rsp + 0x40], r15d
sub rdi, rbx
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dil
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x14003e6ac
sub rbp, rbx
mov rax, rbx
cmp rbp, 0x1000
jb 0x14003e6a1
add rbp, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6dd
mov rdx, rbp
mov rcx, rbx
call fcn.1400fc768
movzx eax, dil
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400fc880
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1401033e4
int3
call fcn.14001b430
int3
call fcn.140008e70
nop
call fcn.1401033e4
nop
int3
Function at 0x14003f6f0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x100], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movzx esi, dl
mov rdx, rcx
movups xmmword [rsp + 0x80], xmm0
lea rcx, [r11 - 0x38]
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x90], xmm0
mov qword [r11 - 0x48], rax
xor ebx, ebx
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.14003a290
cmp qword [rax + 0x18], 8
jb 0x14003f767
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, rax
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdx, qword [rsp + 0xf8]
mov edi, eax
cmp rdx, 8
jb 0x14003f7e4
mov rcx, qword [rsp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f7df
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f83e
call fcn.1400fc768
test edi, edi
je 0x14003f817
test sil, sil
je 0x14003f7fd
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400fc880
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1401033e4
int3

Function at 0x14003fa10
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, ecx
lea rcx, [rsp + 0x20]
call fcn.14003a290
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14003fa3e
mov rdx, qword [rax]
test ebx, ebx
je 0x14003fa59
sub ebx, 1
je 0x14003fa50
mov rcx, 0xffffffff80000001
jmp 0x14003fa60
mov rcx, 0xffffffff80000002
jmp 0x14003fa60
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003faa4
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fa9f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fab7
call fcn.1400fc768
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400fc880
add rsp, 0x50
pop rbx
ret
call fcn.1401033e4
int3
Function at 0x140040480
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, r9
mov rdi, r8
mov ebx, ecx
lea rcx, [rsp + 0x58]
call fcn.14003a290
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400404bc
mov rdx, qword [rax]
test ebx, ebx
je 0x1400404d7
sub ebx, 1
je 0x1400404ce
mov rcx, 0xffffffff80000001
jmp 0x1400404de
mov rcx, 0xffffffff80000002
jmp 0x1400404de
mov rcx, 0xffffffff80000000
xor r8d, r8d
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14004054f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004054a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040660
call fcn.1400fc768
test ebx, ebx
jne 0x14004063f
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14003a290
nop
mov eax, dword [rsp + 0x68]
lea edi, [rax + rax]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rbx, qword [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14003a290
cmp qword [rax + 0x18], 8
jb 0x140040594
mov rax, qword [rax]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
jb 0x1400405f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400405f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040666
call fcn.1400fc768
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14004063f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004063a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004065a
call fcn.1400fc768
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400fc880
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
call fcn.1401033e4
int3
call fcn.1401033e4
nop
call fcn.1401033e4
nop
int3
Function at 0x140040990
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call fcn.14003a290
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400409c6
mov rbx, qword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14003a290
cmp qword [rax + 0x18], 8
jb 0x1400409dd
mov rax, qword [rax]
mov dword [rsp + 0x28], 0xa
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rax
lea rdx, [0x140140110]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140040a3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040ab4
call fcn.1400fc768
movdqa xmm0, xmmword [0x14013fee0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140040a90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040a8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040aae
call fcn.1400fc768
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400fc880
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
call fcn.1401033e4
nop
call fcn.1401033e4
nop
int3
Function at 0x140040f80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x1400410df
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140040ff0
movabs rbp, 0x7ffffffffffffffe
cmp rbx, rbp
ja 0x140041122
mov qword [rsp + 0x58], 7
cmp rbx, 8
jae 0x14004103e
mov qword [rsp + 0x50], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400fe780
mov word [rsp + rbx + 0x40], r14w
jmp 0x140041091
mov rax, rbx
or rax, 7
cmp rax, rbp
ja 0x140041059
mov rbp, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbp, rcx
lea rdx, [rbp + 1]
lea rcx, [rsp + 0x40]
call fcn.14002e340
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400fe780
mov word [rbx + rdi], r14w
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003a160
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400410f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400410d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004111c
call fcn.1400fc768
jmp 0x1400410f1
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rax, rsi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400fc880
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1401033e4
int3
call fcn.140008eb0
int3
Function at 0x140041190
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.ms_settings:]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140140128]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
mov rdi, qword [rcx + 0x10]
mov r9, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1400411ff
mov r9, qword [rcx]
cmp rdi, 3
ja 0x140041225
lea rax, [rdi + 0xc]
mov qword [rsp + 0x50], rax
mov r8, rdi
mov rdx, r9
lea rcx, [rsp + 0x4c]
call fcn.1400fe780
mov byte [rsp + rdi + 0x4c], 0
jmp 0x14004123d
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005890
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14003a290
cmp qword [rax + 0x18], 8
jb 0x140041256
mov rax, qword [rax]
mov dword [rsp + 0x28], 0xa
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rax
lea rdx, [0x140140110]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400412bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400412b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004137b
call fcn.1400fc768
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400412f6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400412f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004136f
call fcn.1400fc768
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004133f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004133a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041375
mov rcx, r8
call fcn.1400fc768
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400fc880
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
call fcn.1401033e4
nop
call fcn.1401033e4
nop
call fcn.1401033e4
int3
Function at 0x140041920
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x290
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, r8
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.14003a290
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
mov ecx, eax
call fcn.1400fcdb8
mov rsi, rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov r9, rax
mov r8d, ebx
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140041a99
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
cmp qword [r14 + 0x18], 0x10
jb 0x1400419ca
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
mov qword [rsp + 0x20], r14
lea rdx, str.StringFileInfo_04x_04x_S
lea rcx, [rsp + 0x80]
call fcn.140041820
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140041a99
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
mov rdx, qword [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140041a30
mov rcx, rdi
call fcn.14003f850
nop
test rsi, rsi
je 0x140041a52
mov rcx, rsi
call fcn.1400fc768
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140041b06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041b01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041b2d
jmp 0x140041b01
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
xor r8d, r8d
lea rdx, [0x1401401f0]
mov rcx, rdi
call fcn.14003f850
nop
test rsi, rsi
je 0x140041ac8
mov rcx, rsi
call fcn.1400fc768
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140041b06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041b01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041b27
call fcn.1400fc768
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400fc880
add rsp, 0x290
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1401033e4
int3
call fcn.1401033e4
int3

Function at 0x140041d70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140041da2
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140041da2
xor al, al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140041db0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret