joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180015ad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180015b7c
cmp byte [rcx + 0x71], 0
je 0x180015b7c
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180015b3d
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180015b41
sub eax, 1
je 0x180015b45
sub eax, 2
je 0x180015b7c
xor al, al
jmp 0x180015b7e
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180015b73
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180015b3d
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180015b7e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x180017200
Capabilities:
Get common file path
Set current directory

Disassembly:
push rdi
sub rsp, 0x2b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1800bb630
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x30], xmm1
xor eax, eax
mov word [rsp + 0x20], ax
lea rdx, str.KeanPdfAsposeSDK.dll
lea rcx, [rsp + 0x20]
call fcn.1800034c0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.18001dd60
nop
lea rcx, [rsp + 0x20]
call fcn.180003440
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.1800b9840
nop
cmp qword [rax + 0x18], 8
jb 0x1800172ca
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x20]
call fcn.180003440
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx], rax
test edi, edi
je 0x180017310
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, qword [rbx]
test rax, rax
setne bl
lea rcx, [rsp + 0x48]
call fcn.180003440
nop
lea rcx, [rsp + 0x68]
call fcn.180003440
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x2b0
pop rdi
ret
Function at 0x180019e80
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov qword [rcx], 0
mov rbx, rcx
mov word [rcx + 8], 0
cmp qword [rdx + 0x10], 0
je 0x180019ea9
cmp qword [rdx + 0x18], 8
jb 0x180019eab
mov rdx, qword [rdx]
jmp 0x180019eab
xor edx, edx
mov r8, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
je 0x180019eda
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov rax, rbx
jne 0x180019edd
mov byte [rbx + 9], 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x180019f30
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x180019f6e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbp
mov word [rdi + 8], bp
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x28]
call fcn.180021e70
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x180019f94
mov rcx, rbp
cmp qword [rsi + 0x10], 0
je 0x180019fa7
cmp qword [rsi + 0x18], 8
jb 0x180019faa
mov rsi, qword [rsi]
jmp 0x180019faa
mov rsi, rbp
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x180019fce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180019fce
mov byte [rdi + 9], 1
cmp qword [rdi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x180019ff5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18001a008
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], rbp
mov edx, 0x58
mov rcx, rbx
call fcn.1800bd2d0
mov qword [rsp + 0x28], rbp
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001a040
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x18001a085
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov word [rdi + 8], r14w
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.180021f30
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rbp, [rbx + 0x10]
jne 0x18001a0ac
mov rbp, r14
cmp qword [rsi + 0x10], 0
je 0x18001a0c2
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001a0c5
mov r8, qword [rsi]
jmp 0x18001a0c5
mov r8, r14
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
jne 0x18001a113
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x18001a113
lea ecx, [rax + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsi + 0x10], 0
je 0x18001a0ff
cmp qword [rsi + 0x18], 8
jb 0x18001a102
mov rsi, qword [rsi]
jmp 0x18001a102
mov rsi, r14
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
mov rax, qword [rdi]
test rax, rax
je 0x18001a13a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18001a12c
mov byte [rdi + 9], 1
mov rcx, qword [rdi]
call fcn.1800207c0
mov rax, qword [rdi]
test rax, rax
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x18001a15d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18001a170
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], r14
mov edx, 0x58
mov rcx, rbx
call fcn.1800bd2d0
mov qword [rsp + 0x28], r14
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x18001a730
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
jne 0x18001a766
xor al, al
jmp 0x18001a81c
mov qword [rsp + 0x38], 0
add rdi, 0x38
mov qword [rsp + 0x38], rdi
je 0x18001a789
mov rcx, qword [rdi]
test rcx, rcx
je 0x18001a789
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx + 0x10]
cmp qword [rax + 8], 0
je 0x18001a7fb
mov eax, 1
lock xadd dword [rbx + 8], eax
mov rcx, qword [rbx + 0x10]
add rcx, 0x14
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x18001a290]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
cmp qword [rax + 0x18], 0
jne 0x18001a834
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x18001a7f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
call fcn.18001a440
xor bl, bl
test rdi, rdi
je 0x18001a819
mov rcx, qword [rdi]
test rcx, rcx
je 0x18001a810
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], 0
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rax + 0x10], 1
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x18001a852
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x18001a7da
mov bl, 1
jmp 0x18001a7fd
Function at 0x18001d340
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
mov rax, rcx
mov qword [rcx + 0x10], rdi
jb 0x18001d375
mov rax, qword [rcx]
xor edx, edx
mov word [rax], di
mov r8d, 0x412
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x18001d3a2
xor al, al
jmp 0x18001d3c0
cmp eax, 0x208
jae 0x18001d39e
lea rdx, [rsp + 0x20]
mov word [rsp + 0x430], di
mov rcx, rbx
call fcn.1800034c0
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret

Function at 0x18001f4c0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov ecx, 1
call fcn.1800bd294
mov qword [rbx], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov byte [rax], 0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x18001f527
cmp dword [rsp + 0x24], 6
mov rcx, qword [rbx]
setae dl
mov byte [rcx], dl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x150
pop rbx
ret
Function at 0x1800233c0
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1800233f1
xor al, al
jmp 0x180023470
and ebx, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x180023401
mov rcx, qword [rcx]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180023411
mov al, 1
jmp 0x180023470
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x38], xmm1
xor eax, eax
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.180023940
test al, al
je 0x180023461
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180023461
mov bl, 1
jmp 0x180023463
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.180003440
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x180023490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800234c0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180023521
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x38], xmm1
xor eax, eax
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.180023940
test al, al
je 0x180023515
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.180003440
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180023540
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x180023579
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18002358a
mov al, 1
jmp 0x1800236df
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180023597
mov rdx, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x18], xmm1
xor r14d, r14d
mov word [rbp - 0x28], r14w
lea rcx, [rbp - 0x28]
call fcn.1800034c0
nop
lea rcx, [rbp - 0x28]
call fcn.180023490
mov esi, eax
lea rcx, [rbp - 0x28]
call fcn.180003440
cmp esi, 0xffffffff
jne 0x1800235de
xor al, al
jmp 0x1800236df
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800235eb
mov rdx, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r14w
lea rcx, [rbp - 0x28]
call fcn.1800034c0
nop
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.1800233c0
movzx ebx, al
lea rcx, [rbp - 0x28]
call fcn.180003440
test bl, bl
je 0x1800235d7
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180023637
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180023583
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.180023940
test al, al
je 0x18002368b
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18002368b
mov bl, 1
jmp 0x1800236d3
cmp qword [rdi + 0x18], 8
jb 0x180023695
mov rdi, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1800034c0
nop
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.1800233c0
nop
lea rcx, [rbp - 0x50]
call fcn.180003440
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.180003440
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180023700
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x20c
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 8
jb 0x180023742
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x18002374c
mov rbx, qword [rbx]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x18002377f
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov word [rsp + 0x22a], ax
call fcn.1800034c0
mov al, 1
jmp 0x180023781
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret

Function at 0x180023ab0
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea rcx, [r11 - 0x48]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x68
ret
Function at 0x180023b10
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
add rcx, 4
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
mov dword [rbx], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180023c72
cmp dword [rbx + 4], 6
mov qword [rsp + 0x188], rdi
ja 0x180023b74
jne 0x180023c15
cmp dword [rbx + 8], 2
jb 0x180023c15
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x180023c15
mov edx, 1
mov rcx, rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180023c15
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180023c15
movups xmm0, xmmword [0x1800e1198]
mov rcx, rax
movups xmm1, xmmword [0x1800e11a8]
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm1
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x180023c15
lea rcx, [rax + 6]
lea rdx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180023c15
cmp word [rdi + 2], ax
jbe 0x180023c15
movzx edx, word [rdi + 0x32]
movzx eax, word [rdi + 0x30]
movzx ecx, word [rdi + 0x36]
mov dword [rbx + 4], edx
mov dword [rbx + 8], eax
mov dword [rbx + 0xc], ecx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x180023c66
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call rdi
test eax, eax
jne 0x180023c66
mov eax, dword [rsp + 0x2c]
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x188]
mov al, 1
jmp 0x180023c74
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x170
pop rbx
ret
Function at 0x180025a40
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x860
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r14, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebp, eax
test eax, eax
je 0x180025b0b
lea r15, [rsp + 0x50]
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov ebx, r12d
mov qword [rsp + 0x48], rbx
cmp ebp, 0x3fe
jbe 0x180025b39
lea ecx, [rbp + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800bd5c0
mov r15, rax
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x180025afe
cmp eax, ebp
ja 0x180025afe
mov ecx, eax
mov word [rbx + rcx*2], r12w
lea ecx, [rax + 1]
mov word [rbx + rcx*2], r12w
mov ebp, eax
jmp 0x180025b6a
test r15, r15
je 0x180025b0b
mov rcx, r15
call fcn.1800bd2d0
xor al, al
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, rbp
add rax, rax
cmp rax, 0x800
jae 0x180025c40
mov word [rsp + rax + 0x50], r12w
lea ecx, [rbp + 1]
add rcx, rcx
cmp rcx, 0x800
jae 0x180025c3a
mov word [rsp + rcx + 0x50], r12w
mov eax, r12d
mov edi, r12d
test ebp, ebp
je 0x180025c26
mov rsi, r15
nop dword [rax + rax]
cmp word [rsi], 0
jne 0x180025c18
cmp eax, edi
je 0x180025c18
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
lea rdx, [r15 + rax*2]
lea rcx, [rsp + 0x20]
call fcn.1800034c0
nop
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x180025bfd
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
add qword [r14 + 8], 0x20
jmp 0x180025c0b
lea r8, [rsp + 0x20]
mov rcx, r14
call fcn.18001cbc0
nop
lea rcx, [rsp + 0x20]
call fcn.180003440
lea eax, [rdi + 1]
inc edi
add rsi, 2
cmp edi, ebp
jb 0x180025b80
test rbx, rbx
je 0x180025c33
mov rcx, rbx
call fcn.1800bd2d0
mov al, 1
jmp 0x180025b0d
call fcn.1800bd40c
int3
call fcn.1800bd40c
int3
Function at 0x18002c4e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x80
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rdx
mov r8, rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18002c674
mov dword [rsp + 0x50], 0x2d2d4352
mov dword [rsp + 0x54], 0xf7babac9
mov dword [rsp + 0x58], 0x61726f43
mov dword [rsp + 0x5c], 0x776f7242
mov dword [rsp + 0x60], 0x2d756e45
mov dword [rsp + 0x64], 0x61746144
mov dword [rsp + 0x68], 0x37313630
mov dword [rsp + 0x6c], 0x30313032
movdqa xmm2, xmmword [0x1800e68d0]
xor ebp, ebp
mov eax, ebp
mov ecx, 1
movd xmm3, ecx
lea rcx, [r11 - 0x38]
nop word [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x18002c580
mov rax, qword [rdx]
mov qword [rdx + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
sub r8, rdx
lea r9, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.180033c90
mov rbx, qword [rsp + 0x38]
test al, al
je 0x18002c629
cmp rbx, qword [rsp + 0x40]
je 0x18002c629
mov rdx, rsi
mov ecx, 0xa
call fcn.180033440
mov ecx, dword [rsp + 0x40]
sub ecx, ebx
mov rdx, rsi
call fcn.180033440
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rsi + 8]
mov rcx, rsi
call fcn.18002c960
nop
test rbx, rbx
je 0x18002c674
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18002c65e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002c65e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800bd2d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret