joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1415b7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1415b71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1415b7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b706f
add dl, dl
jne 0x1415b7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b70f6
xor eax, eax
add dl, dl
jne 0x1415b70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b71ad
add dl, dl
jne 0x1415b70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415b70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415b707e
mov eax, 1
add dl, dl
jne 0x1415b7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b70fb
sub eax, ebx
mov ebx, 1
jne 0x1415b714c
mov ecx, 1
add dl, dl
jne 0x1415b712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415b7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b715d
cmp eax, 0x7d00
jae 0x1415b719b
cmp eax, 0x500
jb 0x1415b7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
cmp eax, 0x7f
ja 0x1415b719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415b71d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1415b707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140005b5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005ba6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005ba6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005ba6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005ba6
cmp dword [rcx + 0x84], 0xe
jbe 0x140005ba6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005ba8
xor al, al
add rsp, 0x28
ret
Function at 0x18002f040
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x208], rbx
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r13d, r8d
mov r12, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x18002f1a7
cmp qword [rcx + 0x18], 8
jb 0x18002f097
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18002f1ae
lea rcx, [rsp + 0x50]
call fcn.180012fc0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.return_false1._GetLastError:
lea rcx, [rsp + 0x50]
call fcn.18001da90
mov rcx, rax
mov edx, ebx
call fcn.18002ef10
mov rcx, rax
lea rdx, str.._file:
call fcn.18001da90
mov rcx, rax
mov rdx, rdi
call fcn.18001ddc0
lea rdx, str.CFileUtility::SetFileBuf
lea rcx, [rbp + 0x68]
call fcn.1800104c0
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x40]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x125
lea r8, [rbp + 0x40]
xor edx, edx
call fcn.1800326a0
nop
lea rcx, [rbp + 0x90]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x40]
call fcn.18008f070
nop
lea rcx, [rbp + 0x68]
call fcn.18008f070
nop
lea rcx, [rbp - 0x28]
call fcn.180013040
lea rcx, [rbp - 0x28]
call fcn.180012100
xor al, al
jmp 0x18002f2c4
mov bl, 1
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, r13d
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18002f2b8
lea rcx, [rsp + 0x50]
call fcn.180012fc0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.return_false2._GetLastError:
lea rcx, [rsp + 0x50]
call fcn.18001da90
mov rcx, rax
mov edx, ebx
call fcn.18002ef10
mov rcx, rax
lea rdx, str.._file:
call fcn.18001da90
mov rcx, rax
mov rdx, rdi
call fcn.18001ddc0
lea rdx, str.CFileUtility::SetFileBuf
lea rcx, [rbp + 0x40]
call fcn.1800104c0
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x68]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x132
lea r8, [rbp + 0x68]
xor edx, edx
call fcn.1800326a0
nop
lea rcx, [rbp + 0x90]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x68]
call fcn.18008f070
nop
lea rcx, [rbp + 0x40]
call fcn.18008f070
nop
lea rcx, [rbp - 0x28]
call fcn.180013040
lea rcx, [rbp - 0x28]
call fcn.180012100
xor bl, bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1800be9b0
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002f780
Capabilities:
Get disk information

Disassembly:
push rbp
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x448], rbx
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x18002f9c0
mov rdx, rcx
lea rcx, [rbp + 0x30]
call fcn.180012600
nop
mov edx, 0x2f
lea rcx, [rbp + 0x30]
call fcn.180036bf0
mov edx, 0x5c
lea rcx, [rbp + 0x30]
call fcn.180036bf0
cmp qword [rbp + 0x40], 3
ja 0x18002f908
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jbe 0x18002f827
cmp eax, 4
ja 0x18002f908
lea rcx, [rbp + 0x30]
call fcn.1800126d0
mov al, 1
jmp 0x18002f9c2
lea rcx, [rsp + 0x40]
call fcn.180012fc0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.return_false._GetLastError:
lea rcx, [rsp + 0x40]
call fcn.18001da90
mov rcx, rax
mov edx, ebx
call fcn.18002ef10
mov rcx, rax
lea rdx, str.._tmpPath:
call fcn.18001da90
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.18001ddc0
lea rdx, str.CFileUtility::IsDirPath
lea rcx, [rbp + 0x58]
call fcn.1800104c0
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x80]
call fcn.1800104c0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x268
lea r8, [rbp + 0x80]
xor edx, edx
call fcn.1800326a0
nop
lea rcx, [rbp + 0xa8]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x80]
call fcn.18008f070
nop
lea rcx, [rbp + 0x58]
call fcn.18008f070
nop
lea rcx, [rsp + 0x40]
call fcn.180006b40
nop
jmp 0x18002f9b7
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x18002f990
mov rcx, qword [rbx + 0x10]
lea eax, [rcx - 1]
movsxd rdx, eax
cmp rcx, rdx
ja 0x18002f945
lea rcx, str.invalid_string_position
call fcn.1800bd038
int3
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x18002f954
mov rcx, qword [rbx]
jmp 0x18002f957
mov rcx, rbx
cmp word [rcx + rdx*2], 0x5c
je 0x18002f983
cmp qword [rbx + 0x10], rdx
ja 0x18002f971
lea rcx, str.invalid_string_position
call fcn.1800bd038
int3
cmp rax, 8
jb 0x18002f97a
mov rbx, qword [rbx]
cmp word [rbx + rdx*2], 0x2f
je 0x18002f983
jmp 0x18002f9b7
lea rcx, [rbp + 0x30]
call fcn.1800126d0
mov al, 1
jmp 0x18002f9c2
mov rcx, rax
test byte [rbp + 0xd0], 0x10
je 0x18002f9b0
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x30]
call fcn.1800126d0
mov al, 1
jmp 0x18002f9c2
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x30]
call fcn.1800126d0
xor al, al
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1800be9b0
mov rbx, qword [rsp + 0x448]
add rsp, 0x430
pop rbp
ret
Function at 0x1800350d0
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.1800388a0
test eax, eax
jne 0x180035106
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x88
ret
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
xor eax, eax
mov dl, 2
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
lea r8d, [rax + 0x20]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x18003517b
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
test eax, eax
setne al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x88
ret
Function at 0x1800351a0
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x500], rbx
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x50], esi
mov ebx, dword [rdx]
test ebx, ebx
jne 0x1800351f1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov word [rbp - 0x60], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.1800c7520
mov word [rbp + 0x1b0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1b2]
call fcn.1800c7520
mov dword [rsp + 0x54], 0x104
mov dword [rsp + 0x58], 0x104
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x70]
call fcn.180012650
nop
lea rcx, [rsp + 0x70]
call fcn.1800349b0
nop
lea rcx, [rsp + 0x70]
call fcn.1800126d0
mov r8d, ebx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x180035338
lea r8, [rsp + 0x48]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180035338
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1800352c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180035338
mov esi, dword [rsp + 0x40]
mov ecx, esi
call fcn.1800c0b58
mov rbx, rax
test rax, rax
je 0x180035338
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x180035330
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x60]
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
mov rcx, rbx
call fcn.1800bf4e0
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.180012650
mov dword [rsp + 0x50], 1
mov rax, rdi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1800be9b0
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800356e0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
cmp qword [rcx + 0x10], 0
je 0x180035751
cmp qword [rcx + 0x18], 8
jb 0x180035730
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
test cl, cl
je 0x180035751
mov rdx, rbx
mov rcx, rdi
call fcn.180012600
nop
jmp 0x1800358b2
cmp byte [rbx + 0x1b8], 0
je 0x1800357fc
cmp qword [rbx + 0x1a0], 0
je 0x1800357fc
call fcn.1800388a0
mov rcx, rbx
test eax, eax
je 0x1800357ba
mov r8d, 9
lea rdx, str.C:Users_
call fcn.180015430
lea rdx, [rbx + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rax
call fcn.180015300
mov r8d, SafeArrayDestroy
lea rdx, str.AppDataLocal
mov rcx, rax
call fcn.180015430
jmp 0x1800358a7
mov r8d, DispGetParam
lea rdx, str.C:Documents_and_Settings_
call fcn.180015430
lea rdx, [rbx + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rax
call fcn.180015300
mov r8d, 0x20
lea rdx, str.Local_SettingsApplication_Data
mov rcx, rax
call fcn.180015430
jmp 0x1800358a7
lea rdx, str.Local_AppData
lea rcx, [rsp + 0x90]
call fcn.180012650
nop
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.180012650
nop
mov qword [rsp + 0x28], 0xffffffff80000001
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.180035d00
nop
mov rdx, rax
mov rcx, rbx
call fcn.180015260
nop
lea rcx, [rsp + 0x40]
call fcn.1800126d0
nop
lea rcx, [rsp + 0x68]
call fcn.1800126d0
nop
lea rcx, [rsp + 0x90]
call fcn.1800126d0
cmp qword [rbx + 0x10], 0
ja 0x1800358a7
lea rdx, [0x180144580]
lea rcx, [rsp + 0x40]
call fcn.180035e30
nop
mov rdx, rax
mov rcx, rbx
call fcn.180015260
nop
lea rcx, [rsp + 0x40]
call fcn.1800126d0
mov rdx, rbx
mov rcx, rdi
call fcn.180012600
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800be9b0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
Function at 0x1800358e0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
cmp qword [rcx + 0x38], 0
je 0x18003595b
cmp qword [rcx + 0x40], 8
jb 0x180035935
mov rcx, qword [rcx + 0x28]
jmp 0x180035939
add rcx, 0x28
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
test cl, cl
je 0x18003595b
lea rdx, [rsi + 0x28]
mov rcx, rdi
call fcn.180012600
nop
jmp 0x180035a7a
cmp byte [rsi + 0x1b8], 0
je 0x1800359c1
cmp qword [rsi + 0x1a0], 0
je 0x1800359c1
call fcn.1800388a0
test eax, eax
je 0x180035a6e
mov r8d, 9
lea rdx, str.C:Users_
lea rcx, [rsi + 0x28]
call fcn.180015430
lea rdx, [rsi + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rax
call fcn.180015300
mov r8d, SafeArrayGetLBound
lea rdx, str.AppDataLocalLow
mov rcx, rax
call fcn.180015430
jmp 0x180035a6e
lea rdx, str.A520A1A4_1780_4FF6_BD18_167343C5AF16
lea rcx, [rsp + 0x90]
call fcn.180012650
nop
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.180012650
nop
mov qword [rsp + 0x28], 0xffffffff80000001
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.180035d00
nop
mov rdx, rax
lea rcx, [rsi + 0x28]
call fcn.180015260
nop
lea rcx, [rsp + 0x40]
call fcn.1800126d0
nop
lea rcx, [rsp + 0x68]
call fcn.1800126d0
nop
lea rcx, [rsp + 0x90]
call fcn.1800126d0
cmp qword [rsi + 0x38], 0
ja 0x180035a6e
lea rdx, [0x180144590]
lea rcx, [rsp + 0x40]
call fcn.180035e30
nop
mov rdx, rax
lea rcx, [rsi + 0x28]
call fcn.180015260
nop
lea rcx, [rsp + 0x40]
call fcn.1800126d0
lea rdx, [rsi + 0x28]
mov rcx, rdi
call fcn.180012600
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800be9b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180035ab0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
cmp qword [rcx + 0x178], 0
je 0x180035b3b
cmp qword [rcx + 0x180], 8
jb 0x180035b0f
mov rcx, qword [rcx + 0x168]
jmp 0x180035b16
add rcx, 0x168
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
test cl, cl
je 0x180035b3b
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.180012600
nop
jmp 0x180035cc5
call fcn.1800388a0
lea rdx, [rsp + 0x38]
mov rcx, rbp
test eax, eax
je 0x180035b67
call fcn.1800358e0
nop
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.180015260
nop
jmp 0x180035cac
call fcn.1800356e0
nop
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.180015260
nop
lea rcx, [rsp + 0x38]
call fcn.1800126d0
mov r11, qword [rsi + 0x10]
test r11, r11
jne 0x180035ba4
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.180012600
jmp 0x180035cc5
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x180035bb3
mov rcx, qword [rsi]
jmp 0x180035bb6
mov rcx, rsi
mov r13d, 0x5c
lea r12d, [r13 - 0x2d]
cmp r13w, word [rcx]
je 0x180035bf8
cmp rax, 8
jb 0x180035bd1
mov rax, qword [rsi]
jmp 0x180035bd4
mov rax, rsi
cmp r12w, word [rax]
je 0x180035bf8
mov r8d, 1
lea rdx, [0x18014935c]
lea rcx, [rbp + 0x168]
call fcn.180015430
mov rcx, rax
jmp 0x180035bff
lea rcx, [rbp + 0x168]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
call fcn.180015300
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.180015590
mov rcx, qword [rbp + 0x178]
dec ecx
movsxd r9, ecx
cmp qword [rbp + 0x178], r9
ja 0x180035c46
lea rcx, str.invalid_string_position
call fcn.1800bd038
int3
mov rax, qword [rbp + 0x180]
cmp rax, 8
jb 0x180035c5c
mov rcx, qword [rbp + 0x168]
jmp 0x180035c63
lea rcx, [rbp + 0x168]
cmp r13w, word [rcx + r9*2]
je 0x180035c87
cmp rax, 8
jb 0x180035c79
mov rax, qword [rbp + 0x168]
jmp 0x180035c80
lea rax, [rbp + 0x168]
cmp r12w, word [rax + r9*2]
jne 0x180035cb6
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x168]
call fcn.180030510
nop
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.180015260
nop
lea rcx, [rsp + 0x38]
call fcn.1800126d0
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.180012600
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800be9b0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800388a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, VarUI4FromDisp
call fcn.1800c7520
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180038982
mov eax, dword [rsp + 0x24]
cmp eax, 5
jne 0x180038914
cmp dword [rsp + 0x28], 1
jne 0x180038982
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x158
ret
cmp eax, 6
jne 0x180038982
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x18003893e
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x158
ret
cmp eax, 1
jne 0x180038960
mov eax, 2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x158
ret
cmp eax, 2
jne 0x180038982
mov eax, 3
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x158
ret
or eax, 0xffffffff
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x158
ret
Function at 0x18003ac80
Capabilities:
Hash data with md5

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x300
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x330], rbx
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 0
mov rcx, rdx
call fcn.180001860
mov dword [rsp + 0x30], 1
lea rdx, [r12 + 0x28]
lea rcx, [rsp + 0x168]
call fcn.180035fe0
mov rdi, rax
lea rdx, [r12 + 0x50]
lea rcx, [rsp + 0x2c8]
call fcn.180035fe0
mov rbx, rax
mov rdx, r12
lea rcx, [rsp + 0x250]
call fcn.180035fe0
nop
mov r8, rax
lea rdx, [0x18014c544]
lea rcx, [rsp + 0x2a0]
call fcn.18001dcf0
nop
lea r8, [0x18014c540]
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.18001dd50
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.18003afc0
nop
lea r8, [0x18014c53c]
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.18001dd50
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.18003afc0
nop
lea rcx, [rsp + 0x140]
call fcn.18008f070
nop
lea rcx, [rsp + 0x190]
call fcn.18008f070
nop
lea rcx, [rsp + 0x278]
call fcn.18008f070
nop
lea rcx, [rsp + 0x2a0]
call fcn.18008f070
nop
lea rcx, [rsp + 0x250]
call fcn.18008f070
nop
lea rcx, [rsp + 0x2c8]
call fcn.18008f070
nop
lea rcx, [rsp + 0x168]
call fcn.18008f070
mov dword [rsp + 0x1e0], 0x67452301
mov byte [rsp + 0x248], 0
mov qword [rsp + 0x1f0], 0
mov dword [rsp + 0x1e0], 0x67452301
mov dword [rsp + 0x1e4], 0xefcdab89
mov dword [rsp + 0x1e8], 0x98badcfe
mov dword [rsp + 0x1ec], 0x10325476
lea rdx, [rsp + 0x1b8]
cmp qword [rsp + 0x1d0], 0x10
cmovae rdx, qword [rsp + 0x1b8]
mov r8, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x1e0]
call fcn.18003be50
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x1e0]
call fcn.18003cae0
nop
mov rdx, rax
mov rcx, rsi
call fcn.180014e80
nop
lea rcx, [rsp + 0x168]
call fcn.18008f070
lea rcx, [rsp + 0x50]
call fcn.1800127f0
nop
lea rdx, str.MI:
lea rcx, [rsp + 0x50]
call fcn.18001d620
mov rcx, rax
lea rdx, [rsp + 0x1b8]
call fcn.18001d860
mov rcx, rax
lea rdx, str.._strRet:
call fcn.18001d620
mov rcx, rax
mov rdx, rsi
call fcn.18001d860
lea rdx, str.CDeviceMgr::GetUUID
lea rcx, [rsp + 0x140]
call fcn.1800104c0
nop
lea rdx, str.DeviceMgr.cpp
lea rcx, [rsp + 0x190]
call fcn.1800104c0
nop
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.180012930
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
mov r9d, 0xbf
lea r8, [rsp + 0x190]
mov edx, 3
call fcn.1800322f0
nop
lea rcx, [rsp + 0x168]
call fcn.18008f070
nop
lea rcx, [rsp + 0x190]
call fcn.18008f070
nop
lea rcx, [rsp + 0x140]
call fcn.18008f070
nop
lea rcx, [rsp + 0x50]
call fcn.180006a80
nop
lea rcx, [rsp + 0x1b8]
call fcn.18008f070
nop
mov rax, rsi
jmp 0x18003af8c
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1800be9b0
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop r12
pop rdi
pop rsi
ret