joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078148
Capabilities:
Print debug messages

Disassembly:
jmp 0x14014b2a0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401aa020]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14014b2c6
jmp 0x14014b343
mov rcx, qword [rbp + 0x30]
call fcn.14007792d
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14014b2df
jmp 0x14014b343
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14014b2fc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140076a19
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140076e88
test eax, eax
jne 0x14014b343
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140077b3a
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140078459
Capabilities:
Set environment variable

Disassembly:
jmp 0x14013aed0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x140078675
Capabilities:
Parse pe header

Disassembly:
jmp 0x140092880
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400928a0
xor al, al
jmp 0x140092921
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400928b3
xor al, al
jmp 0x140092921
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400928dd
xor al, al
jmp 0x140092921
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400928f1
xor al, al
jmp 0x140092921
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140092903
xor al, al
jmp 0x140092921
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14009291f
xor al, al
jmp 0x140092921
mov al, 1
add rsp, 0x38
ret
Function at 0x140078bed
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b5b00
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400b5b2e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140079458
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140078c33
Capabilities:
Enumerate disk volumes

Disassembly:
jmp 0x14008a780
push rbp
push rdi
sub rsp, 0x518
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401aa020]
xor rax, rbp
mov qword [rbp + 0x4e8], rax
lea rcx, [0x1402f04b8]
call fcn.140079836
mov edx, 0x105
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0xffffffffffffffff
jne 0x14008a7f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.FindFirstVolume___failed
mov ecx, eax
call fcn.140076447
jmp 0x14008a998
xor eax, eax
cmp eax, 1
je 0x14008a972
lea rax, [rbp + 0x30]
mov qword [rbp + 0x4d8], rax
mov qword [rbp + 0x4e0], 0xffffffffffffffff
inc qword [rbp + 0x4e0]
mov rax, qword [rbp + 0x4d8]
mov rcx, qword [rbp + 0x4e0]
cmp word [rax + rcx*2], 0
jne 0x14008a817
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
shl rax, 1
mov qword [rbp + 0x458], rax
cmp qword [rbp + 0x458], 0x20a
jae 0x14008a861
jmp 0x14008a866
call fcn.140078850
xor eax, eax
mov rcx, qword [rbp + 0x458]
mov word [rbp + rcx + 0x30], ax
mov ecx, 0x48
call fcn.140076262
mov qword [rbp + 0x498], rax
cmp qword [rbp + 0x498], 0
je 0x14008a8a4
mov rcx, qword [rbp + 0x498]
call fcn.140079214
mov qword [rbp + 0x4d8], rax
jmp 0x14008a8af
mov qword [rbp + 0x4d8], 0
mov rax, qword [rbp + 0x4d8]
mov qword [rbp + 0x478], rax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x298], rax
mov r8, qword [rbp + 0x278]
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x298]
call fcn.140078a5d
mov rdx, qword [rbp + 0x298]
lea rcx, [rbp + 0x4b8]
call fcn.140077978
mov qword [rbp + 0x4d8], rax
mov rax, qword [rbp + 0x4d8]
mov qword [rbp + 0x4e0], rax
mov rdx, qword [rbp + 0x4e0]
lea rcx, [0x1402ab5a0]
call fcn.140077806
nop
lea rcx, [rbp + 0x4b8]
call fcn.140079412
mov r8d, 0x105
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov dword [rbp + 0x2b4], eax
cmp dword [rbp + 0x2b4], 0
je 0x14008a955
jmp 0x14008a7f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x12
jne 0x14008a96b
mov dword [rbp + 4], 0
jmp 0x14008a972
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [rbp + 4], 0
je 0x14008a996
lea rdx, str.ProcessLv_failed
mov ecx, dword [rbp + 4]
call fcn.140076447
jmp 0x14008a998
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140172e90]
call fcn.140078e40
mov rax, rdi
mov rcx, qword [rbp + 0x4e8]
xor rcx, rbp
call fcn.140077b3a
lea rsp, [rbp + 0x4f8]
pop rdi
pop rbp
ret

Function at 0x1400794b7
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401285a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14007956b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400b3dc0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400b3710
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400b3e09
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1402f1020]
jmp 0x1400b3e18
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1400795bb
Capabilities:
Get disk information via ioctl

Disassembly:
jmp 0x140082b60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xad8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1e6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xaf8]
mov rax, qword [0x1401aa020]
xor rax, rbp
mov qword [rbp + 0xa80], rax
lea rcx, [0x1402f00dc]
call fcn.140079836
lea rax, [rbp + 0x10]
mov qword [rbp + 0x428], rax
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x444]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
mov rax, qword [rbp + 0x428]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70050
mov rcx, qword [rbp + 0xab8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140082c03
jmp 0x140082dd4
mov rax, qword [rbp + 0xab0]
mov rcx, qword [rbp + 0x428]
mov ecx, dword [rcx]
mov dword [rax + 0x18], ecx
mov rax, qword [rbp + 0x428]
cmp dword [rax + 4], 0
jne 0x140082c28
jmp 0x140082dd4
mov dword [rbp + 0x464], 0
jmp 0x140082c42
mov eax, dword [rbp + 0x464]
inc eax
mov dword [rbp + 0x464], eax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 4]
cmp dword [rbp + 0x464], eax
jae 0x140082dd4
mov eax, dword [rbp + 0x464]
imul rax, rax, 0x90
mov rcx, qword [rbp + 0x428]
lea rax, [rcx + rax + 0x30]
mov qword [rbp + 0x488], rax
mov rax, qword [rbp + 0x488]
cmp dword [rax + 0x18], 0
jne 0x140082c87
jmp 0x140082c34
mov ecx, 0x20
call fcn.140076262
mov qword [rbp + 0xa68], rax
cmp qword [rbp + 0xa68], 0
je 0x140082cb7
mov rcx, qword [rbp + 0xa68]
call fcn.1400775e0
mov qword [rbp + 0xa78], rax
jmp 0x140082cc2
mov qword [rbp + 0xa78], 0
mov rax, qword [rbp + 0xa78]
mov qword [rbp + 0xa48], rax
mov rax, qword [rbp + 0xa48]
mov qword [rbp + 0x4a8], rax
mov rax, qword [rbp + 0x4a8]
mov rcx, qword [rbp + 0xab0]
mov ecx, dword [rcx + 0x1c]
mov dword [rax], ecx
mov rax, qword [rbp + 0x4a8]
mov rcx, qword [rbp + 0x488]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0x4a8]
mov rcx, qword [rbp + 0x488]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x4a8]
mov rcx, qword [rbp + 0x488]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x4a8]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x4a8]
mov r8d, dword [rax]
lea rdx, str..PhysicalDrive_dPartition_d
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.USER32.dll_wsprintfW]
cdqe
mov qword [rbp + 0x6f8], rax
mov rdx, qword [rbp + 0x6f8]
lea rcx, [rbp + 0x4d0]
call fcn.140077c0c
mov rcx, qword [rbp + 0x4a8]
mov qword [rcx + 0x18], rax
mov rdx, qword [rbp + 0x4a8]
lea rcx, [rbp + 0x718]
call fcn.140078fc1
nop
mov rax, qword [rbp + 0xab0]
add rax, 0x20
lea rdx, [rbp + 0x718]
mov rcx, rax
call fcn.140079bec
lea rdx, [rbp + 0x718]
lea rcx, [0x1402ab5d0]
call fcn.140079bec
nop
lea rcx, [rbp + 0x718]
call fcn.140076dc5
jmp 0x140082c34
lea rcx, [rbp - 0x40]
lea rdx, [0x1401712b8]
call fcn.140078e40
mov rcx, qword [rbp + 0xa80]
xor rcx, rbp
call fcn.140077b3a
lea rsp, [rbp + 0xa98]
pop rdi
pop rbp
ret
Function at 0x1400798ae
Capabilities:
Get disk information

Disassembly:
jmp 0x14008aa60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x1401aa020]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1402f04b6]
call fcn.140079836
mov rax, qword [rbp + 0x440]
mov rax, qword [rax]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x410], 0xffffffffffffffff
inc qword [rbp + 0x410]
mov rax, qword [rbp + 0x408]
mov rcx, qword [rbp + 0x410]
cmp word [rax + rcx*2], 0
jne 0x14008aac5
mov rax, qword [rbp + 0x410]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x440]
mov rax, qword [rax]
xor ecx, ecx
mov rdx, qword [rbp + 8]
mov word [rax + rdx*2 - 2], cx
mov eax, 2
imul rax, rax, 4
mov rcx, qword [rbp + 0x440]
add rax, qword [rcx]
mov r8d, 0x105
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [rbp + 0x254], eax
cmp dword [rbp + 0x254], 0
jbe 0x14008ab84
mov eax, dword [rbp + 0x254]
shl rax, 1
mov qword [rbp + 0x3f8], rax
cmp qword [rbp + 0x3f8], 0x20a
jae 0x14008ab55
jmp 0x14008ab5a
call fcn.140078850
xor eax, eax
mov rcx, qword [rbp + 0x3f8]
mov word [rbp + rcx + 0x30], ax
mov eax, dword [rbp + 0x254]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.140077c0c
mov rcx, qword [rbp + 0x440]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x440]
mov rax, qword [rax]
mov ecx, 0x5c
mov rdx, qword [rbp + 8]
mov word [rax + rdx*2 - 2], cx
lea rcx, [rbp - 0x20]
lea rdx, [0x1401726f0]
call fcn.140078e40
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140077b3a
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x14014d560
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140076a19
sub rsp, rax
mov rax, qword [0x1401aa020]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402e0640]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14014d752
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14014d6a6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14014d6a6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14014d68b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14014d628
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14014d712
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014d771
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14014d74d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014d771
jmp 0x14014d5fe
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140077b3a
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14014d820
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140076a19
sub rsp, rax
mov rax, qword [0x1401aa020]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402e0640]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14014da2d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14014d979
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14014d979
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14014d959
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14014d8e8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14014d9ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014da4c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14014da28
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014da4c
jmp 0x14014d8be
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140077b3a
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14000b8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rax + 0x20], 0
mov r8, rdx
lea rdx, [rax - 0x30]
call fcn.14000bc40
nop
lea rdx, [rbx + 0x10]
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.140010f40
nop
lea r8, [rsp + 0x88]
mov rdx, rax
call fcn.14000be20
test al, al
sete bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test bl, bl
je 0x14000b95f
xor al, al
jmp 0x14000ba53
mov dword [rsp + 0x70], 0
mov r8, rdi
lea rdx, [rsp + 0x38]
call fcn.14000bbd0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, dword [rsp + 0x70]
shr eax, 1
test bl, bl
je 0x14000ba42
test eax, eax
jne 0x14000b9d2
lea rdx, [0x140195ca8]
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x14000ba42
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14000dc00
nop
mov r8, rdi
lea rdx, [rsp + 0x38]
call fcn.14000bbd0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
nop
test rdi, rdi
je 0x14000ba42
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14000ba70
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], 0
mov r8, rdx
lea rdx, [rsp + 0x30]
call fcn.14000bc40
nop
lea rdx, [rbx + 8]
mov r8, rax
lea rcx, [rsp + 0x68]
call fcn.140010f40
nop
lea r8, [rsp + 0x50]
mov rdx, rax
call fcn.14000bcb0
test al, al
sete bl
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test bl, bl
je 0x14000baec
xor al, al
jmp 0x14000bb44
mov rdi, qword [rdi]
mov ebx, dword [rdi - 0x10]
mov r8, rsi
lea rdx, [rsp + 0x68]
call fcn.14000bbd0
mov rdx, qword [rax]
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140015160
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x40]
mov eax, 0x7fffffff
shr rdx, 1
mov ecx, 0x18e6fdb
cmp rdx, rax
cmovbe eax, edx
mov edx, 0x3842494d
mov dword [rdi + 0x14], eax
mov rax, qword [rdi + 0x588]
cmp dword [rax + 0x1064], 0
cmovne ecx, edx
xor eax, eax
mov dword [rdi + 0x398], ecx
lea rcx, [rdi + 0x374]
nop
mov word [rcx], ax
inc eax
lea rcx, [rcx + 2]
cmp eax, 0x10
jl 0x1400151d0
mov rcx, qword [rdi + 0x588]
or eax, 0xffffffff
mov byte [rdi + 0x394], 1
mov word [rdi + 0x3a4], ax
mov rax, qword [rcx]
lea rdx, [rdi + 0x3cc]
call qword [rax + 0x68]
mov rcx, qword [rdi + 0x588]
mov rax, qword [rcx]
lea rbx, [rcx + 0x10b0]
call qword [rax + 0x18]
movsxd rcx, eax
mov eax, 1
mov qword [rbx], rcx
mov qword [rdi + 0x3f4], rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010f170
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x1400185b0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
mov r8b, 1
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.CrlUtils.dll_public:_void___cdecl_CrlUtils::CommandLine::SetCommandLine_wchar_t_const____ptr64__bool____ptr64]
mov rcx, rbx
call fcn.1400186e0
mov rcx, rbx
call fcn.140018810
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0xb0]
test al, al
je 0x140018601
mov rcx, rbx
call fcn.1400188d0
mov al, 1
jmp 0x140018607
add rsp, 0x30
pop rbx
ret
Function at 0x1400192b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x40], rbx
mov eax, dword [0x1401fc798]
test eax, eax
je 0x1400192f1
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401fc798]
test eax, eax
jne 0x1400192fa
call fcn.1400190f0
test eax, eax
je 0x140019310
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1401f3f50]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140019314
xor eax, eax
jmp 0x14001935a
lea rcx, str.crlutl.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov esi, ebx
test rax, rax
sete sil
test esi, esi
je 0x14001933e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x140019357
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140019500
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x20], 0
mov rbx, rcx
jne 0x1400195c6
add rcx, 0x38
call fcn.1400195d0
cmp qword [rbx + 0x68], 0
jne 0x140019560
mov rax, qword [rbx + 0x48]
cmp dword [rax - 0x10], 0
jne 0x140019532
xor eax, eax
jmp 0x140019557
mov rcx, qword [rbx + 8]
lea rdx, str.GetUILang
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140019557
call rax
mov rdx, qword [rbx + 0x48]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x78]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x1400195c6
lea rcx, [rbx + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_4138]
movzx eax, byte [rbx + 0xb0]
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
mov byte [rbx + 0x10], al
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [0x1400196b0]
mov qword [rbx + 0x28], rax
lea rax, [rbx + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x28]
or edx, 0xffffffff
mov qword [rbx + 0x20], rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret