joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075700
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, dx
mov edx, 0x134
mov ebp, r9d
mov r15, rcx
call fcn.1400619c8
lea rcx, [rsp + 0x20]
mov edx, 0xca
call fcn.14006193c
mov r12d, dword [rsp + 0x90]
movzx ebx, byte [rsp + 0x90]
and r12d, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov rdi, qword [r15]
mov ecx, ebx
xor r8d, r8d
mov esi, eax
neg ecx
mov r13b, r8b
sbb al, al
and al, 0xfe
inc al
neg ebx
sbb ebx, ebx
mov byte [rsp + 0x90], al
and ebx, 0x19
cmp ebp, r8d
je 0x140075790
cmp ebp, 1
not esi
jle 0x140075790
and esi, 0xfffffffc
cmp ebx, 0x1a
movsxd r12, r12d
jge 0x140075813
mov r15d, dword [rsp + 0x80]
cmp ebx, r8d
jl 0x14007580e
mov ecx, ebx
mov edx, 1
movsx eax, al
shl edx, cl
lea ebp, [rbx + 0x41]
add ebx, eax
test esi, edx
je 0x140075802
cmp r12, r8
je 0x1400757d0
movsx ecx, bpl
call fcn.1400f9934
xor r8d, r8d
cmp eax, r8d
je 0x140075802
cmp r13b, r8b
je 0x1400757e3
cmp r14w, r8w
je 0x1400757e3
mov word [rdi], r14w
add rdi, 2
movsx eax, bpl
mov r13b, 1
mov word [rdi], ax
add rdi, 2
cmp r15d, r8d
je 0x140075802
mov eax, 0x3a
mov word [rdi], ax
add rdi, 2
cmp ebx, 0x1a
mov al, byte [rsp + 0x90]
jl 0x1400757a0
mov r15, qword [rsp + 0x70]
mov word [rdi], r8w
mov rbx, qword [r15]
lea rcx, [rsp + 0x20]
call fcn.1400592f8
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400759e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea rcx, [rsp + 0x30]
lea r8d, [rax + rax*2]
movsxd rdx, r8d
call fcn.140061650
mov rdx, qword [rsp + 0x30]
xor ebx, ebx
lea r8, [rdx + 1]
mov byte [rdx], 0x20
mov r9d, ebx
mov byte [r8], bl
mov cl, bl
jmp 0x140075a3e
mov al, byte [rdi]
cmp al, 0x3d
jne 0x140075a77
cmp cl, bl
jle 0x140075a3b
mov byte [r8], r9b
mov cl, bl
inc r8
mov r9d, ebx
inc rdi
cmp byte [rdi], bl
jne 0x140075a26
mov byte [r8], bl
mov r9d, 0xfde9
mov rcx, rsi
or r8, 0xffffffffffffffff
call fcn.140061a84
mov rbx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.1400592f8
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp al, 0x41
jb 0x140075a83
cmp al, 0x5a
ja 0x140075a83
sub al, 0x41
jmp 0x140075aa9
cmp al, 0x61
jb 0x140075a8f
cmp al, 0x7a
ja 0x140075a8f
sub al, 0x47
jmp 0x140075aa9
cmp al, 0x30
jb 0x140075a9b
cmp al, 0x39
ja 0x140075a9b
add al, 4
jmp 0x140075aa9
cmp al, 0x2b
jne 0x140075aa3
mov al, 0x3e
jmp 0x140075aa9
cmp al, 0x2f
jne 0x140075ad8
mov al, 0x3f
movzx eax, al
shl eax, cl
or r9d, eax
add cl, 6
cmp cl, 8
jge 0x140075ac9
cmp cl, bl
jle 0x140075a3b
cmp byte [rdi], bl
jne 0x140075a3b
mov byte [r8], r9b
inc r8
shr r9d, 8
add cl, 0xf8
jmp 0x140075ab4
mov rax, qword [rsi]
mov word [rax], bx
jmp 0x140075a5a
Function at 0x140075ae4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
xor esi, esi
xor ecx, ecx
mov word [rax], si
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, esi
je 0x140075b3e
lea ecx, [rsi + 0xd]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
cmp rax, rsi
je 0x140075b38
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov rdx, rax
call fcn.14006d888
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140076b30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
movzx eax, word [rsp + 0xb0]
mov rbx, rcx
mov r13, rdx
mov dword [rsp + 0xa8], eax
dec eax
lea rcx, [rsp + 0x38]
movsxd r14, eax
mov edx, 0xa0000
movsxd rbp, r9d
not r14
mov rdi, r8
call fcn.140061650
mov rax, qword [rsp + 0x38]
and dword [rsp + 0xa0], 0
mov qword [rsp + 0x48], rdi
add rax, 0x20000
and rax, 0xfffffffffffe0000
cmp dword [rsp + 0xb0], 0
mov qword [rsp + 0x30], rax
jne 0x140076ba9
xor ebp, ebp
xor r15d, r15d
jmp 0x140076bbd
movzx ecx, word [rsp + 0xb0]
lea rax, [rdi + rbp]
cqo
idiv rcx
mov r15, rdx
test rdi, rdi
jle 0x140076cc6
mov ecx, 0x10000000
test ebp, ebp
jne 0x140076bdb
movsxd rax, r15d
cmp rdi, rax
jle 0x140076bdb
xor al, al
jmp 0x140076bdd
mov al, 1
cmp rdi, rcx
mov esi, edi
mov rdx, r13
cmovg esi, ecx
mov r8d, esi
test al, al
je 0x140076c7e
mov esi, dword [rsp + 0xa8]
mov rcx, rbx
sub esi, ebp
mov eax, esi
cmp rax, rdi
cmovg esi, edi
xor edx, edx
lea r8d, [rdx + 1]
call fcn.14005a860
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0xa0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rax, qword [rsp + 0x30]
movsxd rcx, ebp
mov r8d, esi
mov rdx, r13
add rcx, rax
mov qword [rsp + 0x40], rax
call fcn.14001d310
mov rdx, rbx
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
xor r8d, r8d
call fcn.14005a860
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0x40]
jmp 0x140076c8e
cmp dword [rsp + 0xb0], 0
je 0x140076c8e
and esi, r14d
mov r8d, esi
and dword [rsp + 0xa0], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r11d, esi
xor ebp, ebp
sub rdi, r11
add r13, r11
mov ecx, 0x10000000
test rdi, rdi
jg 0x140076bcb
lea rcx, [rsp + 0x38]
call fcn.1400592f8
mov rax, qword [rsp + 0x48]
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140078d54
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14d, r8d
mov rbx, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r15d, r15d
mov rdi, rax
cmp rax, r15
je 0x140078e5e
cmp rbx, r15
mov r12, rbp
cmovne r12, rbx
mov rbx, rax
cmp word [rax], r15w
je 0x140078e55
mov rsi, rbx
jmp 0x140078db0
cmp ax, 0x3d
je 0x140078dbd
add rbx, 2
movzx eax, word [rbx]
cmp ax, r15w
jne 0x140078daa
mov rdx, rsi
cmp r14d, r15d
je 0x140078de5
or qword [rsp + 0x20], 0xffffffffffffffff
mov rax, rbx
lea r8, [rbx + 2]
sub rax, rsi
mov rcx, rbp
sar rax, 1
mov r9d, eax
call fcn.14001e230
jmp 0x140078e41
mov r13, rbx
lea rcx, [rsp + 0x78]
sub r13, rsi
sar r13, 1
mov r8, r13
call fcn.14006d82c
mov rdx, qword [rsp + 0x78]
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.140018664
cmp rax, r15
jne 0x140078e31
or qword [rsp + 0x20], 0xffffffffffffffff
lea r8, [rbx + 2]
mov r9d, r13d
mov rdx, rsi
mov rcx, rbp
call fcn.14001e230
lea rcx, [rsp + 0x78]
call fcn.1400592f8
jmp 0x140078e41
add rbx, 2
cmp word [rbx], r15w
jne 0x140078e3d
add rbx, 2
cmp word [rbx], r15w
jne 0x140078da5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140079198
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, edx
movzx esi, cx
call fcn.14006cf80
xor edx, edx
mov edi, eax
cmp ebx, edx
jge 0x140079228
lea ecx, [rdx + 0x20]
lea eax, [rdx + 0x2a]
mov word [rsp + 0x26], si
mov word [rsp + 0x22], ax
lea eax, [rdx + 0x2c]
mov word [rsp + 0x20], cx
mov word [rsp + 0x24], cx
lea ecx, [rdx + 0x3a]
mov word [rsp + 0x2a], ax
lea eax, [rdx + 0x5c]
mov word [rsp + 0x28], cx
mov word [rsp + 0x52], cx
lea rcx, [rsp + 0x50]
mov word [rsp + 0x2c], dx
mov word [rsp + 0x50], si
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], dx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x140079214
cmp edi, 2
je 0x140079228
lea rdx, [rsp + 0x20]
lea rcx, [0x1401340d0]
xor r8d, r8d
call fcn.140073930
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14007a57c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
xor r12d, r12d
xor edi, edi
mov r13, r9
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14007a672
test rdx, rdx
jne 0x14007a5b8
mov eax, 0x80070057
jmp 0x14007a7fb
cmp dword [0x140134824], edi
jle 0x14007a7f8
and qword [rsp + 0x30], rdi
and dword [rsp + 0x90], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14007a610
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rbx + 2]
test eax, eax
cmove eax, ecx
jmp 0x14007a7fb
mov r8d, dword [0x140134824]
mov rdx, qword [0x140135060]
and qword [rsp + 0x20], rdi
lea r9, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [0x140135060]
and dword [0x140134824], edi
test r8, r8
je 0x14007a7f8
mov rcx, qword [0x1401342e8]
add r8, 0xfffffffffffffff8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [0x140135060], rdi
jmp 0x14007a7f8
xor edx, edx
test r8, r8
je 0x14007a7b0
mov rcx, r8
call fcn.14001ee30
mov rdi, rax
test rax, rax
jne 0x14007a697
mov eax, 1
jmp 0x14007a7fb
mov eax, dword [rbx + 8]
sub eax, dword [rbx]
movsxd r14, eax
mov eax, dword [rbx + 0xc]
sub eax, dword [rbx + 4]
movsxd r12, eax
test r14, r14
jle 0x14007a797
test eax, eax
jle 0x14007a797
and dword [rsp + 0x90], 0
and dword [rsp + 0x40], 0
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [0x140133e00]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [0x140133e08]
mov r11d, dword [rsp + 0x90]
cmp r14, r11
jne 0x14007a6ff
mov eax, dword [rsp + 0x40]
cmp r12, rax
je 0x14007a797
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
lea rdx, [rsp + 0x50]
mov r8, r13
mov rcx, rbx
call fcn.140060d90
mov rsi, rax
test rax, rax
je 0x14007a68d
mov rbx, qword [rsp + 0x50]
and qword [rsp + 0x48], 0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [0x140133e18]
mov rcx, qword [rsp + 0x48]
mov edx, 2
call qword [0x140133e28]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
call qword [0x140133d90]
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007a7c8
call qword [0x140133e20]
jmp 0x14007a7c8
mov r9, r13
mov r8d, 1
mov rdx, rbp
mov rcx, rdi
call fcn.14007a0f8
mov r12d, eax
jmp 0x14007a7ea
lea r8, str.DISPLAY
call fcn.140060d90
mov rsi, rax
test rax, rax
je 0x14007a68d
mov r9, r13
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call fcn.14007a0f8
mov r12d, eax
test rsi, rsi
je 0x14007a7ea
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
test rdi, rdi
je 0x14007a7f8
mov rcx, rdi
call qword [0x140133d88]
mov eax, r12d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14008ac40
Capabilities:
Enumerate disk volumes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xc0
mov rax, qword [str.__Volume]
mov r14, rcx
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [0x14011f6f0]
mov rbp, rdx
mov qword [rcx + 8], rax
mov eax, dword [0x14011f6f8]
xor edx, edx
mov dword [rcx + 0x10], eax
movzx eax, word [0x14011f6fc]
mov rbx, r8
mov word [rcx + 0x14], ax
lea rcx, [rsp + 0x56]
lea r8d, [rdx + 0x6a]
call fcn.1400fa680
or r12d, 0xffffffff
cmp rbx, 4
movzx eax, bl
cmovbe r12d, eax
cmp rbx, 4
ja 0x14008acc6
lea rcx, [rsp + 0x54]
mov r8d, 1
mov rdx, r14
lea rbx, [rsp + 0x40]
call fcn.14005dd38
mov rax, qword [rbp]
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
mov word [rax], di
call fcn.14001d44c
cmp r12b, dil
jle 0x14008ae79
mov rax, qword [rbp]
cmp word [rax], di
jne 0x14008ae79
lea rcx, [rsp + 0x118]
mov edx, 0x105
call fcn.14006193c
mov rbx, qword [rsp + 0x118]
mov edx, 0x103
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14008ad3b
lea rcx, [rsp + 0x118]
call fcn.1400592f8
xor eax, eax
jmp 0x14008ae9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
mov eax, 0x5c
cmp ax, word [rbx + rcx*2]
jne 0x14008ad58
mov word [rbx + rcx*2], di
mov eax, 0x3f
lea rcx, [rsp + 0x110]
mov dword [rsp + 0x108], edi
mov word [rbx + 2], ax
call fcn.1400615ec
lea rax, [rsp + 0x108]
lea r9, [rsp + 0x110]
lea rdx, str.SYSTEMMountedDevices
mov r8, rbx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140067178
cmp dword [rsp + 0x108], 0x18
mov esi, 2
jne 0x14008ade7
mov r9, qword [rsp + 0x110]
lea r8d, [rsi + 6]
lea rcx, str.DMIO:ID:
mov rdx, r9
call fcn.140059328
cmp eax, edi
jne 0x14008ade7
lea rdx, [r9 + 8]
lea r8d, [rsi + 0xe]
mov rcx, r14
call fcn.140059328
cmp eax, edi
je 0x14008ae12
lea rcx, [rsp + 0x110]
call fcn.1400592f8
mov r8d, 0x103
mov rdx, rbx
mov rcx, r13
mov word [rbx], di
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
cmp eax, edi
je 0x14008ae4e
jmp 0x14008ad3b
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.14001d44c
add rbx, 0x14
mov qword [rsp + 0x30], rbx
cmp r12b, sil
jne 0x14008ae41
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
call fcn.140075048
lea rcx, [rsp + 0x110]
call fcn.1400592f8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp r12b, sil
je 0x14008ae68
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea rcx, [rsp + 0x118]
call fcn.1400592f8
mov eax, edi
jmp 0x14008ae9b
mov esi, 2
cmp r12b, sil
jne 0x14008ae8c
mov rax, qword [rbp]
cmp word [rax], di
jne 0x14008ae99
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
mov eax, esi
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140098ea4
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x80
xor ebx, ebx
lea rax, [r11 + 0x20]
xor r9d, r9d
mov qword [r11 - 0x40], rbx
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x50], rbx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x60], rbx
mov qword [r11 - 0x68], rbx
mov qword [r11 - 0x70], rax
lea rax, [r11 - 0x38]
xor r8d, r8d
xor edx, edx
mov rbp, rcx
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x78], rax
mov dword [r11 + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp eax, ebx
jne 0x14009905d
mov eax, dword [rsp + 0xb8]
lea rcx, [rsp + 0x78]
lea edx, [rax*4 + 8]
call fcn.14006193c
cmp dword [rsp + 0x60], ebx
mov esi, ebx
jle 0x140099051
mov rbx, qword [rsp + 0x78]
xor ecx, ecx
mov eax, dword [rsp + 0xb8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x28], rcx
shl eax, 2
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x20], rcx
mov word [rbx], cx
lea r9, [rsp + 0x64]
mov rcx, rbp
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ecx, ecx
mov edi, eax
cmp eax, ecx
jne 0x140099045
cmp word [rbx], cx
je 0x140099045
mov rax, qword [rsp + 0xb0]
lea rcx, [rsp + 0x68]
mov rdx, qword [rax]
call fcn.14006d808
lea rdx, [0x140114ca4]
lea rcx, [rsp + 0x68]
call fcn.140061a04
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.140061a04
mov rax, qword [rsp + 0xa8]
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
lea eax, [r9 + 4]
mov r8d, eax
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea r11, [rsp + 0x70]
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x70]
mov edi, eax
test rcx, rcx
je 0x140099039
mov rdx, qword [rsp + 0xa8]
lea r8, [rsp + 0x68]
call fcn.140098ea4
mov rcx, qword [rsp + 0x70]
mov edi, eax
test rcx, rcx
je 0x140099039
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x68]
call fcn.1400592f8
xor ecx, ecx
inc esi
cmp esi, dword [rsp + 0x60]
jl 0x140098f35
lea rcx, [rsp + 0x78]
call fcn.1400592f8
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bfbdc
Capabilities:
Create thread

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, 0x430
mov esi, dword [rsp + 0x488]
mov rdi, rcx
mov rcx, rdx
mov r13d, esi
movsxd r12, r9d
mov rbp, rdx
and r13d, 1
and esi, 2
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, 0xb4
lea rcx, [rsp + 0x58]
cmp ebx, eax
mov r8d, 0x3d0
cmovg ebx, eax
xor r14d, r14d
xor edx, edx
mov qword [rsp + 0x50], r14
call fcn.1400fa680
mov ecx, dword [rsp + 0x478]
mov rax, qword [rsp + 0x470]
mov dword [rsp + 0x354], ecx
mov ecx, 0x40000000
mov qword [rsp + 0x3e8], rax
mov eax, r14d
cmp esi, r14d
cmovne eax, ecx
movsxd rbx, ebx
lea rcx, [rsp + 0x19c]
mov dword [rsp + 0x32c], eax
mov rax, qword [rsp + 0x480]
lea r8, [rbx + rbx]
mov rdx, rbp
mov byte [rsp + 0x158], 0x40
mov byte [rsp + 0x400], r14b
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x198], r12d
mov qword [rsp + 0x338], rdi
call fcn.14001d310
lea rcx, [0x140134c58]
mov word [rsp + rbx*2 + 0x19c], r14w
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r11, [0x14013396c]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], r11
lea r8, [0x1400bf340]
mov edx, 0x20000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, r14
je 0x1400bfd3a
mov edi, 0x270f
cmp dword [rsp + 0x198], r12d
jne 0x1400bfd3a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x1400bfd0c
jmp 0x1400bfd30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x198], r12d
je 0x1400bfd25
lea rcx, [0x140134c58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
cmp r13d, r14d
je 0x1400bfd80
cmp rbx, r14
je 0x1400bfd8e
lea r9, [rsp + 0x30]
lea rcx, [0x1401340d0]
mov rdx, r12
xor r8d, r8d
call fcn.14001f7a8
cmp rbx, r14
je 0x1400bfd8e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x32c]
lea r11, [rsp + 0x430]
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 0x1400dcc54
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rbx, r9
mov sil, r8b
mov bpl, dl
mov rdi, rcx
test rcx, rcx
jne 0x1400dcc80
xor eax, eax
jmp 0x1400dcd15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [rsp + 0x58], 0
movsx ecx, bpl
mov dword [rsp + 0x3c], eax
movsx eax, sil
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x1400dccfe
lea r8, [rsp + 0x20]
lea rdx, [0x140071a50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x1400dcd10
lea rdx, [rsp + 0x20]
lea rcx, [0x140071a50]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400dcd2c
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
bt r8d, 0x1d
mov r15, r9
mov esi, r8d
mov r14, rcx
jae 0x1400dcd66
mov rbp, qword [rsp + 0x80]
xor edi, edi
jmp 0x1400dcd6e
mov rdi, qword [rsp + 0x80]
lea r13, [rdx + r9]
mov ebx, r8d
and esi, 0x1fffffff
mov r12, r13
shr r12, 0x20
and ebx, 0xc0000000
je 0x1400dcdb7
xor edx, edx
mov r8, rdi
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test rax, rax
jne 0x1400dcda8
test ebx, ebx
jns 0x1400dcdb7
xor eax, eax
jmp 0x1400dce54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
bt ebx, 0x1e
jb 0x1400dcda1
mov r9d, r12d
mov r8d, esi
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1400dcda1
test ebx, ebx
je 0x1400dce06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
test ebx, ebx
jns 0x1400dcdf1
cmp eax, ecx
jne 0x1400dcdfb
bt ebx, 0x1e
jae 0x1400dce06
cmp eax, ecx
jne 0x1400dce06
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400dcda1
mov edx, esi
mov ecx, 1
mov r8, r15
and edx, 4
shr r8, 0x20
mov r9d, r15d
or edx, 8
shr edx, 1
cmp esi, 8
cmove edx, ecx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbp, rbp
je 0x1400dce48
mov qword [rbp], rdi
jmp 0x1400dce51
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret