joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d074
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
lea r14, reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
xor edx, edx
mov r8, r14
cmp ecx, dword [r8]
je 0x14000d0ab
inc edx
add r8, 0x10
movsxd rax, edx
cmp rax, 0x17
jb 0x14000d097
movsxd rbx, edx
cmp rbx, 0x17
jae 0x14000d225
mov ebp, 3
mov ecx, ebp
call fcn.14001085c
cmp eax, 1
je 0x14000d1e6
mov ecx, ebp
call fcn.14001085c
test eax, eax
jne 0x14000d0e5
cmp dword [section..data], 1
je 0x14000d1e6
cmp edi, 0xfc
je 0x14000d225
lea rdi, [0x14001acf0]
mov ebp, 0x314
lea r8, [0x140001a88]
mov rcx, rdi
mov edx, ebp
call fcn.14000db8c
test eax, eax
je 0x14000d127
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000ea70
lea rdx, [0x14001ad09]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14001ae0d], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000d178
lea r8, [0x140001aa8]
lea rcx, [0x14001ad09]
mov edx, 0x2fb
call fcn.14000db8c
test eax, eax
je 0x14000d178
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000ea70
lea r8, [0x140001ac0]
mov rdx, rbp
mov rcx, rdi
call fcn.1400107cc
test eax, eax
je 0x14000d1a3
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000ea70
add rbx, rbx
mov rdx, rbp
mov rcx, rdi
mov r8, qword [r14 + rbx*8 + 8]
call fcn.1400107cc
test eax, eax
je 0x14000d1cf
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000ea70
lea rdx, [0x140001ac8]
mov r8d, 0x12010
mov rcx, rdi
call fcn.1400108b4
jmp 0x14000d225
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000d225
add rbx, rbx
or r8, 0xffffffffffffffff
mov rdx, qword [r14 + rbx*8 + 8]
inc r8
cmp byte [rdx + r8], 0
jne 0x14000d207
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14000ea70
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x540
mov rax, qword [0x140019060]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000eaed
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x14000eb0d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x140001af0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14000b710
add rsp, 0x540
pop rbx
ret
Function at 0x1400108b4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140019060]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14d, r8d
mov r12, rdx
mov r15, rcx
call fcn.14000c814
xor esi, esi
cmp qword [0x14001b4c8], rsi
mov rbx, rax
jne 0x1400109c7
lea rcx, [0x140001b58]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140010ad2
lea rdx, [0x140001b70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010ad2
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140001b80]
mov rcx, rdi
mov qword [0x14001b4c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140001b90]
mov rcx, rdi
mov qword [0x14001b4d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140001ba8]
mov rcx, rdi
mov qword [0x14001b4d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov rcx, rax
mov qword [0x14001b4e8], rax
test rax, rax
je 0x1400109be
lea rdx, [0x140001bc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14001b4e0], rax
jmp 0x1400109ce
mov rax, qword [0x14001b4e0]
jmp 0x1400109d5
mov rax, qword [0x14001b4e0]
mov rcx, qword [0x14001b4e8]
cmp rax, rbx
je 0x140010a4f
cmp rcx, rbx
je 0x140010a4f
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14001b4e8]
mov rdi, rax
call sub.KERNEL32.dll_DecodePointer
mov rbp, rax
test rdi, rdi
je 0x140010a4f
test rax, rax
je 0x140010a4f
mov rcx, rdi
call qword [fcn.1400049d0]
call rdi
mov rdi, rax
test rax, rax
je 0x140010a48
mov rcx, rbp
call qword [fcn.1400049d0]
mov r9d, 0xc
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea edx, [r9 - 0xb]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
je 0x140010a48
test byte [rsp + 0x40], 1
jne 0x140010a4f
bts r14d, 0x15
jmp 0x140010aa5
mov rcx, qword [0x14001b4d0]
cmp rcx, rbx
je 0x140010aa5
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
test rax, rax
je 0x140010aa5
mov rcx, rax
call qword [fcn.1400049d0]
call rdi
mov rsi, rax
test rax, rax
je 0x140010aa5
mov rcx, qword [0x14001b4d8]
cmp rcx, rbx
je 0x140010aa5
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
test rax, rax
je 0x140010aa5
mov rcx, rax
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov rsi, rax
mov rcx, qword [0x14001b4c8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
test rax, rax
je 0x140010ad2
mov rcx, rax
call qword [fcn.1400049d0]
mov r9d, r14d
mov r8, r12
mov rdx, r15
mov rcx, rsi
call rbx
jmp 0x140010ad4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b710
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140012538
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x140019060]
xor rax, rbp
mov qword [rbp + 0x68], rax
and dword [rbp], 0
mov eax, dword [rsp]
sub rsp, 0x10
lea r14, [rsp + 0x20]
mov eax, dword [r14]
lea rdx, [rbp + 8]
mov r8d, 0x30
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001263b
mov r15, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x1400125c6
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea edx, [rdi - 1]
lea ecx, [rdx + rbx]
cmp ecx, ebx
jb 0x14001263b
mov eax, edx
not eax
and ecx, eax
je 0x1400125e1
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x14001263b
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovb ecx, eax
and rbx, r14
lea rax, [r15 + rdi]
mov esi, ecx
sub rbx, rsi
cmp rbx, rax
jb 0x14001263b
mov r9d, 4
mov r8d, 0x1000
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001263b
lea r9, [rbp + 4]
mov r8d, 0x104
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001263b
mov eax, 1
jmp 0x14001263d
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.14000b710
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r15
pop r14
pop rbp
ret
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.1400a6000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x180004e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1801286b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1f0]
test al, al
jne 0x180004e9e
mov rcx, qword [rbx + 0x58]
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.18013046c
add rsp, 0x20
pop rbx
ret
Function at 0x180005e20
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea r8, str.RC_Main_Instance_PicHomepage_C24237CB_7988_4196_8FBA_716DD0BC9F5D
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 8], rax
xor esi, esi
test rax, rax
je 0x180005e9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180005f7f
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2f], xmm0
movdqa xmm1, xmmword [0x1801c14e0]
movdqu xmmword [rbp + 0x2f], xmm1
mov word [rbp + 0x1f], si
mov r8d, InitCommonControls
lea rdx, str.RCHomePageFrame
lea rcx, [rbp + 0x1f]
call fcn.1800055c0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x1801c14e0]
movdqu xmmword [rbp + 0xf], xmm1
mov word [rbp - 1], si
mov r8d, 3
lea rdx, [0x1801b1838]
lea rcx, [rbp - 1]
call fcn.1800055c0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x11], xmm1
mov word [rbp - 0x21], si
mov r8d, InitCommonControls
lea rdx, str.2345PicHome.exe
lea rcx, [rbp - 0x21]
call fcn.1800055c0
nop
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x1f]
lea r8, [rbp - 1]
lea rdx, [rbp - 0x21]
call fcn.180006650
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180005f8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005f86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov al, 1
jmp 0x180006046
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], si
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180005fdf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005fda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005fda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], si
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x180006033
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000602e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000602e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp + 0x2f], xmm0
mov word [rbp + 0x1f], si
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18017dee0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180009f50
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, rcx
mov qword [r11 - 0x50], rcx
lea rax, vtable.RCThreadPoolManage.0
mov qword [rcx], rax
xor ebp, ebp
mov dword [rcx + 0xc], ebp
lea rdi, [rcx + 0x10]
mov qword [r11 - 0x48], rdi
mov qword [r11 - 0x60], rdi
mov qword [r11 - 0x68], rdi
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.18017df38
mov qword [rdi], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rdi]
mov qword [rax], rdi
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rsi + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
call fcn.180009ec0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rsi + 0x98]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.18017df38
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov byte [rsi + 8], bpl
lea ecx, [rbp + 0x58]
call fcn.18017df38
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rax + 8], 0xffffffffffffffff
mov byte [rax + 0x10], bpl
mov qword [rax + 0x20], rbp
lea rcx, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rbx + 0x50], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, rdi
call fcn.180009930
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x18000aa60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
mov rax, rsi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18017dee0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180021ce0
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [r11 - 0x50], rcx
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rbp
mov qword [rcx + 0x28], rbp
mov qword [rcx + 0x30], rbp
mov qword [rcx + 0x38], rbp
mov qword [rcx + 0x40], rbp
add rcx, 0x48
call fcn.18001f4d0
nop
lea rdi, [rbx + 0x98]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bp
lea r8d, [rbp + 0x35]
lea rdx, str.RCHistoryFiles_31F06099_91F2_4157_85EC_7A7F8332F587
lea rcx, [rsp + 0x38]
call fcn.1800055c0
nop
mov qword [rdi], rbp
mov word [rdi + 8], bp
cmp qword [rsp + 0x48], rbp
je 0x180021da0
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
jmp 0x180021da3
mov r8, rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x180021dc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180021dc6
mov byte [rdi + 9], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180021e0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bp
lea rcx, [rbx + 0x30]
call fcn.1800212b0
mov rcx, rbx
call fcn.1800212b0
lea rcx, [rbx + 0x18]
call fcn.1800212b0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18017dee0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800228a0
Capabilities:
Enumerate gui resources

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov r14, rcx
cmp qword [rdx + 0x10], 0
je 0x180022a40
lea rcx, [r11 - 0x48]
call fcn.180045a60
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
lea rdx, str..pdf
call fcn.180043680
test al, al
jne 0x18002294c
lea rcx, [r14 + 0x98]
mov rdx, rsi
call fcn.1800d6a40
mov rbx, qword [r14 + 0x30]
cmp rbx, qword [r14 + 0x38]
je 0x1800229dd
lea rcx, [rbx + 0x20]
mov rdx, rsi
call fcn.1800251e0
test eax, eax
je 0x180022943
add rbx, 0x60
cmp rbx, qword [r14 + 0x38]
jne 0x180022924
jmp 0x1800229dd
lea rcx, [r14 + 0x30]
jmp 0x1800229d0
cmp qword [rsi + 0x10], 0
je 0x1800229a6
mov rbx, qword [r14 + 0x48]
mov rdi, qword [r14 + 0x50]
cmp rbx, rdi
je 0x18002298c
lea rcx, [rbx + 0x20]
mov rdx, rsi
call fcn.1800251e0
test eax, eax
je 0x18002297b
add rbx, 0x60
cmp rbx, rdi
jne 0x180022960
jmp 0x18002298c
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x48]
call fcn.180021330
lea rcx, [r14 + 0x48]
call fcn.18001fcb0
lea rdx, [r14 + 0x48]
lea rcx, [0x18001faf0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [r14]
mov rdi, qword [r14 + 8]
cmp rbx, rdi
je 0x1800229dd
lea rcx, [rbx + 0x20]
mov rdx, rsi
call fcn.1800251e0
test eax, eax
je 0x1800229cd
add rbx, 0x60
cmp rbx, rdi
jne 0x1800229b2
jmp 0x1800229dd
mov rcx, r14
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180021330
mov rcx, r14
call fcn.180022790
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180022a2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022a26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022a26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18017dee0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180049210
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea rcx, [r11 - 0x48]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18017dee0
add rsp, 0x68
ret

Function at 0x180049270
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
add rcx, 4
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
mov dword [rbx], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800493d2
cmp dword [rbx + 4], 6
mov qword [rsp + 0x188], rdi
ja 0x1800492d4
jne 0x180049375
cmp dword [rbx + 8], 2
jb 0x180049375
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x180049375
mov edx, 1
mov rcx, rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180049375
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180049375
movups xmm0, xmmword [0x1801b9dd0]
mov rcx, rax
movups xmm1, xmmword [0x1801b9de0]
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm1
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x180049375
lea rcx, [rax + 6]
lea rdx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180049375
cmp word [rdi + 2], ax
jbe 0x180049375
movzx edx, word [rdi + 0x32]
movzx eax, word [rdi + 0x30]
movzx ecx, word [rdi + 0x36]
mov dword [rbx + 4], edx
mov dword [rbx + 8], eax
mov dword [rbx + 0xc], ecx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1800493c6
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call rdi
test eax, eax
jne 0x1800493c6
mov eax, dword [rsp + 0x2c]
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x188]
mov al, 1
jmp 0x1800493d4
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18017dee0
add rsp, 0x170
pop rbx
ret