joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004146c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x20], 0
mov esi, edx
and dword [rax + 8], 0
lea rdx, [rcx + 0x40]
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x140041497
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
je 0x140041511
test eax, eax
je 0x140041511
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x1400414e2
inc rax
jmp 0x1400414e9
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
movabs rcx, 0x312500000000
or rax, rbx
or rax, rcx
jmp 0x1400415b5
cmp esi, dword [rsp + 0x40]
je 0x140041559
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140041533
inc rax
jmp 0x14004153a
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
movabs rcx, 0x320500040002
jmp 0x140041509
mov eax, dword [rsp + 0x58]
cmp eax, 0x4000
jb 0x1400415a9
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140041580
inc rax
jmp 0x140041587
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
movabs rcx, 0x330500040003
jmp 0x140041509
mov dword [rdi], eax
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14005e234
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, rsi
call fcn.140031fcc
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005e26b
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 1
lea r9, [0x140088b08]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.14003e428
cmp rax, 0xffffffffffffffff
jne 0x14005e291
mov al, 1
jmp 0x14005e2f9
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005e29e
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test eax, eax
je 0x14005e2f9
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14001741c
nop
cmp qword [rbx + 0x18], 8
jb 0x14005e2c7
mov rbx, qword [rbx]
mov r8d, edi
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
sete bl
jne 0x14005e2ed
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.1400033fc
nop
lea rcx, [rsp + 0x38]
call fcn.1400174fc
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14005fe6c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005feb4
lea ebx, [rsi + 0xd]
jmp 0x14005ff1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005ff1f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005ff11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005ff1f
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140060a48
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060cf8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x140060a9e
mov ecx, 1
call fcn.140060cf8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, 0x7316ffbf
ror byte [rbx + 0x29], 0x18
mov ebx, 0xbcfbb616
sbb byte [rbp + 0x15], al
jmp qword [rbx - 0xfea0410]
Function at 0x140005790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x41], rax
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r13, vtable.CVolMem.0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], 0x40
mov qword [rbp - 0x19], r12
mov rbx, qword [0x14006e050]
test rbx, rbx
jne 0x140005837
lea r8d, [r12 + 0x30]
lea rdx, [rbp - 1]
lea rcx, [0x140012bd0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebx, r12d
test rax, rax
cmovne rbx, qword [rbp + 7]
mov edx, 0x1f4
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x1400058a7
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400058a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140005897
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rbp - 0x19], r12
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.1400138d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rsi, vtable.CVolObject.0
mov r8d, 0xcc
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140005bd0
mov dword [rbp - 0x49], 1
mov qword [rbp - 0x41], r13
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x1400058e6
mov rax, qword [rbp - 0x41]
mov r8, qword [rax + 0x18]
cmp rax, r13
jne 0x14000591a
lea rcx, [0x14006de88]
call int.140013fe0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x41], rsi
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x41]
call r8
jmp 0x1400058e6
Function at 0x140005930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x41], rax
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r13, vtable.CVolMem.0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], 0x40
mov qword [rbp - 0x19], r12
mov rbx, qword [0x14006e050]
test rbx, rbx
jne 0x1400059d7
lea r8d, [r12 + 0x30]
lea rdx, [rbp - 1]
lea rcx, [0x140012bd0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebx, r12d
test rax, rax
cmovne rbx, qword [rbp + 7]
mov edx, 0x1f5
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140005a47
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140005a40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140005a37
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rbp - 0x19], r12
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.1400138d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rsi, vtable.CVolObject.0
mov r8d, 0x68
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140005bd0
mov dword [rbp - 0x49], 1
mov qword [rbp - 0x41], r13
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x140005a86
mov rax, qword [rbp - 0x41]
mov r8, qword [rax + 0x18]
cmp rax, r13
jne 0x140005aba
lea rcx, [0x14006de88]
call int.140013fe0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x41], rsi
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x41]
call r8
jmp 0x140005a86
Function at 0x140005dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
xor ebx, ebx
mov r14, r8
mov qword [r8 + 0x28], rbx
mov rsi, rdx
test rdx, rdx
jne 0x140005de6
lea eax, [rdx + 1]
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rdi
mov rdi, qword [rcx + 0x1d0]
test rdi, rdi
jne 0x140005e1e
lea r8d, [rdi + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x140012bd0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov rdi, rbx
cmovne rdi, qword [rsp + 0x28]
movzx edx, si
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140005e99
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140005e99
mov rcx, rax
mov qword [rsp + 0x80], r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140005e88
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r15
mov qword [r14 + 0x28], rbx
mov r8d, eax
mov rcx, r14
call fcn.1400138d0
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
Function at 0x14000b110
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006b010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, vtable.CVolObject.0
mov qword [rdi], rcx
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
lea rax, vtable.CWString.0
mov qword [rdi], rax
lea rbx, [rdi + 0x20]
mov qword [rsp + 0x38], rbx
mov qword [rbx], rcx
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbp, vtable.CVolMem.0
mov qword [rbx], rbp
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x30], 0x40
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x50], 0xfe
mov dword [rsp + 0x20], 1
mov word [rsp + 0x40], si
xor r9d, r9d
lea r8d, [rsi + 0x1a]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000b240
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14000b1e8
cmp qword [rdi + 0x48], rax
je 0x14000b1f2
cmp qword [rbx + 0x28], rax
je 0x14000b1f2
mov rax, qword [rbx + 0x18]
lea rcx, [rsp + 0x40]
cmp rcx, rax
je 0x14000b238
mov qword [rdi + 0x18], rsi
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14000b217
mov rax, qword [rbx]
mov r8, qword [rax + 0x18]
cmp rax, rbp
jne 0x14000b26c
lea rcx, [0x14006de88]
call int.140013fe0
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x20], rsi
cmp word [rsp + 0x40], 0
je 0x14000b238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140013830
mov rcx, rdi
call fcn.14000b380
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140034140
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rbx
call r8
jmp 0x14000b217
Function at 0x14000dc10
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [rdx + 0x28]
xor r8d, r8d
test rax, rax
jne 0x14000dc25
mov edx, r8d
jmp 0x14000dc29
mov rdx, qword [rdx + 0x18]
mov dword [rsp + 0x48], r8d
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r8
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140011340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov ebx, edx
test r8, r8
je 0x1400114d9
mov rdi, qword [rcx + 0x1d0]
xor r12d, r12d
test rdi, rdi
jne 0x1400113a6
lea r8d, [rdi + 0x30]
lea rdx, [rax - 0x48]
lea rcx, [0x140012bd0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, r12d
test rax, rax
cmovne rdi, qword [rsp + 0x58]
test ebx, ebx
je 0x1400113df
cmp ebx, 3
je 0x1400113df
sub ebx, 1
je 0x1400113ce
cmp ebx, 1
jne 0x1400114d9
movzx edx, si
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x1400114db
movzx edx, si
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x1400114db
movzx edx, si
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x1400114d9
mov rsi, r12
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x1400114d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x1400114a8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
test eax, eax
je 0x140011481
mov rdx, r15
lea rcx, [rsp + 0x28]
call fcn.14000e5b0
test rax, rax
je 0x140011481
mov rsi, qword [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400114a8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x1400114d9
cmp ebx, 3
jne 0x1400114d4
mov rcx, rsi
call fcn.140010d80
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x1400114db
mov rax, rsi
jmp 0x1400114db
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400115a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x50
xor ebx, ebx
mov rbp, r9
mov qword [r8 + 0x28], rbx
mov r15, r8
mov rsi, rdx
test rdx, rdx
jne 0x1400115d5
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rsi
pop rbp
ret
mov qword [rsp + 0x70], rdi
mov rdi, qword [rcx + 0x1d0]
test rdi, rdi
jne 0x140011608
lea r8d, [rdi + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x140012bd0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov rdi, rbx
cmovne rdi, qword [rsp + 0x28]
movzx edx, si
mov r8, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14001167a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001167a
mov rcx, rax
mov qword [rsp + 0x78], r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14001166c
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov qword [r15 + 0x28], rbx
mov r8d, eax
mov rcx, r15
call fcn.1400138d0
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rsi
pop rbp
ret

Function at 0x1400120d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x14006e100], 0
jne 0x1400120f8
mov qword [0x14006e100], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1400395ac
call fcn.140039580
cmp qword [0x14006e100], 0
movsxd rbx, eax
jne 0x140012122
mov qword [0x14006e100], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1400395ac
call fcn.140039580
movzx eax, ax
shl ebx, 0x10
or eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140012800
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rbx, rcx
test rcx, rcx
je 0x1400129c5
cmp word [rcx], 0
je 0x1400129c5
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x50]
call fcn.1400360e0
mov dword [rbp - 0x50], 0x68
or dword [rbp - 0x14], 1
xor edi, edi
mov word [rbp - 0x10], di
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], rax
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rsi, vtable.CVolMem.0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], 0x40
cmp word [rbx], di
jne 0x1400128df
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
sub rax, rbx
cmp rax, 2
jl 0x1400128cb
mov rax, qword [rsp + 0x68]
mov word [rax + rbx], di
add qword [rsp + 0x78], 2
jmp 0x140012911
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.140013570
mov word [rax + rbx], di
jmp 0x140012911
mov r8, 0xffffffffffffffff
nop word [rax + rax]
lea r8, [r8 + 1]
cmp word [rbx + r8*2], 0
jne 0x1400128f0
lea r8, [r8*2 + 2]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400138d0
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x78], 0
cmove rdx, rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001295b
mov rbx, rdi
jmp 0x140012983
mov edx, 0x1f4
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400129ac
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
cmp rax, rsi
jne 0x1400129e4
lea rcx, [0x14006de88]
call int.140013fe0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], r14
mov rax, rbx
jmp 0x1400129c7
xor eax, eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x50]
call r8
jmp 0x1400129ac
Function at 0x1400129f0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006b010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
test rcx, rcx
je 0x140012ba7
cmp word [rcx], 0
je 0x140012ba7
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x20], r14
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, vtable.CVolMem.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x70], 0xfe
mov edi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x140012aed
test ax, ax
je 0x140012b2c
cmp word [rbx + 2], 0x3a
jne 0x140012b2c
cmp word [rbx + 4], 0x5c
jne 0x140012b2c
mov edx, 0x5c
mov rcx, rbx
call fcn.140035790
test rax, rax
je 0x140012b27
cmp rax, rbx
jbe 0x140012b10
lea rcx, [rax - 2]
cmp word [rcx], 0x3a
cmovne rax, rcx
sub rax, rbx
lea r8, [rax + 2]
sar r8, 1
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140014ea0
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jne 0x140012b42
cmp qword [rsp + 0x68], rdi
je 0x140012b6f
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x140012b6f
cmp word [rdi], 0
je 0x140012b6f
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140012b6f
cmp word [rdi], 0
je 0x140012b6a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rsi, rsi
je 0x140012b92
cmp word [rbp - 0x70], 0
je 0x140012b92
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x40]
call fcn.1400030f0
nop
mov qword [rsp + 0x20], r14
mov rax, rbx
jmp 0x140012ba9
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140034140
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret