joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002ca40
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 [0x1801c2938]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x18002cc80
mov rdx, rcx
lea rcx, [rbp + 0x30]
call fcn.1800143e0
nop
mov edx, 0x2f
lea rcx, [rbp + 0x30]
call fcn.180034e60
mov edx, 0x5c
lea rcx, [rbp + 0x30]
call fcn.180034e60
cmp qword [rbp + 0x40], 3
ja 0x18002cbc8
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 0x18002cae7
cmp eax, 4
ja 0x18002cbc8
lea rcx, [rbp + 0x30]
call fcn.1800a20a0
mov al, 1
jmp 0x18002cc82
lea rcx, [rsp + 0x40]
call fcn.180014d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.return_false._GetLastError:
lea rcx, [rsp + 0x40]
call fcn.180022d00
mov rcx, rax
mov edx, ebx
call fcn.18002d850
mov rcx, rax
lea rdx, str.._tmpPath:
call fcn.180022d00
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.180022fd0
lea rdx, str.CFileUtility::IsDirPath
lea rcx, [rbp + 0x58]
call fcn.180012480
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x80]
call fcn.180012480
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
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.180030340
nop
lea rcx, [rbp + 0xa8]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x80]
call fcn.180001850
nop
lea rcx, [rbp + 0x58]
call fcn.180001850
nop
lea rcx, [rsp + 0x40]
call fcn.180006a90
nop
jmp 0x18002cc77
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 0x18002cc50
mov rcx, qword [rbx + 0x10]
lea eax, [rcx - 1]
movsxd rdx, eax
cmp rcx, rdx
ja 0x18002cc05
lea rcx, str.invalid_string_position
call fcn.1800bc5a8
int3
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x18002cc14
mov rcx, qword [rbx]
jmp 0x18002cc17
mov rcx, rbx
cmp word [rcx + rdx*2], 0x5c
je 0x18002cc43
cmp qword [rbx + 0x10], rdx
ja 0x18002cc31
lea rcx, str.invalid_string_position
call fcn.1800bc5a8
int3
cmp rax, 8
jb 0x18002cc3a
mov rbx, qword [rbx]
cmp word [rbx + rdx*2], 0x2f
je 0x18002cc43
jmp 0x18002cc77
lea rcx, [rbp + 0x30]
call fcn.1800a20a0
mov al, 1
jmp 0x18002cc82
mov rcx, rax
test byte [rbp + 0xd0], 0x10
je 0x18002cc70
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x30]
call fcn.1800a20a0
mov al, 1
jmp 0x18002cc82
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x30]
call fcn.1800a20a0
xor al, al
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x448]
add rsp, 0x430
pop rbp
ret
Function at 0x18002ef60
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, VarUI4FromDisp
call fcn.1800c6a90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18002f042
mov eax, dword [rsp + 0x24]
cmp eax, 5
jne 0x18002efd4
cmp dword [rsp + 0x28], 1
jne 0x18002f042
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x158
ret
cmp eax, 6
jne 0x18002f042
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x18002effe
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x158
ret
cmp eax, 1
jne 0x18002f020
mov eax, 2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x158
ret
cmp eax, 2
jne 0x18002f042
mov eax, 3
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x158
ret
or eax, 0xffffffff
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x158
ret
Function at 0x1800331c0
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.18002ef60
test eax, eax
jne 0x1800331f6
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800bdf20
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 0x18003326b
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.1800bdf20
add rsp, 0x88
ret
Function at 0x180033290
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 [0x1801c2938]
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 0x1800332e1
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.1800c6a90
mov word [rbp + 0x1b0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1b2]
call fcn.1800c6a90
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.180014430
nop
lea rcx, [rsp + 0x70]
call fcn.180032aa0
nop
lea rcx, [rsp + 0x70]
call fcn.1800a20a0
mov r8d, ebx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x180033428
lea r8, [rsp + 0x48]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180033428
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 0x1800333b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180033428
mov esi, dword [rsp + 0x40]
mov ecx, esi
call fcn.1800bf1e0
mov rbx, rax
test rax, rax
je 0x180033428
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 0x180033420
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.1800beb5c
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.180014430
mov dword [rsp + 0x50], 1
mov rax, rdi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800337d0
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 [0x1801c2938]
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 0x180033841
cmp qword [rcx + 0x18], 8
jb 0x180033820
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
test cl, cl
je 0x180033841
mov rdx, rbx
mov rcx, rdi
call fcn.1800143e0
nop
jmp 0x1800339a2
cmp byte [rbx + 0x1b8], 0
je 0x1800338ec
cmp qword [rbx + 0x1a0], 0
je 0x1800338ec
call fcn.18002ef60
mov rcx, rbx
test eax, eax
je 0x1800338aa
mov r8d, 9
lea rdx, str.C:Users_
call fcn.180018aa0
lea rdx, [rbx + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rax
call fcn.180018970
mov r8d, SafeArrayDestroy
lea rdx, str.AppDataLocal
mov rcx, rax
call fcn.180018aa0
jmp 0x180033997
mov r8d, DispGetParam
lea rdx, str.C:Documents_and_Settings_
call fcn.180018aa0
lea rdx, [rbx + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rax
call fcn.180018970
mov r8d, 0x20
lea rdx, str.Local_SettingsApplication_Data
mov rcx, rax
call fcn.180018aa0
jmp 0x180033997
lea rdx, str.Local_AppData
lea rcx, [rsp + 0x90]
call fcn.180014430
nop
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.180014430
nop
mov qword [rsp + 0x28], 0xffffffff80000001
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.180033f40
nop
mov rdx, rax
mov rcx, rbx
call fcn.1800188d0
nop
lea rcx, [rsp + 0x40]
call fcn.1800a20a0
nop
lea rcx, [rsp + 0x68]
call fcn.1800a20a0
nop
lea rcx, [rsp + 0x90]
call fcn.1800a20a0
cmp qword [rbx + 0x10], 0
ja 0x180033997
lea rdx, [0x180143570]
lea rcx, [rsp + 0x40]
call fcn.180034070
nop
mov rdx, rax
mov rcx, rbx
call fcn.1800188d0
nop
lea rcx, [rsp + 0x40]
call fcn.1800a20a0
mov rdx, rbx
mov rcx, rdi
call fcn.1800143e0
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
Function at 0x1800339d0
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 [0x1801c2938]
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 0x180033a4b
cmp qword [rcx + 0x40], 8
jb 0x180033a25
mov rcx, qword [rcx + 0x28]
jmp 0x180033a29
add rcx, 0x28
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
test cl, cl
je 0x180033a4b
lea rdx, [rsi + 0x28]
mov rcx, rdi
call fcn.1800143e0
nop
jmp 0x180033b6a
cmp byte [rsi + 0x1b8], 0
je 0x180033ab1
cmp qword [rsi + 0x1a0], 0
je 0x180033ab1
call fcn.18002ef60
test eax, eax
je 0x180033b5e
mov r8d, 9
lea rdx, str.C:Users_
lea rcx, [rsi + 0x28]
call fcn.180018aa0
lea rdx, [rsi + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rax
call fcn.180018970
mov r8d, SafeArrayGetLBound
lea rdx, str.AppDataLocalLow
mov rcx, rax
call fcn.180018aa0
jmp 0x180033b5e
lea rdx, str.A520A1A4_1780_4FF6_BD18_167343C5AF16
lea rcx, [rsp + 0x90]
call fcn.180014430
nop
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.180014430
nop
mov qword [rsp + 0x28], 0xffffffff80000001
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.180033f40
nop
mov rdx, rax
lea rcx, [rsi + 0x28]
call fcn.1800188d0
nop
lea rcx, [rsp + 0x40]
call fcn.1800a20a0
nop
lea rcx, [rsp + 0x68]
call fcn.1800a20a0
nop
lea rcx, [rsp + 0x90]
call fcn.1800a20a0
cmp qword [rsi + 0x38], 0
ja 0x180033b5e
lea rdx, [0x180143580]
lea rcx, [rsp + 0x40]
call fcn.180034070
nop
mov rdx, rax
lea rcx, [rsi + 0x28]
call fcn.1800188d0
nop
lea rcx, [rsp + 0x40]
call fcn.1800a20a0
lea rdx, [rsi + 0x28]
mov rcx, rdi
call fcn.1800143e0
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800bdf20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180033cf0
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 [0x1801c2938]
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 0x180033d7b
cmp qword [rcx + 0x180], 8
jb 0x180033d4f
mov rcx, qword [rcx + 0x168]
jmp 0x180033d56
add rcx, 0x168
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
test cl, cl
je 0x180033d7b
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.1800143e0
nop
jmp 0x180033f0a
call fcn.18002ef60
test eax, eax
je 0x180033da7
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1800339d0
nop
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.1800188d0
nop
jmp 0x180033ef1
lea rcx, [rsp + 0x38]
call fcn.180033ba0
nop
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.1800188d0
nop
lea rcx, [rsp + 0x38]
call fcn.1800a20a0
mov r11, qword [rsi + 0x10]
test r11, r11
jne 0x180033de9
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.1800143e0
jmp 0x180033f0a
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x180033df8
mov rcx, qword [rsi]
jmp 0x180033dfb
mov rcx, rsi
mov r13d, 0x5c
lea r12d, [r13 - 0x2d]
cmp r13w, word [rcx]
je 0x180033e3d
cmp rax, 8
jb 0x180033e16
mov rax, qword [rsi]
jmp 0x180033e19
mov rax, rsi
cmp r12w, word [rax]
je 0x180033e3d
mov r8d, 1
lea rdx, [0x180148638]
lea rcx, [rbp + 0x168]
call fcn.180018aa0
mov rcx, rax
jmp 0x180033e44
lea rcx, [rbp + 0x168]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
call fcn.180018970
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.180018c00
mov rcx, qword [rbp + 0x178]
dec ecx
movsxd r9, ecx
cmp qword [rbp + 0x178], r9
ja 0x180033e8b
lea rcx, str.invalid_string_position
call fcn.1800bc5a8
int3
mov rax, qword [rbp + 0x180]
cmp rax, 8
jb 0x180033ea1
mov rcx, qword [rbp + 0x168]
jmp 0x180033ea8
lea rcx, [rbp + 0x168]
cmp r13w, word [rcx + r9*2]
je 0x180033ecc
cmp rax, 8
jb 0x180033ebe
mov rax, qword [rbp + 0x168]
jmp 0x180033ec5
lea rax, [rbp + 0x168]
cmp r12w, word [rax + r9*2]
jne 0x180033efb
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x168]
call fcn.18002d9a0
nop
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.1800188d0
nop
lea rcx, [rsp + 0x38]
call fcn.1800a20a0
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.1800143e0
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800351f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x240
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, r8
movsxd rsi, edx
mov r13, rcx
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x31]
call fcn.1800c6a90
mov byte [rsp + 0x130], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x131]
call fcn.1800c6a90
nop
mov rcx, rsi
call fcn.1800bd064
mov r12, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1800c6a90
xor r11d, r11d
mov r9d, r11d
mov dword [rsp + 0x20], r11d
cmp r9d, 0x100
jge 0x1800352b6
movsxd r8, r9d
mov byte [rsp + r8 + 0x30], r9b
mov eax, r9d
cdq
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rdi]
mov byte [rsp + r8 + 0x130], cl
inc r9d
mov dword [rsp + 0x20], r9d
jmp 0x180035285
mov edx, r11d
mov r8d, r11d
mov dword [rsp + 0x20], r11d
cmp r8d, 0x100
jge 0x18003530f
movsxd r9, r8d
movzx r10d, byte [rsp + r9 + 0x30]
movzx eax, byte [rsp + r9 + 0x130]
add edx, eax
add edx, r10d
and edx, 0x800000ff
jge 0x1800352f3
dec edx
or edx, 0xffffff00
inc edx
movsxd rcx, edx
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rsp + r9 + 0x30], al
mov byte [rsp + rcx + 0x30], r10b
inc r8d
mov dword [rsp + 0x20], r8d
jmp 0x1800352c1
mov r8d, r11d
mov dword [rsp + 0x20], r11d
mov r9d, r11d
mov dword [rsp + 0x24], r11d
nop
cmp r9d, esi
jge 0x1800353b7
inc r8d
and r8d, 0x800000ff
jge 0x180035342
dec r8d
or r8d, 0xffffff00
inc r8d
mov dword [rsp + 0x20], r8d
movsxd rdx, r8d
movzx r10d, byte [rsp + rdx + 0x30]
add r11d, r10d
and r11d, 0x800000ff
jge 0x180035369
dec r11d
or r11d, 0xffffff00
inc r11d
movsxd rcx, r11d
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rsp + rdx + 0x30], al
mov byte [rsp + rcx + 0x30], r10b
movzx ecx, byte [rsp + rdx + 0x30]
add ecx, r10d
and ecx, 0x800000ff
jge 0x180035394
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rdx, r9d
movsxd rax, ecx
movzx ecx, byte [rsp + rax + 0x30]
movzx eax, byte [rdx + r13]
xor ecx, eax
mov byte [rdx + r12], cl
inc r9d
mov dword [rsp + 0x24], r9d
jmp 0x180035320
mov rax, r12
jmp 0x1800353be
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800bdf20
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1800353f0
Capabilities:
Hash data with md5

Disassembly:
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebx, edx
mov rdi, rcx
mov rdx, r8
lea rcx, [rsp + 0x28]
call fcn.1800017f0
nop
mov r8, qword [rsp + 0x38]
test r8, r8
jne 0x180035455
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, str.dwIr23Cew_T_R471_
lea rcx, [rsp + 0x28]
call fcn.180001ce0
mov r8, qword [rsp + 0x38]
test ebx, ebx
jne 0x18003546a
lea rcx, [rsp + 0x28]
call fcn.180001850
xor eax, eax
jmp 0x1800354f2
mov byte [rsp + 0xb8], 0
xor eax, eax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x50], 0x67452301
mov dword [rsp + 0x54], 0xefcdab89
mov dword [rsp + 0x58], 0x98badcfe
mov dword [rsp + 0x5c], 0x10325476
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1800384b0
cmp byte [rsp + 0xb8], 0
jne 0x1800354d0
mov byte [rsp + 0xb8], 1
lea rcx, [rsp + 0x50]
call fcn.180038580
lea r8, [rsp + 0xa8]
mov edx, ebx
mov rcx, rdi
call fcn.1800351f0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.180001850
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret
Function at 0x180037d10
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 [0x1801c2938]
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.180001830
mov dword [rsp + 0x30], 1
lea rdx, [r12 + 0x28]
lea rcx, [rsp + 0x168]
call fcn.180034250
mov rdi, rax
lea rdx, [r12 + 0x50]
lea rcx, [rsp + 0x2c8]
call fcn.180034250
mov rbx, rax
mov rdx, r12
lea rcx, [rsp + 0x250]
call fcn.180034250
nop
mov r8, rax
lea rdx, [0x18014b5f4]
lea rcx, [rsp + 0x2a0]
call fcn.180038050
nop
lea r8, [0x18014b5f0]
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.18002c290
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1800380c0
nop
lea r8, [0x18014b5ec]
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.18002c290
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.1800380c0
nop
lea rcx, [rsp + 0x140]
call fcn.180001850
nop
lea rcx, [rsp + 0x190]
call fcn.180001850
nop
lea rcx, [rsp + 0x278]
call fcn.180001850
nop
lea rcx, [rsp + 0x2a0]
call fcn.180001850
nop
lea rcx, [rsp + 0x250]
call fcn.180001850
nop
lea rcx, [rsp + 0x2c8]
call fcn.180001850
nop
lea rcx, [rsp + 0x168]
call fcn.180001850
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.1800384b0
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x1e0]
call fcn.180039140
nop
mov rdx, rax
mov rcx, rsi
call fcn.1800184f0
nop
lea rcx, [rsp + 0x168]
call fcn.180001850
lea rcx, [rsp + 0x50]
call fcn.180014590
nop
lea rdx, str.MI:
lea rcx, [rsp + 0x50]
call fcn.180021c60
mov rcx, rax
lea rdx, [rsp + 0x1b8]
call fcn.180021ea0
mov rcx, rax
lea rdx, str.._strRet:
call fcn.180021c60
mov rcx, rax
mov rdx, rsi
call fcn.180021ea0
lea rdx, str.CDeviceMgr::GetUUID
lea rcx, [rsp + 0x140]
call fcn.180012480
nop
lea rdx, str.DeviceMgr.cpp
lea rcx, [rsp + 0x190]
call fcn.180012480
nop
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
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.18002ff90
nop
lea rcx, [rsp + 0x168]
call fcn.180001850
nop
lea rcx, [rsp + 0x190]
call fcn.180001850
nop
lea rcx, [rsp + 0x140]
call fcn.180001850
nop
lea rcx, [rsp + 0x50]
call fcn.1800069d0
nop
lea rcx, [rsp + 0x1b8]
call fcn.180001850
nop
mov rax, rsi
jmp 0x18003801c
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop r12
pop rdi
pop rsi
ret
Function at 0x180040450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rdi, rcx
mov qword [rsp + 0x30], rbp
nop word [rax + rax]
mov edx, dword [rdi + 0x94]
mov esi, dword [rdi + 0x58]
mov eax, dword [rdi + 0x44]
sub esi, dword [rdi + 0x9c]
lea ecx, [rbx + rax - 0x106]
sub esi, edx
cmp edx, ecx
jb 0x1800404ff
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.1800be2a0
mov r8d, dword [rdi + 0x74]
mov rax, qword [rdi + 0x68]
sub dword [rdi + 0x98], ebx
sub dword [rdi + 0x94], ebx
sub dword [rdi + 0x84], ebx
lea rdx, [rax + r8*2]
nop dword [rax]
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, ebx
jb 0x1800404d0
sub eax, ebx
jmp 0x1800404d2
xor eax, eax
dec r8d
mov word [rdx], ax
jne 0x1800404c0
mov rax, qword [rdi + 0x60]
mov edx, ebx
lea rcx, [rax + rbx*2]
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, ebx
jb 0x1800404f4
sub eax, ebx
jmp 0x1800404f6
xor eax, eax
dec edx
mov word [rcx], ax
jne 0x1800404e4
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x180040579
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.180040110
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x180040563
mov eax, dword [rdi + 0x94]
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rdi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rdi + 0x7c]
mov dword [rdi + 0x70], r8d
cmp r9d, 0x106
jae 0x180040579
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x180040470
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret