joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x594], 0
mov rdi, rcx
jne 0x140072f8a
xor eax, eax
add rsp, 0x30
pop rdi
ret
movzx edx, byte [rcx + 0x598]
call fcn.140072e70
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rdi + 0x44c]
jl 0x140072f82
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x28], r14
xor bl, bl
mov qword [rsp + 0x20], r15
lea r12d, [rsi + 1]
mov r15d, esi
mov r14d, esi
mov ebp, esi
cmp byte [rdi + 0x598], bl
jbe 0x14007305a
nop dword [rax]
cmp bl, byte [rdi + 0x4b8]
jb 0x140073001
lea rdx, str.F:CheckPointsTPDrv_builderSuperMan1IncludeUtility.h
lea rcx, str.n___m_ucBufSize
mov r8d, 0xf9
call fcn.1400be660
movzx ecx, byte [rdi + 0x4b8]
cmp bl, cl
jae 0x140073042
movzx eax, byte [rdi + 0x4b9]
add al, bl
cmp al, cl
jb 0x14007301b
sub al, cl
movzx eax, al
mov edx, dword [rdi + rax*4 + 0x450]
test edx, edx
je 0x140073042
or ecx, 0xffffffff
test edx, edx
cmovg ecx, r12d
test ebp, ebp
je 0x14007303a
cmp ecx, ebp
jne 0x14007304c
add r15d, edx
mov ebp, ecx
inc r14d
inc bl
cmp bl, byte [rdi + 0x598]
jb 0x140072fe0
test r14d, r14d
je 0x14007305a
mov eax, r15d
cdq
idiv r14d
mov esi, eax
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 0x59c], esi
test esi, esi
mov rsi, qword [rsp + 0x50]
je 0x14007308d
mov rcx, rdi
call fcn.140073460
mov rcx, rdi
call fcn.140073290
mov eax, r12d
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x594], 0
mov rdi, rcx
je 0x1400735cc
add rsp, 0x20
pop rdi
jmp 0x140072f70
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x44c]
call fcn.1400ca590
movss xmm0, dword [rdi + 0x3e0]
cvtps2pd xmm0, xmm0
bt eax, 0xb
mov eax, 0x3c
cmovb ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
andps xmm0, xmmword [0x140159260]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm1
jbe 0x14007361f
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400ca4f0
bt eax, 0x1c
jae 0x14007367d
movss xmm0, dword [rdi + 0x3e4]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140073644
je 0x14007367d
movss xmm2, dword [rdi + 0x3e0]
comiss xmm2, xmm1
jbe 0x140073656
comiss xmm0, xmm1
ja 0x140073660
comiss xmm1, xmm2
jbe 0x14007367d
comiss xmm1, xmm0
jbe 0x14007367d
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140152200]
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x610], xmm0
jmp 0x140073689
mov eax, dword [rdi + 0x3e0]
mov dword [rdi + 0x610], eax
mov eax, dword [rdi + 0x610]
mov rcx, rdi
mov dword [rdi + 0x614], 0
mov dword [rdi + 0x3e4], eax
call fcn.14007ce50
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140075810
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x38], 0
mov edi, edx
mov rbx, rcx
jne 0x14007583f
lea rdx, str.f:checkpoints_tpdrv_buildersuperman1_syntpenhCZone.h
lea rcx, str.m_pManagedPointingDevice
mov r8d, 0x1c1
call fcn.1400be660
mov rcx, qword [rbx + 0x38]
call fcn.140031ef0
test al, 0x40
jne 0x1400758cb
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140075877
mov rcx, rbx
call fcn.1400cff00
mov edx, 1
mov rcx, qword [rax + 0x30]
call fcn.1400dba20
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x1a8]
cmp qword [rbx + 0x38], 0
jne 0x1400758a5
lea rdx, str.f:checkpoints_tpdrv_buildersuperman1_syntpenhCZone.h
lea rcx, str.m_pManagedPointingDevice
mov r8d, 0x1c1
call fcn.1400be660
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x38]
xor eax, eax
mov dword [rsp + 0x30], eax
lea r9d, [rax + 3]
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.140037750
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140076020
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
cmp dword [rcx + 0x40c], 0
mov ebp, r9d
mov r14, r8
mov edi, edx
mov rbx, rcx
je 0x14007605d
test edx, edx
jne 0x14007605d
cmp dword [rsp + 0x70], edx
jne 0x14007605d
call fcn.140072350
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ca870
test al, 0x40
je 0x140076083
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ca4f0
bt eax, 0x12
jb 0x140076083
neg edi
mov esi, dword [rbx + 0x64]
xor r8d, r8d
xor edx, edx
shr esi, 3
mov rcx, rbx
and esi, 1
call fcn.1400ca870
test al, al
jns 0x1400760a6
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
ucomiss xmm0, dword [0x14015de14]
jp 0x1400760ba
je 0x1400760c9
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
cvttss2si edi, xmm1
mov rcx, qword [rbx + 0x70]
mov r8d, dword [rbx + 0x78]
mov dword [rsp + 0x38], ebp
mov rax, qword [rcx]
mov dword [rsp + 0x30], 0
mov r9d, edi
mov rdx, rbx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
call qword [rax + 0x48]
cmp dword [rbx + 0x40c], 0
mov edi, eax
je 0x140076154
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14007612d
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14007612d
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140076154
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140076148
mov edx, 1
mov dword [0x1402ae1f8], edx
xor edx, edx
mov rcx, rbx
call fcn.140072350
jmp 0x14007617a
test edi, edi
je 0x140076169
cmp edi, 1
je 0x140076195
jle 0x14007617a
cmp edi, 3
jle 0x140076148
cmp edi, 4
jne 0x14007617a
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x1a8]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test eax, eax
je 0x1400761ac
mov dword [rbx + 0x5e0], 0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ca4f0
bt eax, 0xa
jb 0x1400761d0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ca7d0
test al, 2
je 0x14007617a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ca4f0
bt eax, 0x12
jae 0x14007617a
test ebp, ebp
je 0x140076203
inc dword [rbx + 0x680]
cmp dword [rbx + 0x680], 0x28
jbe 0x14007617a
mov rcx, rbx
call fcn.140077590
jmp 0x14007617a
cmp dword [rbx + 0x654], 0
je 0x14007617a
mov rcx, rbx
call fcn.1400724c0
mov eax, dword [rbx + 0x5e8]
mov ecx, dword [rbx + 0x654]
cmp eax, 1
jne 0x140076237
cmp dword [rbx + 0x5b0], 0xffffffff
je 0x14007624a
or edx, 0xffffffff
jmp 0x14007624c
cmp eax, 0xffffffff
jne 0x14007624a
cmp dword [rbx + 0x5ac], 0xffffffff
je 0x14007624a
lea edx, [rax + 2]
jmp 0x14007624c
xor edx, edx
mov dword [rbx + 0x654], edx
cmp ecx, edx
je 0x14007625c
inc dword [rbx + 0x658]
cmp dword [rbx + 0x658], 2
jne 0x14007617a
mov rcx, rbx
call fcn.140077590
mov dword [rbx + 0x654], 0
jmp 0x14007617a
Function at 0x140084780
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2b8], 2
mov r9, rdx
mov rbx, rcx
jne 0x1400847e4
test r8, r8
je 0x14008479f
mov rdx, r8
jmp 0x1400847a5
lea edx, [rcx + 0x718]
mov rcx, r9
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rbx + 0x38], 0
mov dword [rbx + 0x2b8], 1
mov rcx, qword [0x1402ae2c8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x1402ad7b0], 0
mov qword [0x1402ad7b8], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140086590
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, [0x140150af4]
mov rcx, rdi
call fcn.140007840
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 0x14008660c
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140086600
jmp 0x14008663d
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 0x14008664d
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140086633
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140008830
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 0x140086670
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.14010cf70
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, [0x140150af4]
mov rcx, r14
call fcn.140007840
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 0x140086888
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14008687f
mov eax, dword [rbp + 0x2c08]
cmp dword [rsp + 0x48], eax
je 0x14008672d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x14008670a
lea rcx, [rsp + 0x6c]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140086740
mov r8d, eax
lea rdx, [rsp + 0x6c]
mov rcx, r14
call fcn.140008830
nop word [rax + rax]
movzx eax, word [rsp + rdi + 0x6c]
mov word [rbp + rdi + 0x180], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140086760
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 0x1400867f4
lea r9, [rsp + 0x24]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1400867ec
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 0x1400867d0
mov r8d, ebx
lea rdx, [rbp + 0x180]
mov rcx, r14
call fcn.140008830
mov rcx, rdi
jmp 0x140086879
lea rcx, [0x1402ad8a0]
call fcn.14009aaa0
test eax, eax
je 0x14008687f
mov dword [rbp + 0x390], 0xe
mov eax, dword [rbp + 0x2c08]
mov dword [rbp + 0x398], eax
mov rax, qword [0x1402ae2c8]
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 0x14008687f
lea rdx, [rbp + 0x390]
lea rcx, [0x1402ad8a0]
call fcn.14009af50
test rax, rax
je 0x140086876
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [r15 + 0x28]
mov rcx, r14
call fcn.140007bb0
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 0x140086f90
Capabilities:
Get file version info

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x60], r14
mov r14, r8
mov r8, qword [0x1402ad7b8]
lea rdx, [rsp + 0x28]
call fcn.140086670
mov rax, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rax - 0x10], ebx
je 0x14008706c
lea rdx, [rsp + 0x68]
mov rcx, rax
mov qword [rsp + 0x50], rsi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x140087062
mov ecx, esi
mov qword [rsp + 0x58], rdi
call fcn.140112768
mov rdi, rax
test rax, rax
je 0x14008705d
mov rcx, qword [rsp + 0x28]
mov r9, rax
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140087055
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [0x140150658]
mov rcx, rdi
mov qword [rsp + 0x30], rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140087055
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140087055
movzx eax, word [rcx + 0xa]
mov ebx, 1
mov dword [r14], eax
movzx eax, word [rcx + 8]
mov dword [r14 + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [r14 + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [r14 + 0xc], eax
mov rcx, rdi
call fcn.14010bb20
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
mov r14, qword [rsp + 0x60]
jg 0x140087086
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x14008a1f0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
movss xmm0, dword [r8 + 0x2ef]
xorps xmm1, xmm1
mov rbx, r8
comiss xmm0, xmm1
jbe 0x14008a2bd
cmp dword [r8 + 0x2f7], 0
je 0x14008a222
addss xmm0, dword [0x14015de14]
jmp 0x14008a22a
subss xmm0, dword [0x14015de14]
ucomiss xmm0, xmm1
movss dword [r8 + 0x2ef], xmm0
jp 0x14008a23a
je 0x14008a29a
lea rcx, [0x1402ad8a0]
call fcn.14009b1d0
test eax, eax
je 0x14008a28d
movzx eax, byte [rbx + 0xa3]
cmp al, 0xff
je 0x14008a28d
mov edx, dword [rbx + 0x87]
mov rcx, qword [0x1402ae2c8]
movzx eax, al
movd xmm0, eax
mov r9d, 3
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rbx + 0x2ef]
divss xmm0, dword [rbx + 0x2f3]
cvttss2si r8, xmm0
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x1402ae2c8]
call qword [sym.imp.USER32.dll_BringWindowToTop]
movss xmm0, dword [rbx + 0x2ef]
ucomiss xmm0, dword [rbx + 0x2f3]
jp 0x14008a314
jne 0x14008a314
mov dword [rbx + 0x2f7], 0
add rsp, 0x20
pop rbx
ret
cmp dword [r8 + 0x2b7], 2
jne 0x14008a314
test rbx, rbx
je 0x14008a2d1
mov rdx, rbx
jmp 0x14008a2d8
lea edx, [r8 + 0x717]
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rbx + 0x37], 0
mov dword [rbx + 0x2b7], 1
mov rcx, qword [0x1402ae2c8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x1402ad7b0], 0
mov qword [0x1402ad7b8], 0
add rsp, 0x20
pop rbx
ret
Function at 0x14008cd30
Capabilities:
Delete file

Disassembly:
sub rsp, 0x48
lea rdx, [rcx + 0x48]
lea r8, str..syn
lea rcx, [rsp + 0x20]
call fcn.140007750
cmp qword [rax + 0x18], 8
jb 0x14008cd53
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsp + 0x38], 8
jb 0x14008cd6e
mov rcx, qword [rsp + 0x20]
call fcn.14010a7dc
add rsp, 0x48
ret

Function at 0x14008cd80
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.140008f30
nop
movzx eax, word [str..syn]
neg ax
sbb r8, r8
and r8d, 4
lea rdx, str..syn
lea rcx, [rsp + 0x28]
call fcn.140008dc0
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 0x14008ce09
mov rcx, qword [rsp + 0x28]
call fcn.14010a7dc
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x14008eb30
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp dword [rcx + 4], 0
je 0x14008ebe0
cmp dword [rcx + 0xc], 0
je 0x14008ebe0
lea rbx, [rcx + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x14008eb63
mov rcx, qword [rbx]
jmp 0x14008eb66
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14008ebe0
cmp qword [rbx + 0x18], 8
jb 0x14008eb7a
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 0x14008ebab
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14008eba0
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140009080
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140100220
mov ebx, eax
cmp qword [rsp + 0x40], 8
jb 0x14008ebdc
mov rcx, qword [rsp + 0x28]
call fcn.14010a7dc
mov eax, ebx
jmp 0x14008ebe5
mov eax, 1
add rsp, 0x50
pop rbx
ret
Function at 0x140090170
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.140008f30
nop
mov r8d, esi
cmp word [0x14015c774], r8w
setne r8b
lea rdx, [0x14015c774]
lea rcx, [rsp + 0x40]
call fcn.140008dc0
movzx eax, word [str..syn]
neg ax
sbb r8, r8
and r8d, 4
lea rdx, str..syn
lea rcx, [rsp + 0x40]
call fcn.140008dc0
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 0x140090336
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp word [rbp - 0x64], si
jne 0x14009024e
mov r8d, esi
jmp 0x14009026b
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140090260
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.140009080
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400909b0
nop
cmp qword [rsp + 0x38], 8
jb 0x14009029a
mov rcx, qword [rsp + 0x20]
call fcn.14010a7dc
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14009032c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp word [rbp - 0x64], 0
jne 0x1400902cf
mov r8, rsi
jmp 0x1400902eb
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400902e0
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.140009080
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400909b0
nop
cmp qword [rsp + 0x38], 8
jb 0x14009031a
mov rcx, qword [rsp + 0x20]
call fcn.14010a7dc
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400902b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x58], 8
jb 0x140090348
mov rcx, qword [rsp + 0x40]
call fcn.14010a7dc
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 0x1400994d0
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.14010a9a0
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_keyboard
xor r8d, r8d
call fcn.140105e80
test eax, eax
jne 0x140099549
lea r8d, [rbx + 0x10]
lea ecx, [rbx + 6]
xor edx, edx
call fcn.140099de0
mov ebx, eax
cmp word [rsp + 0x20], 0
je 0x14009955c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, ebx
add rsp, 0x440
pop rbx
ret
Function at 0x1400996e0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5c8]
sub rsp, 0x6c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, rcx
xor ebx, ebx
mov word [rbp + 0x1a0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1a2]
call fcn.14010a9a0
lea rdx, [rbp + 0x1a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, 0x104
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rdi, str.control.exe_mouse
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
movzx eax, word [str.explorer.exe_shell:appsfolder_]
neg ax
sbb r8, r8
and r8d, 0x1e
lea rdx, str.explorer.exe_shell:appsfolder_
lea rcx, [rsp + 0x30]
call fcn.140009080
nop
mov word [rbp - 0x70], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.14010a9a0
mov dword [rbp + 0x5d8], 0x208
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.1400ec9c0
nop
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x5d8]
lea r8, [rbp - 0x70]
lea rdx, str.SynUWPAPPXID
lea rcx, [rsp + 0x60]
call fcn.140106ac0
test eax, eax
je 0x14009985a
cmp word [rbp - 0x70], bx
je 0x14009985a
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.140099570
test eax, eax
je 0x14009985a
cmp word [rbp - 0x70], bx
jne 0x14009981f
mov r8d, ebx
jmp 0x14009983b
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140099830
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140008dc0
lea rdi, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdi, qword [rsp + 0x30]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.140105e80
test eax, eax
jne 0x14009987d
xor edx, edx
lea ecx, [rax + 6]
lea r8d, [rax + 0x10]
call fcn.140099de0
mov ebx, eax
cmp word [rbp + 0x1a0], 0
je 0x140099895
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x58]
call fcn.1400eca60
nop
cmp qword [rsp + 0x48], 8
jb 0x1400998b2
mov rcx, qword [rsp + 0x30]
call fcn.14010a7dc
mov eax, ebx
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret