joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401119b0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, rdx
mov rbp, rcx
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1401eb910
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x28]
movups xmm0, xmmword [0x1403072e8]
movups xmm1, xmmword [0x1403072f8]
xor eax, eax
lea r8, [rsp + 0x60]
add edx, edx
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x60], rax
call fcn.14017c780
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14017c870
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp + 0x600]
mov rdx, rcx
and rdx, qword [rsp + 0x4e]
cmp qword [rbp + 0x608], rdx
ja 0x140111a5d
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
mov rcx, qword [rbp + 0x5e8]
mov rdi, qword [rbp + 0x5d8]
lea rax, [rdx + rdx]
mov rsi, qword [rcx + rax*8]
mov rbx, rdx
lea r14, [rcx + rax*8]
add rbx, rbx
mov rbx, qword [rcx + rbx*8]
cmp rsi, rdi
jne 0x140111a8b
mov rax, rdi
jmp 0x140111a92
mov rax, qword [r14 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140111ade
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call fcn.1402a2dc0
test eax, eax
je 0x140111ab4
mov rbx, qword [rbx]
jmp 0x140111a81
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x38]
mov r8d, 0x20
call fcn.1402a2dc0
mov qword [rsp + 0x20], rdi
test eax, eax
jne 0x140111ad6
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x20]
mov rdi, qword [rdi]
cmp rdi, qword [rbp + 0x5d8]
lea rcx, [rbp + 0x5b0]
setne bl
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsp + 0x30], 0
jle 0x140111b06
mov rcx, qword [rsp + 0x28]
call fcn.140298600
movzx eax, bl
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140111ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbp, r9
mov rbx, rdx
mov qword [rax - 0x60], r8
lea r15, [r8 + 8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor ecx, ecx
call fcn.1400f3b20
mov r14, rax
test rax, rax
je 0x140112035
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x50], rax
xor edi, edi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x68], rax
mov rbx, qword [rbx]
mov dword [rsp + 0xa0], edi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140112011
cmp dword [rsp + 0xb0], 3
jne 0x140112011
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.1400d14a0
mov rdi, qword [rsp + 0x60]
test al, al
je 0x140112011
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140112011
mov rbx, rdi
movsxd rsi, dword [rsp + 0x58]
add rsi, rdi
cmp rdi, rsi
jae 0x140112011
nop dword [rax]
movzx r9d, byte [0x1403fdd78]
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14011bc90
add rbx, 0x20
cmp rbx, rsi
jb 0x140111ff0
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
nop
test rdi, rdi
je 0x140112035
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140112060
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rdi, r9
mov r15, rdx
mov qword [rsp + 0x60], r8
lea r14, [r8 + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [0x1403fe608]
test al, 1
jne 0x1401120d7
or eax, 1
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rbx, rax
test rax, rax
je 0x140112181
mov rsi, qword [rdi + 8]
test esi, esi
jne 0x140112115
mov rdx, qword [r15]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140112173
shl esi, 5
movsxd rcx, esi
call fcn.140296f58
mov rbp, rax
mov rcx, qword [rdi]
mov rdx, qword [rcx]
cmp rdx, rcx
je 0x14011214c
mov rcx, rax
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
lea rcx, [rcx + 0x20]
mov rdx, qword [rdx]
cmp rdx, qword [rdi]
jne 0x140112131
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbp
call fcn.1402983dc
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x140112920
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor eax, eax
lea rcx, [rsp + 0x48]
mov rbx, rdx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x74], eax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x84]
xor edx, edx
mov r8d, 0x118
call fcn.1402a04b0
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [rsp + 0x68]
movzx r8d, word [rsp + 0x194]
cmp word [rsp + 0x48], 9
mov r9d, dword [rsp + 0x88]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x8c]
lea rax, [0x14032d178]
lea rdx, [0x14032d1d0]
cmove rdx, rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x84]
lea rdx, str._u._u._u._u._s__u
mov rcx, rbx
call fcn.1401e94c0
mov rax, rbx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140112bd0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x78], 0
mov word [rsp + 0x7c], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140112c97
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
lea edx, [rbx + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140112c93
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x60]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x90
pop rbx
ret

Function at 0x140112cc0
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, dword [0x1403fe134]
test eax, eax
je 0x140112cf8
setns al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x88
ret
lea rax, [rsp + 0x68]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x12]
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov dl, 1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140112d82
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
or edx, 0xffffffff
test eax, eax
mov ecx, 1
cmove ecx, edx
cmp eax, 1
sete al
mov dword [0x1403fe134], ecx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x88
ret
Function at 0x140114a40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x390], rax
lea rcx, [rbp + 0x180]
xor edi, edi
mov edx, 0x104
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140114bc3
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
mov word [rbp + 0x184], di
call qword [sym.imp.pdh.dll_PdhOpenQueryW]
test eax, eax
jne 0x140114bc3
lea rax, str.LogicalDisk
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x180]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, str.Avg._Disk_Queue_Length
xor r9d, r9d
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], 0xffffffff
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], 0x100
call qword [sym.imp.pdh.dll_PdhMakeCounterPathW]
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x80]
xor r8d, r8d
call qword [sym.imp.pdh.dll_PdhAddCounterW]
test eax, eax
jne 0x140114bb8
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x4c0], rbx
movaps xmmword [rsp + 0x4a0], xmm6
call qword [sym.imp.pdh.dll_PdhCollectQueryData]
mov ebx, eax
movsd xmm6, qword [0x14034ccc8]
nop
test ebx, ebx
jne 0x140114ba8
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.pdh.dll_PdhCollectQueryData]
mov ebx, eax
test eax, eax
jne 0x140114ba1
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x1200
call qword [sym.imp.pdh.dll_PdhGetFormattedCounterValue]
mov ebx, eax
test eax, eax
jne 0x140114ba1
movsd xmm2, qword [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str._s___3.1f_r_n
movq r8, xmm2
call fcn.14029a88c
comisd xmm6, xmmword [rsp + 0x40]
ja 0x140114ba8
inc edi
cmp edi, 0x1e
jb 0x140114b40
mov rbx, qword [rsp + 0x4c0]
movaps xmm6, xmmword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.pdh.dll_PdhCloseQuery]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140297ff0
mov rdi, qword [rsp + 0x4c8]
add rsp, 0x4b0
pop rbp
ret
Function at 0x140114bf0
Capabilities:
Query service status

Disassembly:
push r13
push r15
sub rsp, 0x68
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13d, 1
xor edx, edx
xor ecx, ecx
mov r8d, r13d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r15, rax
test rax, rax
je 0x140114d61
lea r8d, [r13 + 4]
lea rdx, str.wscsvc
mov rcx, rax
mov qword [rsp + 0x50], r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
je 0x140114d53
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
xor r12d, r12d
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rsi
mov edi, r12d
mov ebp, r12d
nop word [rax + rax]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140114c9d
cmp dword [rsp + 0x2c], 4
je 0x140114d28
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
jne 0x140114d1a
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov esi, dword [rsp + 0x20]
test esi, esi
je 0x140114d1a
mov ecx, esi
call fcn.140298640
mov rdi, rax
test rax, rax
je 0x140114d1a
lea r9, [rsp + 0x20]
mov r8d, esi
mov rdx, rax
mov rcx, r14
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x140114d0e
mov eax, dword [rdi + 4]
cmp eax, 4
jne 0x140114d04
movzx ebx, r13b
jmp 0x140114d0e
movzx ebx, bl
cmp eax, 3
cmove ebx, r13d
mov rcx, rdi
call fcn.140298600
test bl, bl
jne 0x140114d28
inc ebp
cmp ebp, 0x12c
jb 0x140114c80
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x68
pop r15
pop r13
ret
Function at 0x140114d80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov rsi, rcx
xor r14b, r14b
call fcn.1400fffc0
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x140114f82
mov eax, dword [0x1403232b8]
movsd xmm0, qword [0x1403232b0]
lea rcx, [rbp + 0x2b0]
mov dword [rbp + 0x158], eax
movzx eax, word [0x1403232bc]
mov edx, 0x104
movsd qword [rbp + 0x150], xmm0
mov word [rbp + 0x15c], ax
xor eax, eax
mov qword [rsp + 0x5f8], r15
mov qword [rbp + 0x162], rax
mov qword [rbp + 0x16a], rax
mov qword [rbp + 0x172], rax
mov qword [rbp + 0x17a], rax
mov qword [rbp + 0x182], rax
mov qword [rbp + 0x18a], rax
mov qword [rbp + 0x192], rax
mov qword [rbp + 0x19a], rax
mov qword [rbp + 0x1a2], rax
mov dword [rbp + 0x1aa], eax
mov word [rbp + 0x1ae], ax
mov word [rbp + 0x160], bx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [rbp + 0x2b0]
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
lea rcx, [rbp + 0x150]
xor r9d, r9d
mov edx, 0x100081
mov dword [rsp + 0x28], ebx
mov word [rbp + 0x158], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140114f71
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x44]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1b0]
xor r8d, r8d
mov edx, 0x560000
mov rcx, r15
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140114f68
cmp dword [rsp + 0x44], 0x20
jb 0x140114f68
mov r9d, dword [rbp + 0x1b8]
lea r8, str.DosDevicesPhysicalDrive_d
lea edx, [rbx + 0x28]
lea rcx, [rbp + 0x160]
call fcn.14029b4b4
lea r8, [rbp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0xff
call fcn.1402980d8
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x1fe
mov edx, 0x22e04c
mov rcx, rdi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140114f68
cmp byte [rsp + 0x40], bl
mov r14b, 1
setne al
mov byte [rsi], al
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x5f8]
cmp byte [rsi], bl
movzx eax, r14b
setne bl
mov dword [0x1403ebc2c], ebx
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1401150c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1401151e3
mov qword [rsp + 0x38], rsi
lea edx, [rsi + 0xe]
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 0xe]
lea r8, [0x14032d680]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
lea edx, [rsi + 0xe]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140115156
mov qword [rsp + 0x28], rsi
test ebx, ebx
jne 0x140115177
lea rax, [0x140323de0]
mov qword [rsp + 0x20], rax
jmp 0x14011519e
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d1690
nop
cmp dword [rsp + 0x28], 0
jle 0x1401151d0
mov rcx, qword [rsp + 0x20]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401151f2
mov rcx, qword [rsp + 0x30]
call fcn.140298600
jmp 0x1401151f2
mov rdx, qword [0x1403ec168]
mov rcx, rdi
call fcn.1401e6fd0
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140115220
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
xor bl, bl
lea rcx, [rax - 0x30]
call fcn.1401150c0
nop
mov edx, 0x131
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140115396
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140115396
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r15d, 1
test rax, rax
je 0x14011532e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f01ff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401152f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x14011532e
movzx ebx, r15b
jmp 0x14011532e
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, r14d
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140115325
movzx ebx, bl
cmp dword [rsp + 0x80], r14d
cmove ebx, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test bl, bl
je 0x140115396
xor dil, dil
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140115394
lea rdx, [0x1403ee3f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140115372
call rax
movzx edi, dil
test eax, eax
cmovns edi, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test dil, dil
je 0x140115394
movzx ecx, r15b
call fcn.1401abec0
test al, al
je 0x1401153a2
call fcn.140110470
jmp 0x1401153a2
xor bl, bl
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401153b3
mov rcx, qword [rsp + 0x48]
call fcn.140298600
movzx eax, bl
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401153d0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x20]
call fcn.1401150c0
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14011548d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140115489
lea rdx, [0x1403ee410]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011545f
call rax
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovns ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
je 0x140115489
mov cl, 1
call fcn.1401abec0
test al, al
je 0x14011547c
call fcn.140110470
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14011548d
xor bl, bl
jmp 0x14011548f
mov bl, 1
cmp dword [rsp + 0x28], 0
jle 0x1401154a0
mov rcx, qword [rsp + 0x20]
call fcn.140298600
movzx eax, bl
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rdi
ret
Function at 0x140117380
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
movzx ebx, cl
call fcn.140117900
test al, al
je 0x1401174d5
lea rcx, [rsp + 0x48]
call fcn.140117790
nop
xor edi, edi
test bl, bl
jne 0x140117432
mov edx, 0x134
xor ecx, ecx
lea r8d, [rdi + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140117432
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80
lea r8d, [rdi + 3]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140117432
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, ebp
jne 0x140117432
mov bl, 1
jmp 0x1401174c1
xor sil, sil
nop word [rax + rax]
lea r8, [0x14032d860]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x140117483
mov sil, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x140117440
mov edx, 0x133
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1401174bf
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140117690
test al, al
je 0x1401174bf
test sil, sil
je 0x14011742b
mov cl, 1
call fcn.1401174f0
movzx ebx, al
jmp 0x1401174c1
xor bl, bl
cmp dword [rsp + 0x50], 0
jle 0x1401174d2
mov rcx, qword [rsp + 0x48]
call fcn.140298600
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret