joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180063a50
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x180063b00
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x180063a9e
call fcn.1800a37c0
test eax, eax
je 0x180063a9e
mov rcx, rbx
call fcn.1800639c0
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x180063a97
add edi, eax
mov esi, 0x10004
jmp 0x180063aa0
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x180063920]
mov edx, edi
mov qword [rsp + 0x28], rax
mov r9, rbx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x180063b00
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x180063aeb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x180069960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x180069979
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x18011ae50]
cmp r11d, 8
jb 0x180069a71
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x1800699a0
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x180069a9f
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x180069a80
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x180075f9c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180075e04
Function at 0x180078e83
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1801580d0]
jne 0x18006b1aa
rol rcx, 0x10
test cx, 0xffff
jne 0x18006b1a6
repz ret
ror rcx, 0x10
jmp 0x180078ddc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180171960]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180171a58]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180078e61
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180171960]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180078e83
mov rax, qword [rsp + 0x88]
mov qword [0x180171a58], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1801719f8], rax
mov rax, qword [0x180171a58]
mov qword [0x1801718d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1801719e0], rax
mov dword [0x1801718c0], 0xc0000409
mov dword [0x1801718c4], 1
mov rax, qword [0x1801580d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1801580d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180171958], eax
mov ecx, 1
call fcn.1800807b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18011c3f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180171958], 0
jne 0x180078f0a
mov ecx, 1
call fcn.1800807b8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180095d7c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180073768
xor ebx, ebx
mov rdi, rax
cmp qword [0x180172688], rbx
jne 0x180095e82
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180095f57
lea rdx, [0x18011ee00]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180095f57
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180172688], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180172690], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18011edb8]
mov rcx, rsi
mov qword [0x180172698], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1801726a8], rax
test rax, rax
je 0x180095e79
lea rdx, [0x18011eda0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1801726a0], rax
jmp 0x180095e89
mov rax, qword [0x1801726a0]
jmp 0x180095e90
mov rax, qword [0x1801726a0]
mov r11, qword [0x1801726a8]
cmp rax, rdi
je 0x180095ef8
cmp r11, rdi
je 0x180095ef8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1801726a8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180095ef8
test rax, rax
je 0x180095ef8
call rsi
test rax, rax
je 0x180095ef2
lea rcx, [rsp + 0x88]
mov r9d, SafeArrayCreate
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180095ef2
test byte [rsp + 0x38], 1
jne 0x180095ef8
bts ebp, 0x15
jmp 0x180095f36
mov rcx, qword [0x180172690]
cmp rcx, rdi
je 0x180095f36
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180095f36
call rax
mov rbx, rax
test rax, rax
je 0x180095f36
mov rcx, qword [0x180172698]
cmp rcx, rdi
je 0x180095f36
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180095f36
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180172688]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180095f57
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180095f59
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18009e190
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, rdx
mov rbx, rcx
lea rdx, [rcx + 8]
mov r8d, 1
lea rcx, [rsp + 0x38]
call fcn.180060d00
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
je 0x18009e21f
test rsi, rsi
je 0x18009e21f
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
mov dword [rsp + 0x60], r11d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x38]
call fcn.180060d80
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1800a0580
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
lea r8, [rsp + 0x30]
xor edi, edi
mov rcx, 0xffffffff80000002
mov rbx, r9
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800a05f4
test rbx, rbx
je 0x1800a05c9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea edi, [rcx + rcx]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1800a0610
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
sub rsp, 0x40
mov rbx, r8
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800a0670
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x40
pop rbx
ret
Function at 0x1800a0680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r8
lea r8, [rsp + 0x38]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800a0748
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x68]
cmp r11d, 2
jb 0x1800a073d
add r11d, 2
mov eax, 2
mov dword [rsp + 0x68], r11d
shr r11d, 1
mov ecx, r11d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18006b890
mov rbx, rax
test rax, rax
je 0x1800a073d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1800a0760
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, r8
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800a07d1
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
add rsp, 0x40
pop rbx
ret

Function at 0x1800a0de0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x1801732c0], 0
jne 0x1800a0e53
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x196
mov word [rsp + 0x20], ax
call fcn.18006a0a0
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800a0e49
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x1d8
ret
mov dword [0x1801732c0], 1
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x1d8
ret

Function at 0x1800a1470
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov dword [rdx], ebx
test rcx, rcx
jne 0x1800a14a0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.1800a0de0
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1800a14c9
mov rcx, qword [rax + 0x18]
mov ebx, 1
cmp qword [rcx], 0
je 0x1800a14c9
mov rcx, qword [rcx]
mov edx, dword [rcx]
mov dword [rdi], edx
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a2670
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
or r8d, 0xffffffff
mov rcx, rsi
xor edx, edx
call fcn.18005fb40
test rdi, rdi
jne 0x1800a26a0
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
call fcn.1800a0de0
xor ebx, ebx
mov rcx, rdi
mov ebp, ebx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x1800a26f3
mov rcx, qword [rax + 0x18]
lea ebp, [rbx + 1]
cmp qword [rcx], rbx
je 0x1800a26f3
mov rcx, qword [rcx]
mov edx, dword [rsi + 8]
mov r8d, dword [rcx]
mov rcx, rsi
call fcn.18005fda0
mov rcx, qword [rdi + 0x18]
inc rbx
cmp qword [rcx + rbx*8], 0
lea rcx, [rcx + rbx*8]
jne 0x1800a26d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800a2d20
Capabilities:
Get common file path
Get file version info

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, dword [0x180173464]
test eax, eax
jne 0x1800a2e48
mov byte [rsp + 0x150], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x151]
call fcn.18006a0a0
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800a2e42
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.18006a0a0
lea r9, str.user32.dll
lea r8, [rsp + 0x150]
lea rdx, str._s_s
lea rcx, [rsp + 0x40]
call fcn.18006f6e4
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x24], eax
mov ecx, eax
call fcn.18006b890
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a2e42
mov r9, rax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1800a2e3a
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1800a2e3a
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov dword [0x180173464], ecx
jmp 0x1800a2e3a
mov rcx, rbx
call fcn.18006aac0
mov eax, dword [0x180173464]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x270
pop rbx
ret
Function at 0x1800a3480
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x180173468], 0
jne 0x1800a3624
lea rcx, [0x1801732e0]
mov edi, 1
mov dword [0x1801732e0], 0x94
mov dword [0x180173468], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor r11d, r11d
cmp dword [0x1801732f0], 2
sete r11b
mov dword [0x18015a16c], r11d
test r11d, r11d
je 0x1800a3608
lea rcx, [0x180173380]
mov qword [rsp + 0x160], rbx
mov dword [0x180173380], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x1801732d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180173420]
mov qword [0x180173450], rax
mov rax, qword [0x1801732d8]
test rax, rax
je 0x1800a355c
call rax
jmp 0x1800a3562
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x180173384]
cmp eax, 6
jae 0x1800a357b
cmp eax, 5
jne 0x1800a3592
cmp dword [0x180173388], 2
jb 0x1800a3592
mov eax, dword [0x1801732d0]
cmp word [0x180173420], 9
cmove eax, edi
mov dword [0x1801732d0], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800a35c0
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x180173458], rax
jmp 0x1800a35c7
mov rbx, qword [0x180173458]
test rbx, rbx
je 0x1800a3600
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x1801732ec]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x1801732ec], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x1801732e8]
lea rcx, [0x1801732e4]
call fcn.1800a3340
call fcn.1800a3080
mov eax, edi
jmp 0x1800a3629
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x150
pop rdi
ret

Function at 0x1800a4f00
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.18006a0a0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1800a4f64
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800a4c30
jmp 0x1800a4f6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18017346c], eax
test eax, eax
je 0x1800a4f7e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
jmp 0x1800a4f00
Function at 0x1800a5050
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x148
ret

Function at 0x1800a50b0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x248
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x248
ret

Function at 0x1800a5110
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800a518b
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.18006c138
test rax, rax
je 0x1800a5177
mov byte [rax], 0
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800a4c30
jmp 0x1800a5191
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18017346c], eax
test eax, eax
je 0x1800a51a5
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800a51d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov rbp, r8
mov esi, edx
lea rcx, [rsp + 0x22]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1800a524f
lea edx, [rdi + 0x5c]
lea rcx, [rsp + 0x20]
call fcn.18006b580
test rax, rax
je 0x1800a523b
mov word [rax], di
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.1800a4cd0
jmp 0x1800a5255
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18017346c], eax
test eax, eax
je 0x1800a526b
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18006b190
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a52a0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800a5304
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800a4c30
jmp 0x1800a530a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18017346c], eax
test eax, eax
je 0x1800a531e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800a5340
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov rbp, r8
mov esi, edx
lea rcx, [rsp + 0x22]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1800a53aa
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.1800a4cd0
jmp 0x1800a53b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18017346c], eax
test eax, eax
je 0x1800a53c6
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18006b190
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800a53f0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801580d0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.1800a3690
test eax, eax
je 0x1800a542d
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800a52a0
jmp 0x1800a54a4
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.18006a0a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800a5483
lea rdx, [0x18010ba80]
lea rcx, [rsp + 0x20]
mov r8d, 0x103
call fcn.1800f17a0
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800a4c30
jmp 0x1800a5489
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18017346c], eax
test eax, eax
je 0x1800a549d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18006b190
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
jmp 0x1800a53f0