joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f3720
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 0x1800f2db9
or r8d, 0x20019
call fcn.1800f1080
mov rdi, rax
jmp 0x1800f2dbc
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.1800e9ab0
test rdi, rdi
je 0x1800f2ef4
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 0x1800f2ee7
cmp dword [rsp + 0x60], ebx
jbe 0x1800f2ee7
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.1800f87f4
mov rbp, rax
test rax, rax
je 0x1800f2ee7
cmp dword [rsp + 0x60], ebx
jbe 0x1800f2ecb
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8660
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 0x1800f2ec3
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800e9cb0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f2e80
mov rcx, rbp
call fcn.1800f8898
cmp rdi, r12
je 0x1800f2ee0
mov rcx, rdi
call fcn.1800f1100
mov eax, 1
jmp 0x1800f2ef6
cmp rdi, r12
je 0x1800f2ef4
mov rcx, rdi
call fcn.1800f1100
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 0x1800f2d90
mov r8, rdx
xor edx, edx
jmp 0x1800f3710
Function at 0x1800f3740
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 0x1800f2f39
or r8d, 0x20019
call fcn.1800f1080
mov rdi, rax
jmp 0x1800f2f3c
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.1800e9ab0
test rdi, rdi
je 0x1800f30b2
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 0x1800f30a5
cmp dword [rsp + 0x60], r13d
jbe 0x1800f30a5
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.1800f87f4
mov rbp, rax
test rax, rax
je 0x1800f30a5
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x1800f3089
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8660
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 0x1800f3081
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800e9cb0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f3020
mov rcx, rbp
call fcn.1800f8898
cmp rdi, r12
je 0x1800f309e
mov rcx, rdi
call fcn.1800f1100
mov eax, 1
jmp 0x1800f30b4
cmp rdi, r12
je 0x1800f30b2
mov rcx, rdi
call fcn.1800f1100
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 0x1800f2f10
mov r8, rdx
xor edx, edx
jmp 0x1800f3730
Function at 0x1800f3750
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 0x1800f2053
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800f1080
mov rsi, rax
jmp 0x1800f2056
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800f20f2
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 0x1800f20cf
test edi, edi
je 0x1800f20ca
dec edi
je 0x1800f20b2
sub edi, 2
je 0x1800f20a8
dec edi
jne 0x1800f20cf
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800f20cf
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800f20cf
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800f20ca
cmp eax, 2
je 0x1800f20ca
cmp eax, 6
je 0x1800f20ca
cmp eax, 7
jne 0x1800f20cf
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800f20dd
mov rcx, rsi
call fcn.1800f1100
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 0x1800f2020

Function at 0x1800f3be0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x1800f3c90
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x1800f3c2e
call fcn.180127810
test eax, eax
je 0x1800f3c2e
mov rcx, rbx
call fcn.1800f3b50
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x1800f3c27
add edi, eax
mov esi, 0x10004
jmp 0x1800f3c30
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x1800f3ab0]
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 0x1800f3c90
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x1800f3c7b
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 0x1800f5640
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 0x1800f56a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1800f56a0
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.1800f87f4
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.1800f87f4
mov r8, qword [rsi]
mov rdi, rax
test r8, r8
je 0x1800f570b
test rax, rax
je 0x1800f571c
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 0x1800f5718
mov rcx, rdi
call fcn.1800f8898
test ebx, ebx
jne 0x1800f5729
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800f5729
call fcn.1800f8898
mov eax, ebx
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800f78f0
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 0x1800f7a5d
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.1800f8660
lea rdx, str._s
lea rcx, [rsp + 0x480]
mov r8, rbp
call fcn.1800f96e4
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], esi
call fcn.1800f8660
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800f7a53
nop
lea rdx, [0x1801ce29c]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800f7a30
lea rdx, [0x1801ce298]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800f7a30
xor eax, eax
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], ax
call fcn.1800f8660
lea r9, [rsp + 0x4c]
lea rdx, [0x1801a7038]
lea rcx, [rsp + 0x270]
mov r8, rbp
call fcn.1800f96e4
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x1800f7a20
mov rdx, rdi
call fcn.1800f78f0
jmp 0x1800f7a2e
mov r8, rdi
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov ebx, eax
test ebx, ebx
je 0x1800f7a4a
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800f79a0
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.1800f93c0
add rsp, 0x6a0
pop rdi
pop rbp
pop rbx
ret
Function at 0x1801034e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18021dd90]
jne 0x1800f93da
rol rcx, 0x10
test cx, 0xffff
jne 0x1800f93d6
repz ret
ror rcx, 0x10
jmp 0x180103440
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 0x1801034c5
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 0x1801034e7
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.180111b7c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1801ce620]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18023adc8], 0
jne 0x18010356e
mov ecx, 1
call fcn.180111b7c
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 0x18011ef34
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.180100068
xor ebx, ebx
cmp qword [0x18023be78], rbx
mov rdi, rax
jne 0x18011f047
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18011f11e
lea rdx, [0x1801d1980]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18011f11e
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, [0x1801d1938]
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 0x18011f03e
lea rdx, [0x1801d1920]
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 0x18011f04e
mov rax, qword [0x18023be90]
jmp 0x18011f055
mov rax, qword [0x18023be90]
mov r11, qword [0x18023be98]
cmp rax, rdi
je 0x18011f0bc
cmp r11, rdi
je 0x18011f0bc
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 0x18011f0bc
test rax, rax
je 0x18011f0bc
call rsi
test rax, rax
je 0x18011f0b6
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 0x18011f0b6
test byte [rsp + 0x40], 1
jne 0x18011f0bc
bts ebp, 0x15
jmp 0x18011f0fc
mov rcx, qword [0x18023be80]
cmp rcx, rdi
je 0x18011f0fc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18011f0fc
call rax
mov rbx, rax
test rax, rax
je 0x18011f0fc
mov rcx, qword [0x18023be88]
cmp rcx, rdi
je 0x18011f0fc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18011f0fc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18023be78]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18011f11e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18011f120
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180126d70
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 0x180126e97
xor edi, edi
mov word [rsp + 0x250], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.1800f8660
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180126e91
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1800f8660
lea r9, str.user32.dll
lea r8, [rsp + 0x250]
lea rdx, [0x1801a7038]
lea rcx, [rsp + 0x40]
call fcn.1800f96e4
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.1800f87f4
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180126e91
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 0x180126e89
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 0x180126e89
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov dword [0x18023c144], ecx
jmp 0x180126e89
mov rcx, rbx
call fcn.1800f8898
mov eax, dword [0x18023c144]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800f93c0
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret
Function at 0x1801274d0
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 0x180127674
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 0x180127658
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 0x1801275ac
call rax
jmp 0x1801275b2
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x18023bfe4]
cmp eax, 6
jae 0x1801275cb
cmp eax, 5
jne 0x1801275e2
cmp dword [0x18023bfe8], 2
jb 0x1801275e2
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 0x180127610
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x18023c138], rax
jmp 0x180127617
mov rbx, qword [0x18023c138]
test rbx, rbx
je 0x180127650
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.1800f8660
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.180127390
call fcn.1801270d0
mov eax, edi
jmp 0x180127679
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x150
pop rdi
ret

Function at 0x180128ff0
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.1800f8660
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x18012905a
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.180128d20
jmp 0x180129060
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18023c14c], eax
test eax, eax
je 0x180129076
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.1800f93c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
jmp 0x180128ff0
Function at 0x1801290a0
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.1800f8660
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.1800f93c0
add rsp, 0x148
ret

Function at 0x180129100
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.1800f8660
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.1800f93c0
add rsp, 0x248
ret

Function at 0x180129160
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.1800f8660
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1801291db
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.1800f9d48
test rax, rax
je 0x1801291c7
mov byte [rax], 0
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.180128c80
jmp 0x1801291e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18023c14c], eax
test eax, eax
je 0x1801291f5
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.1800f93c0
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x180129220
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.1800f8660
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x18012929f
lea edx, [rdi + 0x5c]
lea rcx, [rsp + 0x20]
call fcn.1800f96b8
test rax, rax
je 0x18012928b
mov word [rax], di
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.180128d20
jmp 0x1801292a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18023c14c], eax
test eax, eax
je 0x1801292bb
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.1800f93c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret