joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027d40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14007af08]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.14000bca0
mov rcx, qword [0x14007b498]
lea rdx, [rsp + 0x38]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movd xmm1, ecx
mov ecx, dword [rsp + 0x44]
sub ecx, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xorps xmm1, xmm1
sub rax, qword [0x14007b4a0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14007b4a8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x30]
mov qword [0x14007b4a0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.14000bca0
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140027e6d
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x20]
cvttss2si eax, dword [rax + 0x114]
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x14007b498]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14007b498]
jne 0x140027ec9
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140027ec9
mov rcx, qword [0x14007b498]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140027ec9
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140027ed9
mov eax, 0xffffffff
jmp 0x140027ede
call fcn.14000bcb0
cmp dword [0x140079138], eax
je 0x140027ef1
mov dword [0x140079138], eax
call fcn.140027f20
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004aec0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14003b260
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x12], al
je 0x14003b283
lea edx, [rax - 0x39]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x14003b270
mov byte [rcx + 0x12], 0
lea r8, [rcx + 0x11]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400395a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14003b2a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xb], al
je 0x14003b2c3
lea edx, [rax - 0x39]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x14003b2b0
mov byte [rcx + 0xb], 0
lea r8, [rcx + 0xa]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400395a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14003b2e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xc], al
je 0x14003b303
lea edx, [rax - 0x39]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x14003b2f0
mov byte [rcx + 0xc], 0
lea r8, [rcx + 0xb]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400395a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400458c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x1400458e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x39]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x1400458d0
mov byte [rcx + 0xe], 0
mov rax, rcx
ret

Function at 0x140045e60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x140045e83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x39]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x140045e70
mov byte [rcx + 0xd], 0
ret
Function at 0x14004b5cc
Capabilities:
Parse pe header

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

Function at 0x140fa01f4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140fa01fe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140fa0227
pop rbp
sub rbp, 0x33
sub rbp, 0xfa01f4
sub rsp, 0x20
add byte [rax - 0x7f], cl
in al, dx
and byte [rax], al
add byte [rax], al
jmp 0x140fa0246
add byte [rax], al
add byte [rdx], dl
invalid
mov rax, 0xfa01f4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x60eb84e0
xor byte [rax], dl
inc rax
dec rcx
dec ecx
jne 0x140fa0265
jmp 0x140fa027c
add byte [rax], al
add byte [rdi - 0x5713f379], bh
imul ecx, dword [rcx], 0xe0dc696b
test al, 0x69
or dword [rbx + 0x69], ebp
fsubr st(0), st(0)
loopne 0x140fa0265
test al, 0x61
and eax, ebp
loope 0x140fa026b
loopne 0x140fa0235
loope 0x140fa0298
test al, 0x27
and al, ch
loopne 0x140fa0275
loopne 0x140fa023f
invalid
and cl, al
loopne 0x140fa027c
loopne 0x140fa0246
invalid
Function at 0x14000af70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000afbc
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000b00a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000b005
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b029
mov rcx, r8
call fcn.14002e760
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400351b4
int3

Function at 0x14000b030
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x14000b082
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000b0d4
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b0cf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b0f3
mov rcx, r8
call fcn.14002e760
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400351b4
int3
Function at 0x14000cff0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140070048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0xe0]
xor ebx, ebx
cmp qword [rcx + 0x18], 8
jb 0x14000d03a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000d06e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.1400024b0
jmp 0x14000d1dd
mov ebp, 1
mov ecx, 0x208
call fcn.14002ea20
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rbx, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000d0bd
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000d0ca
mov r8, qword [rdi]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000d0d9
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000d0e7
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000d168
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000d10f
mov r8, qword [rdi]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000d134
add rax, 2
test ecx, ecx
jne 0x14000d120
test edx, edx
je 0x14000d168
mov rcx, rsi
call fcn.14002e760
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.14002ea20
mov rsi, rax
jmp 0x14000d0b0
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14000d170
mov rax, qword [rsp + 0x60]
cmp rbx, rax
ja 0x14000d1b3
lea rdi, [rsp + 0x48]
cmp rax, 8
cmovae rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140030c90
xor r14d, r14d
mov word [rbx + rdi], r14w
jmp 0x14000d1c3
mov r9, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140002b00
mov rcx, rsi
call fcn.14002e760
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002e740
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000dc70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
add rcx, 0x70
call fcn.14002b1f0
test eax, eax
setne dl
mov byte [rbx + 0xf8], dl
test eax, eax
je 0x14000dcb7
cmp qword [rbx + 0xb8], 0x10000
jae 0x14000dcb7
lea rcx, [rbx + 0x70]
call fcn.14002b5f0
mov eax, dword [rbx + 0x2d0]
cmp byte [rbx + 0xf8], bpl
je 0x14000ddc2
cmp eax, 1
je 0x14000dd9f
mov dword [rbx + 0x2d0], 1
call fcn.14000c320
test al, al
je 0x14000de1e
lea rcx, [rbx + 0x10]
call fcn.140024320
test al, al
je 0x14000de1e
lea rcx, [rbx + 0x10]
call fcn.140024510
mov rcx, rbx
call fcn.14000f500
add rbx, 0x4d0
cmp byte [rbx + 8], bpl
jne 0x14000de09
cmp qword [rbx + 0x18], rbp
je 0x14000de09
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.14002e794
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1400119f0]
xor edx, edx
xor ecx, ecx
call fcn.1400396f8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000de31
cmp dword [rsp + 0x38], 0
je 0x14000de26
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14002dd3c
test eax, eax
jne 0x14000de26
jmp 0x14000de09
mov eax, dword [0x140073330]
inc eax
mov dword [0x140073330], eax
cmp eax, 5
jle 0x14000de09
mov dword [0x140073330], ebp
mov rcx, rbx
call fcn.14000d9b0
jmp 0x14000de09
test eax, eax
je 0x14000de09
mov dword [rbx + 0x2d0], ebp
mov rcx, rbx
call fcn.14000f500
mov byte [rbx + 0x4d8], bpl
mov edi, 0x1388
cmp byte [rbx + 0x4d9], bpl
je 0x14000de09
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14000de09
cmp byte [rbx + 0x4d9], bpl
jne 0x14000ddf0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14003926c
nop
mov ecx, 1
call fcn.14002dca0
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14002dca0
int3
Function at 0x14000e0e0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140070048]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebp, ebp
mov dword [rsp + 0x24], ebp
lea rdx, [0x140073830]
lea rcx, [0x140073470]
call fcn.14000b170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea rdx, [0x14005ffa8]
lea rcx, [rsp + 0x40]
call fcn.1400024b0
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400308d0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000e217
cmp eax, 0x104
je 0x14000e217
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14000e217
mov ecx, esi
call fcn.14002ea20
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.1400308d0
mov dword [rsp + 0x28], ebp
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000e20f
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000e20f
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140001bf0
nop
mov rcx, rdi
call fcn.14002e760
lea rdx, [rsp + 0x40]
lea rcx, [0x140073790]
call fcn.140001ce0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000e267
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e290
call fcn.14002e760
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14002e740
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400351b4
int3
Function at 0x14000f500
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400738a0]
call fcn.14002dfd8
test eax, eax
jne 0x14000f5af
cmp dword [0x1400738ec], 0x7fffffff
je 0x14000f59a
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xb0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1400738a0]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.14002dfe0
mov ecx, 6
mov dword [0x1400738ec], 0x7ffffffe
call fcn.14002dca0
int3
mov ecx, 5
call fcn.14002dca0
int3
Function at 0x140010af0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x140073348]
lea r14, [0x1400738a0]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14002dfd8
test eax, eax
jne 0x140010c48
cmp dword [0x1400738ec], 0x7fffffff
je 0x140010c33
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140001ed0
mov rdx, rax
mov rcx, rdi
call fcn.14000af70
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
cmp rsi, 0xf
jbe 0x140010beb
mov rcx, rbx
call fcn.140007c70
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140010bf8
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.14002dfe0
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [0x1400738ec], 0x7ffffffe
mov ecx, 6
call fcn.14002dca0
int3
mov ecx, 5
call fcn.14002dca0
int3
Function at 0x140011a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140070048]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rsi, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140011b6c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test rbx, rbx
je 0x140011b6c
test eax, eax
je 0x140011b6c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140011b6c
mov rcx, qword [rsi]
mov dword [rbp - 0x28], 0x76fe597d
mov dword [rbp - 0x24], 0xaaf04f0f
mov dword [rbp - 0x20], 0x25416a66
mov dword [rbp - 0x1c], 0x3d8bda8
mov dword [rbp - 0x18], 0xb81b89fc
mov dword [rbp - 0x14], 0xabde9a09
mov dword [rbp - 0x10], 0x5e106b0b
mov dword [rbp - 0xc], 0xf9d56c74
cmp rcx, qword [rsi + 8]
je 0x140011b12
mov qword [rsi + 8], rcx
mov rax, qword [rsi + 0x10]
sub rax, rcx
cmp rdi, rax
jbe 0x140011b29
mov rdx, rdi
mov rcx, rsi
call fcn.140011bb0
xor ebx, ebx
test rdi, rdi
je 0x140011b68
mov rdx, qword [rsi + 8]
mov rax, rbx
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x28]
xor cl, byte [rbx + r14]
mov byte [rbp - 0x30], cl
cmp rdx, qword [rsi + 0x10]
je 0x140011b54
mov byte [rdx], cl
inc qword [rsi + 8]
jmp 0x140011b60
lea r8, [rbp - 0x30]
mov rcx, rsi
call fcn.140011ca0
inc rbx
cmp rbx, rdi
jb 0x140011b30
mov al, 1
jmp 0x140011b6e
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002e740
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140012390
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x140073350], 0
jne 0x140012482
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x140063c98]
mov qword [rsp + 0x48], rbx
lea rcx, [0x140063c88]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x140073350]
test eax, eax
js 0x140012445
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x140063c78]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140012436
mov rcx, qword [rsp + 0x40]
lea r8, [0x14005ff88]
mov r9, rdi
lea rdx, [0x14005ff98]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14001242b
mov rcx, qword [0x140073350]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140012482
cmp qword [0x140073350], 0
jne 0x140012482
lea r9, [0x14005ff88]
mov qword [rsp + 0x20], rdi
lea r8, [0x14005ff98]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14001248f
mov rcx, qword [0x140073350]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400635c8]
lea rdx, [0x1400635e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x140014180
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140070048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140014272
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140011200
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140011200
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.14002e794
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140011200
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.140011200
mov ecx, dword [rsp + 0xa0]
mov dword [rbx + 0x40], ecx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140018df0]
xor edx, edx
xor ecx, ecx
call fcn.1400396f8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400142b5
lea rcx, [rsp + 0x60]
call fcn.1400142e0
cmp dword [rsp + 0x38], 0
je 0x1400142c8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14002dd3c
test eax, eax
jne 0x1400142c8
jmp 0x140014294
cmp qword [rdx + 0x18], 8
jb 0x14001427c
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140014286
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14002e740
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.14002dca0
nop
mov ecx, 1
call fcn.14002dca0
int3

Function at 0x1400143a0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140070048]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140014410
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400024b0
mov dword [rsp + 0x30], 1
lea rdx, [0x140064410]
mov rcx, rbx
call fcn.140004940
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002e740
add rsp, 0x260
pop rbx
ret
Function at 0x1400176e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140017724
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140017710
ret