joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002348c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400234bc
xor eax, eax
jmp 0x14002357f
mov rbp, rbx
cmp word [rax], si
je 0x1400234e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400234c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400234c4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400218c4
movsxd r14, eax
test eax, eax
jne 0x14002351f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400234b5
mov rcx, r14
call fcn.14001bce4
mov rdi, rax
test rax, rax
jne 0x140023538
xor ecx, ecx
call fcn.14001bca8
jmp 0x140023514
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400218c4
test eax, eax
jne 0x140023569
mov rcx, rdi
call fcn.14001bca8
jmp 0x140023573
xor ecx, ecx
call fcn.14001bca8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400262ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001b6fc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002634d
cmp ebx, dword [rsp + 0x30]
je 0x140026346
test esi, esi
je 0x140026346
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026321
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002632e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002630b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140026332
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002634f
mov eax, 1
jmp 0x14002634f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002a9d4
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.1400209e8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400209e8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002ab24
cmp rax, 0xffffffffffffffff
je 0x14002ab24
xor edi, edi
test rbp, rbp
jle 0x14002aacf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001af40
mov rbx, rax
test rax, rax
jne 0x14002aa5c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002aac5
mov edx, 0x8000
mov ecx, r14d
call fcn.1400192d8
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.14001e488
cmp eax, 0xffffffff
je 0x14002aaa5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002aa6c
mov edx, r15d
mov ecx, r14d
call fcn.1400192d8
jmp 0x14002aac5
cmp byte [rsi + 0x38], dil
je 0x14002aabc
cmp dword [rsi + 0x34], 5
jne 0x14002aabc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002aac5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001bca8
jmp 0x14002ab38
jns 0x14002ab38
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400209e8
cmp rax, 0xffffffffffffffff
jne 0x14002aaf0
cmp byte [rsi + 0x30], dil
je 0x14002ab38
mov edi, dword [rsi + 0x2c]
jmp 0x14002ab38
mov ecx, r14d
call fcn.140023d58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002ab38
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 0x14002ab38
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002ab31
mov eax, dword [rsi + 0x2c]
jmp 0x14002ab36
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400209e8
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 0x14002b340
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b368
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b368
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002200
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
call fcn.140009020
mov edx, 0x105
mov rcx, qword [rsp + 0x50]
call fcn.1400086a0
mov edx, 0x105
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.140008700
mov r8d, 1
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400077a0
mov qword [rsp + 0x30], rax
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x30]
call fcn.140007bc0
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x28]
call fcn.1400085c0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140002297
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x50]
call fcn.140007280
mov rcx, qword [rsp + 0x50]
call fcn.140007c90
movzx eax, al
test eax, eax
je 0x1400022bf
lea r8, str.WindowsFolder_not_found___
xor edx, edx
lea rcx, [0x14007f0e0]
call fcn.140021a10
jmp 0x1400022c4
mov byte [rsp + 0x20], 1
mov al, byte [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x1400022d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
call fcn.140009020
mov edx, 0x105
mov rcx, qword [rsp + 0x50]
call fcn.1400086a0
mov edx, 0x105
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.140008700
mov r8d, 1
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400077a0
mov qword [rsp + 0x30], rax
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x30]
call fcn.140007bc0
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x28]
call fcn.1400085c0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140002367
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x50]
call fcn.140007280
mov rcx, qword [rsp + 0x50]
call fcn.140007c90
movzx eax, al
test eax, eax
je 0x14000238f
lea r8, str.SystemFolder_not_found___
xor edx, edx
lea rcx, [0x14007f0e0]
call fcn.140021a10
jmp 0x140002394
mov byte [rsp + 0x20], 1
mov al, byte [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x1400055b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x34], 0xfffffffd
mov dword [rsp + 0x30], 0x800
lea rcx, [rsp + 0x38]
call fcn.1400084e0
nop
lea rcx, [rsp + 0x50]
call fcn.1400084e0
nop
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.140008610
mov edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140008700
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140008610
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.140008700
mov rcx, qword [rsp + 0x98]
call fcn.140009020
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140008680
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000578c
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140008680
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.1400086a0
mov qword [rsp + 0x68], rax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140008680
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x14000575a
cmp dword [rsp + 0x30], 0
jbe 0x140005731
mov dword [rsp + 0x34], 0
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call fcn.140008700
jmp 0x140005758
mov dword [rsp + 0x34], 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call fcn.140008700
mov rcx, qword [rsp + 0x98]
call fcn.140009020
jmp 0x140005781
mov dword [rsp + 0x34], 0xfffffffe
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call fcn.140008700
mov rcx, qword [rsp + 0x98]
call fcn.140009020
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x50]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400085c0
mov eax, dword [rsp + 0x5c]
add rsp, 0x78
ret
Function at 0x1400061e0
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov dword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140008540
nop
lea rdx, [0x14005cc80]
lea rcx, [rsp + 0x20]
call fcn.1400076c0
lea rdx, [0x14005cc80]
lea rcx, [rsp + 0x20]
call fcn.140007280
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
call fcn.140008510
mov qword [rsp + 0x50], rax
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400062e0
lea rdx, [0x14005cc80]
lea rcx, [rsp + 0x20]
call fcn.1400076c0
lea rcx, [rsp + 0x20]
call fcn.140008670
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x20]
call fcn.140008670
xor edx, edx
mov rcx, rax
call fcn.14003a970
cmp eax, 0xffffffff
je 0x14000629e
mov dword [rsp + 0x28], 0xffffff9c
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x20]
call fcn.1400085c0
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x1400062e0
Capabilities:
Delete directory
Delete file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov qword [rsp + 0x2d0], 0xfffffffffffffffe
mov rax, qword [0x14007d2f0]
xor rax, rsp
mov qword [rsp + 0x308], rax
lea rcx, [rsp + 0x20]
call fcn.1400249ec
nop
lea r8, str..
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x50]
call fcn.140007a00
nop
lea rcx, [rsp + 0x50]
call fcn.140008670
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140024b0c
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140006534
lea rcx, [rsp + 0x20]
call fcn.1400247dc
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x20]
call fcn.140024998
test eax, eax
je 0x14000637a
jmp 0x140006351
lea rcx, [rsp + 0x20]
call fcn.1400084b0
test eax, eax
je 0x1400063f7
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140025180
nop
lea rcx, [rsp + 0x60]
call fcn.140008670
mov rcx, rax
call fcn.1400061e0
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x20]
call fcn.140025180
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x2d8]
call fcn.140008670
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x2a8]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400085c0
jmp 0x140006351
cmp dword [rsp + 0x328], 0
je 0x1400064d6
lea rcx, [rsp + 0x70]
call fcn.1400021c0
nop
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x20]
call fcn.140025180
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
mov rcx, qword [rsp + 0x2e8]
call fcn.140008670
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140023488
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400085c0
movzx eax, byte [rsp + 0x90]
and eax, 1
test eax, eax
je 0x1400064d6
movzx eax, byte [rsp + 0x90]
and eax, 0
mov byte [rsp + 0x90], al
lea rdx, [rsp + 0x2b8]
lea rcx, [rsp + 0x20]
call fcn.140025180
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2f8], rax
mov rcx, qword [rsp + 0x2f8]
call fcn.140008670
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140023764
nop
lea rcx, [rsp + 0x2b8]
call fcn.1400085c0
nop
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0x20]
call fcn.140025180
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x300]
call fcn.140008670
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x2c0], eax
lea rcx, [rsp + 0x2c8]
call fcn.1400085c0
cmp dword [rsp + 0x2c0], 0
je 0x14000652f
mov dword [rsp + 0x2a0], 1
jmp 0x140006351
lea rcx, [rsp + 0x20]
call fcn.140024708
nop
lea rcx, [rsp + 0x50]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x20]
call fcn.140024a44
nop
mov rcx, qword [rsp + 0x320]
call fcn.1400085c0
mov rcx, qword [rsp + 0x308]
xor rcx, rsp
call fcn.14003a760
add rsp, 0x318
ret
Function at 0x140006660
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140009020
mov edx, 0x104
mov rcx, qword [rsp + 0x40]
call fcn.1400086a0
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x104
jb 0x1400066c5
mov eax, dword [rsp + 0x20]
add eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.1400086a0
mov ecx, dword [rsp + 0x20]
add ecx, 2
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x20], eax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x40]
call fcn.140008700
xor eax, eax
add rsp, 0x38
ret
Function at 0x140006d40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14007d2f0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x264], 0x104
cmp qword [rsp + 0x298], 0
je 0x140006e9c
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140006e9c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x10008
xor r8d, r8d
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x260], eax
cmp dword [rsp + 0x260], 0
jne 0x140006e9a
cmp dword [rsp + 0x260], 0
jne 0x140006e8f
mov dword [rsp + 0x268], 0x105
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x268]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x260], eax
cmp dword [rsp + 0x260], 0x103
jne 0x140006e5d
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x260], eax
jmp 0x140006e8f
cmp dword [rsp + 0x260], 0
je 0x140006e74
cmp dword [rsp + 0x260], 0xea
jne 0x140006e8a
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.140006d40
mov dword [rsp + 0x260], eax
jmp 0x140006dd1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006ea7
mov dword [rsp + 0x260], 0x3f2
mov eax, dword [rsp + 0x260]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14003a760
add rsp, 0x288
ret
Function at 0x14000ece0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x40]
call fcn.140027270
nop
mov rax, qword [rsp + 0x40]
lea rcx, [0x140062090]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
add rax, 0x60
mov rcx, rax
call fcn.1400084e0
nop
mov rax, qword [rsp + 0x40]
add rax, 0x68
mov rcx, rax
call fcn.1400084e0
nop
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov rcx, rax
call fcn.1400084e0
nop
mov rax, qword [rsp + 0x40]
add rax, 0x78
mov rcx, rax
call fcn.1400084e0
nop
mov rax, qword [rsp + 0x40]
add rax, 0x90
mov rcx, rax
call fcn.1400084e0
nop
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x38], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x3c], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x40], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x44], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x48], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4c], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x50], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x98], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x54], 0xffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xac], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x40]
add rax, 0x70
lea rdx, [0x14005cb94]
mov rcx, rax
call fcn.140008610
mov rax, qword [rsp + 0x40]
add rax, 0x60
lea rdx, [0x14005cb94]
mov rcx, rax
call fcn.140008610
mov rax, qword [rsp + 0x40]
add rax, 0x68
lea rdx, [0x14005cb94]
mov rcx, rax
call fcn.140008610
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x9c], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xa0], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xa4], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xa8], 0
mov rax, qword [rsp + 0x40]
add rax, 0x90
mov edx, 0x400
mov rcx, rax
call fcn.1400086a0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, qword [rsp + 0x40]
add rcx, 0x90
mov rdx, rax
call fcn.140008610
mov rax, qword [rsp + 0x40]
add rax, 0x90
mov edx, 0xffffffff
mov rcx, rax
call fcn.140008700
nop
mov rax, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x1400109b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rbp, rdx
mov rsi, rcx
lea rax, [0x140062aa0]
mov qword [rcx], rax
movzx eax, word [rdx + 8]
mov word [rcx + 8], ax
mov rbx, qword [rdx + 0x10]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x140010a12
cmp rax, qword [rbx - 0x18]
jne 0x140010a12
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x140010a50
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x140010a2e
call fcn.140009230
int3
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14003b8f0
lea rax, [rdi + 0x18]
mov qword [rsi + 0x10], rax
mov eax, dword [rbp + 0x18]
mov dword [rsi + 0x18], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsi + 0x1c], eax
mov eax, dword [rbp + 0x20]
mov dword [rsi + 0x20], eax
movzx eax, byte [rbp + 0x24]
mov byte [rsi + 0x24], al
mov eax, dword [rbp + 0x28]
mov dword [rsi + 0x28], eax
mov eax, dword [rbp + 0x2c]
mov dword [rsi + 0x2c], eax
mov eax, dword [rbp + 0x30]
mov dword [rsi + 0x30], eax
mov eax, dword [rbp + 0x34]
mov dword [rsi + 0x34], eax
mov eax, dword [rbp + 0x38]
mov dword [rsi + 0x38], eax
mov eax, dword [rbp + 0x3c]
mov dword [rsi + 0x3c], eax
mov eax, dword [rbp + 0x40]
mov dword [rsi + 0x40], eax
mov eax, dword [rbp + 0x44]
mov dword [rsi + 0x44], eax
lea rdx, [rbp + 0x48]
lea rcx, [rsi + 0x48]
lea rax, [fcn.1400085c0]
mov qword [rsp + 0x28], rax
lea rax, [fcn.140008510]
mov qword [rsp + 0x20], rax
mov r9d, 8
mov r8, r9
call fcn.14003ce10
mov eax, dword [rbp + 0x88]
mov dword [rsi + 0x88], eax
mov eax, dword [rbp + 0x8c]
mov dword [rsi + 0x8c], eax
mov eax, dword [rbp + 0x90]
mov dword [rsi + 0x90], eax
mov eax, dword [rbp + 0x94]
mov dword [rsi + 0x94], eax
mov eax, dword [rbp + 0x98]
mov dword [rsi + 0x98], eax
mov eax, dword [rbp + 0x9c]
mov dword [rsi + 0x9c], eax
mov eax, dword [rbp + 0xa0]
mov dword [rsi + 0xa0], eax
mov eax, dword [rbp + 0xa4]
mov dword [rsi + 0xa4], eax
mov eax, dword [rbp + 0xa8]
mov dword [rsi + 0xa8], eax
mov eax, dword [rbp + 0xac]
mov dword [rsi + 0xac], eax
mov eax, dword [rbp + 0xb0]
mov dword [rsi + 0xb0], eax
mov eax, dword [rbp + 0xb4]
mov dword [rsi + 0xb4], eax
mov eax, dword [rbp + 0xb8]
mov dword [rsi + 0xb8], eax
mov eax, dword [rbp + 0xbc]
mov dword [rsi + 0xbc], eax
mov eax, dword [rbp + 0xc0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbp + 0xc4]
mov dword [rsi + 0xc4], eax
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140011220
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rcx
call fcn.140025894
mov rcx, rax
xor esi, esi
mov edx, esi
test rax, rax
setne dl
test edx, edx
jne 0x140011258
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x88], rdi
lea r8, [rsp + 0x78]
lea rdx, str.SOFTWARESiemensShared_ToolsCompSetup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
or rbx, 0xffffffffffffffff
test eax, eax
jne 0x1400113a6
mov rdx, qword [r12 + 0x98]
test rdx, rdx
je 0x1400112b9
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rsi, rcx
test ecx, ecx
js 0x14001139b
cmp esi, dword [rdx - 0xc]
jg 0x14001139b
mov dword [rdx - 0x10], esi
movsxd rcx, esi
mov rax, qword [r12 + 0x98]
mov word [rax + rcx*2], 0
mov rax, qword [r12 + 0x98]
mov edi, dword [rax - 0x10]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
or eax, ecx
jge 0x1400112ff
xor edx, edx
lea rcx, [r12 + 0x98]
call fcn.140009290
mov rcx, qword [r12 + 0x98]
lea eax, [rdi + rdi + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f448]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r8, [r12 + 0x98]
lea rdx, str.x64_adscomlx:_Client_entry_set:
lea rcx, [rsp + 0x80]
call fcn.140007ae0
nop
lea rcx, [r12 + 0x38]
mov rdi, qword [rcx]
mov r8, qword [rax]
mov edx, 0xa
call qword [rdi + 0xd0]
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140011386
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x88]
jmp 0x1400113be
mov ecx, 0x80070057
call fcn.140007cd0
int3
lea rcx, [r12 + 0x38]
mov rax, qword [rcx]
lea r8, str.x64_adscomlx:_Cannot_open_write_key:_SOFTWARESiemensShared_ToolsCompSetup
xor edx, edx
call qword [rax + 0xd0]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x1400113d7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret