joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f3c50
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800f32e9
or r8d, 0x20019
call fcn.1800f15b0
mov rdi, rax
jmp 0x1800f32ec
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.1800e9fe0
test rdi, rdi
je 0x1800f3424
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800f3417
cmp dword [rsp + 0x60], ebx
jbe 0x1800f3417
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1800f8d24
mov rbp, rax
test rax, rax
je 0x1800f3417
cmp dword [rsp + 0x60], ebx
jbe 0x1800f33fb
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8b90
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1800f33f3
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ea1e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f33b0
mov rcx, rbp
call fcn.1800f8dc8
cmp rdi, r12
je 0x1800f3410
mov rcx, rdi
call fcn.1800f1630
mov eax, 1
jmp 0x1800f3426
cmp rdi, r12
je 0x1800f3424
mov rcx, rdi
call fcn.1800f1630
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x1800f32c0
mov r8, rdx
xor edx, edx
jmp 0x1800f3c40
Function at 0x1800f3c70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800f3469
or r8d, 0x20019
call fcn.1800f15b0
mov rdi, rax
jmp 0x1800f346c
mov rdi, rcx
or rbx, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r13
call fcn.1800e9fe0
test rdi, rdi
je 0x1800f35e2
xor r13d, r13d
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x98], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800f35d5
cmp dword [rsp + 0x60], r13d
jbe 0x1800f35d5
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov eax, 2
mov dword [rsp + 0x98], ecx
inc ecx
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1800f8d24
mov rbp, rax
test rax, rax
je 0x1800f35d5
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x1800f35b9
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8b90
mov r11d, dword [rsp + 0x98]
mov qword [rsp + 0x38], r13
inc r11d
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x64]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800f35b1
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ea1e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f3550
mov rcx, rbp
call fcn.1800f8dc8
cmp rdi, r12
je 0x1800f35ce
mov rcx, rdi
call fcn.1800f1630
mov eax, 1
jmp 0x1800f35e4
cmp rdi, r12
je 0x1800f35e2
mov rcx, rdi
call fcn.1800f1630
xor eax, eax
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x1800f3440
mov r8, rdx
xor edx, edx
jmp 0x1800f3c60
Function at 0x1800f3c80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov edi, r9d
mov r12, r8
mov rbp, rcx
test rdx, rdx
je 0x1800f2583
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800f15b0
mov rsi, rax
jmp 0x1800f2586
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800f2622
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor ebx, ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800f25ff
test edi, edi
je 0x1800f25fa
dec edi
je 0x1800f25e2
sub edi, 2
je 0x1800f25d8
dec edi
jne 0x1800f25ff
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800f25ff
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800f25ff
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800f25fa
cmp eax, 2
je 0x1800f25fa
cmp eax, 6
je 0x1800f25fa
cmp eax, 7
jne 0x1800f25ff
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800f260d
mov rcx, rsi
call fcn.1800f1630
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
xor eax, eax
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
mov r9d, r8d
mov r8, rdx
xor edx, edx
jmp 0x1800f2550

Function at 0x1800f4110
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x1800f41c0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x1800f415e
call fcn.180127d40
test eax, eax
je 0x1800f415e
mov rcx, rbx
call fcn.1800f4080
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x1800f4157
add edi, eax
mov esi, 0x10004
jmp 0x1800f4160
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x1800f3fe0]
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 0x1800f41c0
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x1800f41ab
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 0x1800f5b70
Capabilities:
Get user security identifier

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x40
xor ebx, ebx
lea rax, [rsp + 0x78]
mov rsi, rdx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rdx], rbx
mov rbp, rcx
mov rdx, rcx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1800f5bd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1800f5bd0
xor eax, eax
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [rsp + 0x70]
mov qword [rsp + 0x60], rdi
call fcn.1800f8d24
mov ecx, dword [rsp + 0x68]
mov qword [rsi], rax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800f8d24
mov r8, qword [rsi]
mov rdi, rax
test r8, r8
je 0x1800f5c3b
test rax, rax
je 0x1800f5c4c
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test rdi, rdi
je 0x1800f5c48
mov rcx, rdi
call fcn.1800f8dc8
test ebx, ebx
jne 0x1800f5c59
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800f5c59
call fcn.1800f8dc8
mov eax, ebx
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800f7e20
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x6a0
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rdi, rdx
mov r8, rdx
mov edx, 4
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov ebx, eax
test eax, eax
je 0x1800f7f8d
mov qword [rsp + 0x6d0], rsi
lea rcx, [rsp + 0x482]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x480], si
call fcn.1800f8b90
lea rdx, str._s
lea rcx, [rsp + 0x480]
mov r8, rbp
call fcn.1800f9c14
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], esi
call fcn.1800f8b90
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800f7f83
nop
lea rdx, [0x1801ce3ec]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800f7f60
lea rdx, [0x1801ce3e8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800f7f60
xor eax, eax
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], ax
call fcn.1800f8b90
lea r9, [rsp + 0x4c]
lea rdx, [0x1801a7038]
lea rcx, [rsp + 0x270]
mov r8, rbp
call fcn.1800f9c14
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x1800f7f50
mov rdx, rdi
call fcn.1800f7e20
jmp 0x1800f7f5e
mov r8, rdi
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov ebx, eax
test ebx, ebx
je 0x1800f7f7a
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800f7ed0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x6d0]
mov eax, ebx
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x6a0
pop rdi
pop rbp
pop rbx
ret
Function at 0x180103a17
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18021dd90]
jne 0x1800f990a
rol rcx, 0x10
test cx, 0xffff
jne 0x1800f9906
repz ret
ror rcx, 0x10
jmp 0x180103970
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18023add0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18023aec8]
mov qword [rsp + 0x58], rax
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 0x1801039f5
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, [0x18023add0]
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 0x180103a17
mov rax, qword [rsp + 0x88]
mov qword [0x18023aec8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18023ae68], rax
mov rax, qword [0x18023aec8]
mov qword [0x18023ad40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18023ae50], rax
mov dword [0x18023ad30], 0xc0000409
mov dword [0x18023ad34], 1
mov rax, qword [0x18021dd90]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18021dd98]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18023adc8], eax
mov ecx, 1
call fcn.1801120ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1801ce770]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18023adc8], 0
jne 0x180103a9e
mov ecx, 1
call fcn.1801120ac
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 0x18011f464
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180100598
xor ebx, ebx
cmp qword [0x18023be78], rbx
mov rdi, rax
jne 0x18011f577
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18011f64e
lea rdx, [0x1801d1ad0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18011f64e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18023be78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18023be80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1801d1a88]
mov rcx, rsi
mov qword [0x18023be88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18023be98], rax
test rax, rax
je 0x18011f56e
lea rdx, [0x1801d1a70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18023be90], rax
jmp 0x18011f57e
mov rax, qword [0x18023be90]
jmp 0x18011f585
mov rax, qword [0x18023be90]
mov r11, qword [0x18023be98]
cmp rax, rdi
je 0x18011f5ec
cmp r11, rdi
je 0x18011f5ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18023be98]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18011f5ec
test rax, rax
je 0x18011f5ec
call rsi
test rax, rax
je 0x18011f5e6
lea rcx, [rsp + 0x30]
mov r9d, recvfrom
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18011f5e6
test byte [rsp + 0x40], 1
jne 0x18011f5ec
bts ebp, 0x15
jmp 0x18011f62c
mov rcx, qword [0x18023be80]
cmp rcx, rdi
je 0x18011f62c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18011f62c
call rax
mov rbx, rax
test rax, rax
je 0x18011f62c
mov rcx, qword [0x18023be88]
cmp rcx, rdi
je 0x18011f62c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18011f62c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18023be78]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18011f64e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18011f650
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1801272a0
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov eax, dword [0x18023c144]
test eax, eax
jne 0x1801273c7
xor edi, edi
mov word [rsp + 0x250], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.1800f8b90
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1801273c1
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1800f8b90
lea r9, str.user32.dll
lea r8, [rsp + 0x250]
lea rdx, [0x1801a7038]
lea rcx, [rsp + 0x40]
call fcn.1800f9c14
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x24], eax
mov ecx, eax
call fcn.1800f8d24
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1801273c1
mov r9, rax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1801273b9
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1801273b9
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov dword [0x18023c144], ecx
jmp 0x1801273b9
mov rcx, rbx
call fcn.1800f8dc8
mov eax, dword [0x18023c144]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800f98f0
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret
Function at 0x180127a00
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x18023c148], 0
jne 0x180127ba4
lea rcx, [0x18023bec0]
mov edi, 1
mov dword [0x18023bec0], 0x114
mov dword [0x18023c148], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor r11d, r11d
cmp dword [0x18023bed0], 2
sete r11b
mov dword [reloc.WS2_32.dll_accept], r11d
test r11d, r11d
je 0x180127b88
lea rcx, [0x18023bfe0]
mov qword [rsp + 0x160], rbx
mov dword [0x18023bfe0], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [0x1801a74f0]
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 [0x18023beb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18023c100]
mov qword [0x18023c130], rax
mov rax, qword [0x18023beb8]
test rax, rax
je 0x180127adc
call rax
jmp 0x180127ae2
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x18023bfe4]
cmp eax, 6
jae 0x180127afb
cmp eax, 5
jne 0x180127b12
cmp dword [0x18023bfe8], 2
jb 0x180127b12
mov eax, dword [0x18023beb0]
cmp word [0x18023c100], 9
cmove eax, edi
mov dword [0x18023beb0], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180127b40
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x18023c138], rax
jmp 0x180127b47
mov rbx, qword [0x18023c138]
test rbx, rbx
je 0x180127b80
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.1800f8b90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x18023becc]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x18023becc], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x18023bec8]
lea rcx, [0x18023bec4]
call fcn.1801278c0
call fcn.180127600
mov eax, edi
jmp 0x180127ba9
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x150
pop rdi
ret

Function at 0x180129520
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x18021dd90]
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.1800f8b90
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x18012958a
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.180129250
jmp 0x180129590
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18023c14c], eax
test eax, eax
je 0x1801295a6
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.1800f98f0
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
jmp 0x180129520
Function at 0x1801295d0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x148
mov rax, qword [0x18021dd90]
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.1800f8b90
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.1800f98f0
add rsp, 0x148
ret

Function at 0x180129630
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x248
mov rax, qword [0x18021dd90]
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.1800f8b90
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.1800f98f0
add rsp, 0x248
ret

Function at 0x180129690
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x18021dd90]
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.1800f8b90
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18012970b
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.1800fa278
test rax, rax
je 0x1801296f7
mov byte [rax], 0
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1801291b0
jmp 0x180129711
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18023c14c], eax
test eax, eax
je 0x180129725
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.1800f98f0
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x180129750
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x18021dd90]
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.1800f8b90
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1801297cf
lea edx, [rdi + 0x5c]
lea rcx, [rsp + 0x20]
call fcn.1800f9be8
test rax, rax
je 0x1801297bb
mov word [rax], di
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.180129250
jmp 0x1801297d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18023c14c], eax
test eax, eax
je 0x1801297eb
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.1800f98f0
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret