joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019e00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140019e45
mov r9d, dword [rsp + 0x30]
lea r8, [0x1400306f0]
mov edx, 0x5e
lea rcx, [0x140030720]
call fcn.1400067f0
jmp 0x140019f69
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
jne 0x140019ead
mov rax, qword [rsp + 0x50]
add rax, 0x40
mov qword [rsp + 0x20], rax
lea r9, [0x14003f580]
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
xor edx, edx
lea rcx, [0x14003f570]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140019ead
mov r9d, dword [rsp + 0x30]
lea r8, [0x1400307a0]
mov edx, 0x65
lea rcx, [0x1400307d0]
call fcn.1400067f0
jmp 0x140019f69
mov dword [rsp + 0x34], 0
jmp 0x140019ec2
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 3
jge 0x140019eed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
movsxd rcx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 8], r11
jmp 0x140019eb7
mov dword [rsp + 0x38], 0
jmp 0x140019f02
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jge 0x140019f2d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
movsxd rcx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 0x28], r11
jmp 0x140019ef7
mov rax, qword [rsp + 0x50]
add rax, 0x38
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x140019a70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x20], r11
mov al, 1
jmp 0x140019fae
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
je 0x140019f9a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rax]
call qword [rax + 0x10]
mov r11, qword [rsp + 0x50]
mov qword [r11 + 0x40], 0
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x140030850]
call fcn.1400067f0
xor al, al
add rsp, 0x48
ret

Function at 0x14001a960
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.140019e00
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x50]
call fcn.14001a060
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14001a9c7
mov rax, qword [rsp + 0x50]
add rax, 0xa8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x14001a150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0xa0], r11
mov al, byte [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14001c9d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x498], 0
je 0x14001cac4
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x498]
call fcn.140020a20
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x498]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001ca48
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x20]
mov qword [rsp + 0x50], rax
jmp 0x14001ca51
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x498], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARERealtekAudio
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001cac4
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SensorAPI_uninit_HRESULT_
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x68
ret
Function at 0x140020480
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
mov ecx, 0x70
call fcn.140008048
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400204cd
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call fcn.140020b80
mov qword [rsp + 0x68], rax
jmp 0x1400204d6
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x498], rax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x498]
call fcn.140020d70
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
lea rcx, str.m_pSensorManagerEvents__Initialize___08x___n
call fcn.140001000
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140031e68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002057f
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InitSensorAPI_HRESULT_
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
jl 0x1400205f8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140031ec8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400205f1
mov dword [rsp + 0x3c], 0x752f
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140031d78]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140020658
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x498]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002063a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x140020643
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x498], 0
xor eax, eax
add rsp, 0x88
ret
Function at 0x140021130
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARERealtekRealtekEffectsAP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400211d2
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AutoRotationState
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SensorIndex
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400211e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x11
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400212c3
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Enable
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.LastOrientation
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret

Function at 0x1400212e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x11
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlPriorityControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002137d
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.ConvertibleSlateMode
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x140021390
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x11
xor r8d, r8d
lea rdx, str.SOFTWARELenovoMultiMode
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021459
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.CameraAudio
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14002144a
cmp dword [rsp + 0x38], 0
jne 0x14002143a
mov dword [rsp + 0x50], 1
jmp 0x140021442
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x68
ret

Function at 0x140022680
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x1400226c8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x140022420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x18], r11
mov eax, 1
add rsp, 0x48
ret
Function at 0x1400231c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
cmp qword [rsp + 0x98], 0
je 0x140023367
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rcx + 0x7a0], rax
mov dword [rsp + 0x30], 0
jmp 0x14002320b
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x3c
jge 0x1400232e3
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
mov qword [rax + rcx + 8], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdx, rax
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
mov qword [rax + rcx], rdx
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
cmp qword [rax + rcx], 0
je 0x1400232de
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
lea rdi, [rsp + 0x50]
mov rax, qword [rsp + 0x90]
lea rsi, [rax + rcx]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call fcn.140022ca0
lea rdi, [rsp + 0x60]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
lea rsi, [rsp + 0x60]
lea rdi, [rax + rcx + 0x10]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x140023200
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x788], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x780], rdx
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x780], 0
je 0x140023367
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
lea r8, [0x140022f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x7a8], rdx
mov rax, qword [rsp + 0x90]
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140023bb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rcx, qword [rsp + 0x40]
call fcn.1400237e0
test eax, eax
jne 0x140023bdf
jmp 0x140023c63
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x14], 0
jne 0x140023c63
lea rcx, str.CMMDeviceHandler::Start_n
call fcn.140001000
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0x14], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], r11
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x20]
call fcn.140029010
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140023b80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r11
add rsp, 0x38
ret
Function at 0x1400284b0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp dword [rsp + 0x68], 0
je 0x1400284d2
lea rax, [0x140038588]
mov qword [rsp + 0x40], rax
jmp 0x1400284de
lea rax, str.REALTEK
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, [0x14003a610]
lea rcx, str.__s__CService::Initialize_for__s_n
call fcn.140001000
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x580], eax
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
mov r8d, 1
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x580]
call fcn.14001fca0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 2
jne 0x140028547
jmp 0x1400286be
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], 1
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001b190
test eax, eax
je 0x1400286b4
mov rcx, qword [rsp + 0x60]
call fcn.1400267e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400285ab
lea r9, [0x14003a678]
mov r8d, 0x38f
lea rdx, [0x14003a698]
lea rcx, [0x14003a6e0]
call fcn.140001000
mov eax, 2
jmp 0x1400286c0
mov rcx, qword [rsp + 0x60]
call fcn.140026710
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400285ea
lea r9, [0x14003a748]
mov r8d, 0x393
lea rdx, [0x14003a768]
lea rcx, [0x14003a790]
call fcn.140001000
mov eax, 3
jmp 0x1400286c0
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001b3b0
test eax, eax
je 0x14002864f
mov rcx, qword [rsp + 0x60]
call fcn.140026640
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14002863e
lea r9, [0x14003a7f8]
mov r8d, 0x399
lea rdx, [0x14003a818]
lea rcx, [0x14003a850]
call fcn.140001000
mov eax, 4
jmp 0x1400286c0
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001d2f0
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001ba10
mov r11d, eax
mov rax, qword [rsp + 0x60]
mov dword [rax], r11d
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0
je 0x1400286b4
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x1400272d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x578], r11
mov rcx, qword [rsp + 0x60]
call fcn.140027330
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400292e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x10068
call fcn.14002a860
sub rsp, rax
mov qword [rsp + 0x10050], 0xfffffffffffffffe
mov rax, qword [0x1400450e0]
xor rax, rsp
mov qword [rsp + 0x10058], rax
mov dword [rsp + 0x10048], 0
lea rdx, [0x140035184]
lea rcx, [rsp + 0x10040]
call fcn.140001920
nop
mov dword [rsp + 0x30], 0x26
mov r8d, 0xfffe
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140007970
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1400293b9
lea rcx, [rsp + 0x40]
call fcn.1400078d4
movzx eax, word [rsp + rax*2 + 0x3e]
cmp eax, 0x5c
jne 0x140029393
lea rcx, [rsp + 0x40]
call fcn.1400078d4
mov r11, rax
xor eax, eax
mov word [rsp + r11*2 + 0x3e], ax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x10040]
call fcn.1400019a0
mov rdx, qword [rsp + 0x10040]
lea rcx, str.GetProgramFilesPath___s_n
call fcn.140001000
lea rdx, [rsp + 0x10040]
mov rcx, qword [rsp + 0x10070]
call fcn.1400018f0
mov eax, dword [rsp + 0x10048]
or eax, 1
mov dword [rsp + 0x10048], eax
lea rcx, [rsp + 0x10040]
call fcn.140001980
mov rax, qword [rsp + 0x10070]
mov rcx, qword [rsp + 0x10058]
xor rcx, rsp
call fcn.140006e60
add rsp, 0x10068
ret
Function at 0x14002934c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c944
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c944
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f258
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a278
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d620
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a278
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b00c
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c944
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018730
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c944
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400014a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
lea r8, [0x140001410]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x249f0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400014d4

Function at 0x140002014
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000205e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000205e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000205e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000205e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000205e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002060
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400e12e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400e12f0]
mov dword [rax], 1
mov rax, qword [0x1400e1300]
mov dword [rax], 1
mov rax, qword [0x1400e1290]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400e12d0]
mov dword [0x1400f200c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400e13b0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400e1390]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400e1240]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a