joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073e30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
movzx esi, r8b
lea rcx, [rsp + 0x30]
mov rbx, rdx
call fcn.14003f460
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x30]
call fcn.140074840
mov rdx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140073e82
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400743b0

Function at 0x140073ea0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov esi, r8d
lea rcx, [rsp + 0x30]
mov rbx, rdx
call fcn.14003f460
lea rcx, [rdi + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140074840
mov rdx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140073ef1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400743b0

Function at 0x140073f20
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, str.UpdateLastCheckTime
mov rbx, r8
lea rcx, [rsp + 0x58]
call fcn.14003f460
lea rdx, [rsp + 0x58]
lea rcx, [0x14017c638]
call fcn.140074840
mov rdx, qword [rsp + 0x58]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140073f7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [0x14017c608]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x38], rcx
or eax, 2
mov rcx, qword [0x14017c600]
xor r9d, r9d
mov qword [rsp + 0x30], rdx
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, qword [0x14017c610]
mov qword [rsp + 0x60], rbx
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007400f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 8
lea rdx, str.UpdateLastCheckTime
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
lea rdx, str.UpdateLastCheckTime
lea rcx, [0x14017c600]
call fcn.140072f30
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
Function at 0x1400742d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
xor ebp, ebp
mov dword [r8], ebp
lea rdx, [rsp + 0x5c]
mov eax, dword [rcx + 8]
mov rdi, r8
mov qword [rsp + 0x40], rdx
or eax, 1
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x5c], ebp
mov qword [rsp + 0x38], rdx
xor r9d, r9d
mov rdx, qword [rcx + 0x10]
xor r8d, r8d
mov rcx, qword [rcx]
xor bl, bl
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007438f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x64], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140074384
mov ecx, dword [rsp + 0x58]
mov bl, 1
mov dword [rdi], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400743b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rcx + 8]
mov rsi, rcx
mov rdi, rdx
mov dword [rsp + 0x60], r8d
xor edx, edx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
or eax, 2
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [rsi]
xor r8d, r8d
mov qword [rsp + 0x30], rdx
xor bl, bl
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140074453
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
mov rdx, rdi
mov rcx, rsi
call fcn.140072f30
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140074480
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [rcx + 8]
mov rsi, rcx
lea rcx, [r11 - 0x20]
mov rdi, rdx
mov qword [r11 - 0x38], rcx
xor edx, edx
lea rcx, [r11 - 0x28]
mov dword [rsp + 0x58], edx
mov qword [r11 - 0x40], rcx
or eax, 2
mov rcx, qword [rsi]
xor r9d, r9d
mov qword [r11 - 0x48], rdx
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor bl, bl
mov dword [rsp + 0x20], edx
mov rdx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140074510
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140074505
mov rdx, rdi
mov rcx, rsi
call fcn.140072f30
mov bl, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140075a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x68
mov rbp, 0xffffffffffffffff
mov r10, rdx
mov rdi, rbp
mov r9, rcx
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140075aa0
nop word [rax + rax]
inc rbp
cmp word [rcx + rbp*2], 0
jne 0x140075ab0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
test edi, edi
je 0x140075cb1
test ebp, ebp
je 0x140075cb1
movzx eax, word [rcx]
cmp ax, 0x7e
je 0x140075cd8
cmp ax, 0x21
je 0x140075cd8
xor esi, esi
movsxd r8, ebp
mov qword [rsp + 0x20], r8
mov ecx, esi
test ebp, ebp
jle 0x140075b27
mov edx, esi
cmp word [r9 + rdx*2], 0x2a
lea eax, [rcx + 1]
cmove eax, ecx
inc rdx
mov ecx, eax
cmp rdx, r8
jl 0x140075b11
cmp edi, ecx
jl 0x140075cb1
movsxd rdx, edi
mov ecx, esi
mov dword [rsp + 0x90], ecx
mov r15d, esi
mov qword [rsp + 0x28], rdx
test edi, edi
jle 0x140075bcb
mov rax, r9
mov r13, rsi
sub rax, r10
mov r12, r10
mov qword [rsp + 0x98], rax
nop
cmp r13, r8
jge 0x140075bcb
movzx r14d, word [rax + r12]
cmp r14d, 0x3f
je 0x140075bb3
cmp r14d, 0x2a
je 0x140075bd6
movzx eax, word [r12]
cmp r14w, ax
je 0x140075bab
mov ecx, eax
call fcn.1401162b8
mov ecx, r14d
mov ebx, eax
call fcn.1401162b8
cmp eax, ebx
jne 0x140075cb1
mov r8, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x98]
inc ecx
inc r15d
inc r13
mov dword [rsp + 0x90], ecx
add r12, 2
cmp r13, rdx
jl 0x140075b60
cmp r15d, edi
setge al
jmp 0x140075cb3
lea r12d, [rcx + 1]
cmp r12d, ebp
je 0x140075c2d
movsxd rcx, r12d
cmp rcx, r8
jge 0x140075c2d
mov r9, qword [rsp + 0x80]
lea rdx, [r9 + rcx*2]
mov qword [rsp + 0x90], rdx
nop dword [rax + rax]
mov ebp, edi
sub ebp, r15d
test ebp, ebp
jg 0x140075c34
mov eax, edi
sub eax, r15d
cmp esi, eax
jge 0x140075cb1
add rdx, 2
inc r12d
inc rcx
mov qword [rsp + 0x90], rdx
cmp rcx, r8
jl 0x140075c00
mov al, 1
jmp 0x140075cb3
mov r10, qword [rsp + 0x88]
lea rdi, [r10 + r13*2]
movzx r14d, word [rdi]
movzx eax, word [rdx]
cmp r14w, ax
je 0x140075c72
mov ecx, eax
call fcn.1401162b8
mov ecx, r14d
mov ebx, eax
call fcn.1401162b8
cmp ebx, eax
jne 0x140075c8f
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x88]
movsxd rax, r15d
movsxd r8, r12d
movsxd rcx, esi
add rcx, rax
lea rdx, [r10 + rcx*2]
lea rcx, [r9 + r8*2]
call fcn.140075a80
test al, al
jne 0x140075c2d
mov rdx, qword [rsp + 0x90]
inc esi
mov r9, qword [rsp + 0x80]
add rdi, 2
mov r10, qword [rsp + 0x88]
cmp esi, ebp
jl 0x140075c40
xor al, al
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
pop rdi
pop rbp
ret
add rcx, 2
call fcn.140075a80
xor al, 1
jmp 0x140075cb3
Function at 0x140076210
Capabilities:
Enumerate threads

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov ebp, edx
mov r8d, edx
mov ecx, 0x200
xor edx, edx
mov r14d, r9d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x1400763ea
mov qword [rsp + 0xa0], rbx
cmp r14d, 0xffffffff
jne 0x140076281
mov rax, qword [0x14017d658]
test rax, rax
je 0x14007626b
and rsi, rax
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
setne bl
jmp 0x1400763d6
mov edx, ebp
mov qword [rsp + 0x70], rdi
call fcn.140076530
test al, al
je 0x140076323
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140076323
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14007631a
cmp dword [rsp + 0x2c], ebp
jne 0x140076308
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 0x60]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140076308
lea r8, [rsp + 0x50]
mov word [rsp + 0x48], r14w
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400762c3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
cmp ax, 2
jb 0x1400763c3
cmp r14d, 0x100
ja 0x1400763c3
cmp qword [0x14017cd20], 0
jne 0x140076373
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.ZwSetInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017cd20], rax
test rax, rax
je 0x1400763c3
mov r8d, ebp
xor edx, edx
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, InitCommonControls
lea r8, [rsp + 0x40]
xorps xmm0, xmm0
mov rcx, rax
movups xmmword [rsp + 0x40], xmm0
mov rdi, rax
mov word [rsp + 0x48], r14w
lea edx, [r9 + 5]
mov qword [rsp + 0x40], rsi
call qword [0x14017cd20]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
sete bl
jmp 0x1400763c5
xor bl, bl
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rdi, qword [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x78
pop r15
pop r14
pop rsi
pop rbp
ret
Function at 0x1400768c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, r8d
mov ecx, 0x100001
mov r8d, edx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400768f2
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
mov rcx, rdi
setne bl
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 1
movzx ebx, bl
test eax, eax
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140076c80
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebp, r8d
mov esi, edx
mov r8d, edx
mov ecx, 0x100000
xor edx, edx
mov r14d, r9d
xor bl, bl
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140076cc0
mov al, 1
jmp 0x140076d35
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140076d29
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
lea rcx, [0x140076c00]
mov qword [rsp + 0x28], 0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140076d1c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140076d1c
mov bl, 1
jmp 0x140076d29
mov r8d, ebp
mov edx, esi
call fcn.1400768c0
movzx ebx, al
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140077b30
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x2050
call fcn.1400ff8d0
sub rsp, rax
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rax, qword [rcx + 8]
lea rdi, [rcx + 8]
mov rbx, rdx
cmp dword [rax - 0x10], 0
je 0x140077b71
mov rdx, rdi
mov rcx, rbx
jmp 0x140077c44
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, 0x2000
lea rcx, [rsp + 0x40]
call fcn.14012ce40
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140077c00
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x1fff
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ProcessorNameString
mov dword [rsp + 0x3c], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140077c10
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005a90
lea r8, [0x140148b80]
mov rcx, rbx
lea rdx, reloc.OLEAUT32.dll_VariantCopy
call fcn.14003ee50
mov rdx, rbx
mov rcx, rdi
call fcn.14003f3d0
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
setne al
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2050
pop rdi
ret

Function at 0x14007b640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
sub rsp, 0x30
mov rsi, r8
test r8, r8
je 0x14007b6cd
lea rax, [rsp + 0x40]
xor ebp, ebp
lea r9, str.HardwareConfig
mov qword [rsp + 0x40], rbp
lea r8, str.SoftwareProcessLasso
mov qword [rsp + 0x20], rax
call fcn.140088cb0
test eax, eax
je 0x14007b6cd
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14007b6cd
mov r8d, dword [rbx]
xor r8d, 0x92781293
cmp r8d, 0x20
jbe 0x14007b6df
lea edx, [rbp + 2]
mov qword [rsp + 0x48], rdi
lea rcx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x14007b6b8
mov word [rbx + 4], bp
mov edx, 4
mov word [rsi], bp
mov rcx, rbx
call fcn.1400ff054
mov rdi, qword [rsp + 0x48]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
mov ecx, 7
mov r9d, ebp
test r8d, r8d
je 0x14007b710
lea rax, [rbx + 4]
mov edx, r8d
mov r9d, r8d
nop word [rax + rax]
add ecx, 7
xor word [rax], cx
lea rax, [rax + 2]
sub rdx, 1
jne 0x14007b700
mov eax, r9d
lea r8, [rbx + 4]
mov edx, 0x3c3
mov r9, 0xffffffffffffffff
mov rcx, rsi
mov word [rbx + rax*2 + 4], bp
call fcn.140115f0c
mov edx, 4
mov rcx, rbx
call fcn.1400ff054
mov rbx, qword [rsp + 0x50]
mov al, 1
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
Function at 0x14007c0c0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx esi, r8b
movzx edi, dl
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r11d, ax
test dil, dil
jne 0x14007c133
mov r9, qword [0x14017c768]
mov r10d, 0x409
cmp dword [r9 + 0x1024], 0
je 0x14007c133
mov edx, 0x3ff
mov ecx, r10d
and r11w, dx
mov eax, 0x1024
nop dword [rax + rax]
movzx eax, word [rax + r9]
and ax, dx
cmp ax, r11w
je 0x14007c199
inc rcx
inc r10d
lea rax, [rcx*4]
cmp dword [rax + r9], 0
jne 0x14007c110
mov qword [rsp + 0x40], rbx
call fcn.14007b750
mov ebx, eax
test eax, eax
je 0x14007c187
cmp dil, 1
jne 0x14007c17c
test sil, sil
jne 0x14007c17c
mov rcx, qword [0x14017ae38]
lea rax, [0x14017c670]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea r9, [0x14007be40]
lea edx, [r8 + 0x65]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rbx, rax
test eax, eax
je 0x14007c187
mov dword [0x14017c770], ebx
call fcn.14007b9c0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
movsxd rax, r10d
mov eax, dword [r9 + rax*4]
add rsp, 0x30
pop rdi
ret
Function at 0x14007c4d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x840
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r14d, edx
mov rbp, rcx
cmp qword [rcx + 0x108], 0
je 0x14007c68d
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14012ce40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x3ff
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
lea rbx, [rsi - 1]
test eax, eax
je 0x14007c57f
lea rcx, [rsp + 0x30]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14007c550
dec eax
movsxd rcx, eax
test eax, eax
jle 0x14007c584
cmp word [rsp + rcx*2 + 0x30], 0x5c
je 0x14007c576
dec eax
dec rcx
test rcx, rcx
jg 0x14007c562
jmp 0x14007c584
cdqe
mov word [rsp + rax*2 + 0x30], si
jmp 0x14007c584
mov word [rsp + 0x30], si
mov ecx, esi
mov rdx, qword [rbp + 0xf8]
cmp dword [rdx], ecx
je 0x14007c6d3
mov r8, qword [rbp + 0x108]
mov rax, rsi
nop
lea rdi, [rax*8]
cmp qword [rdi + r8], rsi
je 0x14007c6d3
cmp dword [rdx + rax*4], r14d
je 0x14007c5c8
inc ecx
mov eax, ecx
cmp dword [rdx + rcx*4], esi
jne 0x14007c5a0
xor al, al
jmp 0x14007c68f
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x20]
call fcn.1400055e0
nop
mov rdx, qword [rbp + 0x108]
cmp word [rsp + 0x30], 0
je 0x14007c603
mov r9, qword [rdx + rdi]
lea r8, [rsp + 0x30]
lea rdx, [0x140146d78]
lea rcx, [rsp + 0x20]
call fcn.140005d70
jmp 0x14007c629
mov rdx, qword [rdx + rdi]
test rdx, rdx
je 0x14007c61c
mov rax, rbx
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007c610
mov esi, eax
mov r8d, esi
lea rcx, [rsp + 0x20]
call fcn.140005a90
mov rcx, qword [rsp + 0x20]
cmp dword [rcx - 8], 1
jle 0x14007c646
mov edx, dword [rcx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140005760
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007c671
mov rcx, qword [rbp + 0x108]
mov rcx, qword [rdi + rcx]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14007c6b7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14007c68d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14007c6d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14007c68f
Function at 0x14007e110
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x8f0
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0xe0]
call fcn.14012ce40
xor ebp, ebp
test rbx, rbx
jne 0x14007e1c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x3ff
lea rdx, [rsp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14007e1c4
lea rcx, [rsp + 0xe0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], bp
jne 0x14007e190
dec eax
movsxd rcx, eax
test eax, eax
jle 0x14007e1c4
cmp word [rsp + rcx*2 + 0xe0], 0x5c
je 0x14007e1b9
dec eax
dec rcx
test rcx, rcx
jg 0x14007e1a2
jmp 0x14007e1c4
movsxd rcx, eax
mov word [rsp + rcx*2 + 0xe0], bp
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x208
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14007e213
xor eax, eax
jmp 0x14007e228
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007e223
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x920]
add rsp, 0x8f0
pop rdi
pop rsi
pop rbp
ret