joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018d24c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x14018d3a8
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018d320
lea r15, [rbp*2]
movabs rax, 0xaaaaaaaaaaaaaaab
add r15, rbp
mov edi, r12d
shl r15, 3
mul r15
shr rdx, 4
cmp rdx, rbp
je 0x14018d2c2
mov edi, 0x80070216
mov ecx, edi
call fcn.14007ac40
mov r15, qword [rsp + 0x70]
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x14018d2d9
mov ecx, edi
call fcn.14007ac40
jmp 0x14018d3ab
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14018d300
mov rcx, rax
mov rbx, rax
test rax, rax
jne 0x14018d307
mov edi, 0x8007000e
jmp 0x14018d2cd
test r14d, r14d
je 0x14018d320
mov rdx, qword [rsi + 8]
movsxd rax, r14d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14018d377
mov edi, ebp
mov rdx, qword [rsi + 8]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x14018d370
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rcx, [0x14003a21c]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018d327
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018d39e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14018d3cb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14018e750
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14018e7a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14018e7cc
cmp dword [rsp + 0x24], 5
jb 0x14018e7bc
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x14018e78b
xor eax, eax
jmp 0x14018e7cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14018e7b8
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140388a40
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x140192df4
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmm0, xmmword [r9]
lea rax, [0x14003a89c]
movaps xmm1, xmmword [rdx]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x20]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x1c], rax
lea r8d, [r9 + 0x40]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x10], rax
lea ecx, [r8 + 0x79]
mov rax, qword [rbp + 0x30]
mov qword [rbp - 8], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x20], 0x80
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rbp + 0x20]
add rsp, 0x80
pop rbp
ret

Function at 0x140192e7c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmm0, xmmword [r9]
lea rax, [0x14003a89c]
movaps xmm1, xmmword [rdx]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x28], rcx
lea rax, [rbp + 0x20]
mov qword [rbp - 0x30], rax
mov ecx, 0x40
lea rax, [rbp - 0x60]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x1c], rax
mov r8d, ecx
lea rax, [rbp - 0x50]
mov dword [rbp - 0x20], ecx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x30]
lea ecx, [r8 + 0x79]
mov qword [rbp - 8], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x40], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rbp + 0x20]
add rsp, 0x80
pop rbp
ret

Function at 0x140194860
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
test r8d, r8d
je 0x14019490a
mov r10, qword [rdx]
test r10, r10
je 0x1401948ae
mov rax, qword [0x14045d6d8]
mov r9d, dword [rax]
sub r10, r9
cmp dword [r10 + 8], edi
jne 0x1401948ae
cmp qword [r10], rdi
je 0x1401948ae
mov eax, dword [rdx + 8]
add rax, qword [r10]
jmp 0x14019490c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r14], rax
test rax, rax
je 0x14019490a
movups xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x20], xmm0
test ebp, ebp
je 0x140194905
mov esi, dword [rsp + 0x28]
mov rbx, rdi
mov rcx, qword [rsp + 0x20]
lea edx, [rsi + rdi]
lea r8, [rsp + 0x60]
call fcn.14018d9f4
mov cl, byte [rsp + 0x60]
inc edi
xor cl, byte [rax]
mov rax, qword [r14]
mov byte [rbx + rax], cl
inc rbx
cmp edi, ebp
jb 0x1401948de
mov rax, qword [r14]
jmp 0x14019490c
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140197f5c
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
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
cmp qword [r8], 0
mov r14d, r9d
mov r12, r8
mov sil, dl
mov rdi, rcx
je 0x1401980d4
test r9d, r9d
je 0x1401980d4
mov rbx, qword [rcx + 0x10]
mov r15d, 1
test rbx, rbx
jne 0x140198027
cmp dword [rcx + 8], 2
jne 0x140198022
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14019800d
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.msvcrt.dll_memset
and qword [rbx + 0x90], 0
xor eax, eax
and qword [rbx + 0x98], 0
mov qword [rbx + 0xb0], rax
and qword [rbx + 0xb8], rax
and dword [rbx + 0x58], eax
and dword [rbx + 0x38], eax
mov qword [rbx], rdi
mov dword [rbx + 8], r15d
jmp 0x14019800f
xor ebx, ebx
mov qword [rdi + 0x10], rbx
test rbx, rbx
jne 0x140198027
mov ebx, 0x8007000e
jmp 0x1401980d9
test rbx, rbx
je 0x140198050
mov rcx, rbx
call fcn.1401a5f6c
test sil, sil
mov ebx, eax
mov esi, eax
test eax, eax
jns 0x140198041
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x1401980db
mov ecx, dword [rdi + 4]
sub ecx, r15d
je 0x140198081
cmp ecx, r15d
je 0x140198064
mov ebx, 0xc004d203
jmp 0x1401980d9
movaps xmm0, xmmword [r12]
lea rdx, [rbp - 0x50]
mov r8d, r14d
movdqa xmmword [rbp - 0x50], xmm0
mov rcx, rdi
call fcn.1401a0e18
mov ebx, eax
jmp 0x1401980ce
movaps xmm0, xmmword [r12]
lea rax, [0x14003cc5c]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
xor r9d, r9d
movdqa xmmword [rbp - 0x40], xmm0
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rdi
lea r8d, [r9 + 0x2c]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x40]
test ebx, ebx
jns 0x1401980e5
jmp 0x1401980d9
mov ebx, 0x80070057
mov esi, ebx
mov ecx, esi
call fcn.14007ac40
xor r15b, r15b
mov ecx, ebx
mov byte [rdi], r15b
call fcn.14007ace8
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140198118
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [rbp + 0x77]
mov r10d, r9d
movaps xmm1, xmmword [r8]
mov r9, rcx
mov rcx, qword [rcx + 0x10]
movaps xmm0, xmmword [rax]
test rcx, rcx
je 0x140198195
mov rax, qword [rbp + 0x7f]
mov r8d, r10d
mov qword [rsp + 0x20], rax
test dl, dl
je 0x14019817c
lea r9, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm1
call fcn.1401a6074
mov ebx, eax
test eax, eax
jns 0x140198207
mov ecx, eax
jmp 0x140198202
lea r9, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
call fcn.1401a67c8
jmp 0x14019816b
lea rax, [0x140036adc]
mov qword [rbp + 0x1f], r9
mov qword [rbp + 0xf], rax
xor r9d, r9d
lea rax, [rbp + 0x57]
movdqa xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x17], rax
movzx eax, dl
lea rdx, [rbp + 7]
inc eax
movdqa xmmword [rbp - 9], xmm1
shl eax, 6
lea r8d, [r9 + 0x40]
mov dword [rbp + 0x27], eax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 9]
mov qword [rbp + 7], 3
mov qword [rbp + 0x2b], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x37], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x33], r10d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x57]
test ebx, ebx
jns 0x140198207
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x140199a2c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.1401999dc
test eax, eax
js 0x140199aba
movzx eax, word [rdi + 6]
mov word [rbx], ax
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x18]
mov r9d, esi
mov r8, rdi
xor edx, edx
call fcn.140199d70
test eax, eax
js 0x140199aba
mov qword [rsp + 0x20], 3
lea rax, [0x14003cf9c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
xor r9d, r9d
lea r8d, [r9 + 0x28]
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rsp + 0x78]
jmp 0x140199aba
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140305f10
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 - 0x27]
sub rsp, 0x90
mov r14, qword [rbp + 0x77]
mov r12, r9
and qword [rbp - 0x21], 0
mov r15d, r8d
and dword [rbp + 0x67], 0
mov rdi, rdx
and dword [rbp - 0x39], 0
mov rsi, rcx
cmp dword [r14], r8d
jae 0x140305f5a
mov edi, 0x80049e19
jmp 0x1403060d0
mov rax, qword [rdx]
and qword [rbp - 0x31], 0
and qword [rbp - 0x29], 0
and qword [rbp - 0x19], 0
mov rbx, qword [rax]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x29]
lea rdx, [0x140424f00]
mov rcx, rdi
call rax
test eax, eax
je 0x140305f9c
mov edi, 0x80049e2f
jmp 0x14030602a
mov rdi, qword [rbp - 0x29]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x30]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea rdx, [rbp - 0x31]
mov rcx, rdi
call rax
mov edi, eax
test eax, eax
js 0x14030602a
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x19]
mov rcx, rsi
call fcn.14030568c
mov edi, eax
test eax, eax
js 0x14030602a
lea rax, [0x14004c01c]
mov qword [rbp - 0x11], 3
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
lea rax, [rbp + 0x77]
mov qword [rbp + 7], rsi
mov qword [rbp - 1], rax
xor r9d, r9d
mov rax, qword [rbp - 0x29]
mov ecx, 0xb9
mov qword [rbp + 0xf], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x17], rax
lea r8d, [r9 + 0x38]
lea rax, [rbp - 0x21]
mov qword [rbp + 0x1f], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x77]
mov rsi, qword [rbp - 0x31]
test rsi, rsi
je 0x140306053
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
and qword [rbp - 0x31], 0
mov rsi, qword [rbp - 0x29]
test rsi, rsi
je 0x140306077
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
test edi, edi
js 0x1403060d0
mov eax, dword [r14]
mov r8d, r15d
mov r9, qword [rbp + 0x7f]
mov rdx, r12
mov rcx, qword [rbp - 0x21]
mov dword [rbp + 0x67], eax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
call fcn.1401701cc
mov edi, eax
test eax, eax
js 0x1403060d0
mov eax, dword [r14]
lea r9, [rbp - 0x39]
mov r8d, dword [rbp + 0x67]
sub eax, r8d
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x21]
mov dword [rbp - 0x39], eax
call fcn.140170560
mov edi, eax
test eax, eax
js 0x1403060d0
mov ecx, dword [rbp + 0x67]
add ecx, dword [rbp - 0x39]
mov dword [r14], ecx
mov rcx, qword [rbp - 0x21]
call fcn.14016f53c
lea r11, [rsp + 0x90]
mov eax, edi
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 0x2fc4dc410
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dce12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc501108]
test eax, eax
je 0x2fc4dceaa
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc501110]
mov qword [rbp - 8], rax
jmp 0x2fc4dce8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dce82
cmp qword [rbp - 0x10], 0
je 0x2fc4dce82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dce48
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dceab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dcfb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dcfd8
mov eax, 0
jmp 0x2fc4dd026
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dd001
mov eax, 0
jmp 0x2fc4dd026
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dd021
mov eax, 0
jmp 0x2fc4dd026
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dd02c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dd0aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dd0a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dd0a1
mov rax, qword [rbp - 8]
jmp 0x2fc4dd0bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dd074
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18076e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18076e1df
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 0x18076e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18076e06f
add dl, dl
jne 0x18076e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18076e0f6
xor eax, eax
add dl, dl
jne 0x18076e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18076e1ad
add dl, dl
jne 0x18076e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18076e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18076e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18076e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18076e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18076e07e
mov eax, 1
add dl, dl
jne 0x18076e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18076e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18076e0fb
sub eax, ebx
mov ebx, 1
jne 0x18076e14c
mov ecx, 1
add dl, dl
jne 0x18076e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18076e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18076e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18076e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18076e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18076e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18076e15d
cmp eax, 0x7d00
jae 0x18076e19b
cmp eax, 0x500
jb 0x18076e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18076e07e
cmp eax, 0x7f
ja 0x18076e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18076e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18076e1d2
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 0x18076e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d8600
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d9002
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fd108]
test eax, eax
je 0x2fc4d909a
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fd110]
mov qword [rbp - 8], rax
jmp 0x2fc4d907e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d9072
cmp qword [rbp - 0x10], 0
je 0x2fc4d9072
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d9038
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d909b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d91a0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d91c8
mov eax, 0
jmp 0x2fc4d9216
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d91f1
mov eax, 0
jmp 0x2fc4d9216
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d9211
mov eax, 0
jmp 0x2fc4d9216
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x180001640
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x18001a070]
xor rax, rsp
mov qword [rsp + 0x860], rax
xor esi, esi
lea rax, vtable.CDeskBand.2.0
mov rbx, rcx
mov qword [rcx], rax
lea rax, vtable.CDeskBand.1.0
mov dword [rcx + 0x20], 1
mov qword [rcx + 8], rax
lea rax, vtable.CDeskBand.3.0
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x10], rax
lea rax, vtable.CDeskBand.0
mov qword [rcx + 0x30], rsi
mov dword [rcx + 0x3c], esi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x68], rsi
mov dword [rcx + 0x70], esi
mov qword [rcx + 0x78], rsi
mov dword [rcx + 0x88], 0x20
mov dword [rcx + 0x8c], 0x20
mov dword [rcx + 0x90], 0x20
lea rcx, [0x180016208]
call fcn.1800032f0
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x60], si
call fcn.1800059d0
lea rax, [rsp + 0x38]
lea rdx, str.SoftwarePCTechHotline
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x3ff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001774
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.REPRESENTATIVE_ICON
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180001774
lea rcx, [rsp + 0x60]
call fcn.180003c10
mov dword [rbx + 0xa0], eax
dec eax
cmp eax, 7
jbe 0x18000177e
mov dword [rbx + 0xa0], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lock inc dword [0x18001c81c]
xor edx, edx
mov rcx, rbx
mov qword [rbx + 0x54], rsi
mov qword [rbx + 0x98], rsi
call fcn.1800012d0
mov rcx, qword [0x18001c830]
mov rdx, rax
call qword [sym.imp.USER32.dll_LoadBitmapW]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov rdi, rax
xor eax, eax
lea edx, [rax + 0x20]
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [rsp + 0x44]
cmp dword [rbx + 0x8c], ecx
je 0x1800017f1
mov dword [rbx + 0x8c], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, [0x180016248]
call fcn.1800032f0
mov rax, rbx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.180003ab0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret