joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a50e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
cmp dword [0x00646d00], 0
jne 0x4a52fa
mov ecx, 0x40
call fcn.00569590
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x4a5129
mov rcx, rax
call fcn.004a42a0
jmp 0x4a512c
mov rax, rdi
mov qword [0x00646cf8], rax
test rax, rax
je 0x4a530b
mov qword [rsp + 0x58], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
mov r9d, 9
lea r8, str.App_Total
lea edx, [r9 + 6]
lea rcx, [rsp + 0x40]
call fcn.00568a50
mov qword [rsp + 0x50], 9
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rax + 9], 0
mov rcx, qword [0x00646cf8]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
call qword [rax + 0x20]
mov qword [0x00646d08], rax
cmp qword [rsp + 0x58], 0x10
jb 0x4a51b9
mov rcx, qword [rsp + 0x40]
call fcn.00568830
mov qword [rsp + 0x58], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
mov r9d, SafeArrayGetDim
lea r8, str.Section_Total
lea edx, [r9 + 2]
lea rcx, [rsp + 0x40]
call fcn.00568a50
mov qword [rsp + 0x50], SafeArrayUnlock
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rax + 0xd], 0
mov rcx, qword [0x00646cf8]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
call qword [rax + 0x20]
mov rbx, rax
mov qword [0x00646d10], rax
cmp qword [rsp + 0x58], 0x10
jb 0x4a5240
mov rcx, qword [rsp + 0x40]
call fcn.00568830
mov rbx, qword [0x00646d10]
mov qword [rsp + 0x58], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
lea rsi, str..Timing.cpp
mov rdi, qword [0x00646d08]
test rdi, rdi
je 0x4a52b1
cmp dword [rdi + 0x88], 0
je 0x4a5297
mov qword [rsp + 0x20], rsi
mov r9d, 0x97
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rdi
call fcn.004a4dc0
mov rbx, qword [0x00646d10]
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rdi + 0x80], rax
mov dword [rdi + 0x88], 1
test rbx, rbx
je 0x4a52fa
cmp dword [rbx + 0x88], 0
je 0x4a52e0
mov qword [rsp + 0x20], rsi
mov r9d, 0x98
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], 1
cmp qword [0x00646cf8], 0
je 0x4a530b
add dword [0x00646d00], 1
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
add rsp, 0x68
ret
Function at 0x4bf570
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
lea r12, str..File.cpp
cmp qword [rcx + 8], 0
jne 0x4bf5d8
call fcn.00473e00
mov r10, qword [rax]
lea rcx, str.mData
mov qword [rsp + 0x20], rcx
lea r9, str.FileAccess::BasicFile::Read
mov r8d, VarDecFix
mov rdx, r12
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsi + 0x28]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], VarDecFix
mov qword [rsp + 0x48], r12
test rbx, rbx
je 0x4bf637
cmp dword [rbx + 0x88], 0
je 0x4bf61d
mov qword [rsp + 0x20], r12
mov r9d, VarDecFix
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], 1
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rbp
call qword [rax + 0x20]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x4bf65b
add qword [rcx + 0x18], rax
add dword [rcx + 8], 1
test rbx, rbx
je 0x4bf6af
cmp dword [rbx + 0x88], 1
je 0x4bf68a
mov qword [rsp + 0x20], r12
mov r9d, VarDecFix
lea r8, str.Stop_called_without_corresponding_call_to_Start__m_uStartCnt__0__or_ReentrantStop_should_have_been_called__m_uStartCnt___1_
lea rdx, str.m_uStartCnt__1
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, qword [rbx + 0x80]
add qword [rbx + 0x18], rax
add dword [rbx + 8], 1
mov dword [rbx + 0x88], 0
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x4bf6f0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
lea r12, str..File.cpp
cmp qword [rcx + 8], 0
jne 0x4bf758
call fcn.00473e00
mov r10, qword [rax]
lea rcx, str.mData
mov qword [rsp + 0x20], rcx
lea r9, str.FileAccess::BasicFile::Write
mov r8d, 0xbf
mov rdx, r12
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], 0xc0
mov qword [rsp + 0x48], r12
test rbx, rbx
je 0x4bf7b7
cmp dword [rbx + 0x88], 0
je 0x4bf79d
mov qword [rsp + 0x20], r12
mov r9d, 0xc0
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], 1
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov rdi, rax
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x4bf7db
add qword [rcx + 0x18], rax
add dword [rcx + 8], 1
test rbx, rbx
je 0x4bf82f
cmp dword [rbx + 0x88], 1
je 0x4bf80a
mov qword [rsp + 0x20], r12
mov r9d, 0xc0
lea r8, str.Stop_called_without_corresponding_call_to_Start__m_uStartCnt__0__or_ReentrantStop_should_have_been_called__m_uStartCnt___1_
lea rdx, str.m_uStartCnt__1
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, qword [rbx + 0x80]
add qword [rbx + 0x18], rax
add dword [rbx + 8], 1
mov dword [rbx + 0x88], 0
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x4bf870
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rdi, rcx
lea rsi, str..File.cpp
cmp qword [rcx + 8], 0
jne 0x4bf8c8
call fcn.00473e00
mov r10, qword [rax]
lea rcx, str.mData
mov qword [rsp + 0x20], rcx
lea r9, str.FileAccess::BasicFile::GetPosition
mov r8d, 0xd1
mov rdx, rsi
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rdi + 0x40]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], 0xd2
mov qword [rsp + 0x48], rsi
test rbx, rbx
je 0x4bf927
cmp dword [rbx + 0x88], 0
je 0x4bf90d
mov qword [rsp + 0x20], rsi
mov r9d, 0xd2
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], 1
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
test rbx, rbx
je 0x4bf988
cmp dword [rbx + 0x88], 1
je 0x4bf963
mov qword [rsp + 0x20], rsi
mov r9d, 0xd2
lea r8, str.Stop_called_without_corresponding_call_to_Start__m_uStartCnt__0__or_ReentrantStop_should_have_been_called__m_uStartCnt___1_
lea rdx, str.m_uStartCnt__1
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, qword [rbx + 0x80]
add qword [rbx + 0x18], rax
add dword [rbx + 8], 1
mov dword [rbx + 0x88], 0
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x4bf9c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
lea r12, str..File.cpp
cmp qword [rcx + 8], 0
jne 0x4bfa28
call fcn.00473e00
mov r10, qword [rax]
lea rcx, str.mData
mov qword [rsp + 0x20], rcx
lea r9, str.FileAccess::BasicFile::SetPosition
mov r8d, 0xd9
mov rdx, r12
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rdi + 0x40]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], 0xda
mov qword [rsp + 0x48], r12
test rbx, rbx
je 0x4bfa87
cmp dword [rbx + 0x88], 0
je 0x4bfa6d
mov qword [rsp + 0x20], r12
mov r9d, 0xda
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], 1
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r8d, esi
mov rdx, rbp
call qword [rax + 0x40]
nop
test rbx, rbx
je 0x4bfae9
cmp dword [rbx + 0x88], 1
je 0x4bfac7
mov qword [rsp + 0x20], r12
mov r9d, 0xda
lea r8, str.Stop_called_without_corresponding_call_to_Start__m_uStartCnt__0__or_ReentrantStop_should_have_been_called__m_uStartCnt___1_
lea rdx, str.m_uStartCnt__1
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, qword [rbx + 0x80]
add qword [rbx + 0x18], rax
add dword [rbx + 8], 1
mov dword [rbx + 0x88], 0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x4bfd00
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x10], rdx
mov rax, rsp
sub rsp, 0x88
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov rbp, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rax + 8], r12d
mov rbx, qword [rcx + 0x20]
mov qword [rax - 0x48], rbx
mov dword [rax - 0x40], 0xa2
lea r13, str..File.cpp
mov qword [rax - 0x38], r13
test rbx, rbx
je 0x4bfd9f
cmp dword [rbx + 0x88], r12d
je 0x4bfd85
mov qword [rax - 0x68], r13
mov r9d, reloc.OLEAUT32.dll_RegisterTypeLib
lea r8, str.two_calls_to_Start_without_a_call_to_Stop
lea rdx, str.m_uStartCnt__0
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], 1
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x4bfdbd
add dword [rcx + 8], 0xffffffff
jne 0x4bfdb9
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov qword [rdi + 8], r12
mov qword [rsp + 0x38], r12
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x4bfde4
add dword [rsi], 0xffffffff
jne 0x4bfde0
mov rcx, rsi
call fcn.0045f110
mov rcx, rsi
call fcn.00568830
mov qword [rdi + 0x10], r12
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x4bfdf2
add dword [rax], 1
jmp 0x4bfdf5
mov rax, r12
mov qword [rbp], rax
mov dword [rsp + 0x90], 1
test rbx, rbx
je 0x4bfe57
cmp dword [rbx + 0x88], 1
je 0x4bfe33
mov qword [rsp + 0x20], r13
mov r9d, reloc.OLEAUT32.dll_RegisterTypeLib
lea r8, str.Stop_called_without_corresponding_call_to_Start__m_uStartCnt__0__or_ReentrantStop_should_have_been_called__m_uStartCnt___1_
lea rdx, str.m_uStartCnt__1
mov rcx, rbx
call fcn.004a4dc0
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, qword [rbx + 0x80]
add qword [rbx + 0x18], rax
add dword [rbx + 8], 1
mov dword [rbx + 0x88], r12d
mov rax, rbp
jmp 0x4bfe5a
mov rax, rbp
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
add rsp, 0x88
ret
Function at 0x4c3010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rdi
mov edi, dword [rcx + 0x38]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov rbp, rcx
nop
nop
mov edx, dword [rbp + 0x8c]
mov ebx, dword [rbp + 0x50]
mov eax, dword [rbp + 0x38]
sub ebx, dword [rbp + 0x94]
lea ecx, [rdi + rax - 0x106]
sub ebx, edx
cmp edx, ecx
jb 0x4c30dc
mov rcx, qword [rbp + 0x48]
mov r8, rdi
lea rdx, [rcx + rdi]
call fcn.0056a7f0
mov r8d, dword [rbp + 0x6c]
mov rax, qword [rbp + 0x60]
sub dword [rbp + 0x90], edi
sub dword [rbp + 0x8c], edi
sub dword [rbp + 0x7c], edi
lea rdx, [rax + r8*2]
nop
nop
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, edi
jb 0x4c30a0
sub eax, edi
jmp 0x4c30a2
xor eax, eax
add r8d, 0xffffffff
mov word [rdx], ax
jne 0x4c3090
mov rax, qword [rbp + 0x58]
mov edx, edi
lea rcx, [rax + rdi*2]
nop
nop
nop
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, edi
jb 0x4c30d0
sub eax, edi
jmp 0x4c30d2
xor eax, eax
add edx, 0xffffffff
mov word [rcx], ax
jne 0x4c30c0
add ebx, edi
mov rsi, qword [rbp]
cmp dword [rsi + 8], 0
je 0x4c31b8
mov eax, dword [rbp + 0x8c]
mov r13d, dword [rbp + 0x94]
add r13, rax
mov eax, dword [rsi + 8]
add r13, qword [rbp + 0x48]
cmp eax, ebx
mov r12d, eax
cmova r12d, ebx
test r12d, r12d
je 0x4c3162
sub eax, r12d
mov dword [rsi + 8], eax
mov rax, qword [rsi + 0x28]
mov ecx, dword [rax + 0x2c]
cmp ecx, 1
jne 0x4c3134
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.00507580
mov dword [rsi + 0x4c], eax
jmp 0x4c314a
cmp ecx, 2
jne 0x4c314a
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.0050a590
mov dword [rsi + 0x4c], eax
mov rdx, qword [rsi]
mov r8d, r12d
mov rcx, r13
mov ebx, r12d
call fcn.0056a7f0
add qword [rsi], rbx
add dword [rsi + 0xc], r12d
add dword [rbp + 0x94], r12d
mov r9d, dword [rbp + 0x94]
cmp r9d, 3
jb 0x4c31a1
mov eax, dword [rbp + 0x8c]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x78]
movzx r8d, byte [rax + rdx]
add eax, 1
mov dword [rbp + 0x68], r8d
movzx eax, byte [rax + rdx]
shl r8d, cl
xor r8d, eax
and r8d, dword [rbp + 0x74]
mov dword [rbp + 0x68], r8d
cmp r9d, 0x106
jae 0x4c31b8
mov rax, qword [rbp]
cmp dword [rax + 8], 0
jne 0x4c3040
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x4cfa70
Capabilities:
Set file attributes

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov rax, qword [0x006443a8]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x60], 0
lea rcx, [r11 - 0x48]
call fcn.004cb620
nop
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
call fcn.00571210
test eax, eax
je 0x4cfc1a
test dil, 1
je 0x4cfb5b
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
call fcn.00571210
test eax, eax
jne 0x4cfb5b
mov qword [rbx], 0
cmp qword [rsp + 0xc0], 8
jb 0x4cfb53
mov rcx, qword [rsp + 0xa8]
call fcn.00568830
mov rax, rbx
jmp 0x4cfc3c
call fcn.00570710
cmp dword [rax], 0xd
jne 0x4cfb6c
mov edx, 5
jmp 0x4cfb73
call fcn.00570710
mov edx, dword [rax]
mov r8b, 1
lea rcx, [rsp + 0x60]
call fcn.00491120
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.004677a0
nop
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.00467ad0
nop
mov rax, qword [0x00640e40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x68]
mov edx, 0xe7d10017
mov rcx, rbx
call fcn.00465350
nop
lea rcx, [rsp + 0x68]
call fcn.004679c0
nop
lea rcx, [rsp + 0x80]
call fcn.004679c0
nop
cmp qword [rsp + 0xc0], 8
jb 0x4cfc15
mov rcx, qword [rsp + 0xa8]
call fcn.00568830
mov rax, rbx
jmp 0x4cfc3c
mov qword [rbx], 0
cmp qword [rsp + 0xc0], 8
jb 0x4cfc39
mov rcx, qword [rsp + 0xa8]
call fcn.00568830
mov rax, rbx
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.00568fb0
mov rbx, qword [rsp + 0x108]
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
add rsp, 0xe8
ret
Function at 0x4d8f10
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov eax, dword [0x00647a00]
test al, 1
jne 0x4d903a
or eax, 1
mov dword [0x00647a00], eax
xor eax, eax
mov dword [0x006479c0], eax
mov qword [0x006479c8], rax
mov qword [0x006479d0], rax
mov qword [0x006479d8], rax
mov qword [0x006479e0], rax
mov qword [0x006479e8], rax
mov qword [0x006479f0], rax
mov qword [0x006479f8], rax
xor edx, edx
lea r8d, [rax + 0x40]
lea rcx, [rsp + 0x40]
call fcn.0056a100
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x4d8fc6
call fcn.00473e00
mov r10, qword [rax]
lea rcx, str.success___0
mov qword [rsp + 0x20], rcx
lea r9, str.RAM::GetRamInfo
mov r8d, 0x3f
lea rdx, str..Ram.cpp
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x44]
mov dword [0x006479c0], eax
mov rax, qword [rsp + 0x48]
mov qword [0x006479c8], rax
mov rax, qword [rsp + 0x50]
mov qword [0x006479d0], rax
mov rax, qword [rsp + 0x58]
mov qword [0x006479d8], rax
mov rax, qword [rsp + 0x60]
mov qword [0x006479e0], rax
mov rax, qword [rsp + 0x68]
mov qword [0x006479e8], rax
mov rax, qword [rsp + 0x70]
mov qword [0x006479f0], rax
mov rax, qword [rsp + 0x78]
mov qword [0x006479f8], rax
lea rcx, [0x005a97f0]
call fcn.0056a510
nop
lea rax, [0x006479c0]
jmp 0x4d9041
lea rax, [0x006479c0]
add rsp, 0x88
ret
Function at 0x4d9220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, rdx
mov edx, r8d
jmp 0x512550
mov r11, rsp
sub rsp, 0xa8
mov rax, qword [0x006443a8]
xor rax, rsp
mov qword [rsp + 0x78], rax
test rcx, rcx
mov qword [r11 + 0x20], rbp
mov qword [r11 - 0x18], r12
mov r12, rcx
movsxd rbp, edx
je 0x5126f6
test edx, edx
jle 0x5126f6
mov qword [r11 + 0x18], rbx
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x20], r13
xor r13d, r13d
mov ebx, 0x80000002
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x24], r13d
mov dword [r11 - 0x80], r13d
mov dword [r11 - 0x7c], r13d
mov rsi, r13
lea rdi, [r11 - 0x60]
nop
nop
cmp byte [0x00643220], r13b
je 0x512622
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
mov byte [0x00643220], r13b
mov byte [0x00648024], 1
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], r13d
call fcn.005232e0
mov r11d, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x80000000
mov dword [0x00648020], r11d
call fcn.005232e0
mov r11d, dword [rsp + 0x30]
mov dword [0x0064801c], r11d
cmp byte [0x00648024], r13b
je 0x512654
cmp ebx, dword [0x00648020]
jbe 0x512641
bt ebx, 0x1f
jae 0x512654
cmp ebx, dword [0x0064801c]
ja 0x512654
lea r8, [rsp + 0x20]
xor edx, edx
mov ecx, ebx
call fcn.005232e0
mov r11b, 1
jmp 0x512657
xor r11b, r11b
test r11b, r11b
mov eax, dword [rsp + 0x20]
mov dword [rdi - 8], eax
mov eax, dword [rsp + 0x24]
mov dword [rdi - 4], eax
mov eax, dword [rsp + 0x28]
mov dword [rdi], eax
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 4], eax
mov byte [rdi + 8], r13b
je 0x5126f2
add rsi, 1
add ebx, 1
add rdi, 0x10
cmp rsi, 3
jl 0x5125c0
lea eax, [rbp - 1]
lea r8, [rsp + 0x40]
mov rdx, rbp
movsxd r9, eax
mov rcx, r12
call fcn.0056ef40
mov byte [rbp + r12 - 1], r13b
mov al, 1
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.00568fb0
add rsp, 0xa8
ret
xor al, al
jmp 0x5126ad
xor al, al
jmp 0x5126cd
Function at 0x4dc0a0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x150
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov eax, dword [0x00647a80]
test al, 1
jne 0x4dc0ee
or eax, 1
mov dword [0x00647a80], eax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x00647a78], rax
jmp 0x4dc0f5
mov rax, qword [0x00647a78]
mov dword [rsp + 0x168], 0
test rax, rax
je 0x4dc1d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x168]
call qword [0x00647a78]
cmp dword [rsp + 0x168], 0
je 0x4dc1d0
mov eax, dword [0x00647a90]
test al, 1
jne 0x4dc167
or eax, 1
mov dword [0x00647a90], eax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x00647a88], rax
jmp 0x4dc16e
mov rax, qword [0x00647a88]
test rax, rax
je 0x4dc17a
mov rcx, rbx
call rax
jmp 0x4dc1d9
mov eax, dword [0x00646620]
shr eax, 2
test al, 1
je 0x4dc1d0
lea rax, str._anonymous_namespace::GetWindowsSystemInfo
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xbb
lea r9, str..OsVersion.cpp
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r8d, [rdx - 0x14]
lea rcx, [rsp + 0x38]
call fcn.00475e14
nop
lea rdx, str.WOW64_process_cannot_find_GetNativeSystemInfo____using_GetSystemInfo___instead
mov rcx, rax
call fcn.00475a24
nop
lea rcx, [rsp + 0x38]
call fcn.0047591c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
add rsp, 0x150
pop rbx
ret
Function at 0x4dd0f0
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
sub rsp, 0x58
mov rax, qword [0x006443a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
xor ebp, ebp
mov rsi, rcx
lea rdx, [r11 - 0x38]
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x28], bp
mov qword [r11 - 0x2e], rax
mov qword [r11 - 0x26], rax
mov qword [r11 - 0x1e], rax
lea rcx, [r11 - 0x30]
mov dword [rsp + 0x42], eax
mov word [rsp + 0x46], ax
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x4dd28b
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x50], rdi
xor eax, eax
mov qword [rsi + 0x20], 7
lea rbx, [rsi + 8]
lea rdi, [rsp + 0x28]
mov rcx, 0xffffffffffffffff
mov qword [rsi + 0x18], rbp
mov word [rbx], bp
mov rdx, qword [rsi + 0x20]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rdi, [rcx - 1]
jb 0x4dd195
mov rax, qword [rbx]
jmp 0x4dd198
mov rax, rbx
lea rcx, [rsp + 0x28]
cmp rcx, rax
jb 0x4dd1f3
cmp rdx, 8
jb 0x4dd1ad
mov rcx, qword [rbx]
jmp 0x4dd1b0
mov rcx, rbx
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x28]
cmp rcx, rax
jbe 0x4dd1f3
cmp rdx, 8
jb 0x4dd1cb
mov rbx, qword [rbx]
lea r8, [rsp + 0x28]
mov r9, rdi
mov rdx, rsi
sub r8, rbx
mov rcx, rsi
sar r8, 1
call fcn.00546900
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
jmp 0x4dd29a
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x4dd207
call fcn.0053cc80
mov rax, qword [rsi + 0x20]
cmp rax, rdi
jae 0x4dd233
mov r8, qword [rsi + 0x18]
mov rdx, rdi
mov rcx, rsi
call fcn.005118a0
test rdi, rdi
je 0x4dd27f
mov rdx, qword [rsi + 0x20]
cmp rdx, 8
jb 0x4dd254
mov rcx, qword [rbx]
jmp 0x4dd257
test rdi, rdi
jne 0x4dd21f
cmp rax, 8
mov qword [rsi + 0x18], rbp
jb 0x4dd245
mov rbx, qword [rbx]
mov rdi, qword [rsp + 0x50]
mov word [rbx], bp
mov rbx, qword [rsp + 0x68]
jmp 0x4dd29a
mov rcx, rbx
lea rbp, [rdi + rdi]
lea r8, [rsp + 0x28]
add rdx, rdx
mov r9, rbp
call fcn.00568a50
cmp qword [rsi + 0x20], 8
mov qword [rsi + 0x18], rdi
jb 0x4dd279
mov rbx, qword [rbx]
mov word [rbx + rbp], 0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
jmp 0x4dd29a
lea rdx, [0x005cdea0]
mov rcx, rsi
call fcn.004a0d40
mov rbp, qword [rsp + 0x70]
mov rax, rsi
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.00568fb0
add rsp, 0x58
ret