joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e438
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [0x14002ed20]
xor r12d, r12d
mov dword [rsp + 0x38], eax
mov r14, r9
movzx eax, word [0x14002ed24]
mov r15, rcx
mov word [rsp + 0x3c], ax
movzx edi, r12w
mov qword [rsp + 0x30], r12
test rcx, rcx
je 0x14001e5f3
test r9, r9
je 0x14001e5f3
lea rcx, [rsp + 0x30]
mov word [r9], r12w
call fcn.14001eab4
mov rbp, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
js 0x14001e5d7
mov esi, r12d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
lea r13d, [r12 + 1]
mov ecx, eax
test eax, eax
je 0x14001e4fe
lea edx, [r12 + 0x43]
shr ecx, 2
test esi, esi
jne 0x14001e4f7
mov eax, ecx
and eax, r13d
test al, al
jne 0x14001e4e7
mov esi, r13d
movzx edi, dx
add dx, r13w
shr ecx, 1
cmp dx, 0x5a
jbe 0x14001e4d4
test esi, esi
je 0x14001e4fe
mov word [rsp + 0x38], di
jmp 0x14001e51b
lea r8, str.CreateVolumeAccessPath:_No_free_drive_letters_to_use_
mov edx, 0x2000000
lea rcx, [0x140035960]
mov ebx, 0x800705aa
call fcn.140003040
test ebx, ebx
js 0x14001e5d7
mov r8, r15
lea rdx, [rsp + 0x38]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
nop dword [rax + rax]
test eax, eax
je 0x14001e57b
lea eax, [rdi - 0x61]
movzx r9d, di
cmp ax, 0x19
lea eax, [r9 - 0x20]
jbe 0x14001e552
mov eax, r9d
cdqe
lea r8, str.CreateVolumeAccessPath:_Successfully_assigned__temp__drive_letter___c:__to___s_
mov edx, 0x4000000
mov qword [rsp + 0x20], r15
lea rcx, [0x140035960]
mov dword [rbp + rax*4 - 0x104], r12d
call fcn.140003040
jmp 0x14001e5cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov esi, 0x80070000
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14001e5b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
jmp 0x14001e5b7
mov ebx, 0x80004005
lea r8, str.CreateVolumeAccessPath:_DefineDosDevice_failed
mov edx, 0x2000000
lea rcx, [0x140035960]
call fcn.140003040
test ebx, ebx
js 0x14001e5d7
mov word [r14], di
test rbp, rbp
je 0x14001e5ef
mov rcx, qword [0x140035970]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14001e5f8
mov eax, 0x80070057
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023d70
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e88c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [0x14002f534]
xor r12d, r12d
mov dword [rsp + 0x38], eax
movzx eax, word [0x14002f538]
mov word [rsp + 0x3c], ax
mov qword [rsp + 0x30], r12
test rcx, rcx
jne 0x14001e8dc
lea eax, [rcx + 1]
jmp 0x14001ea87
call fcn.14000622c
movzx esi, ax
cmp r12w, si
jne 0x14001e8f4
mov eax, 0x80070057
jmp 0x14001ea87
lea rcx, [rsp + 0x30]
call fcn.14001eab4
mov ebx, eax
test eax, eax
js 0x14001ea85
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r15, qword [rsp + 0x30]
lea ecx, [rsi - 0x20]
lea ebp, [rsi - 0x61]
mov edx, eax
cmp bp, 0x19
mov edi, esi
mov r9d, esi
cmova ecx, esi
movsxd rcx, ecx
cmp dword [r15 + rcx*4 - 0x104], r12d
lea rcx, [0x140035960]
jne 0x14001e94f
lea r8, str.ReleaseVolumeAccessPath:_Access_path__c:_is_not_ref_counted__skipping_release.
mov edx, 0x4000000
jmp 0x14001e987
cmp bp, 0x19
lea r14d, [rsi - 0x20]
mov eax, r14d
cmova eax, edi
sub eax, 0x41
movzx eax, al
bt edx, eax
jb 0x14001e996
cmp bp, 0x19
lea r8, str.ReleaseVolumeAccessPath:_Access_path__c:_is_no_longer_assigned__skipping_release_and_zeroing_reference_count.
mov edx, 0x3000000
cmova r14d, edi
movsxd rax, r14d
mov dword [r15 + rax*4 - 0x104], r12d
call fcn.140003040
mov ebx, 1
jmp 0x14001ea6d
mov eax, r14d
lea r8, str.ReleaseVolumeAccessPath:_Released_access_path__c:
cmp bp, 0x19
mov edx, 0x4000000
cmova eax, edi
cdqe
dec dword [r15 + rax*4 - 0x104]
call fcn.140003040
cmp bp, 0x19
cmova r14d, edi
movsxd rax, r14d
cmp dword [r15 + rax*4 - 0x104], r12d
jne 0x14001ea6d
xor r8d, r8d
mov word [rsp + 0x38], si
lea rdx, [rsp + 0x38]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
nop dword [rax + rax]
test eax, eax
je 0x14001ea12
mov r9d, edi
lea r8, str.ReleaseVolumeAccessPath:_Undefined_access_path__c:
mov edx, 0x4000000
lea rcx, [0x140035960]
call fcn.140003040
jmp 0x14001ea6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov esi, 0x80070000
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14001ea49
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
jmp 0x14001ea4e
mov ebx, 0x80004005
mov r9d, edi
mov dword [rsp + 0x20], ebx
lea r8, str.ReleaseVolumeAccessPath:_Failed_to_undefine_access_path__c::_0x_08x
mov edx, 0x2000000
lea rcx, [0x140035960]
call fcn.140003040
test r15, r15
je 0x14001ea85
mov rcx, qword [0x140035970]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023d70
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001f624
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor r15d, r15d
xor r12d, r12d
mov r13, rcx
and qword [rcx], rdi
mov r14d, 0x208
mov ebx, r14d
xor ebp, ebp
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
lea edx, [rbp + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001f6c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x14001f6c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14001f6c5
mov edi, 0x80004005
test edi, edi
js 0x14001f795
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov r8d, r14d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14001f706
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
je 0x14001f757
cmp esi, r12d
jne 0x14001f757
test r15d, r15d
je 0x14001f757
test esi, esi
jne 0x14001f75c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
mov r12d, 0x80070000
movzx eax, ax
or eax, r12d
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x14001f750
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
jmp 0x14001f75c
mov edi, 0x80004005
jmp 0x14001f75c
mov ebp, 1
mov r12d, esi
test edi, edi
js 0x14001f795
test ebp, ebp
je 0x14001f795
test rbx, rbx
je 0x14001f78c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor ebx, ebx
add r14d, 0x208
inc r15d
test edi, edi
js 0x14001f7ab
test rbx, rbx
je 0x14001f654
mov qword [r13], rbx
xor ebx, ebx
test rbx, rbx
je 0x14001f7d0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001ff74
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rcx + 8], 0
lea rax, [0x1400252e8]
mov qword [rcx], rax
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14001ffb2
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor edi, edi
jmp 0x140020038
movzx edx, r8w
xor edi, edi
mov rcx, rsi
lea r8d, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
nop dword [rax + rax]
test rax, rax
je 0x140020038
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x140020038
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140020038
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14001fd5c
mov dword [rbx + 0x18], eax
test eax, eax
je 0x140020038
cmp dword [rsp + 0x30], edi
je 0x140020027
mov edx, eax
mov rcx, rsi
call fcn.14001feb0
mov rdi, rax
jmp 0x140020038
mov ecx, 0x78
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
and qword [rbx + 0x20], 0
and dword [rbx + 0x28], 0
mov qword [rbx + 0x10], rdi
test rdi, rdi
je 0x14002004e
or dword [rbx + 8], 1
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140020450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14002fb38]
mov rbx, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
jne 0x14002047f
add rsp, 0x20
pop rbx
ret
mov rdx, rax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadResource]
Function at 0x14002058c
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x14003597c]
test eax, eax
jne 0x140020690
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400205fb
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
xor eax, eax
mov edx, dword [rsp + 0x24]
mov dword [0x14003597c], eax
sub ecx, 1
je 0x14002066c
cmp ecx, 1
jne 0x140020690
cmp edx, 5
jne 0x14002065a
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140020653
sub eax, ecx
je 0x140020639
cmp eax, ecx
je 0x14002062f
lea eax, [rdx + 0xf]
jmp 0x1400206ae
mov edx, 0x10
lea ecx, [rdx - 0xf]
jmp 0x140020641
mov edx, 8
lea ecx, [rdx - 6]
xor eax, eax
cmp word [rsp + 0x134], cx
cmovae eax, edx
or eax, 4
jmp 0x1400206ae
mov eax, 4
jmp 0x1400206ae
cmp edx, 4
ja 0x1400206a9
mov ecx, 2
mov eax, ecx
mov dword [0x14003597c], ecx
cmp edx, 4
jne 0x140020690
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x140020683
cmp ecx, 0xa
je 0x140020683
cmp ecx, 0x5a
jne 0x140020690
mov ecx, 1
mov eax, ecx
mov dword [0x14003597c], ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140023d70
add rsp, 0x158
ret
mov eax, 0x20
mov dword [0x14003597c], eax
jmp 0x140020690
Function at 0x1400213a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, edx
lea r9, [rsp + 0x58]
xor edx, edx
mov rsi, r8
mov r14, rcx
xor r8d, r8d
lea ecx, [rdx + 0x63]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xc0000023
je 0x1400213e9
test eax, eax
js 0x140021475
jmp 0x140021489
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140021489
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0x63
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140021457
movzx ecx, word [rdi]
add ecx, 2
mov dword [rsi], ecx
cmp ecx, ebp
jbe 0x140021448
mov ebx, 0xc0000023
jmp 0x140021457
mov rdx, qword [rdi + 8]
mov r8d, ecx
mov rcx, r14
call sub.msvcrt.dll_memcpy
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ecx, 0x80000000
lea eax, [rbx + rcx]
test ecx, eax
jne 0x140021499
cmp ebx, 0xc0000023
je 0x140021499
mov r9, rsi
mov r8d, ebp
mov rdx, r14
call fcn.14002163c
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400214b8
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, 1
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [rbx + 0x1f]
lea ecx, [rbx + 0x59]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
js 0x1400214fd
xor ebx, ebx
cmp dword [rsp + 0x30], 3
cmovl ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023d70
add rsp, 0x50
pop rbx
ret
Function at 0x140021d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov r14, qword [rbp + 0x50]
lea rcx, [rbp - 0x10]
mov rsi, qword [rbp + 0x58]
xor edi, edi
and qword [rbp + 0x40], rdi
mov rbx, r8
and qword [r14], rdi
and dword [rsi], edi
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
test rbx, rbx
je 0x140021d58
lea r9, [rbp + 0x40]
mov rdx, rbx
call fcn.140021ad0
mov ebx, eax
test eax, eax
js 0x140021e52
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
lea rdx, [rbp - 0x10]
lea r8d, [r9 + 2]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xc0000023
je 0x140021d9b
test eax, eax
js 0x140021e52
mov ebx, 0xc0000001
jmp 0x140021e52
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rbp + 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140021dcc
mov ebx, 0xc000009a
jmp 0x140021e52
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x10]
mov eax, dword [rbp + 0x48]
mov r9, rdi
mov r8d, 2
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140021e52
cmp dword [rdi + 4], 1
je 0x140021e0c
mov ebx, 0xc0000024
jmp 0x140021e52
mov eax, dword [rbp + 0x48]
xor edx, edx
add eax, 0xfffffff4
mov dword [rbp + 0x48], eax
mov rcx, qword gs:[0x60]
mov r8d, eax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [r14], rax
test rax, rax
je 0x140021dc2
mov r8d, dword [rbp + 0x48]
lea rdx, [rdi + 0xc]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [rbp + 0x48]
xor ebx, ebx
mov dword [rsi], eax
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140021e67
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test rdi, rdi
je 0x140021e8a
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140021ea0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rdx
xor r14d, r14d
mov rdx, rcx
mov qword [rbp + 0x38], r14
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x48], r14
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
lea rax, [rbp - 0x40]
mov dword [rbp - 0x30], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x30]
mov qword [rbp - 0x28], r14
lea edx, [r14 + 1]
mov dword [rbp - 0x18], 0x40
lea rcx, [rbp + 0x38]
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
nop dword [rax + rax]
test eax, eax
js 0x14002206e
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
mov edi, r14d
mov dword [rbp + 0x30], r14d
jmp 0x140021f8d
cmp qword [rbp - 0x48], r14
je 0x140021f58
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, dword [rbp + 0x30]
xor edx, edx
mov word [rbp - 0x4e], ax
mov rcx, qword gs:[0x60]
lea edi, [rax + 2]
mov r8d, edi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140022084
mov rcx, qword [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x50]
call qword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xc0000023
je 0x140021f33
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x38], r14
test ebx, ebx
js 0x140022048
movzx ecx, word [rbp - 0x50]
lea r8, [rbp - 0x30]
shr rcx, 1
xorps xmm0, xmm0
mov edx, 1
mov word [rax + rcx*2], r14w
lea rax, [rbp - 0x50]
lea rcx, [rbp + 0x38]
mov qword [rbp - 0x20], rax
mov word [rbp - 0x4e], di
mov dword [rbp - 0x30], 0x30
mov qword [rbp - 0x28], r14
mov dword [rbp - 0x18], 0x40
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
nop dword [rax + rax]
test eax, eax
jns 0x140021f8d
mov rax, qword [rbp - 0x48]
mov ebx, r14d
mov qword [rsi], rax
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022044
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x38], r14
test ebx, ebx
jns 0x14002206c
test rax, rax
je 0x14002206c
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ebx, 0xc000009a
jmp 0x140022027
Function at 0x1400237d0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2030
call fcn.140024700
sub rsp, rax
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r15d, r8d
mov r14, rdx
mov esi, ecx
mov ebx, 0x1000
xor r12d, r12d
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
mov edi, r12d
call sub.msvcrt.dll_memset
lea r9, str..Lang.ini
mov r8d, ebx
lea rdx, [rsp + 0x20]
lea rcx, str.Available_UI_Languages
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
nop dword [rax + rax]
cmp eax, 0xffe
jne 0x140023862
lea ecx, [r12 + 0x6f]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x140023961
mov edx, r12d
lea rbx, [rsp + 0x20]
mov eax, edx
cmp word [rsp + rax*2 + 0x20], r12w
jne 0x140023883
lea eax, [rdx + 1]
cmp word [rsp + rax*2 + 0x20], r12w
je 0x140023961
cmp edx, 0xfff
jae 0x140023961
movzx eax, word [rbx]
test ax, ax
jne 0x1400238a0
add rbx, 2
inc edx
movzx eax, word [rbx]
mov rbp, rbx
mov rcx, rbx
test ax, ax
je 0x1400238b7
add rbx, 2
inc edx
cmp word [rbx], r12w
jne 0x1400238ab
test r14, r14
je 0x1400238c0
cmp edi, esi
je 0x1400238cd
lea eax, [rdi + 1]
cmp rcx, rbx
cmove eax, edi
mov edi, eax
jmp 0x14002386a
mov edx, 0x3d
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1400238e9
mov rbx, rax
sub rbx, rbp
sar rbx, 1
cmp ebx, r15d
jb 0x1400238fb
mov ecx, 0x7a
jmp 0x140023952
mov ebx, ebx
mov rdx, r15
mov r9d, ebx
mov r8, rbp
mov rcx, r14
call fcn.140003a3c
mov edx, 2
mov word [r14 + rbx*2], r12w
mov rcx, r14
call fcn.14001a040
movzx eax, ax
test eax, eax
je 0x140023949
cmp eax, 0x7f
je 0x140023949
test rsi, rsi
je 0x140023961
lea rcx, [rsi + 2]
call qword [sym.imp.msvcrt.dll__wtoi]
nop dword [rax + rax]
mov edi, eax
bts edi, 0x1c
jmp 0x140023961
mov word [r14], r12w
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov edi, r12d
mov eax, edi
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140023d70
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180017570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800175cd
lea rbx, [0x1801e5c40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800175b4
cmp r10, 2
jb 0x1800175b4
cmp byte [r9], r8b
jne 0x1800175b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180017590
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001760f
lea rbx, [0x1801e5c40]
cmp r8b, 0x23
jne 0x1800175f3
cmp byte [r9], r8b
jne 0x1800175f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800175e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180017750
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001776a
mov qword [r8], 0
lea rdx, [0x1801e5838]
call fcn.180017620
mov rbx, rax
test rax, rax
jne 0x18001778a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180017861
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180017861
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180017861
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180017861
cmp rdi, 0xffffffffffffffff
je 0x180017861
mov rax, qword [0x18024e420]
test rax, rax
je 0x1800177fe
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180017861
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001784e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18024e420]
test rax, rax
je 0x180017843
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001786a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001785c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001786c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18001a290
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1801e5c40]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x18024e420]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x18001a326
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18002b970
mov eax, ebx
add rsp, 0x20
pop rbx
ret