joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bb380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, r9
mov r13d, r8d
mov r12, rdx
mov r15, rcx
test r9, r9
jne 0x1000bb3bd
lea r8, [0x10000c008]
lea rcx, [0x10000bd60]
mov edx, 0x10e9
call fcn.10009a050
test r12, r12
jne 0x1000bb3da
lea r8, [0x10000be10]
lea rcx, [0x10000bd60]
mov edx, 0x10ea
call fcn.10009a050
or dword [rsi], 0xffffffff
xor eax, eax
test r13d, r13d
je 0x1000bb3fa
mov rdx, r12
mov r8, r13
movzx ecx, byte [rdx]
rol eax, 1
inc rdx
xor eax, ecx
sub r8, 1
jne 0x1000bb3ea
mov rcx, qword [r15 + 0x10]
xor edx, edx
div dword [r15]
mov ebx, edx
mov r9d, edx
mov rdx, qword [rcx + rdx*8]
test rdx, rdx
je 0x1000bb4b9
mov r8, qword [r15 + 0x18]
shr r9, 5
mov ecx, ebx
mov eax, dword [r8 + r9*4]
and ecx, 0x1f
bt eax, ecx
jb 0x1000bb468
cmp byte [rdx], 9
jne 0x1000bb4b9
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rcx, r15
call fcn.1000bb554
cmp dword [rsp + 0x70], r13d
jne 0x1000bb4b9
mov r8d, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov rdx, r12
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1000bb4b9
shl ebx, 0xb
jmp 0x1000bb4d8
mov r14d, dword [rdx]
xor edi, edi
lea rbp, [rdx + 8]
test r14d, r14d
je 0x1000bb4b9
mov rdx, qword [rbp]
cmp byte [rdx], 9
jne 0x1000bb4ae
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rcx, r15
call fcn.1000bb554
cmp dword [rsp + 0x70], r13d
jne 0x1000bb4ae
mov r8d, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov rdx, r12
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1000bb4d3
inc edi
add rbp, 8
cmp edi, r14d
jb 0x1000bb476
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
shl ebx, 0xb
or ebx, edi
xor eax, eax
mov dword [rsi], ebx
jmp 0x1000bb4be
Function at 0x1000c563c
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov rsi, qword [rsp + 0x2f8]
mov rbx, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
mov r12b, r8b
mov bpl, dl
mov qword [rsp + 0x48], rcx
mov rdi, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rdi, r13
je 0x1000c56fe
test byte [rdi + 0x1c], 4
je 0x1000c56c5
cmp byte [rdi + 0x19], 4
jb 0x1000c56c5
mov rcx, qword [rdi + 0x10]
lea r8, [0x100003158]
mov edx, 0x59
call fcn.10001c854
mov rdi, qword [0x1001653b8]
cmp rdi, r13
je 0x1000c56fe
test byte [rdi + 0x1c], 4
je 0x1000c56fe
cmp byte [rdi + 0x19], 5
jb 0x1000c56fe
movzx eax, r12b
movzx ecx, bpl
lea r8, [0x100003158]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x10]
mov edx, 0x5a
mov r9, rsi
call fcn.10001e4b0
xor eax, eax
or r8, 0xffffffffffffffff
mov rdi, r15
mov rcx, r8
repne scasw ax, word [rdi]
mov rdi, rsi
not rcx
lea rdx, [rcx - 1]
mov rcx, r8
repne scasw ax, word [rdi]
not rcx
lea r14d, [rcx + rdx - 1]
lea r13, [rcx - 1]
lea eax, [r14 + 1]
cmp eax, 0x104
jbe 0x1000c5743
mov dword [rbx], 0x57
lea eax, [r8 + 3]
jmp 0x1000c588c
mov eax, edx
lea rcx, [rsp + 0x60]
mov rdx, r15
lea rdi, [rax + rax]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov r8d, r13d
lea rcx, [rsp + rdi + 0x60]
add r8, r8
mov rdx, rsi
call sub.msvcrt.dll_memcpy
xor eax, eax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r8d, [rax + 7]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x2000080
mov word [rsp + r14*2 + 0x60], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1000c5807
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1000c57b8
xor eax, eax
jmp 0x1000c588c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x1000c57fd
test byte [rcx + 0x1c], 4
je 0x1000c57fd
cmp byte [rcx + 0x19], 2
jb 0x1000c57fd
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
lea r8, [0x100003158]
mov edx, 0x5b
mov dword [rsp + 0x20], eax
call fcn.10001ddb0
mov eax, 6
jmp 0x1000c588c
mov r8, qword [rsp + 0x300]
mov edx, dword [rsp + 0x40]
movzx eax, bpl
mov dword [rsp + 0x50], eax
movzx eax, r12b
lea r9, [0x1000c43e0]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
mov rcx, rsi
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1000c4480
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x1000c588a
test byte [rcx + 0x1c], 4
je 0x1000c588a
cmp byte [rcx + 0x19], 4
jb 0x1000c588a
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, 0x5c
call fcn.10001c854
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.10014e600
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1000c9078
Capabilities:
Encode data using xor

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, 0x60
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x1001653b8]
lea r14, [0x1001653b8]
cmp rcx, r14
je 0x1000c90d1
test byte [rcx + 0x1c], 4
je 0x1000c90d1
cmp byte [rcx + 0x19], 4
jb 0x1000c90d1
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, VarDecFix
call fcn.10001c854
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x1001653b8]
cmp rax, r14
je 0x1000c9126
test byte [rax + 0x1c], 4
je 0x1000c9126
cmp byte [rax + 0x19], 4
jb 0x1000c9126
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1001653b8]
lea r8, [0x100003158]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, reloc.OLEAUT32.dll_VarDecFix
call fcn.10001c878
cmp byte [rbx + 0x10], 0
je 0x1000c9232
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov r11d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
add r11, 0x1f
shr r11, 5
test r11d, r11d
je 0x1000c9174
mov r8d, r11d
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
sub r8, 1
jne 0x1000c9162
cmp dword [rbx + 0x4c], 1
jne 0x1000c922b
mov rdi, qword [rsp + 0x90]
lea rax, [0x10000d310]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
or qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1000c563c
test eax, eax
jne 0x1000c92c3
mov qword [rsp + 0x38], rdi
or qword [rsp + 0x30], 0xffffffffffffffff
lea rax, [0x10000d330]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1000c563c
test eax, eax
jne 0x1000c92c3
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.1000c5e80
test eax, eax
jne 0x1000c92c3
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1000c6474
test eax, eax
jne 0x1000c92c3
xor eax, eax
jmp 0x1000c92c3
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1000c8bfc
mov ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c92c1
test byte [rcx + 0x1c], 4
je 0x1000c929b
cmp byte [rcx + 0x19], 4
jb 0x1000c929b
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1001653b8]
lea r8, [0x100003158]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xbb
call fcn.10001c878
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c92c1
test byte [rcx + 0x1c], 4
je 0x1000c92c1
cmp byte [rcx + 0x19], 4
jb 0x1000c92c1
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, 0xbc
call fcn.10001c854
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1000d2768
Capabilities:
Get volume information via ioctl

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 r13
push r14
sub rsp, 0xc0
xor r13d, r13d
mov rsi, rcx
mov dword [rsp + 0x40], r13d
mov rcx, qword [0x1001653b8]
lea r14, [0x1001653b8]
cmp rcx, r14
je 0x1000d27c7
test byte [rcx + 0x1c], 4
je 0x1000d27c7
cmp byte [rcx + 0x19], 4
jb 0x1000d27c7
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, 0x1c6
call fcn.10001c854
mov rbp, qword [rsp + 0x108]
mov r12, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov qword [rbp], r13
mov r8d, 3
mov qword [rsp + 0x30], r13
mov qword [r12], r13
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rbx], r13d
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1000d2862
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d2858
test byte [rcx + 0x1c], 4
je 0x1000d2858
cmp byte [rcx + 0x19], 2
jb 0x1000d2858
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, 0x1c7
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.10001ddb0
mov eax, 0xd
jmp 0x1000d2999
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x90064
mov rcx, rdi
mov dword [rsp + 0x28], 0x60
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r13d
jne 0x1000d28af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000d2858
mov rsi, qword [rsp + 0x98]
mov r13, qword [rsp + 0x100]
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.100062ef4
lea rcx, [r13 + 8]
call fcn.10001cfe4
lea rcx, [rsp + 0x48]
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
test bl, bl
jne 0x1000d2933
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x1000d292c
test byte [rcx + 0x1c], 4
je 0x1000d292c
cmp byte [rcx + 0x19], 2
jb 0x1000d292c
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, 0x1c8
call fcn.10001c854
mov eax, 1
jmp 0x1000d2999
mov r8, rsi
mov rdx, rsi
mov rcx, r13
call fcn.100062ef4
lea rcx, [r13 + 8]
call fcn.10001cfe4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp], rsi
mov qword [r12], rsi
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x1000d2997
test byte [rcx + 0x1c], 4
je 0x1000d2997
cmp byte [rcx + 0x19], 4
jb 0x1000d2997
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov edx, 0x1ca
call fcn.10001c854
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1000d3334
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0xb8
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0xa8], rax
and dword [rsp + 0x54], 0
and dword [rsp + 0x50], 0
mov rbx, rcx
lea rcx, [rsp + 0x40]
mov rdi, r9
mov esi, r8d
mov dword [rsp + 0x40], 0x67452301
mov dword [rsp + 0x44], 0xefcdab89
mov dword [rsp + 0x48], 0x98badcfe
mov dword [rsp + 0x4c], 0x10325476
call fcn.1000e0fbc
lea r11, [rsp + 0xa1]
lea rcx, [rsp + 0x52]
mov edx, 2
mov al, byte [rcx - 2]
mov byte [r11 - 1], al
mov al, byte [rcx - 1]
mov byte [r11], al
mov al, byte [rcx]
add r11, 4
mov byte [r11 - 3], al
mov al, byte [rcx + 1]
add rcx, 4
sub rdx, 1
mov byte [r11 - 2], al
jne 0x1000d33a2
mov ecx, dword [rsp + 0x50]
lea eax, [rdx + 0x38]
lea r8d, [rdx + 0x78]
shr ecx, 3
lea rdx, [0x1001655c0]
and ecx, 0x3f
sub eax, ecx
sub r8d, ecx
cmp ecx, 0x38
lea rcx, [rsp + 0x40]
cmovb r8d, eax
call fcn.1000e0fbc
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
mov r8d, 8
call fcn.1000e0fbc
lea r11, [rdi + 1]
lea rcx, [rsp + 0x41]
mov edx, 4
mov al, byte [rcx - 1]
mov byte [r11 - 1], al
mov al, byte [rcx]
add rcx, 4
mov byte [r11], al
mov al, byte [rcx - 3]
add r11, 4
sub rdx, 1
mov byte [r11 - 3], al
mov al, byte [rcx - 2]
mov byte [r11 - 2], al
jne 0x1000d341e
mov rdx, rdi
mov rcx, rbx
mov r8d, 0x10
sub rdx, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1000d3455
mov rcx, qword [0x1001653b8]
lea r12, [0x1001653b8]
cmp rcx, r12
je 0x1000d3504
test byte [rcx + 0x1c], 4
je 0x1000d34c0
cmp byte [rcx + 0x19], 5
jb 0x1000d34c0
mov eax, dword [rdi + 0xc]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 8]
mov edx, 0x1db
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 4]
mov r9d, esi
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
call fcn.1000c2524
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000d3504
test byte [rcx + 0x1c], 4
je 0x1000d3504
cmp byte [rcx + 0x19], 5
jb 0x1000d3504
mov eax, dword [rbx + 0xc]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 8]
mov edx, 0x1dc
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 4]
mov r9d, esi
mov dword [rsp + 0x28], eax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
call fcn.1000c2524
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.10014e600
add rsp, 0xb8
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1000d3528
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x50
and dword [rsp + 0x40], 0
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x1001653b8]
lea r15, [0x1001653b8]
cmp rcx, r15
je 0x1000d35a1
test byte [rcx + 0x1c], 4
je 0x1000d35a1
cmp byte [rcx + 0x19], 5
jb 0x1000d35a1
mov eax, dword [r9 + 0x14]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1dd
mov dword [rsp + 0x38], eax
mov eax, dword [r9 + 0x10]
mov r9, rbp
mov dword [rsp + 0x30], eax
mov dword [r11 - 0x30], r8d
lea r8, [0x100003158]
mov qword [r11 - 0x38], rsi
call fcn.1000c2bc0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000d35f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1000d35ea
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1000d3635
test byte [rcx + 0x1c], 4
je 0x1000d3635
cmp byte [rcx + 0x19], 5
jb 0x1000d3635
mov edx, 0x1de
jmp 0x1000d3625
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov qword [rbx], r11
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1000d3635
test byte [rcx + 0x1c], 4
je 0x1000d3635
cmp byte [rcx + 0x19], 5
jb 0x1000d3635
mov edx, 0x1df
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
call fcn.10001c854
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret
Function at 0x1000d3658
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x50
and dword [rsp + 0x40], 0
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x1001653b8]
lea r15, [0x1001653b8]
cmp rcx, r15
je 0x1000d36d1
test byte [rcx + 0x1c], 4
je 0x1000d36d1
cmp byte [rcx + 0x19], 5
jb 0x1000d36d1
mov eax, dword [r9 + 0x14]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1e0
mov dword [rsp + 0x38], eax
mov eax, dword [r9 + 0x10]
mov r9, rbp
mov dword [rsp + 0x30], eax
mov dword [r11 - 0x30], r8d
lea r8, [0x100003158]
mov qword [r11 - 0x38], rsi
call fcn.1000c2bc0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000d371a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1000d371a
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1000d3759
test byte [rcx + 0x1c], 4
je 0x1000d3759
cmp byte [rcx + 0x19], 5
jb 0x1000d3759
mov edx, 0x1e1
jmp 0x1000d3749
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1000d3759
test byte [rcx + 0x1c], 4
je 0x1000d3759
cmp byte [rcx + 0x19], 5
jb 0x1000d3759
mov edx, 0x1e2
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003158]
call fcn.10001c854
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret
Function at 0x1000e1834
Capabilities:
Resolve function by parsing pe exports

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 r13
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x1000e188d
test byte [rcx + 0x1c], 4
je 0x1000e188d
cmp byte [rcx + 0x19], 4
jb 0x1000e188d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003138]
mov edx, 0xa
call fcn.10001c854
mov rax, qword [rsp + 0x70]
mov ecx, 0xffff
mov qword [rbx], rbp
mov qword [rbx + 8], rsi
movdqu xmm0, xmmword [rax]
mov rax, qword [rsp + 0x78]
movdqu xmmword [rbx + 0x10], xmm0
movdqu xmm1, xmmword [rax]
mov rax, rdi
cqo
and rdx, rcx
add rax, rdx
and rax, rcx
xor ecx, ecx
movdqu xmmword [rbx + 0x20], xmm1
sub rax, rdx
mov dword [rbx + 0x30], eax
cmp eax, ecx
jne 0x1000e18d6
mov dword [rbx + 0x30], 0x10000
mov rax, qword [rsp + 0x80]
mov r8d, dword [rsp + 0x68]
mov dword [rbx + 0x34], ecx
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x38], ecx
mov dword [rbx + 0x58], eax
mov al, byte [rsp + 0x90]
mov qword [rbx + 0x48], rcx
mov byte [rbx + 0x5c], al
mov rax, qword [rsp + 0x98]
mov dword [rbx + 0x40], r8d
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x68], rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x3c], eax
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x1000e19d6
test byte [rcx + 0x1c], 4
je 0x1000e196d
cmp byte [rcx + 0x19], 4
jb 0x1000e196d
mov r9d, dword [rbx + 0x30]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], r8d
lea r8, [0x100003138]
mov edx, 0xb
mov dword [rsp + 0x20], eax
call fcn.10007fb28
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x1000e19d6
test byte [rcx + 0x1c], 4
je 0x1000e19b0
cmp byte [rcx + 0x19], 4
jb 0x1000e19b0
mov rax, qword [rbx]
movzx r9d, byte [rbx + 0x5c]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
lea r8, [0x100003138]
mov edx, 0xc
mov qword [rsp + 0x20], rax
call fcn.1000e16a4
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x1000e19d6
test byte [rcx + 0x1c], 4
je 0x1000e19d6
cmp byte [rcx + 0x19], 4
jb 0x1000e19d6
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003138]
mov edx, 0xd
call fcn.10001c854
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret
Function at 0x1000fe2a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, r8
mov dword [rsp + 0x60], 4
test r8, r8
jne 0x1000fe2de
lea r8, [0x10000a398]
lea rcx, [0x100011a40]
mov edx, 0x46e
call fcn.10009a050
jmp 0x1000fe330
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1000fe2ee
mov ebx, 0x8000ffff
jmp 0x1000fe33d
and dword [r8], ebx
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000fe329
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1000fe33d
cmp dword [rsp + 0x68], 4
je 0x1000fe337
mov ebx, 0x80004005
jmp 0x1000fe33d
mov ecx, dword [rsp + 0x30]
mov dword [rdi], ecx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x10010b588
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
sub rsp, 0x30
and qword [rax + 0x10], 0
mov rsi, rdx
mov byte [rdx], 0
lea rdx, [rax + 0x10]
mov rbp, rcx
call fcn.10009fff0
mov ebx, eax
test eax, eax
js 0x10010b5f4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010b5ca
mov byte [rsi], 1
jmp 0x10010b5f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80070003
je 0x10010b5ee
cmp ebx, 0x80070002
jne 0x10010b5f0
xor ebx, ebx
test ebx, ebx
jns 0x10010b62f
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10010b62f
test byte [rcx + 0x1c], 1
je 0x10010b62f
cmp byte [rcx + 0x19], 2
jb 0x10010b62f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f60]
mov edx, 0xa
mov r9, rbp
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
cmp qword [rsp + 0x48], 0
je 0x10010b642
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret

Function at 0x10010b65c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov byte [rdx], bl
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010b689
test al, 0x10
jne 0x10010b6dc
mov byte [rdi], 1
jmp 0x10010b6dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x10010b6dc
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10010b6dc
test byte [rcx + 0x1c], 1
je 0x10010b6dc
cmp byte [rcx + 0x19], 2
jb 0x10010b6dc
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f60]
mov edx, 0xb
mov r9, rsi
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x10010b6f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [0x1001653b8]
lea r12, [0x1001653b8]
cmp rcx, r12
je 0x10010b743
test byte [rcx + 0x1c], 1
je 0x10010b743
cmp byte [rcx + 0x19], 5
jb 0x10010b743
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f60]
mov edx, 0xc
call fcn.10001c854
test rbx, rbx
jne 0x10010b760
lea r8, [0x100012448]
lea rcx, [0x100012468]
mov edx, 0xa8
call fcn.10009a050
mov rcx, rsi
mov byte [rbx], 0
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010b7b4
bt eax, 0xa
jae 0x10010b800
mov byte [rbx], 1
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10010b82d
test byte [rcx + 0x1c], 1
je 0x10010b807
cmp byte [rcx + 0x19], 4
jb 0x10010b807
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xd]
lea r8, [0x100002f60]
mov r9, rsi
call fcn.10001db08
jmp 0x10010b800
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x10010b800
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10010b82d
test byte [rcx + 0x1c], 1
je 0x10010b807
cmp byte [rcx + 0x19], 2
jb 0x10010b807
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f60]
mov edx, 0xe
mov r9, rsi
mov dword [rsp + 0x20], edi
call fcn.10001ddb0
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10010b82d
test byte [rcx + 0x1c], 1
je 0x10010b82d
cmp byte [rcx + 0x19], 5
jb 0x10010b82d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f60]
mov edx, 0xf
call fcn.10001c854
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret