joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050cd0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
test dl, dl
je 0x140050e50
mov qword [rsp + 0x28], rdi
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
mov qword [rbp + 0xc0], rdi
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], dil
lea r8d, [rdi + 0xe]
lea rdx, str.AdpSDKUtil.exe
lea rcx, [rbp + 0xc0]
call fcn.140009250
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0xc0]
call fcn.14001b5c0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400091f0
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0xa0]
lea rcx, [rsi + 0x50]
call fcn.140024c30
nop
lea rcx, [rsp + 0x28]
call fcn.140008fe0
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rcx, qword [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140050df3
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xa0]
call fcn.140024a70
nop
mov edi, 1
mov dword [rsp + 0x20], edi
mov rdx, rax
lea rcx, [rsi + 0x30]
call fcn.140022e70
test al, al
je 0x140050df3
movzx ebx, dil
jmp 0x140050df5
xor bl, bl
test dil, 1
je 0x140050e07
lea rcx, [rbp + 0xc0]
call fcn.140008fe0
test bl, bl
je 0x140050e3f
lea rcx, [rsi + 0x30]
lea rax, [rbp + 0xa0]
cmp rcx, rax
je 0x140050e3f
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
call fcn.140009050
nop
lea rcx, [rbp + 0xa0]
call fcn.140008fe0
jmp 0x140050f45
lea rbx, [rcx + 0x30]
cmp byte [rcx + 0x70], dil
je 0x140050e77
add rcx, 0x50
call fcn.140025f70
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140050e70
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdi
mov word [rax], di
lea rax, [rsi + 0x50]
cmp qword [rsi + 0x68], 8
jb 0x140050e86
mov rax, qword [rsi + 0x50]
mov qword [rsi + 0x60], rdi
mov word [rax], di
lea rdx, str.AdpSDKUtil.exe
lea rcx, [rsp + 0x50]
call fcn.14009c370
nop
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14009d460
nop
cmp rbx, rax
je 0x140050ecc
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140050ec0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140009050
nop
lea rcx, [rsp + 0x28]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x50]
call fcn.14009d760
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140050ef3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x88], rdi
lea rcx, [rbp + 0x30]
call fcn.140008fe0
lea rcx, [rbp + 0x10]
call fcn.140008fe0
lea rcx, [rbp - 0x10]
call fcn.1400091f0
lea rcx, [rbp - 0x30]
call fcn.1400091f0
lea rcx, [rbp - 0x50]
call fcn.1400091f0
lea rcx, [rbp - 0x70]
call fcn.1400091f0
lea rcx, [rsp + 0x70]
call fcn.1400091f0
lea rcx, [rsp + 0x50]
call fcn.1400091f0
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400f89b0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005b0d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
cmp qword [rcx + 0x40], rdi
je 0x14005b203
lea rdx, [rcx + 0x30]
mov r8, rsi
lea rcx, [rsp + 0x58]
call fcn.14005b570
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bpl
jne 0x14005b1f3
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 6
jl 0x14005b1d2
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r14, rax
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400220d0
nop
mov edi, 1
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0x10
jb 0x14005b1ba
mov rax, qword [rax]
mov r9, rax
lea r8, str.DuplicateHandler:_IsProcessed_true_for__s
mov edx, 6
mov rcx, r14
call fcn.14001efa0
nop
test dil, 1
je 0x14005b1e2
lea rcx, [rsp + 0x38]
call fcn.1400091f0
lea r8, [rsp + 0x58]
mov rdx, rsi
mov rcx, rbx
call fcn.14005b640
nop
lea rcx, [rsp + 0x58]
call fcn.140008fe0
movzx eax, bpl
jmp 0x14005b205
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f89b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14005b640
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x90], ebx
mov eax, dword [rcx + 0x50]
test eax, eax
jns 0x14005b678
call fcn.14002bec0
movzx eax, al
mov dword [rsi + 0x50], eax
test eax, eax
jle 0x14005b802
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 5
jl 0x14005b741
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r14, rax
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1400220d0
mov rsi, rax
mov dword [rsp + 0x90], 1
cmp qword [rax + 0x18], 0x10
jb 0x14005b700
mov rsi, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400220d0
nop
mov ebx, 3
mov dword [rsp + 0x90], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005b724
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.DuplicateHandler:_TryRemoveProcessedFile_for__s_r_ndone_file:__s
mov edx, 5
mov rcx, r14
call fcn.14001efa0
nop
test bl, 2
je 0x14005b754
and ebx, 0xfffffffd
lea rcx, [rsp + 0x30]
call fcn.1400091f0
nop
test bl, 1
je 0x14005b763
lea rcx, [rsp + 0x50]
call fcn.1400091f0
xor edx, edx
mov rcx, rdi
call fcn.140054f40
movzx esi, al
cmp qword [rdi + 0x18], 8
jb 0x14005b77a
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14005b7fc
xor edx, edx
mov rcx, rbp
call fcn.140054f40
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.140024a70
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x14005b7af
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
je 0x14005b7f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14005b7f2
lea edx, [rax + 0x7b]
mov rcx, rbx
call fcn.140025da0
mov edx, dword [0x140189cc0]
mov rcx, rbx
call fcn.140025da0
cmp qword [rbx + 0x18], 8
jb 0x14005b7e8
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x50]
call fcn.140008fe0
movzx eax, sil
jmp 0x14005b804
xor al, al
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140072430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
jne 0x14007245f
xor al, al
jmp 0x140072538
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140022cb0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400724ae
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400724a9
test al, 0x10
jne 0x1400724ae
xor sil, sil
jmp 0x14007252a
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bpl
test eax, eax
jne 0x1400724ea
mov eax, dword [rbx + 0x10]
test eax, eax
jne 0x1400724e5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x50]
inc eax
mov dword [rbx + 0x10], eax
mov byte [rsp + 0x28], bpl
lea rcx, [rdi + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.14005c460
mov sil, 1
test bpl, bpl
je 0x14007252a
xor eax, eax
sub dword [rbx + 0x10], 1
jns 0x140072517
mov dword [rbx + 0x10], eax
jmp 0x14007251c
cmp dword [rdi + 0x50], eax
jne 0x140072520
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
lea rcx, [rsp + 0x40]
call fcn.140008fe0
movzx eax, sil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f89b0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140073470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140073f70
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x40
call fcn.1400f89d8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete sil
test eax, eax
jne 0x1400734fe
mov eax, dword [rbx + 0x10]
test eax, eax
jne 0x1400734f9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x50]
inc eax
mov dword [rbx + 0x10], eax
mov byte [rsp + 0x28], sil
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140073eb0
nop
test sil, sil
je 0x140073536
xor eax, eax
sub dword [rbx + 0x10], 1
jns 0x140073524
mov dword [rbx + 0x10], eax
jmp 0x140073529
cmp dword [rdi + 0x50], eax
jne 0x14007352d
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rcx]
cmp byte [rbx + 0x19], 0
jne 0x1400735fe
nop dword [rax + rax]
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x14007355f
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140073599
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x140073579
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140073599
test al, 0x10
je 0x140073599
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14005c460
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400735c8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400735c3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x1400735c3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400735b0
mov rbx, rax
jmp 0x1400735ef
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1400735ef
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400735e0
cmp byte [rbx + 0x19], 0
je 0x140073550
mov rcx, qword [rsp + 0x30]
mov esi, dword [rbp + 8]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x14007364a
nop dword [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002f260
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140008fe0
mov edx, 0x40
mov rcx, rbx
call fcn.1400f89d0
cmp byte [rdi + 0x19], 0
je 0x140073610
mov rcx, qword [rsp + 0x30]
mov edx, 0x40
call fcn.1400f89d0
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400f89b0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400816b0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1400816e8
cmp eax, 0x80010106
je 0x1400816ef
xor al, al
jmp 0x14008186b
mov dword [r14], 1
lea rsi, [r14 + 8]
mov qword [rsp + 0x20], rsi
lea r9, [0x14014a1a8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14014a198]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140081728
call qword [sym.imp.ole32.dll_CoUninitialize]
xor ebx, ebx
mov dword [r14], ebx
xor al, al
jmp 0x14008186b
mov rbp, qword [rsi]
mov rax, qword [rbp]
mov r12, qword [rax + 0x18]
lea r15, [r14 + 0x10]
mov ecx, 0x18
call fcn.1400f89d8
mov rdi, rax
mov qword [rsp + 0x88], rax
xor ebx, ebx
test rax, rax
je 0x14008177b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call fcn.1400f8680
mov qword [rdi], rax
jmp 0x14008177e
mov rdi, rbx
mov qword [rsp + 0x88], rdi
test rdi, rdi
je 0x140081884
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rbp
call r12
mov ebp, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400817f7
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400817d8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400817ea
call fcn.1400f89d0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400f89d0
test ebp, ebp
jns 0x140081808
mov rcx, qword [rsi]
test rcx, rcx
je 0x14008185c
mov qword [rsi], rbx
jmp 0x140081855
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r15]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140081869
mov rcx, qword [rsi]
test rcx, rcx
je 0x14008184a
mov qword [rsi], rbx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [r15]
test rcx, rcx
je 0x14008185c
mov qword [r15], rbx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [r14], ebx
xor al, al
jmp 0x14008186b
mov al, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.1400f8670
int3
Function at 0x140085b90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov rdi, r8
cmp qword [rdx + 0x10], 0
je 0x140085cf3
cmp qword [rdx + 0x18], 8
jb 0x140085bc2
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140085cf3
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140085bf0
mov rdx, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140085ce8
cmp dword [rsp + 0x3c], 1
jne 0x140085ce8
xorps xmm0, xmm0
xor eax, eax
mov ebx, dword [rsp + 0x38]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x140085c6f
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140009180
mov qword [rsp + 0x40], rax
lea r8, [rbx + rbx]
lea rbx, [r8 + rax]
mov qword [rsp + 0x50], rbx
xor edx, edx
mov rcx, rax
call fcn.1400fb5b0
mov qword [rsp + 0x48], rbx
cmp qword [rdi + 0x18], 8
jb 0x140085c79
mov rdi, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140085cb8
xor bl, bl
jmp 0x140085cd9
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140085cc4
mov rcx, rsi
call fcn.140009050
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.140008f80
movzx eax, bl
jmp 0x140085cf5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f89b0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008e2e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rdx, str.ui.json
lea rcx, [rsp + 0x30]
call fcn.140050070
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140008fe0
cmp ebx, 1
je 0x14008e35e
xor ecx, ecx
call fcn.140027380
lea r9, str.UserInfoManager
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
mov r8d, 1
lea rdx, [0x140044f40]
mov rcx, rax
call fcn.140027650
test rax, rax
je 0x14008e35e
mov rcx, rax
call fcn.140095b60
xor ecx, ecx
call fcn.140027380
lea r9, str.UserInfoManager
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
xor r8d, r8d
lea rdx, [0x140044f40]
mov rcx, rax
call fcn.140027650
mov rcx, rax
mov rbx, rax
call fcn.140095610
lea rdx, [rbx + 0x38]
cmp rdi, rdx
je 0x14008e3b0
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x14008e3a8
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140009250
mov rcx, qword [rdi + 0x10]
test rcx, rcx
setne bl
test rcx, rcx
jne 0x14008e3d2
lea r8d, [rcx + 7]
mov rcx, rdi
lea rdx, str.UnNamed
call fcn.140009250
movzx eax, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400911c0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rbp + 8], rax
mov rax, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x70], r14
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], r14b
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140090e80
nop
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, qword [rbp - 0x70]
mov qword [rbp - 8], rax
lea rax, [0x140164508]
mov qword [rbp], rax
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov dword [rsp + 0x20], 1
lea rdi, [rbp - 0x10]
nop dword [rax + rax]
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r14w
lea rdx, [0x1401578ef]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400912b5
lea rcx, [rbp - 0x50]
call fcn.140009250
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x50]
call fcn.14001b5c0
nop
lea rcx, [rbp - 0x50]
call fcn.1400091f0
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140024c30
nop
lea r8, str..json
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140024fb0
nop
cmp rbx, rax
je 0x140091329
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009131d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140009050
nop
lea rcx, [rsp + 0x50]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x70]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x28]
call fcn.140008fe0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140091356
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140091372
add rdi, 8
lea rax, [rbp + 8]
cmp rdi, rax
jne 0x140091270
lea rcx, [rbp - 0x30]
call fcn.1400091f0
nop
lea rcx, [rbp - 0x70]
call fcn.1400091f0
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400f89b0
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a2790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rbx, rdx
mov rdi, rcx
call fcn.1400a25f0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a27c4
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400a2918
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a27e0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a27f3
test al, 0x10
jne 0x1400a2918
lea rax, [0x1400a5720]
mov qword [rbp - 0x61], rax
lea rax, [0x1400a5740]
mov qword [rbp - 0x59], rax
lea rax, [0x1400a57c0]
mov qword [rbp - 0x41], rax
lea rax, [0x1400a57d0]
mov qword [rbp - 0x39], rax
xor esi, esi
mov qword [rbp - 0x31], rsi
lea rax, [0x1400a26d0]
mov qword [rbp - 0x69], rax
lea rax, [0x1400a2760]
mov qword [rbp - 0x51], rax
lea rax, [0x1400a2770]
mov qword [rbp - 0x49], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a2853
mov rcx, qword [rbx]
movaps xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 9], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movaps xmmword [rbp + 7], xmm1
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp + 0x17], xmm0
movaps xmm1, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x27], xmm1
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], rsi
lea rdx, [rbp - 9]
call fcn.1400a38c0
mov qword [rdi + 8], rax
test rax, rax
je 0x1400a2918
cmp qword [rbx + 0x18], 8
jb 0x1400a289b
mov rbx, qword [rbx]
mov qword [rbp - 0x29], rsi
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], si
jne 0x1400a28c0
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140009050
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140024a70
nop
lea rcx, [rdi + 0x38]
cmp rcx, rax
je 0x1400a2905
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400a28fc
mov rax, qword [rax]
mov rdx, rax
call fcn.140009050
nop
lea rcx, [rbp - 0x69]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x29]
call fcn.140008fe0
cmp qword [rdi + 8], 0
setne al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret