joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021e70
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14005b0e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021ef1
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.MHz
lea rax, [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140021f08
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140029990
add rsp, 0x58
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140029990
add rsp, 0x58
ret
Function at 0x140021f30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
mov rax, qword [0x14005b0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edi, edi
lea esi, [rbx + 1]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
movsd xmm7, qword [0x140055f20]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
xor eax, eax
movabs r13, 0x8000000000000000
movsd xmm6, qword [0x140055f38]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x28]
mulsd xmm1, xmm7
divsd xmm1, xmm0
comisd xmm1, xmm6
jb 0x140021fbd
subsd xmm1, xmm6
comisd xmm1, xmm6
jae 0x140021fbd
mov rax, r13
cvttsd2si r14, xmm1
lea rcx, [rsp + 0x28]
add r14, rax
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [rsp + 0x28]
xor eax, eax
cvtsi2sd xmm0, qword [rsp + 0x20]
mulsd xmm1, xmm7
divsd xmm1, xmm0
comisd xmm1, xmm6
jb 0x14002200c
subsd xmm1, xmm6
comisd xmm1, xmm6
jae 0x14002200c
mov rax, r13
cvttsd2si r10, xmm1
add r10, rax
mov rax, r10
sub rax, r14
cmp rax, 0x2af8
jae 0x14002213a
mov qword [rsp + 0x90], rbp
mov rbp, qword [rsp + 0x20]
mov qword [rsp + 0x98], r12
lea r12, [0x14005b1f0]
mov qword [rsp + 0xa0], r15
lea r15, vtable.type_info.0
xor edx, edx
test ebx, ebx
jle 0x14002208c
mov r9d, ebx
nop word [rax + rax]
mov r8d, 0x10000
nop word [rax + rax]
mov rcx, r12
mov eax, dword [rcx]
add edx, eax
add rcx, 4
cmp rcx, r15
jl 0x140022073
sub r8, 1
jne 0x140022070
sub r9, 1
jne 0x140022060
add edi, edx
test esi, esi
je 0x140022096
xor esi, esi
jmp 0x1400220bd
lea ecx, [rbx + rbx]
mov rdx, r10
sub rdx, rbp
cmp rdx, 0x3e8
cmovae ecx, ebx
mov ebx, ecx
cmp rdx, 0x2710
jbe 0x1400220bd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
lea rcx, [rsp + 0x28]
mov rbp, r10
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [rsp + 0x28]
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x20]
mulsd xmm1, xmm7
divsd xmm1, xmm0
comisd xmm1, xmm6
jb 0x140022107
subsd xmm1, xmm6
comisd xmm1, xmm6
jae 0x140022107
mov rcx, r13
cvttsd2si r10, xmm1
add r10, rcx
mov rcx, r10
sub rcx, r14
cmp rcx, 0x2af8
jb 0x140022051
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140029990
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x140022a50
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14005b0e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebp, ebp
mov dword [rsp + 0x40], edx
mov qword [r11 - 0x40], rbp
mov esi, edx
mov rbx, rcx
test rcx, rcx
je 0x140022c10
mov rcx, qword [rcx + 0x230]
lea rax, [r11 - 0x48]
mov qword [r11 - 0x60], rbp
lea r9d, [rbp + 4]
mov qword [r11 - 0x68], rax
lea r8, [r11 - 0x58]
lea rax, [r11 - 0x40]
mov dword [rsp + 0x28], 8
mov edx, 0x9c402084
mov qword [r11 - 0x78], rax
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x140022c10
mov qword [rsp + 0xb0], r14
lea rcx, [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm6
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
movsd xmm6, qword [0x140055f38]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x48]
xor eax, eax
movabs r14, 0x8000000000000000
xorps xmm0, xmm0
mulsd xmm1, qword [0x140055f20]
cvtsi2sd xmm0, qword [rsp + 0x50]
divsd xmm1, xmm0
comisd xmm1, xmm6
jb 0x140022b30
subsd xmm1, xmm6
comisd xmm1, xmm6
jae 0x140022b30
mov rax, r14
cvttsd2si rdi, xmm1
add rdi, rax
call fcn.140021f30
mov rcx, qword [rbx + 0x230]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 4
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 8
mov edx, 0x9c402084
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rbp
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x48]
test eax, eax
cmovne rbx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [rsp + 0x48]
xor eax, eax
cvtsi2sd xmm0, qword [rsp + 0x50]
mulsd xmm1, qword [0x140055f20]
divsd xmm1, xmm0
comisd xmm1, xmm6
jb 0x140022bdc
subsd xmm1, xmm6
comisd xmm1, xmm6
jae 0x140022bdc
mov rax, r14
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xb0]
cvttsd2si rcx, xmm1
add rcx, rax
cmp rdi, rcx
jae 0x140022c10
mov rax, qword [rsp + 0x58]
cmp rax, rbx
ja 0x140022c10
sub rbx, rax
sub rcx, rdi
mov rax, rbx
xor edx, edx
div rcx
jmp 0x140022c15
mov eax, 0x3fffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140029990
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140023190
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x248
mov rax, qword [0x14005b0e8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [0x1400386b8]
lea r8, str.ryzenadjx64.dll
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [0x1400386c0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov qword [0x1417fde30], rax
test rax, rax
je 0x1400233a6
lea rdx, str.init_ryzenadj
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.cleanup_ryzenadj
mov qword [0x1417fde40], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.init_table
mov qword [0x1417fde48], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.get_table_ver
mov qword [0x1417fde50], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.get_table_size
mov qword [0x1417fde58], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.get_table_values
mov qword [0x1417fde60], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.refresh_table
mov qword [0x1417fde68], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.get_stapm_limit
mov qword [0x1417fde70], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.get_fast_limit
mov qword [0x1417fde78], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde30]
lea rdx, str.get_slow_limit
mov qword [0x1417fde80], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1417fde40]
mov qword [0x1417fde88], rax
test rcx, rcx
je 0x1400233a6
cmp qword [0x1417fde48], 0
je 0x1400233a6
cmp qword [0x1417fde50], 0
je 0x1400233a6
cmp qword [0x1417fde58], 0
je 0x1400233a6
cmp qword [0x1417fde60], 0
je 0x1400233a6
cmp qword [0x1417fde68], 0
je 0x1400233a6
cmp qword [0x1417fde70], 0
je 0x1400233a6
cmp qword [0x1417fde78], 0
je 0x1400233a6
cmp qword [0x1417fde80], 0
je 0x1400233a6
test rax, rax
je 0x1400233a6
call rcx
mov qword [0x1417fde38], rax
test rax, rax
je 0x1400233a6
mov rcx, rax
call qword [0x1417fde50]
test eax, eax
jne 0x1400233a6
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140029990
add rsp, 0x248
ret
mov rax, qword [0x1417fde38]
test rax, rax
je 0x1400233bb
mov rcx, rax
call qword [0x1417fde48]
mov rax, qword [0x1417fde30]
test rax, rax
je 0x1400233d0
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
xorps xmm0, xmm0
xor al, al
movups xmmword [0x1417fde30], xmm0
movups xmmword [0x1417fde40], xmm0
movups xmmword [0x1417fde50], xmm0
movups xmmword [0x1417fde60], xmm0
movups xmmword [0x1417fde70], xmm0
movups xmmword [0x1417fde80], xmm0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140029990
add rsp, 0x248
ret
Function at 0x14002a0c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x14002a10e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002a10e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002a10e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002a10e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002a10e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002a110
xor al, al
add rsp, 0x28
ret

Function at 0x14002a330
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x14002a388
call fcn.14002b050
add rax, 0x138
jmp 0x14002a396
mov ecx, 1
call fcn.140032550
add rax, 0x10
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rbx + 8]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14002a3d2
call fcn.14002b050
add rax, 0x128
jmp 0x14002a3e0
mov ecx, 1
call fcn.140032550
add rax, 0x18
mov qword [rax], rdi
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14002a41a
call fcn.14002b050
add rax, 0x130
jmp 0x14002a428
mov ecx, 1
call fcn.140032550
add rax, 0x20
mov ecx, 1
mov qword [rax], rdi
call fcn.140032550
mov rcx, rax
mov byte [rsp + 0x38], 1
mov eax, dword [rsp + 0x80]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov r9, rbx
mov dword [rsp + 0x28], edi
mov r8, rbp
mov dword [rcx + 0x2c], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14002c5f0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14002a49d
call fcn.14002b050
add rax, 0x138
jmp 0x14002a4ab
mov ecx, 1
call fcn.140032550
add rax, 0x10
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov qword [rax], rdi
mov eax, 1
mov rdi, qword [rsp + 0x68]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x14002a4e0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, rcx
mov dword [rax - 0x28], 0
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], r8
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x14002a53b
call fcn.14002b050
mov r8, qword [rax + 0xe0]
jmp 0x14002a547
call fcn.14002b050
mov r8, qword [rax + 0xd8]
lea rdx, [rsp + 0x48]
mov ecx, dword [rbx]
call r8
mov dword [rsp + 0x40], 0
jmp 0x14002a55b
mov eax, dword [rsp + 0x40]
add rsp, 0x60
pop rbx
ret
Function at 0x14002aee0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, qword [r9 + 8]
xor r14d, r14d
mov qword [rax - 0x34], r14
mov rdi, r9
mov qword [rax - 0x2c], r14
mov rbp, r8
mov dword [rax - 0x24], r14d
mov rsi, rcx
mov byte [rax - 0x38], 0
mov qword [rax + 8], rdx
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x14002af47
call fcn.14002b050
add rax, 0x128
jmp 0x14002af55
mov ecx, 1
call fcn.140032550
add rax, 0x18
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rbx, qword [rsi + 0x38]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14002af8c
call fcn.14002b050
add rax, 0x130
jmp 0x14002af9a
mov ecx, 1
call fcn.140032550
add rax, 0x20
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x14002afce
call fcn.14002b050
mov r8, qword [rax + 0x128]
jmp 0x14002afdc
mov ecx, 1
call fcn.140032550
mov r8, qword [rax + 0x18]
mov rdx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x38]
mov byte [rsp + 0x20], r14b
mov r9d, dword [rdx]
lea rdx, [rsp + 0x40]
mov ecx, dword [rax]
add rcx, r8
mov r8, qword [rdi + 8]
call fcn.14002a570
mov byte [rsp + 0x38], r14b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x28], r14d
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14002c5f0
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 0x14002c3a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword gs:[0x30]
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov rbx, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x14002c3f8
call fcn.14002b050
mov ecx, dword [rax + 0x2c0]
jmp 0x14002c405
mov ecx, 1
call fcn.140032550
mov ecx, dword [rax + 0x28]
mov rdi, qword [rsp + 0xa0]
test ecx, ecx
jne 0x14002c441
mov eax, dword [rbx]
cmp eax, 0xe06d7363
je 0x14002c441
cmp eax, 0x80000029
jne 0x14002c431
cmp dword [rbx + 0x18], 0xf
jne 0x14002c438
cmp qword [rbx + 0x60], 0x19930520
je 0x14002c441
cmp eax, 0x80000026
je 0x14002c441
test byte [rdi], 0x20
jne 0x14002c5ce
mov r8d, dword [rbx + 4]
test r8b, 0x66
je 0x14002c507
movsxd rax, dword [rdi + 8]
test eax, eax
je 0x14002c5ce
mov rdx, rax
lea r9, [0x140000000]
add rdx, qword [rsi + 8]
movzx ecx, byte [rdx]
and ecx, 0xf
movsx rax, byte [rcx + r9 + 0x38bf0]
movzx ecx, byte [rcx + r9 + 0x38c00]
sub rdx, rax
mov eax, dword [rdx - 4]
shr eax, cl
test eax, eax
je 0x14002c5ce
cmp dword [rsp + 0xa8], 0
jne 0x14002c5ce
test r8b, 0x20
je 0x14002c4f4
mov ecx, dword [rbx]
cmp ecx, 0x80000026
jne 0x14002c4d4
mov r8, qword [rsi + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.14002d6e0
mov r9d, eax
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14002cdd0
jmp 0x14002c5ce
cmp ecx, 0x80000029
jne 0x14002c4f4
mov r9d, dword [rbx + 0x38]
mov r8, rdi
mov rcx, qword [rbx + 0x28]
mov rdx, rsi
call fcn.14002cdd0
jmp 0x14002c5ce
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14002a6b0
jmp 0x14002c5ce
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.14002c660
cmp dword [rsp + 0x40], 0
jne 0x14002c528
test byte [rdi], 0x40
je 0x14002c5ce
cmp dword [rbx], 0xe06d7363
jne 0x14002c594
cmp dword [rbx + 0x18], 3
jb 0x14002c594
cmp dword [rbx + 0x20], 0x19930522
jbe 0x14002c594
mov rax, qword [rbx + 0x30]
cmp dword [rax + 8], 0
je 0x14002c594
call fcn.14002add0
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rcx + 8]
add rax, rdx
je 0x14002c594
movzx ecx, byte [rsp + 0xb8]
mov r9, rsi
mov dword [rsp + 0x38], ecx
mov r8, r14
mov rcx, qword [rsp + 0xb0]
mov rdx, rbp
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call rax
jmp 0x14002c5d3
mov rax, qword [rsp + 0xb0]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov r8, r14
mov eax, dword [rsp + 0xa8]
mov rdx, rbp
mov dword [rsp + 0x30], eax
mov rcx, rbx
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
call fcn.14002b660
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14002dd00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x14002dd62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002dd62
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14002dd62
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14002dd62
cmp dword [rdx + 0x84], 0xe
jbe 0x14002dd62
cmp dword [rdx + 0xf8], 0
je 0x14002dd62
mov ecx, ebx
call fcn.14002dbc0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14005b930]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14002da40
cmp dword [rsp + 0x60], 0
jne 0x14002dda5
mov ecx, ebx
call fcn.14002db70
int3
add rsp, 0x40
pop rbx
ret

Function at 0x14002ddf0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x14002de4c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002de4c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002de4c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002de4c
cmp dword [rcx + 0x84], 0xe
jbe 0x14002de4c
cmp dword [rcx + 0xf8], 0
je 0x14002de4c
mov ecx, ebx
call fcn.14002dbc0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14005b930]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14002da40
cmp dword [rsp + 0x60], 0
jne 0x14002de8f
mov ecx, ebx
call fcn.14002db70
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140032680
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14005b0e8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.DLL_IsProcessorFeaturePresent]
test eax, eax
je 0x1400326bc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140029f60
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.DLL_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_RtlLookupFunctionEntry]
test rax, rax
je 0x140032778
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
test eax, eax
jne 0x1400327de
test ebx, ebx
jne 0x1400327de
lea ecx, [rax + 2]
call fcn.140029f60
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140029990
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14000631c
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 [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call fcn.14019f000
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
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.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
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 0x140006496
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.1400067b0
add rsp, 0x28
jmp 0x14000631c