joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002ff08
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180025700
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180025700
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180030058
cmp rax, 0xffffffffffffffff
je 0x180030058
xor edi, edi
test rbp, rbp
jle 0x180030003
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180025398
mov rbx, rax
test rax, rax
jne 0x18002ff90
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18002fff9
mov edx, 0x8000
mov ecx, r14d
call fcn.18002fd8c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800230f4
cmp eax, 0xffffffff
je 0x18002ffd9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18002ffa0
mov edx, r15d
mov ecx, r14d
call fcn.18002fd8c
jmp 0x18002fff9
cmp byte [rsi + 0x38], dil
je 0x18002fff0
cmp dword [rsi + 0x34], 5
jne 0x18002fff0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18002fff9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180025410
jmp 0x18003006c
jns 0x18003006c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180025700
cmp rax, 0xffffffffffffffff
jne 0x180030024
cmp byte [rsi + 0x30], dil
je 0x18003006c
mov edi, dword [rsi + 0x2c]
jmp 0x18003006c
mov ecx, r14d
call fcn.18002cee4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18003006c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18003006c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180030065
mov eax, dword [rsi + 0x2c]
jmp 0x18003006a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180025700
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180031dd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180031df8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180031df8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140728108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14072828f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140728139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072811f
add dl, dl
jne 0x140728146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407281a6
xor eax, eax
add dl, dl
jne 0x140728155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072825d
add dl, dl
jne 0x140728166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140728173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140728180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072818d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14072819a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14072812e
mov eax, 1
add dl, dl
jne 0x1407281b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407281c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407281ab
sub eax, ebx
mov ebx, 1
jne 0x1407281fc
mov ecx, 1
add dl, dl
jne 0x1407281de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407281eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407281d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072812e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140728218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140728225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072820d
cmp eax, 0x7d00
jae 0x14072824b
cmp eax, 0x500
jb 0x140728246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072812e
cmp eax, 0x7f
ja 0x14072824e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072812e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140728282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14072812e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14005be9c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
xor ebx, ebx
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x31], rbx
lea rdx, [0x14043c624]
mov esi, ebx
lea rcx, [0x14041f1bc]
mov r14d, ebx
mov r15, r9
mov r12, r8
call fcn.1400eefd4
xorps xmm1, xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
movups xmmword [rbp - 1], xmm1
movups xmmword [rbp + 0xf], xmm1
movups xmmword [rbp + 0x1f], xmm1
test r15, r15
jne 0x14005bf16
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140079c40
jmp 0x14005bffc
mov rbx, qword [0x14043f520]
lea rdx, [0x14043c708]
lea rcx, [0x14041f260]
lea rsi, [rbx + 8]
call fcn.1400ed270
test rsi, rsi
je 0x14005bf4a
mov r14d, 1
mov rcx, rsi
mov edx, r14d
call fcn.140072570
lea rax, [0x140002598]
mov qword [rbp + 0x1f], rdi
mov qword [rbp - 0x21], rax
lea rdx, [0x14043a08c]
lea rax, [rbp + 0x7f]
mov qword [rbp + 0x27], rbx
lea rcx, [0x14041480c]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x29], 3
call fcn.1400ee5fc
xor r9d, r9d
lea rax, [rbp - 1]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x31]
mov ecx, 0xb9
mov qword [rbp - 9], rax
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x7f]
test ebx, ebx
js 0x14005bf0a
mov rbx, qword [rbp - 0x31]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r9, [rbp - 0x39]
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
lea rdx, [0x14043d1dc]
mov ebx, eax
lea rcx, [0x14041fca8]
call fcn.1400eec90
test ebx, ebx
js 0x14005bf0a
mov eax, dword [rbp - 0x39]
mov dword [r15], eax
mov ecx, ebx
call fcn.140079c60
lea rdx, [0x14043b5ec]
lea rcx, [0x140426008]
call fcn.1400ee940
lea rcx, [rbp - 1]
call fcn.1400578a0
lea rcx, [rbp - 0x31]
call fcn.1400577f4
test rsi, rsi
je 0x14005c03a
test r14d, r14d
je 0x14005c03a
mov rcx, rsi
call fcn.14007240c
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140084e08
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, [0x1400069d8]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x140438688]
mov qword [rbp - 0x29], rax
lea rcx, [0x14042346c]
mov r15, r9
mov r14, r8
call fcn.1400ed5b8
xor r9d, r9d
mov qword [rbp - 0x21], rbx
lea rax, [rbp + 0x17]
mov qword [rbp - 0x19], r12
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rax
lea ebx, [r9 + 0x50]
mov r8d, ebx
lea ecx, [rbx + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
xor edi, edi
test esi, esi
jns 0x140084ec0
mov ecx, esi
call fcn.140079c40
lea rdx, [0x140438ed8]
lea rcx, [0x140423d00]
call fcn.1400edc30
jmp 0x140084fa6
lea rax, [0x140006358]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14043c24c]
lea rax, [rbp - 0x45]
lea rcx, [0x14041ed2c]
mov qword [rbp - 0x29], rax
call fcn.1400ee2b8
lea rax, [rbp + 0x17]
mov qword [rbp - 0x21], r12
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x39]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x19], rdi
xor r9d, r9d
mov qword [rbp + 0xf], rax
mov r8, rbx
mov qword [rbp - 0x11], r14
mov ecx, 0xb9
mov dword [rbp - 1], edi
mov dword [rbp + 3], 1
mov qword [rbp + 7], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x45]
cmp ecx, 0xc004d304
je 0x140084fa3
mov esi, ecx
test ecx, ecx
jns 0x140084f44
call fcn.140079c40
jmp 0x140084fa6
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x140084f71
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x140084f9e
lea rdx, [0x14043cd80]
lea rcx, [0x140417958]
call fcn.1400ed8ec
cmp r14d, 0xc000
jne 0x140084fa3
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x140084fa3
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.140079c60
lea rdx, [0x14043a398]
lea rcx, [0x14041d104]
call fcn.1400edf70
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14037a9a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400ff244
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rsi, rcx
mov dword [rcx + 8], edx
xor ecx, ecx
call fcn.140079c60
lea rcx, [rsi + 0x20]
call fcn.14006f8bc
xor ecx, ecx
call fcn.140079c60
xor ebx, ebx
test byte [rsi + 8], 1
je 0x1400ff394
lea r9, [rbp + 0x38]
xor edx, edx
lea r8, [0x1403d22c0]
mov rcx, rsi
call fcn.140101e1c
mov ebx, eax
test eax, eax
jns 0x1400ff2ad
mov ecx, eax
call fcn.140079c40
mov edi, dword [rbp + 0x30]
jmp 0x1400ff2b1
movzx edi, byte [rbp + 0x38]
mov ecx, ebx
call fcn.140079c60
lea eax, [rbx + 0x3ffb2cff]
cmp eax, 1
ja 0x1400ff2c7
xor edi, edi
xor ebx, ebx
test ebx, ebx
js 0x1400ff38d
test edi, edi
je 0x1400ff394
mov rcx, rsi
call fcn.1401009a0
mov ebx, eax
test eax, eax
jns 0x1400ff2ec
mov ecx, eax
jmp 0x1400ff38f
and qword [rbp + 0x20], 0
cmp dword [0x14043ffa0], 0
mov byte [rbp + 0x38], 0
jne 0x1400ff305
mov ecx, 0xc004d101
jmp 0x1400ff35b
and qword [rbp - 0x20], 0
lea rax, [0x140035bd8]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
xor r9d, r9d
mov rax, qword [0x140440188]
mov ecx, 0xb9
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x14], rax
lea r8d, [r9 + 0x34]
mov dword [rbp - 0x18], 0xa0014
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
test ecx, ecx
jns 0x1400ff360
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x20]
call fcn.140053010
test ebx, ebx
jns 0x1400ff382
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x1400ff394
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14015eb18
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
movsxd rdi, edx
mov rsi, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], edi
je 0x14015ec2b
mov r14d, dword [rcx + 4]
cmp edi, r14d
cmovl r14d, edi
test edx, edx
jle 0x14015ebf4
mov rcx, rdi
mov r15, rcx
shl r15, 3
mov rax, r15
shr rax, 3
cmp rax, rcx
je 0x14015eb80
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r15, qword [rbp + 0x20]
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x14015eb97
mov ecx, ebx
call fcn.140079c40
jmp 0x14015ec2b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, qword [rbp + 0x20]
mov rbx, rax
test r15, r15
je 0x14015ebcb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14015ec83
mov qword [rbp + 0x20], rbx
test r14d, r14d
je 0x14015ebf4
mov rdx, qword [rsi + 8]
mov rcx, rbx
movsxd r8, r14d
shl r8, 3
call sub.msvcrt.dll_memcpy
mov rbx, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov r15, qword [rsi + 8]
test r15, r15
je 0x14015ec16
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test rbx, rbx
cmovne rax, rbx
xor ebx, ebx
mov qword [rsi + 8], rax
mov dword [rsi + 4], r14d
mov dword [rsi], edi
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x140020698]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov ebx, 0x8007000e
jmp 0x14015eb8b
Function at 0x14015f424
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp + 0x20], 0
mov rdi, rcx
and qword [rbp - 0x60], 0
lea rcx, [rbp - 0x58]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1a8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
test eax, eax
js 0x14015f53a
movsd xmm1, qword [rbp - 0x48]
mov eax, 8
mov rbx, qword [rbp + 0x20]
mov word [rbp - 0x58], ax
mov qword [rbp - 0x50], r15
movups xmm0, xmmword [rbp - 0x58]
mov rax, qword [rbx]
movsd qword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f53a
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea rdx, [rbp - 0x60]
mov rcx, r14
call rax
mov ebx, eax
test eax, eax
js 0x14015f53a
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rdx, qword [rbp + 0x20]
mov rax, rdi
xor r8d, r8d
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
jns 0x14015f541
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x14002b958]
mov r14d, 3
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], r14
mov edi, 0xb9
mov qword [rbp - 8], rax
xor r9d, r9d
lea rdx, [rbp - 0x20]
lea esi, [r14 + 0x1d]
mov ecx, edi
mov r8d, esi
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rbp - 0x10], 0
lea rax, [0x14002b618]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], r14
xor r9d, r9d
mov qword [rbp - 8], rax
mov r8d, esi
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14015f5d8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor edi, edi
mov r15, r9
mov qword [rbp - 0x38], rdi
mov esi, edi
mov qword [rbp - 0x30], rdi
mov r12, r8
mov qword [rbp - 0x40], rdi
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdi + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x14015f657
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
lea rax, [0x1403a7238]
mov qword [r14], rax
mov dword [r14 + 0x18], 1
lock inc dword [0x14043f384]
jmp 0x14015f65a
mov r14, rdi
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14015f680
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
xor edi, edi
mov qword [rbp - 0x40], r14
test r14, r14
jne 0x14015f697
mov esi, 0x8007000e
mov ecx, esi
call fcn.140079c40
jmp 0x14015f69f
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], r14
mov ecx, esi
call fcn.140079c60
mov r14d, 3
mov qword [rbp - 0x18], rdi
lea rax, [0x14002af98]
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x40]
xor r9d, r9d
lea r8d, [r14 + 0x1d]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
jns 0x14015f6e4
mov ecx, esi
jmp 0x14015f717
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp - 0x38]
lea rdx, [0x1403c7450]
mov rcx, rbx
call rax
xor edi, edi
mov esi, eax
test eax, eax
jns 0x14015f71c
mov ecx, eax
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 0x28], r14
lea rax, [0x14002af98]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x30]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
jns 0x14015f760
mov ecx, esi
call fcn.140079c40
jmp 0x14015f7b5
mov rax, qword [rbp + 0x68]
mov r8, r12
mov r9, qword [rbp - 0x38]
mov rdx, r13
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140162680
mov esi, eax
test eax, eax
jns 0x14015f798
mov ecx, eax
jmp 0x14015f759
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x50]
mov edx, dword [rax + 0x10]
mov dword [rcx], edx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rdi
and qword [rax + 0x10], 0
mov qword [r15], rcx
mov ecx, esi
call fcn.140079c60
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x14015f7e0
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
lea r11, [rsp + 0x80]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14015f80c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xa0
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
lea rcx, [rbp - 0x59]
xor r12d, r12d
mov qword [rbp - 0x49], rax
mov qword [rbp + 0x6f], r12
mov r15, rdx
movups xmmword [rbp - 0x59], xmm0
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
lea rcx, [rbp - 0x41]
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rbp + 0x6f]
xor edx, edx
lea r9, [0x1403d2f40]
mov qword [rsp + 0x20], rax
lea r8d, [r12 + 1]
lea rcx, [0x1403c73f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14015f8a2
mov ecx, eax
call fcn.140079c40
jmp 0x14015f9e6
mov rbx, qword [rbp + 0x6f]
or r13d, 0xffffffff
mov rax, qword [rbx]
mov rdi, qword [rax + 0x240]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
movzx edx, r13w
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
mov rbx, qword [rbp + 0x6f]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x1f8]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
movzx edx, r12w
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
cmp dword [0x140440768], 1
lea eax, [r13 + 9]
movsd xmm1, qword [rbp - 0x49]
mov rsi, r12
mov rbx, qword [rbp + 0x6f]
cmove rsi, qword [0x14043ff30]
mov word [rbp - 0x59], ax
mov rax, r12
cmove rax, qword [0x14043ff38]
mov qword [rbp - 0x51], rax
mov rax, qword [rbx]
movups xmm0, xmmword [rbp - 0x59]
movsd qword [rbp - 0x19], xmm1
mov rdi, qword [rax + 0x280]
mov rax, qword [0x1403c1610]
mov rcx, rdi
movaps xmmword [rbp - 0x29], xmm0
call rax
mov rax, rdi
lea r8, [rbp - 0x29]
mov rdx, rsi
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
movups xmm0, xmmword [r15]
mov rbx, qword [rbp + 0x6f]
movsd xmm1, qword [r15 + 0x10]
movaps xmmword [rbp - 0x29], xmm0
movsd qword [rbp - 0x19], xmm1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x1d0]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x29]
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
cmp word [rbp + 0x67], r13w
je 0x14015f9d7
mov rcx, qword [r14]
test rcx, rcx
je 0x14015f9cb
mov rdx, qword [rbp + 0x6f]
call fcn.14010b454
mov ebx, 0x8004bd01
mov ecx, ebx
jmp 0x14015f898
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x6f], r12
mov qword [rax], rcx
mov ecx, ebx
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 9], 3
lea rax, [0x14001a1d8]
mov qword [rbp + 7], r12
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
lea rax, [rbp + 0x6f]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp + 0xf], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret