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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx edi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x14028bf88]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14006c82a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x14006c833
call fcn.140022410
test eax, eax
je 0x14006c84f
lea rdx, [rsp + 0x78]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14006c859
movzx eax, r13w
jmp 0x14006c8c2
test rbx, rbx
jne 0x14006c879
lea rcx, str.GetFileTitleW
call fcn.14006c71c
mov rbx, rax
test rax, rax
je 0x14006c88d
mov qword [0x14028bf88], rax
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx edi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp di, r13w
sete bl
test ebx, ebx
je 0x14006c8a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14006c8a6
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14006c8bf
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, di
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140074814
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x140073f7a
xor eax, eax
add rsp, 0x28
ret
call fcn.140073f8c
mov rcx, rax
add rsp, 0x28
jmp 0x140074814
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14028c020]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14007485f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x140074868
call fcn.140022410
test eax, eax
je 0x140074884
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14007488c
xor eax, eax
jmp 0x1400748e9
test rbx, rbx
jne 0x1400748ac
lea rcx, str.ImageList_Destroy
call fcn.14002a688
mov rbx, rax
test rax, rax
je 0x1400748b7
mov qword [0x14028c020], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400748cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400748ce
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400748e7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140074900
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x14028c028]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14007495d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x140074966
call fcn.140022410
test eax, eax
je 0x140074982
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14007498d
xor eax, eax
jmp 0x140074a18
test rbx, rbx
jne 0x1400749ad
lea rcx, str.ImageList_LoadImageW
call fcn.14002a688
mov rbx, rax
test rax, rax
je 0x1400749e4
mov qword [0x14028c028], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400749fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400749fc
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140074a15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x14010a2b8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14028e190]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14010a303
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x14010a30c
call fcn.140022410
test eax, eax
je 0x14010a328
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14010a330
xor eax, eax
jmp 0x14010a38d
test rbx, rbx
jne 0x14010a350
lea rcx, str.GetOpenFileNameW
call fcn.14006c71c
mov rbx, rax
test rax, rax
je 0x14010a35b
mov qword [0x14028e190], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14010a370
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14010a372
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14010a38b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14010a3a4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14028e198]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14010a3ef
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x14010a3f8
call fcn.140022410
test eax, eax
je 0x14010a414
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14010a41c
xor eax, eax
jmp 0x14010a479
test rbx, rbx
jne 0x14010a43c
lea rcx, str.GetSaveFileNameW
call fcn.14006c71c
mov rbx, rax
test rax, rax
je 0x14010a447
mov qword [0x14028e198], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14010a45c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14010a45e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14010a477
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140157274
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14015729d
mov rdi, qword [rdx + 0x10]
jmp 0x1401572ee
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1401572be
call fcn.1400342b4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1401572d8
call fcn.1400342b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1401572ee
call fcn.1400342b4
call fcn.14002b538
cmp qword [rax + 0x68], 0
je 0x140157308
mov rdx, rdi
mov rcx, rbp
call fcn.14015680c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14015756c
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x14015732f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x14015733e
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401576dc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x14028f078]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x140157728
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x140157731
call fcn.140022410
test eax, eax
je 0x14015774d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140157758
xor eax, eax
jmp 0x1401577dc
test r14, r14
jne 0x140157775
lea rcx, str.CreatePropertySheetPageW
call fcn.1401579d8
test rax, rax
je 0x1401577a7
mov qword [0x14028f078], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x140157796
cmp dword [rdi], 0x60
jb 0x140157796
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x14027d130]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x14028f078]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1401577be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401577c0
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1401577d9
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401577f4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14028f080]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14015783f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x140157848
call fcn.140022410
test eax, eax
je 0x140157864
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015786c
xor eax, eax
jmp 0x1401578c9
test rbx, rbx
jne 0x14015788c
lea rcx, str.DestroyPropertySheetPage
call fcn.1401579d8
mov rbx, rax
test rax, rax
je 0x140157897
mov qword [0x14028f080], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401578ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401578ae
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401578c7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401578e0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14028f088]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x14015792f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x140157938
call fcn.140022410
test eax, eax
je 0x140157954
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015795e
or rax, 0xffffffffffffffff
jmp 0x1401579c0
test rbx, rbx
jne 0x14015797e
lea rcx, str.PropertySheetW
call fcn.1401579d8
mov rbx, rax
test rax, rax
je 0x14015798b
mov qword [0x14028f088], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x1401579a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401579a4
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401579bd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14018526c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14028ff68]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x1401852b7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x1401852c0
call fcn.140022410
test eax, eax
je 0x1401852dc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401852e4
xor eax, eax
jmp 0x140185341
test rbx, rbx
jne 0x140185304
lea rcx, str.ChooseColorW
call fcn.14006c71c
mov rbx, rax
test rax, rax
je 0x14018530f
mov qword [0x14028ff68], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140185324
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140185326
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14018533f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401990b4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402905b8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140286a18]
test eax, eax
je 0x1401990ff
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140286a18]
test eax, eax
jne 0x140199108
call fcn.140022410
test eax, eax
je 0x140199124
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14027d130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14019912c
xor eax, eax
jmp 0x140199189
test rbx, rbx
jne 0x14019914c
lea rcx, str.PrintDlgW
call fcn.14006c71c
mov rbx, rax
test rax, rax
je 0x140199157
mov qword [0x1402905b8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14019916c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14019916e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140199187
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401baff0
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10d, r9d
mov r9d, dword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x88]
mov r11d, r8d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
mov rcx, rdx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov r8d, r10d
mov edx, r11d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
add rsp, 0x40
pop rbx
ret

Function at 0x1401bb070
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [rsp + 0xb0]
mov r10, r9
mov r9, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa8]
mov r11, r8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov rcx, rdx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
mov r8, r10
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov rdx, r11
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x50
pop rbx
ret

Function at 0x1401bb0f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov r11, r8
mov rcx, rdx
mov r8, r10
mov rdx, r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x30
pop rbx
ret

Function at 0x1401bba90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10d, r9d
mov r9, qword [rsp + 0x60]
mov r11, r8
mov rcx, rdx
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x60], rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_WriteFile]

Function at 0x1401bbac0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov r11d, r8d
mov rcx, rdx
mov r8, r10
mov edx, r11d
mov dword [rsp + 0x20], eax
call fcn.14019b6f8
add rsp, 0x30
pop rbx
ret

Function at 0x1401bbb30
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10d, r9d
mov r9, qword [rsp + 0x60]
mov r11, r8
mov rcx, rdx
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x60], rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReadFile]

Function at 0x1401bbe30
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10, r9
mov r9d, dword [rsp + 0x60]
mov r11d, r8d
mov rcx, rdx
mov r8, r10
mov edx, r11d
mov qword [rsp + 0x60], rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.SHELL32.dll_SHGetFolderPathW]

Function at 0x1401bbe90
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov r11, r8
mov rcx, rdx
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x30
pop rbx
ret
Function at 0x1401bbfb0
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
mov rax, r8
mov ecx, edx
mov r8, r9
mov rdx, rax
call sub.Secur32.dll_GetUserNameExW
movzx eax, al
add rsp, 0x28
ret

Function at 0x1401bc220
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
xor ecx, ecx
mov rax, r9
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov r10d, r8d
mov r11, rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r8, rax
mov edx, r10d
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x1401bc260
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov rcx, rdx
mov r8, r10
mov edx, r11d
mov qword [rsp + 0x70], 0
add rsp, 0x40
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_RegEnumValueW]

Function at 0x1401bcf40
Capabilities:
Modify service

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [rsp + 0xc8]
mov r10d, r9d
mov r9d, dword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov r11d, r8d
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov rcx, rdx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov r8d, r10d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa8]
mov edx, r11d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
add rsp, 0x60
pop rbx
ret

Function at 0x1401bd010
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [rsp + 0xc8]
mov r10, r9
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov r11, r8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov rcx, rdx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov r8, r10
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa8]
mov rdx, r11
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x60
pop rbx
ret
Function at 0x401460
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov ecx, 2
call sub.msvcrt.dll___set_app_type
mov edx, 0x30000
mov ecx, 0x10000
call sub.msvcrt.dll__controlfp
call sub.kernel32.dll_GetCommandLineA
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
test eax, eax
je 0x401571
mov rax, qword [rbp - 8]
mov ecx, 0x20
movsx edx, byte [rax]
cmp ecx, edx
jne 0x4014be
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 1
mov qword [rbp - 8], rax
jmp 0x401499
mov rax, qword [rbp - 8]
mov ecx, 0x22
movsx edx, byte [rax]
cmp ecx, edx
jne 0x401518
mov rax, qword [rbp - 8]
add rax, 1
mov qword [rbp - 8], rax
movsx ecx, byte [rax]
test ecx, ecx
je 0x401513
mov rax, qword [rbp - 8]
mov ecx, 0x22
movsx edx, byte [rax]
cmp ecx, edx
jne 0x401511
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 1
mov qword [rbp - 8], rax
jmp 0x401513
jmp 0x4014d2
jmp 0x40154c
mov rax, qword [rbp - 8]
movsx ecx, byte [rax]
test ecx, ecx
je 0x40154c
mov rax, qword [rbp - 8]
mov ecx, 0x20
movsx edx, byte [rax]
cmp ecx, edx
je 0x40154c
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 1
mov qword [rbp - 8], rax
jmp 0x401518
mov rax, qword [rbp - 8]
mov ecx, 0x20
movsx edx, byte [rax]
cmp ecx, edx
jne 0x401571
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 1
mov qword [rbp - 8], rax
jmp 0x40154c
lea rcx, [rbp - 0x70]
call sub.kernel32.dll_GetStartupInfoA
movzx eax, word [rbp - 0x30]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x34]
and eax, 1
mov ecx, 0
cmp ecx, eax
jne 0x40159c
mov eax, 0xa
mov dword [rbp - 0x74], eax
movabs rcx, 0
call sub.kernel32.dll_GetModuleHandleA
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0x74]
mov r9, rax
mov rax, qword [rbp - 8]
mov r8, rax
movabs rdx, 0
mov rcx, qword [rbp - 0x80]
call fcn.004011a4
mov dword [rbp - 0x78], eax
mov ecx, dword [rbp - 0x78]
call sub.msvcrt.dll_exit
leave
ret