joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d540
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003d59c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 8]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x10]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003d58a
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003d5b1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003d5c8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0
add rsp, 0x20
pop rbx
ret

Function at 0x1400433f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
xor r12d, r12d
mov rbx, qword [rcx + 0x10]
test rdx, rdx
je 0x14004356d
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140043568
lea r8, [0x140188e78]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140043563
mov rdx, rax
mov rcx, qword [rbx + 0x198]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x14004355e
mov rdx, rdi
mov rcx, qword [rbx + 0x198]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140043559
lea ecx, [r12 + 0x50]
call fcn.1401287b0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400434aa
mov edx, 0x400
mov rcx, rax
call fcn.14013de98
mov rsi, rax
jmp 0x1400434ad
mov rsi, r12
test rsi, rsi
je 0x140043554
xor r9d, r9d
mov r8d, ebp
mov rdx, rbx
mov rcx, rsi
call fcn.14013dee4
mov ecx, 0x78
call fcn.1401287b0
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140043523
lea rax, method..44.virtual_0
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], 0x11
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
mov qword [rdi + 0x30], r12
mov qword [rdi + 0x38], 0xa
mov edx, 0xa
lea rcx, [rdi + 0x40]
call fcn.14013a144
lea r11, method..12.virtual_0
mov qword [rdi + 0x40], r11
jmp 0x140043526
mov rdi, r12
mov dword [rdi], r12d
mov dword [rdi + 4], r12d
mov rdx, rdi
mov rcx, rsi
call fcn.14000cb10
mov rcx, rsi
call fcn.14013df28
mov r11, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
jmp 0x140043570
mov rax, r12
jmp 0x140043570
mov rax, r12
jmp 0x140043570
mov rax, r12
jmp 0x140043570
mov rax, r12
jmp 0x140043570
mov rax, r12
jmp 0x140043570
mov rax, r12
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x14004c170
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rsi, rcx
mov word [rcx + 0xf0], 0x409
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ebp, 0x404
xor ebx, ebx
test ax, ax
movzx r11d, ax
lea rdi, [0x1401f1388]
lea r13, str.Arabic
lea r14d, [rbp + 0x12]
mov r12d, 0x804
je 0x14004c26f
movzx r9d, ax
mov r8w, 0x409
mov ecx, ebx
and r9w, 0x3ff
mov rdx, rdi
movzx eax, word [rdx]
and ax, 0x3ff
cmp r9w, ax
je 0x14004c1fb
add ecx, 1
add rdx, 0x10
cmp ecx, 0x21
jb 0x14004c1e0
jmp 0x14004c208
movsxd rax, ecx
shl rax, 4
mov r8w, word [rax + r13 + 8]
mov ax, r11w
and eax, 0x3ff
cmp eax, 4
je 0x14004c253
cmp eax, 0x16
je 0x14004c23a
cmp eax, 0x1a
jne 0x14004c267
shr r11w, 0xa
cmp r11w, 2
je 0x14004c233
cmp r11w, 9
jne 0x14004c267
mov r8w, 0x81a
jmp 0x14004c267
and r11w, 0xfc00
mov r8d, 0x816
cmp r11w, 0x400
cmove r8w, r14w
jmp 0x14004c267
and r11w, 0xfc00
mov r8d, ebp
cmp r11w, 0x800
cmove r8w, r12w
mov word [rsi + 0xf0], r8w
movzx eax, word [rsi + 0xf0]
lea r8, str.Language
lea rdx, str.General
lea rcx, [0x140206e90]
xor r9d, r9d
mov dword [rsi + 8], 1
mov word [rsi + 0xc], ax
call fcn.1401386a8
test ax, ax
mov r11d, eax
je 0x14004c351
movzx r9d, ax
mov r8w, 0x409
mov edx, ebx
and r9w, 0x3ff
mov rax, rdi
nop
movzx ecx, word [rax]
and cx, 0x3ff
cmp r9w, cx
je 0x14004c2dc
add edx, 1
add rax, 0x10
cmp edx, 0x21
jb 0x14004c2c0
jmp 0x14004c2e9
movsxd rax, edx
shl rax, 4
mov r8w, word [rax + r13 + 8]
mov ax, r11w
and eax, 0x3ff
cmp eax, 4
je 0x14004c334
cmp eax, 0x16
je 0x14004c31b
cmp eax, 0x1a
jne 0x14004c349
shr r11w, 0xa
cmp r11w, 2
je 0x14004c314
cmp r11w, 9
jne 0x14004c349
mov r8w, 0x81a
jmp 0x14004c349
and r11w, 0xfc00
mov r8d, 0x816
cmp r11w, 0x400
cmove r8w, r14w
jmp 0x14004c349
and r11w, 0xfc00
cmp r11w, 0x800
cmove bp, r12w
mov r8w, bp
mov word [rsi + 0xc], r8w
mov dword [rsi + 8], ebx
cmp dword [rsi + 8], ebx
je 0x14004c362
mov dword [rsi + 0xf4], 0x20
jmp 0x14004c37f
movzx eax, word [rsi + 0xc]
cmp word [rdi], ax
je 0x14004c379
add ebx, 1
add rdi, 0x10
cmp ebx, 0x21
jb 0x14004c366
jmp 0x14004c37f
mov dword [rsi + 0xf4], ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14004d8d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov edx, 6
add ax, 1
mov rcx, rbp
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
mov r12, rax
je 0x14004da32
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004da32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x14004da32
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x14004d976
nop
cmp rdi, r11
jae 0x14004da32
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x14004d960
cmp rdi, r11
jae 0x14004da32
movzx eax, word [rdi]
test ax, ax
je 0x14004da32
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x14004d9ac
mov edx, ebx
mov rcx, rsi
call fcn.140002cd0
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x14004d9c9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.140144ee0
test eax, eax
je 0x14004da08
cmp eax, 0xc
je 0x14004da02
cmp eax, 0x16
je 0x14004d9fc
cmp eax, 0x22
je 0x14004d9fc
cmp eax, 0x50
je 0x14004da08
call fcn.140129ec4
int3
call fcn.140129ec4
int3
call fcn.140129e7c
int3
test ebx, ebx
js 0x14004da27
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x14004da27
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x14004da34
mov ecx, 0x80070057
call fcn.140002cb0
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14004ffe9
Capabilities:
Create process on windows

Disassembly:
test rdx, rdx
je 0x14005011e
push rbx
mov eax, 0x100f0
call fcn.140167340
sub rsp, rax
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x100e0], rax
mov rbx, rdx
mov r8, rdx
mov qword [rsp + 0x10100], rdi
lea rcx, [rsp + 0xe0]
xor edi, edi
mov edx, 0x7fff
mov dword [rsp + 0x50], edi
call fcn.1401469a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x50], edi
je 0x140050077
lea r8, str.CPLUtl64.exe__x
lea rcx, [rsp + 0xe0]
mov edx, 0x7fff
call fcn.1401469a0
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov edx, 0x7fff
call fcn.140146a50
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140148fe0
xor eax, eax
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdi, qword [rsp + 0x10100]
test eax, eax
jne 0x1400500f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140050106
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100e0]
xor rcx, rsp
call fcn.140144dc0
add rsp, 0x100f0
pop rbx
ret 0
Function at 0x140050130
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x450
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov word [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x42]
call fcn.140148fe0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140050316
mov word [rsp + 0x246], 0
call fcn.14012a060
mov rdx, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400501c5
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r9, str.SoundRecorder.exe
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call fcn.140004aa0
mov rbp, qword [rsp + 0x20]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbp - 8], 0
jl 0x14005021d
cmp rax, qword [rbp - 0x18]
jne 0x14005021d
lea rbx, [rbp - 0x18]
lock add dword [rbp - 8], 1
jmp 0x14005025b
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbp - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140050239
call fcn.1400b7870
int3
mov eax, dword [rbp - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rbp - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbp
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.140144ee0
add rbx, 0x18
mov qword [rsp + 0x30], rbx
xor eax, eax
lea rdi, [0x14017f438]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14005027f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x1400502a7
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400502f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400502f7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400502d4
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400502f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400502f7
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400502f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r12d, 1
lock xadd dword [rbp - 8], edi
add edi, 0xffffffff
test edi, edi
jg 0x140050311
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
jmp 0x140050318
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140144dc0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140052fb0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, edx
mov rdi, rcx
mov dword [rsp + 0x38], ebx
call fcn.140125150
test eax, eax
je 0x140052fd8
lea eax, [rbx + 1]
jmp 0x140053029
call fcn.140125020
test eax, eax
je 0x140052fe5
mov eax, ebx
jmp 0x140053029
call fcn.140124d70
test eax, eax
jne 0x140052ffe
call fcn.140124400
test eax, eax
je 0x140052ffe
mov eax, 1
jmp 0x140053029
call fcn.140124400
test eax, eax
jne 0x140053014
call fcn.140124d70
test eax, eax
je 0x140053014
mov eax, ebx
jmp 0x140053029
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0x38]
call fcn.140051c90
mov eax, dword [rsp + 0x38]
or ecx, 0xffffffff
test esi, esi
cmovne ecx, eax
test ecx, ecx
je 0x140053097
cmp ecx, 1
je 0x140053074
call fcn.140125020
test eax, eax
je 0x140053055
xor ecx, ecx
call fcn.1401254d0
mov ecx, ebx
test eax, eax
sete cl
test ecx, ecx
je 0x1400530ab
call fcn.140125150
test eax, eax
je 0x1400530ab
xor ecx, ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140125610
call fcn.140125150
cmp eax, 1
je 0x1400530ab
mov ecx, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140125610
call fcn.140125020
cmp eax, 1
je 0x1400530ab
mov ecx, 1
call fcn.1401254d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006a880
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rbx, rcx
lea rax, [0x14018f188]
mov qword [rcx], rax
lea rax, [0x14018f3f8]
mov qword [rcx + 0xa8], rax
xor ebp, ebp
cmp qword [rcx + 0x1a8], rbp
je 0x14006a912
mov rcx, qword [rcx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14006a8fe
or edx, 0xffffffff
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0x1a8], rbp
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14006a92b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b8], rbp
mov dword [rbx + 0x158], ebp
mov rcx, qword [0x140206e78]
test rcx, rcx
je 0x14006a94a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140206e78], rbp
mov rcx, rbx
call fcn.14006bab0
call fcn.140086c70
lea rcx, [0x140206cd8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [rbx + 0x140], ebp
je 0x14006a972
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.14012e854
nop
lea rcx, [rbx + 0x1f0]
call fcn.140083970
nop
mov rdx, qword [rbx + 0x1c8]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14006a9ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, [0x1401980a0]
mov qword [rbx + 0x150], rax
cmp qword [rbx + 0x1a8], 0
je 0x14006aa0f
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14006a9fb
or edx, 0xffffffff
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0x1a8], rbp
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14006aa28
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b8], rbp
mov dword [rbx + 0x158], ebp
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x160]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14006aa5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0xa8]
call fcn.14006d4e0
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.14012f0a0
Function at 0x14006bab0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
cmp dword [rsp + 0x24], 6
jb 0x14006bb3c
lea r9, [0x140206920]
mov ecx, edi
lea rdx, [0x140052850]
mov rax, r9
lea r8, [0x140206a60]
cmp qword [rax], rdx
je 0x14006bb1b
add rax, 0x10
add ecx, 1
cmp rax, r8
jl 0x14006bb08
jmp 0x14006bb3c
movsxd rax, ecx
add rax, rax
sub dword [0x140206e88], 1
mov qword [r9 + rax*8], rdi
jne 0x14006bb3c
mov qword [0x140208468], rdi
mov qword [0x140208520], rdi
mov rcx, qword [rbx + 0x648]
test rcx, rcx
je 0x14006bb5a
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x648], rdi
mov rcx, qword [rbx + 0x650]
test rcx, rcx
je 0x14006bb78
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x650], rdi
mov rcx, qword [rbx + 0x668]
test rcx, rcx
je 0x14006bb96
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x668], rdi
mov rcx, qword [rbx + 0x670]
test rcx, rcx
je 0x14006bbb4
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x670], rdi
lea rcx, [rbx + 0x298]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbx + 0x658]
test rcx, rcx
je 0x14006bbde
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x658], rdi
mov rcx, qword [rbx + 0x660]
test rcx, rcx
je 0x14006bbfb
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x660], rdi
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x14006bc18
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x138], rdi
lea rcx, [rbx + 0xa8]
call fcn.14006d650
mov dword [rbx + 0x144], edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140144dc0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14006f790
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [0x140207c90], 0
jne 0x14006f8b9
cmp qword [0x140207ca0], 0
mov dword [rsp + 0x40], 0
jne 0x14006f7d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207ca0], rax
cmp qword [0x140207ca8], 0
jne 0x14006f7f1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207ca8], rax
cmp qword [0x140207cb0], 0
jne 0x14006f812
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207cb0], rax
cmp qword [0x140207cb8], 0
jne 0x14006f833
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207cb8], rax
cmp qword [0x140207c98], 0
jne 0x14006f85e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
mov qword [0x140207c98], rax
jne 0x14006f85e
add rsp, 0x38
ret
call fcn.140135110
test rax, rax
je 0x14006f87f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14006f87f
mov rax, qword [rax + 0x40]
jmp 0x14006f881
xor eax, eax
mov qword [0x140207de0], rax
lea rax, [rsp + 0x40]
lea r9, [0x140207c90]
mov qword [rsp + 0x28], rax
lea r8, [0x14006f8d0]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140207c90], rax
mov eax, 1
add rsp, 0x38
ret
Function at 0x140071d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
lea rdi, [0x14017f438]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
jne 0x140071dd7
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140071dc5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rbx]
sub rdx, 0x18
cmp eax, 0xffffffff
je 0x140071dad
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140071e04
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140073c40
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140167340
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14012a060
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140073c9e
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14017f438]
test rdx, 0xffffffffffff0000
jne 0x140073cda
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x140073cf6
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140004c30
jmp 0x140073cf6
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.140003210
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.140148fe0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140073d6e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140073d4e
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003210
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.140144dc0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140073df0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140167340
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14012a060
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140073e4e
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14017f438]
test rdx, 0xffffffffffff0000
jne 0x140073e8a
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x140073ea6
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140004c30
jmp 0x140073ea6
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.140003210
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.140148fe0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140073f1e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140073efe
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003210
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.140144dc0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret