joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044b70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x7588]
test ecx, ecx
jle 0x140044bb8
mov rdx, qword [rbx + 0x7598]
call fcn.140110e88
movsxd r8, dword [rbx + 0x7588]
mov r9, qword [rbx + 0x7598]
lea rcx, [rbx + 0x75b0]
mov edx, 1
call fcn.140111244
mov dword [rbx + 0x7588], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140045230
Capabilities:
Write file on windows

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 r15
sub rsp, 0x20
mov eax, dword [rsp + 0x60]
mov edi, dword [rsp + 0x78]
mov r13, rcx
mov dword [rcx + 0x20], eax
mov eax, r8d
mov ecx, edi
mov ebx, r8d
mov esi, r9d
mov dword [r13 + 0xc], r9d
imul eax, r9d
mov dword [r13 + 0x18], eax
mov eax, 2
mov r12, rdx
mov r9, rdx
mov edx, 1
mov ebp, 1
shl ebp, cl
xor ecx, ecx
cmp edi, 1
mov dword [r13 + 0x1c], ecx
mov qword [r13 + 0x10], rcx
mov r15d, edi
cmovle r15d, eax
cmp dword [rsp + 0x70], 0
lea rax, str.GIF87a
lea rcx, str.GIF89a
lea r8d, [rdx + 5]
mov dword [r13 + 8], ebx
cmovl rcx, rax
call fcn.140111244
mov r8, r12
mov edx, ebx
mov rcx, r13
call fcn.140044aa0
mov r8, r12
mov edx, esi
mov rcx, r13
call fcn.140044aa0
mov ecx, edi
lea eax, [rdi - 1]
shl ecx, 5
mov rdx, r12
sub ecx, 0x20
or ecx, eax
bts ecx, 7
call fcn.140110e88
mov ecx, dword [rsp + 0x68]
mov rdx, r12
call fcn.140110e88
mov rdx, r12
xor ecx, ecx
call fcn.140110e88
movsxd rdi, ebp
test ebp, ebp
jle 0x140045359
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
sub rsi, rbx
sub rbp, rbx
mov ecx, dword [rsi + rbx]
mov rdx, r12
call fcn.140110e88
mov ecx, dword [rbx]
mov rdx, r12
call fcn.140110e88
mov ecx, dword [rbx + rbp]
mov rdx, r12
call fcn.140110e88
add rbx, 4
dec rdi
jne 0x140045330
cmp dword [rsp + 0x70], 0
jl 0x1400453bf
mov rdx, r12
mov ecx, 0x21
call fcn.140110e88
mov rdx, r12
mov ecx, 0xf9
call fcn.140110e88
mov rdx, r12
mov ecx, 4
call fcn.140110e88
mov rdx, r12
mov ecx, 1
call fcn.140110e88
mov rdx, r12
xor ecx, ecx
call fcn.140110e88
mov rdx, r12
xor ecx, ecx
call fcn.140110e88
movzx ecx, byte [rsp + 0x70]
mov rdx, r12
call fcn.140110e88
mov rdx, r12
xor ecx, ecx
call fcn.140110e88
mov rdx, r12
mov ecx, 0x2c
call fcn.140110e88
mov r8, r12
xor edx, edx
mov rcx, r13
call fcn.140044aa0
mov r8, r12
xor edx, edx
mov rcx, r13
call fcn.140044aa0
mov edx, dword [r13 + 8]
mov r8, r12
mov rcx, r13
call fcn.140044aa0
mov edx, dword [r13 + 0xc]
mov r8, r12
mov rcx, r13
call fcn.140044aa0
cmp dword [r13 + 0x20], 0
mov rdx, r12
je 0x140045415
mov ecx, 0x40
jmp 0x140045417
xor ecx, ecx
call fcn.140110e88
mov rdx, r12
mov ecx, r15d
call fcn.140110e88
mov r9, qword [rsp + 0x98]
lea edx, [r15 + 1]
mov r8, r12
mov rcx, r13
call fcn.140045030
mov rdx, r12
xor ecx, ecx
call fcn.140110e88
mov rdx, r12
mov ecx, 0x3b
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r13
pop r12
jmp fcn.140110e88
Function at 0x140045510
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x7708
call fcn.14010d1a0
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x76f0], rax
mov r13, r8
mov rdi, rdx
mov rbp, rcx
mov r12, qword [rsp + 0x7770]
xor esi, esi
mov r8d, dword [rsp + 0x7760]
mov edx, r9d
call fcn.140044170
test eax, eax
je 0x14004560d
mov ebx, dword [rsp + 0x7768]
mov ecx, ebx
mov r8d, 1
shl r8d, cl
mov rdx, r13
mov rcx, rbp
call fcn.1400448a0
cmp ebx, 8
jne 0x14004559b
mov rdx, rdi
mov rcx, rbp
call fcn.1400445b0
jmp 0x1400455bd
cmp ebx, 4
jne 0x1400455ad
mov rdx, rdi
mov rcx, rbp
call fcn.140044660
jmp 0x1400455bd
cmp ebx, 1
jne 0x14004560d
mov rdx, rdi
mov rcx, rbp
call fcn.140044780
test eax, eax
je 0x14004560f
lea rcx, [rsp + 0x30]
call fcn.140044d80
nop
lea rdx, [0x140208028]
mov rcx, r12
call fcn.1401116e4
mov rdi, rax
mov r8, qword [rbp + 8]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140045480
mov ebx, eax
mov rcx, rdi
call fcn.1401115a4
test ebx, ebx
je 0x140045608
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14004560d
mov esi, 1
mov eax, esi
mov rcx, qword [rsp + 0x76f0]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x7708
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140045890
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
test rcx, rcx
jne 0x1400458da
xor eax, eax
jmp 0x140045abc
mov rcx, qword [rdx + 0xb0]
add rcx, 0x9888
cmp byte [rcx], 0
je 0x140045912
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rbx], al
inc rcx
inc rbx
test al, al
jne 0x1400458f0
mov r12d, 1
mov esi, r12d
mov dword [rsp + 0x20], r12d
jmp 0x140045ab4
mov r12d, 1
mov dword [rsp + 0x34], 0x104
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov r11d, esi
mov dword [rsp + 0x30], esi
nop word [rax + rax]
mov r8d, r11d
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp r8, rcx
jae 0x140045985
movsx ecx, byte [rsp + r8 + 0x40]
add ecx, r11d
mov eax, 0x51eb851f
mul ecx
shr edx, 3
imul edx, edx, 0x19
sub ecx, edx
add ecx, 0x41
mov byte [rsp + r8 + 0x40], cl
inc r11d
mov dword [rsp + 0x30], r11d
jmp 0x140045940
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
movzx eax, byte [rsp + 0x48]
cmp rcx, 8
cmova eax, esi
mov byte [rsp + 0x48], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140045a53
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x28], rax
lea rdx, [0x140202938]
lea rcx, [rsp + 0x28]
call fcn.1400ca830
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400ca830
mov rdx, qword [rsp + 0x28]
mov r8, qword [rdx - 0x10]
cmp r8, 6
jle 0x140045a0d
add r8, 0xfffffffffffffffa
mov edx, 6
lea rcx, [rsp + 0x28]
call fcn.1400cb630
lea rdx, [0x140202934]
lea rcx, [rsp + 0x28]
call fcn.1400ca830
lea rcx, [rsp + 0x28]
call fcn.1400cacc0
mov rdx, qword [rsp + 0x28]
mov rcx, rbx
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x140045a30
mov esi, r12d
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1400ca400
jmp 0x140045a79
test r12d, r12d
je 0x140045a79
lea rcx, str.xsrque32
mov rdx, rbx
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140045a62
mov esi, r12d
mov dword [rsp + 0x20], r12d
cmp byte [rbx], 0
je 0x140045ab4
mov rdx, qword [r13 + 0xb0]
add rdx, 0x9888
nop dword [rax]
movzx eax, byte [rbx]
mov byte [rdx], al
inc rbx
inc rdx
test al, al
jne 0x140045a90
mov rax, qword [r13]
mov r8d, r12d
lea rdx, str.QueuePath
mov rcx, r13
call qword [rax + 0x20]
nop
jmp 0x140045aba
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14004c5e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xc0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rdx
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rsi, rax
test eax, eax
je 0x14004c7d1
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
mov r8, qword [0x1402bfb28]
mov edx, 0x475
lea rcx, [rsp + 0x48]
call fcn.1400cc060
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx - 0x10]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xf0]
mov r8d, eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, edi
mov dword [rsp + 0x44], ebx
cmp ebx, esi
jae 0x14004c7b4
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], 4
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x1005
mov rcx, qword [r12 + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14004c7ad
cmp qword [rdx + 0x108], 0
je 0x14004c7ad
mov rax, qword [rdx + 0x108]
cmp byte [rax], 0
je 0x14004c7ad
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rdx + 0x108]
lea rcx, [rsp + 0xf8]
call fcn.1400ca6a0
lea rdx, [0x1402065d0]
lea rcx, [rsp + 0xf8]
call fcn.1400ca830
mov rdx, qword [rsp + 0xf8]
mov rax, qword [rdx - 0x10]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xf0]
mov r8d, eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0xf8]
call fcn.1400ca400
inc ebx
jmp 0x14004c6ac
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x48]
call fcn.1400ca400
nop
mov eax, edi
jmp 0x14004c7d9
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140051b30
Capabilities:
Get graphical window text

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov esi, r8d
mov r12, rdx
mov rbx, rcx
test rcx, rcx
je 0x140051c44
test rdx, rdx
je 0x140051c44
test r8d, r8d
je 0x140051c44
mov r8d, esi
shl r8, 2
xor edx, edx
mov rcx, r12
call fcn.14010da60
mov r11, qword [0x1402b9cc8]
mov qword [rsp + 0x78], r11
mov ecx, 0x104
call fcn.14010a204
mov r13, rax
mov r8d, 0x104
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rbx, r13
mov qword [rsp + 0x28], rbx
xor edi, edi
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
movzx edx, byte [rbx]
test dl, dl
je 0x140051c15
cmp edi, esi
jae 0x140051c15
cmp dl, 0x20
jne 0x140051c01
mov rcx, qword [rsp + 0x78]
cmp qword [rcx - 0x10], 0
je 0x140051bf5
call fcn.14010e548
mov rcx, qword [rsp + 0x78]
call fcn.14010e548
mov dword [r12 + rdi*4], eax
inc edi
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x78]
call fcn.1400cba60
jmp 0x140051c0b
lea rcx, [rsp + 0x78]
call fcn.1400ca870
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140051bc0
mov rcx, qword [rsp + 0x78]
cmp qword [rcx - 0x10], 0
je 0x140051c2e
cmp edi, esi
jae 0x140051c2e
call fcn.14010e548
mov dword [r12 + rdi*4], eax
mov rcx, r13
call fcn.14010d304
nop
lea rcx, [rsp + 0x78]
call fcn.1400ca400
nop
jmp 0x140051c44
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x14005c810
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rdx
mov r13, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r12, rax
test eax, eax
je 0x14005ca43
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
mov r8, qword [0x1402bfb28]
mov edx, 0x475
lea rcx, [rsp + 0x48]
call fcn.1400cc060
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx - 0x10]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x100]
mov r8d, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, esi
lea r15, [0x14020c2dc]
mov dword [rsp + 0x44], ebx
cmp ebx, r12d
jae 0x14005ca26
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], 4
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x1005
mov rcx, qword [r13 + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14005ca1f
cmp qword [rdi + 0x108], 0
je 0x14005ca1f
mov rax, qword [rdi + 0x108]
cmp byte [rax], 0
je 0x14005ca1f
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x108], rax
mov rdx, qword [rdi + 0x108]
lea rcx, [rsp + 0x108]
call fcn.1400ca6a0
lea rdx, [0x1401eb500]
lea rcx, [rsp + 0x108]
call fcn.1400ca830
lea rdx, [0x14020c2d8]
cmp dword [rdi], 0
cmovne rdx, r15
lea rcx, [rsp + 0x108]
call fcn.1400ca830
lea rdx, [0x1402065d0]
lea rcx, [rsp + 0x108]
call fcn.1400ca830
mov rdx, qword [rsp + 0x108]
mov rax, qword [rdx - 0x10]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x100]
mov r8d, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x108]
call fcn.1400ca400
inc ebx
jmp 0x14005c8e7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x48]
call fcn.1400ca400
nop
mov eax, esi
jmp 0x14005ca4b
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14005d5d0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rax - 0x58], r13d
test rdx, rdx
je 0x14005d7d6
cmp byte [rdx], r13b
je 0x14005d7d6
mov rcx, rdx
call fcn.1400d0090
test eax, eax
je 0x14005d7d6
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rax + 1]
mov edi, ecx
call fcn.14010a204
mov r15, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14010da60
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xb0]
mov r8d, ebx
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x48]
call fcn.1400c8f00
test eax, eax
je 0x14005d7b8
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14005d7b3
movzx eax, byte [r8]
test al, al
je 0x14005d7b3
cmp al, 0x23
je 0x14005d7b3
cmp al, 0xd
je 0x14005d7b3
cmp al, 0xa
je 0x14005d7b3
mov r12d, 1
mov dword [rsp + 0x44], r12d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rsi, [r8 + rcx - 1]
mov qword [rsp + 0x50], rsi
lea edx, [rax + 0x20]
mov rcx, r8
call fcn.14010db4c
test rax, rax
je 0x14005d748
movzx ecx, byte [rax + 1]
cmp cl, 0x30
je 0x14005d731
cmp cl, 0x31
jne 0x14005d748
mov rsi, rax
mov qword [rsp + 0x50], rax
mov r12d, r13d
cmp cl, 0x30
setne r12b
mov dword [rsp + 0x44], r12d
mov rcx, rsi
sub rcx, qword [rsp + 0xb8]
add rcx, 9
call fcn.14010a204
mov rbx, rax
mov r8, rsi
sub r8, qword [rsp + 0xb8]
inc r8
xor edx, edx
lea rcx, [rax + 4]
call fcn.14010da60
mov rdx, qword [rsp + 0xb8]
sub rsi, rdx
mov r8, rsi
lea rcx, [rbx + 4]
call fcn.14010d5f0
mov dword [rbx], r12d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call fcn.14005d160
mov rcx, rbx
call fcn.140085540
mov dword [r14 + 0xb0], 1
jmp 0x14005d6a1
mov rcx, r15
call fcn.14010d304
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, 1
mov dword [rsp + 0x40], r13d
mov eax, r13d
jmp 0x14005d7df
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006e110
Capabilities:
Check mutex on windows
Check os version

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
cmp qword [rcx + 0x58], rbx
jne 0x14006e20e
mov byte [rsp + 0x70], bl
xor eax, eax
mov qword [r11 - 0x57], rax
mov qword [r11 - 0x4f], rax
mov qword [r11 - 0x47], rax
mov qword [r11 - 0x3f], rax
mov qword [r11 - 0x37], rax
mov qword [r11 - 0x2f], rax
mov qword [r11 - 0x27], rax
mov dword [r11 - 0x1f], eax
mov word [r11 - 0x1b], ax
mov byte [r11 - 0x19], al
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14006e1ad
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x14006e1ad
lea r8, str.sepbfclizmoveps
lea rdx, str.Global_s
lea rcx, [rsp + 0x70]
call fcn.14010d754
jmp 0x14006e1b9
movups xmm0, xmmword [str.sepbfclizmoveps]
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rdi + 0x58], rax
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x14006e243
mov edx, 0x493e0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
sete bl
mov dword [rsp + 0x20], ebx
test ebx, ebx
jne 0x14006e243
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x58], 0
mov eax, ebx
jmp 0x14006e24b
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140070310
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r12, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov edi, ebx
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x60], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x61]
call fcn.14010da60
nop
mov byte [rsp + 0x170], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x171]
call fcn.14010da60
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ecx, ecx
call fcn.14010d57c
mov r8, rax
lea rdx, [0x140210fe8]
lea rcx, [rsp + 0x170]
call fcn.14010d754
mov r8d, 0x103
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.140111760
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rsp + 0x60]
call fcn.1400cfaf0
test eax, eax
je 0x140070471
mov ecx, 0x178
call fcn.1400854f0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140070430
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
lea rcx, [0x140210fe4]
mov qword [rsp + 0x20], rcx
lea r9, [0x140210fe0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsi + 0x50]
mov rcx, rax
call fcn.14002de50
mov rdi, rax
jmp 0x140070433
mov rdi, rbx
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 1
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14006f940
test eax, eax
sete bl
mov dword [rsp + 0x40], ebx
jmp 0x14007047c
test rdi, rdi
je 0x140070491
mov rcx, rdi
call fcn.14002e700
mov rcx, rdi
call fcn.140085540
cmp byte [rsp + 0x60], 0
je 0x1400704b1
lea rcx, [rsp + 0x60]
call fcn.1400cfaf0
test eax, eax
je 0x1400704b1
lea rcx, [rsp + 0x60]
call fcn.1400d3eb0
nop
mov eax, ebx
jmp 0x1400704b9
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop r12
pop rdi
pop rsi
ret
Function at 0x140071fd0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbx
push rsi
sub rsp, 0x148
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp byte [0x1402bf240], 0
mov qword [r11 + 0x18], rbp
mov rsi, rcx
mov ebp, edx
lea rbx, [0x1402bf240]
jne 0x1400720f6
mov rcx, qword [0x1402c0178]
mov r8d, 0x104
mov rdx, rbx
mov qword [r11 - 0x18], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
mov rcx, rbx
call fcn.14010db4c
test rax, rax
je 0x14007203a
mov byte [rax], 0
mov rcx, rbx
call fcn.1400c9bc0
xor edx, edx
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rdx
mov byte [rsp + rdx + 0x1f], al
test al, al
jne 0x140072050
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, str.ocxdrv32.dll
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140072080
lea rcx, [rsp + 0x20]
call fcn.1400d0090
mov rdi, qword [rsp + 0x140]
test eax, eax
jne 0x1400720ad
mov byte [0x1402bf240], al
jmp 0x1400720b6
cmp byte [0x1402bf240], 0
jne 0x1400720f6
mov edx, 0x104
mov r8d, 1
mov rcx, rbx
call fcn.140071ce0
test eax, eax
je 0x1400720e2
mov edx, 0x5c
mov rcx, rbx
call fcn.14010db4c
test rax, rax
je 0x1400720e2
mov byte [rax], 0
cmp byte [0x1402bf240], 0
jne 0x1400720f6
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov rbp, qword [rsp + 0x170]
sub rsi, rbx
movzx eax, byte [rbx]
inc rbx
mov byte [rsi + rbx - 1], al
test al, al
jne 0x140072101
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x148
pop rsi
pop rbx
ret

Function at 0x140072130
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1402bf240]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [0x1402bf240]
call fcn.1400c9bc0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1402bf240]
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140072170
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret