joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004d60
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12d, r9d
movzx r13d, r8b
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rsp + 0x74]
call fcn.180037b70
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
movdqa xmm0, xmmword [0x180063b30]
movdqu xmmword [rbp - 0x10], xmm0
xor r15d, r15d
mov word [rbp - 0x20], r15w
mov qword [rbp + 0x10], r15
mov r14d, 7
mov qword [rbp + 0x18], r14
mov word [rbp], r15w
lea rbx, [rax - 1]
test rsi, rsi
je 0x180004e93
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x180004e05
mov rdx, rsi
lea rcx, [rbp]
call fcn.180002d40
mov rsi, qword [rbp + 0x10]
test rsi, rsi
je 0x180004e8f
mov r8d, 1
lea rdx, [0x180063cdc]
lea rcx, [rbp - 0x20]
call fcn.180002d40
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180004e40
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180002820
mov r8d, 2
lea rdx, [0x180063ce0]
lea rcx, [rbp - 0x20]
call fcn.180002820
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, rsi
lea rcx, [rbp - 0x20]
call fcn.180002820
mov r14, qword [rbp + 0x18]
jmp 0x180004eac
mov r14, qword [rbp + 0x18]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180004e93
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180002d40
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180004eff
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180004f37
test r13b, r13b
je 0x180004f1b
mov edx, 0xffffffff
test r12d, r12d
cmovg edx, r12d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 1
cmp r14, 8
jb 0x180004f70
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fdc
call fcn.1800191b4
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180004fac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004fa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fd6
call fcn.1800191b4
mov eax, r15d
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180019940
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003abd4
nop
call fcn.18003abd4
nop
int3
Function at 0x180004ff0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x238
call fcn.180037b70
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000508f
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180005086
nop word [rax + rax]
lea rdx, str.EXPLORER.EXE
lea rcx, [rsp + 0x5c]
call fcn.1800423e0
mov rcx, rbx
test eax, eax
je 0x1800050bd
lea rdx, [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180005060
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rdi
call fcn.180005370
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180019940
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x38]
jmp 0x180005091
Function at 0x180006e40
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
test rdx, rdx
jne 0x180006e87
xor al, al
jmp 0x180007085
xor r13d, r13d
cmp qword [rcx + 0x18], r13
ja 0x180006f0b
lea rcx, [rbp - 0x19]
call fcn.1800050d0
mov rbx, rax
lea rdi, [r15 + 8]
cmp rdi, rax
je 0x180006ecb
mov rcx, rdi
call fcn.180002cd0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x180006f0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006f06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800070ab
call fcn.1800191b4
lea rdi, [r15 + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180006f25
mov rdi, qword [rdi]
cmp r15, 8
jae 0x180006f3c
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], 7
jmp 0x180006f7c
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x39]
call fcn.1800027b0
mov qword [rbp - 0x39], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1800370a0
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x29], r15
mov r8d, 0xa
lea rdx, str.Software_
lea rcx, [rbp - 0x39]
call fcn.180002820
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], 0
jne 0x180006fa0
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.180002820
test rsi, rsi
je 0x180006feb
mov r8d, 1
lea rdx, [0x180063ac0]
lea rcx, [rbp - 0x39]
call fcn.180002820
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180006fd2
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.180002820
mov qword [rbp - 0x49], r13
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180007047
mov rcx, qword [rbp - 0x49]
test r12, r12
je 0x180007034
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x18000703c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x180007083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000707e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800070a5
call fcn.1800191b4
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180019940
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18003abd4
int3
call fcn.18003abd4
int3
Function at 0x180013140
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x180013184
call fcn.1800476c8
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fcf0
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.1800461dc
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800132aa
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fcf0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fcf0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001324c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001332b
call fcn.1800191b4
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800132a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001329c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001331f
call fcn.1800191b4
sub ebx, 1
jns 0x1800131c0
mov rcx, rdi
call fcn.180012810
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1800132fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800132f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013325
call fcn.1800191b4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180019940
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003abd4
nop
call fcn.18003abd4
nop
call fcn.18003abd4
int3
Function at 0x180013340
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x180013384
call fcn.1800476c8
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fcf0
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.1800461dc
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800134aa
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fcf0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fcf0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001344c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013447
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001352b
call fcn.1800191b4
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800134a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001349c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001351f
call fcn.1800191b4
sub ebx, 1
jns 0x1800133c0
mov rcx, rdi
call fcn.180012a70
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1800134fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800134f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013525
call fcn.1800191b4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180019940
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003abd4
nop
call fcn.18003abd4
nop
call fcn.18003abd4
int3
Function at 0x1800144b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14d, dword [rsp + 0x110]
mov rbp, rcx
mov rcx, rdx
mov edi, r9d
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800144fb
mov eax, 2
jmp 0x1800145ec
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.1800141f0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.180037b70
test r14d, r14d
mov dword [rsp + 0x20], 0x70
lea rcx, str.runas
mov qword [rsp + 0x38], rsi
lea rax, str.open
mov dword [rsp + 0x24], 0x40
cmovne rax, rcx
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0xa8], 8
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
cmovae rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov esi, eax
test rcx, rcx
je 0x1800145a6
test ebx, ebx
je 0x1800145a6
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 8
jb 0x1800145ea
mov rcx, qword [rsp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800145e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001460a
call fcn.1800191b4
mov eax, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180019940
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18003abd4
int3
Function at 0x180016590
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
mov rdi, qword [0x18008ad90]
xor esi, esi
test rdi, rdi
jne 0x180016641
lea rbp, [0x18008ada0]
mov qword [rsp + 0x20], rbp
mov rcx, rbp
call fcn.1800172f8
test eax, eax
je 0x1800165f8
mov ecx, eax
call fcn.180017814
nop
mov rdi, qword [0x18008ad90]
test rdi, rdi
jne 0x18001662d
lea ecx, [rdi + 0x10]
call fcn.1800195cc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180016623
mov rcx, rax
call fcn.1800057b0
mov rdi, rax
jmp 0x180016626
mov rdi, rsi
mov qword [0x18008ad90], rdi
mov rcx, rbp
call fcn.18001731c
test eax, eax
je 0x180016641
mov ecx, eax
call fcn.180017814
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.180005900
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800166ba
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.180037b70
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [0x18008b088]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800166a0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.180002d40
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001673b
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
xor r8d, r8d
lea rdx, [0x180063ab8]
mov rcx, rbx
call fcn.180002d40
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180016786
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800167b2
call fcn.1800191b4
jmp 0x180016786
lea rcx, [rsp + 0x38]
call fcn.180003ff0
test eax, eax
jne 0x18001675e
lea r8d, [rax + 1]
lea rdx, [0x180063ac0]
lea rcx, [rsp + 0x38]
call fcn.180002820
mov r8d, 0xd
lea rdx, str.winManage.exe
lea rcx, [rsp + 0x38]
call fcn.180002820
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180019940
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.18003abd4
int3

Function at 0x18001b9f8
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18001ba0b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18001c018
lea rdx, [0x180086460]
lea rcx, [rsp + 0x20]
call fcn.180037d00
int3
Function at 0x18002777c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x18008bd70]
xor edx, edx
jmp fcn.18001b9f8

Function at 0x180028114
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x18008bd70]
jmp fcn.18001b9f8

Function at 0x180033d64
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x180033e20]
mov r9, qword [r9 + 8]
jmp fcn.180023c50

Function at 0x180033df8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x180033e30]
mov r9, qword [r9 + 8]
jmp fcn.180023c50

Function at 0x1800461dc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800461d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18003dd50
or eax, 0xffffffff
jmp 0x1800461d6
xor eax, eax
add rsp, 0x28
ret
jmp 0x1800461b4
Function at 0x1800511b8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18005101e
call fcn.18003ddc0
mov dword [rax], 0x16
call fcn.18003abb4
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180051000
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180051000
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x180051050
lock or dword [rax + 0x14], 0x10
jmp 0x180051000
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18005106d
mov rcx, qword [rbp + 0x20]
call fcn.18005b028
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x180051082
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x180051088
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.18004fba4
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800508a4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1800510db
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x180051000
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180051147
mov rcx, qword [rbp + 0x20]
call fcn.18004fba4
cmp eax, 0xffffffff
je 0x18005112e
mov rcx, qword [rbp + 0x20]
call fcn.18004fba4
cmp eax, 0xfffffffe
je 0x18005112e
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.18004fba4
movsxd rdi, eax
lea r15, [0x18008c3e0]
mov rcx, rbx
sar rdi, 6
call fcn.18004fba4
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x180051135
lea rax, [0x180088590]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180051147
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x18005117d
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180051179
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180051179
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x18005119b
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1800511a6
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x180051005
jmp 0x180050fcc
Function at 0x180052e70
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180050e6c
call fcn.18003ddc0
mov dword [rax], 0x16
call fcn.18003abb4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180050e54
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180050e54
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x180050e9e
lock or dword [rax + 0x14], 0x10
jmp 0x180050e54
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180050ebb
mov rcx, qword [rbp + 0x10]
call fcn.18005b028
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18004fba4
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800508a4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x180050f12
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180050e54
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180050f7e
mov rcx, qword [rbp + 0x10]
call fcn.18004fba4
cmp eax, 0xffffffff
je 0x180050f65
mov rcx, qword [rbp + 0x10]
call fcn.18004fba4
cmp eax, 0xfffffffe
je 0x180050f65
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18004fba4
movsxd rdi, eax
lea rsi, [0x18008c3e0]
mov rcx, rbx
sar rdi, 6
call fcn.18004fba4
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x180050f6c
lea rax, [0x180088590]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180050f7e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x180050fb4
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180050fb0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180050fb0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180050e57
jmp 0x180050e24
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x180052e4d
call fcn.18003ddc0
mov dword [rax], 0x16
call fcn.18003abb4
or eax, 0xffffffff
jmp 0x180052e6a
sub dword [rcx + 0x10], 1
jns 0x180052e5c
add rsp, 0x28
jmp 0x1800511b0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x180052e2c