joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051780
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
mov edx, 0x414
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x40
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400519c0
nop
mov edx, dword [rsi + 0x28f0]
test edx, edx
jne 0x140051818
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rsi + 0x28f4]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x140051800
jmp 0x1400518e3
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9, qword [rsi + 8]
lea rcx, [rsp + 0x120]
call fcn.1400b1580
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051850
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdi, [rsi + 0x28f4]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14003ae50
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140051871
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140051887
add rbx, 2
test eax, eax
jne 0x140051874
test ecx, ecx
setne bl
cmp qword [rsp + 0x70], 8
jb 0x14005189e
mov rcx, qword [rsp + 0x58]
call fcn.1400e5d34
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
test bl, bl
je 0x1400518e3
mov dword [rsi + 0x28f0], 0
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, r9
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdi], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 2]
test ax, ax
jne 0x1400518d0
cmp r8, 8
jb 0x1400518f1
mov rcx, r9
call fcn.1400e5d34
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140059d80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x140059f78
cmp byte [rcx + 0x81], 0
je 0x140059f78
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x140059dce
xor al, al
jmp 0x140059f7a
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r14d, r14d
mov r9, qword [rbp - 0x10]
nop
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, qword [rbp - 0x28]
lea r8, [rbp - 0x28]
cmovae r8, qword [rbp - 0x28]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x18]
add r9, rdx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x140059e46
dec eax
jne 0x140059f3b
jmp 0x140059e4d
mov byte [rdi + 0x81], r14b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x140059e97
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.1400ec320
mov r9, qword [rbp - 0x10]
cmp rbx, rax
jne 0x140059f44
cmp byte [rdi + 0x81], r14b
je 0x140059f62
test rbx, rbx
jne 0x140059e00
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x140059f55
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140059f48
cmp r9, rbx
jae 0x140059ee3
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000c1b0
mov r9, qword [rbp - 0x10]
jmp 0x140059f01
test rbx, rbx
jne 0x140059f0a
mov qword [rbp - 0x18], r14
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax], r14b
jmp 0x140059dfb
test rbx, rbx
je 0x140059e00
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rax + rcx], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rbx + rax], dl
jmp 0x140059dfb
mov r9, qword [rbp - 0x10]
sub eax, 2
je 0x140059f62
xor bl, bl
jmp 0x140059f64
lea rcx, str.string_too_long
call fcn.1400e4de4
int3
lea rcx, str.string_too_long
call fcn.1400e4de4
int3
mov bl, 1
cmp r9, 0x10
jb 0x140059f73
mov rcx, qword [rbp - 0x28]
call fcn.1400e5d34
movzx eax, bl
jmp 0x140059f7a
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140060010
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [r9]
xor ebx, ebx
mov r14, r9
mov ebp, r8d
mov rsi, rdx
test rcx, rcx
je 0x140060072
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000302
call qword [rax + 0x18]
cmp dword [rsp + 0x58], ebx
je 0x140060072
mov rcx, qword [r14]
test rcx, rcx
je 0x14006006a
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000313
call qword [rax + 0x18]
mov ebx, dword [rsp + 0x58]
shr ebx, 0x16
and ebx, 1
jmp 0x14006008c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14006008c
mov ebx, 1
test rsi, rsi
je 0x140060211
cmp dword [rdi + 0x88], 0
je 0x140060211
mov eax, dword [rdi + 0x4c]
test al, al
js 0x140060211
bt eax, 0xe
jb 0x140060211
mov rcx, rsi
call fcn.1400aacb0
test eax, eax
je 0x140060211
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1400aab30
bt eax, 0xa
jb 0x140060211
test ebp, ebp
je 0x140060211
test ebx, ebx
je 0x14006017f
cmp dword [rdi + 0xdc], 0
jne 0x140060211
lea rcx, [0x140271408]
mov r8d, 1
mov rdx, rsi
call fcn.1400086d0
mov ecx, dword [rdi + 0x10]
lea eax, [rcx - 1]
test eax, 0xfffffffa
jne 0x140060211
cmp ecx, 2
je 0x140060211
mov rax, qword [rsi + 0x48]
mov rdx, qword [rax + 0xfb8]
mov rax, qword [rdx]
cmp rax, rdx
je 0x140060152
nop dword [rax]
test byte [rax + 0x10], 0x10
jne 0x140060211
mov rax, qword [rax]
cmp rax, rdx
jne 0x140060140
mov r8d, dword [rdi + 0x4c]
lea rcx, [0x140271408]
mov r9d, 6
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.140008320
mov dword [rdi + 0xdc], 1
jmp 0x140060211
cmp dword [rdi + 0xdc], 0
je 0x140060211
lea rcx, [0x140271408]
mov r8d, 1
mov rdx, rsi
call fcn.1400086d0
mov eax, dword [rdi + 0x10]
cmp eax, 1
jne 0x1400601ee
mov rbx, qword [rsi + 0x48]
mov rcx, rsi
call fcn.1400aac00
mov rdx, qword [rbx + 0xfb8]
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x1400601d1
test dword [rcx + 0x10], eax
jne 0x140060211
mov rcx, qword [rcx]
cmp rcx, rdx
jne 0x1400601c4
mov r8d, dword [rdi + 0x4c]
lea rcx, [0x140271408]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.140008320
jmp 0x140060207
add eax, 0xfffffffb
cmp eax, 1
ja 0x140060211
mov r9d, ebp
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1400603f0
mov dword [rdi + 0xdc], 0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140061d20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x40
cmp dword [rcx + 0x378], 0
mov ebp, edx
mov rbx, rcx
je 0x140061eba
mov rdx, rcx
mov rcx, qword [0x1402711c0]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r14
call qword [sym.imp.USER32.dll_KillTimer]
xor r14d, r14d
mov qword [rbx + 0x378], r14
mov qword [rbx + 0x500], r14
mov rcx, qword [0x1402711c0]
mov qword [0x140270238], r14
mov rdx, qword [rbx + 0x48]
lea r9, [0x140025c80]
add rdx, 0xd
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
mov rdx, qword [rbx + 0x48]
mov rcx, qword [0x1402711c0]
lea r9, [0x140025d90]
add rdx, 0xb
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
cmp dword [rbx + 0x384], r14d
je 0x140061e43
mov rcx, qword [rbx + 0x48]
call fcn.140020eb0
test al, 0x40
jne 0x140061eb0
mov rcx, qword [rbx + 0x48]
call fcn.140020eb0
lea edi, [r14 + 1]
test al, 0x40
jne 0x140061e35
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140061e03
mov rcx, qword [rbx + 0x38]
mov edx, edi
mov rcx, qword [rcx + 0x30]
call fcn.1400b96d0
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x48]
mov dword [rsp + 0x30], r14d
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
call fcn.1400267e0
mov rcx, qword [0x140272b20]
call fcn.1400b6ed0
jmp 0x140061ea6
mov edi, 1
test ebp, ebp
mov eax, r14d
cmovne eax, edi
mov qword [rsp + 0x50], rsi
mov esi, edi
mov dword [rbx + 0x51c], eax
test eax, eax
je 0x140061e93
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400aaae0
bt eax, 0x1b
jae 0x140061e93
mov rcx, qword [0x1402711c0]
lea rdx, [rbx + 0xe]
lea r9, [0x140064650]
lea r8d, [rdi + 0x63]
mov esi, r14d
call qword [sym.imp.USER32.dll_SetTimer]
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
mov rsi, qword [rsp + 0x50]
test ebp, ebp
je 0x140061eb0
mov dword [rbx + 0x51c], edi
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x140062a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x494], 0
mov rbx, rcx
jne 0x14006277a
xor eax, eax
add rsp, 0x20
pop rbx
ret
call fcn.140062690
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rbx + 0x3b8]
jl 0x140062772
movzx r11d, byte [rbx + 0x498]
mov qword [rsp + 0x30], rdi
xor edi, edi
xor cl, cl
mov r10d, edi
mov r9d, edi
test r11b, r11b
je 0x1400627ee
movzx edx, byte [rbx + 0x424]
nop
cmp cl, dl
jae 0x1400627d9
movzx eax, byte [rbx + 0x425]
add al, cl
cmp al, dl
jb 0x1400627c3
sub al, dl
movzx eax, al
mov r8d, dword [rbx + rax*4 + 0x3bc]
test r8d, r8d
je 0x1400627d9
add r10d, r8d
inc r9d
inc cl
cmp cl, r11b
jb 0x1400627b0
test r9d, r9d
je 0x1400627ee
mov eax, r10d
cdq
idiv r9d
mov edi, eax
mov dword [rbx + 0x49c], edi
mov rdi, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rbx
ret
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x494], 0
mov rdi, rcx
je 0x140062a4c
add rsp, 0x20
pop rdi
jmp 0x140062760
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x3b8]
call fcn.1400aa8f0
movss xmm0, dword [rdi + 0x368]
cvtps2pd xmm0, xmm0
bt eax, 0xb
mov eax, 0x3c
cmovb ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
andps xmm0, xmmword [0x14012abd0]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm1
jbe 0x140062a9f
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400aa8a0
bt eax, 0x1c
jae 0x140062afd
movss xmm0, dword [rdi + 0x36c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140062ac4
je 0x140062afd
movss xmm2, dword [rdi + 0x368]
comiss xmm2, xmm1
jbe 0x140062ad6
comiss xmm0, xmm1
ja 0x140062ae0
comiss xmm1, xmm2
jbe 0x140062afd
comiss xmm1, xmm0
jbe 0x140062afd
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1401269b8]
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x510], xmm0
jmp 0x140062b09
mov eax, dword [rdi + 0x368]
mov dword [rdi + 0x510], eax
mov eax, dword [rdi + 0x510]
mov rcx, rdi
mov dword [rdi + 0x514], 0
mov dword [rdi + 0x36c], eax
call fcn.14006ad40
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140064730
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x48]
mov edi, edx
call fcn.140020eb0
test al, 0x40
jne 0x1400647a7
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140064773
mov rcx, qword [rbx + 0x38]
mov edx, 1
mov rcx, qword [rcx + 0x30]
call fcn.1400b96d0
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x48]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x30], eax
lea r9d, [rax + 3]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.1400267e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400719c0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2b0], 2
mov r9, rdx
mov rbx, rcx
jne 0x140071a24
test r8, r8
je 0x1400719df
mov rdx, r8
jmp 0x1400719e5
lea edx, [rcx + 0x710]
mov rcx, r9
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rbx + 0x30], 0
mov dword [rbx + 0x2b0], 1
mov rcx, qword [0x1402711c0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x1402706e8], 0
mov qword [0x1402706f0], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140072920
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x240
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rdx, [0x1401246c4]
mov rcx, rdi
call fcn.14000b1a0
mov dword [rsp + 0x20], 1
mov word [rsp + 0x30], si
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x14007299c
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140072990
jmp 0x1400729cd
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400729dd
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400729c3
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000be20
mov rax, rdi
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140072a00
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2bc0]
mov eax, 0x2cc0
call fcn.1400e75f0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2cf0], rbx
mov rbx, r8
mov r14, rdx
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rdx, [0x1401246c4]
mov rcx, r14
call fcn.14000b1a0
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
mov dword [rbp + 0x2c08], edi
lea rdx, [rbp + 0x2c08]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rsp + 0x40], 0x238
cmp rsi, 0xffffffffffffffff
je 0x140072c18
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140072c0f
mov eax, dword [rbp + 0x2c08]
cmp dword [rsp + 0x48], eax
je 0x140072abd
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x140072a9a
lea rcx, [rsp + 0x6c]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140072ad0
mov r8d, eax
lea rdx, [rsp + 0x6c]
mov rcx, r14
call fcn.14000be20
nop word [rax + rax]
movzx eax, word [rsp + rdi + 0x6c]
mov word [rbp + rdi + 0x180], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140072af0
mov r8d, dword [rbp + 0x2c08]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140072b84
lea r9, [rsp + 0x24]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x140072b7c
mov r9d, 0x104
lea r8, [rbp + 0x180]
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea rax, [rbp + 0x180]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140072b60
mov r8d, ebx
lea rdx, [rbp + 0x180]
mov rcx, r14
call fcn.14000be20
mov rcx, rdi
jmp 0x140072c09
lea rcx, [0x1402707e0]
call fcn.140084750
test eax, eax
je 0x140072c0f
mov dword [rbp + 0x390], 0xe
mov eax, dword [rbp + 0x2c08]
mov dword [rbp + 0x398], eax
mov rax, qword [0x1402711c0]
mov qword [rbp + 0x3a0], rax
lea r9, str.SynGetModulePathNameEvent
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x140072c0f
lea rdx, [rbp + 0x390]
lea rcx, [0x1402707e0]
call fcn.140084a50
test rax, rax
je 0x140072c06
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [r15 + 0x20]
mov rcx, r14
call fcn.14000b310
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
mov rbx, qword [rsp + 0x2cf0]
add rsp, 0x2cc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078e40
Capabilities:
Delete file

Disassembly:
sub rsp, 0x48
lea rdx, [rcx + 0x48]
lea r8, str..syn
lea rcx, [rsp + 0x20]
call fcn.14002d200
cmp qword [rax + 0x18], 8
jb 0x140078e63
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsp + 0x38], 8
jb 0x140078e7e
mov rcx, qword [rsp + 0x20]
call fcn.1400e5d34
add rsp, 0x48
ret

Function at 0x140078e90
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
lea rdx, [rcx + 0x48]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.1400075d0
nop
movzx eax, word [str..syn]
neg ax
sbb r8, r8
and r8d, 4
lea rdx, str..syn
lea rcx, [rsp + 0x28]
call fcn.14000c4d0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
cmp qword [rsp + 0x40], 8
jb 0x140078f19
mov rcx, qword [rsp + 0x28]
call fcn.1400e5d34
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x14007a5d0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp dword [rcx + 4], 0
je 0x14007a680
cmp dword [rcx + 0xc], 0
je 0x14007a680
lea rbx, [rcx + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x14007a603
mov rcx, qword [rbx]
jmp 0x14007a606
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007a680
cmp qword [rbx + 0x18], 8
jb 0x14007a61a
mov rbx, qword [rbx]
mov qword [rsp + 0x40], 7
xor r8d, r8d
mov qword [rsp + 0x38], r8
mov word [rsp + 0x28], r8w
cmp word [rbx], r8w
je 0x14007a64b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14007a640
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140007720
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400dbe40
mov ebx, eax
cmp qword [rsp + 0x40], 8
jb 0x14007a67c
mov rcx, qword [rsp + 0x28]
call fcn.1400e5d34
mov eax, ebx
jmp 0x14007a685
mov eax, 1
add rsp, 0x50
pop rbx
ret
Function at 0x14007bc10
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, rcx
mov qword [rsp + 0x58], 7
xor esi, esi
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
lea rdx, [rcx + 0x30]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.1400075d0
nop
mov r8d, esi
cmp word [0x14012dc68], r8w
setne r8b
lea rdx, [0x14012dc68]
lea rcx, [rsp + 0x40]
call fcn.14000c4d0
movzx eax, word [str..syn]
neg ax
sbb r8, r8
and r8d, 4
lea rdx, str..syn
lea rcx, [rsp + 0x40]
call fcn.14000c4d0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007bdd6
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp word [rbp - 0x64], si
jne 0x14007bcee
mov r8d, esi
jmp 0x14007bd0b
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14007bd00
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.140007720
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14007c450
nop
cmp qword [rsp + 0x38], 8
jb 0x14007bd3a
mov rcx, qword [rsp + 0x20]
call fcn.1400e5d34
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14007bdcc
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp word [rbp - 0x64], 0
jne 0x14007bd6f
mov r8, rsi
jmp 0x14007bd8b
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14007bd80
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.140007720
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14007c450
nop
cmp qword [rsp + 0x38], 8
jb 0x14007bdba
mov rcx, qword [rsp + 0x20]
call fcn.1400e5d34
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007bd50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x58], 8
jb 0x14007bde8
mov rcx, qword [rsp + 0x40]
call fcn.1400e5d34
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400838c0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
sub rsp, 0x440
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.1400e5f00
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x230]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [rbx + 1]
lea rcx, str.control.exe_mouse
xor r8d, r8d
call fcn.1400e0bd0
test eax, eax
jne 0x140083939
lea r8d, [rbx + 0x10]
lea ecx, [rbx + 6]
xor edx, edx
call fcn.140083b30
mov ebx, eax
cmp word [rsp + 0x20], 0
je 0x14008394c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, ebx
add rsp, 0x440
pop rbx
ret