joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001e5d4
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x18001e612
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x18001e6c6
call fcn.18000b2e0
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x18001e631
mov ecx, 0x80004005
call fcn.180001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.180049988
test eax, eax
je 0x18001e699
cmp eax, 0xc
je 0x18001e693
cmp eax, 0x16
je 0x18001e68d
cmp eax, 0x22
je 0x18001e68d
cmp eax, 0x50
je 0x18001e699
call fcn.180012de4
int3
call fcn.180012de4
int3
call fcn.180012d9c
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x18001e6c4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180020264
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.1800310a8
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x1800202c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.18001fcf4
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x180020354
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
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x180020393
cmp dword [rcx + 0xa8], 0
jne 0x180020393
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.1800310a8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1800202f8
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180035d80
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.180013a90
nop
cmp rbx, 0xffffffff80000000
jne 0x180035e0c
call fcn.180030660
cmp eax, 1
jne 0x180035e0c
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.180026cb0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800013f8
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180035e05
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180035e43
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180035e58
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, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.180013a90
nop
cmp rbx, 0xffffffff80000000
jne 0x180035ee4
call fcn.180030660
cmp eax, 1
jne 0x180035ee4
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.180026cb0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800013f8
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180035edd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180035f23
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180039d9c
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xa8], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x180039e13
call fcn.180039d28
mov rsi, rax
test rax, rax
jne 0x180039dcf
mov eax, edi
jmp 0x180039e29
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x180039dcb
mov r9, qword [rcx + 0xd0]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x18003e95c
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x18003e97f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.180040bdc
add rsp, 0x20
pop rbx
ret

Function at 0x18003e988
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18003e9ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.180040bdc
add rsp, 0x20
pop rbx
ret

Function at 0x18004a5f0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18004a464
Function at 0x18004b363
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18008a910]
jne 0x18004805a
rol rcx, 0x10
test cx, 0xffff
jne 0x180048056
repz ret
ror rcx, 0x10
jmp 0x18004b2bc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180090240]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180090338]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18004b341
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180090240]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18004b363
mov rax, qword [rsp + 0x88]
mov qword [0x180090338], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800902d8], rax
mov rax, qword [0x180090338]
mov qword [0x1800901b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800902c0], rax
mov dword [0x1800901a0], 0xc0000409
mov dword [0x1800901a4], 1
mov rax, qword [0x18008a910]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18008a918]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180090238], eax
mov ecx, 1
call fcn.180056b00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180074520]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180090238], 0
jne 0x18004b3ea
mov ecx, 1
call fcn.180056b00
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180057f94
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.18004e1d0
xor ebx, ebx
mov rdi, rax
cmp qword [0x180090f90], rbx
jne 0x18005809a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18005816f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005816f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180075810]
mov rcx, rsi
mov qword [0x180090f90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1800757f8]
mov rcx, rsi
mov qword [0x180090f98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x180090fa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180090fb0], rax
test rax, rax
je 0x180058091
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180090fa8], rax
jmp 0x1800580a1
mov rax, qword [0x180090fa8]
jmp 0x1800580a8
mov rax, qword [0x180090fa8]
mov r11, qword [0x180090fb0]
cmp rax, rdi
je 0x180058110
cmp r11, rdi
je 0x180058110
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180090fb0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180058110
test rax, rax
je 0x180058110
call rsi
test rax, rax
je 0x18005810a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18005810a
test byte [rsp + 0x38], 1
jne 0x180058110
bts ebp, 0x15
jmp 0x18005814e
mov rcx, qword [0x180090f98]
cmp rcx, rdi
je 0x18005814e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005814e
call rax
mov rbx, rax
test rax, rax
je 0x18005814e
mov rcx, qword [0x180090fa0]
cmp rcx, rdi
je 0x18005814e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005814e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180090f90]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005816f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180058171
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140002af4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002b3e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002b3e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002b3e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002b3e
cmp dword [rcx + 0x84], 0xe
jbe 0x140002b3e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002b40
xor al, al
add rsp, 0x28
ret
Function at 0x140001314
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x1400231d0]
xor rax, rsp
mov qword [rbp], rax
call fcn.14000919c
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov qword [rsp + 0x28], rdi
movdqa xmm0, xmmword [0x14001cdd0]
movdqu xmmword [rsp + 0x38], xmm0
lea r8d, [rdi + 0xa]
lea rdx, str._user_path
lea rcx, [rsp + 0x28]
call fcn.140001a80
movsxd rcx, dword [rsp + 0x20]
lea rdx, [rbx + rcx*8]
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.14000975c
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140001a18
mov rcx, rbx
call fcn.14000bbb0
mov qword [rsp + 0x58], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x78], di
mov qword [rbp - 8], rdi
call fcn.14000148c
mov qword [0x140024b38], rdi
lea rax, vtable.rpc_object_stub_class_cpt_control_agent_.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.14000c9f4
nop
lea rcx, [rsp + 0x58]
call fcn.14000c9b4
lea rcx, [rsp + 0x58]
call fcn.140001804
nop
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140017500
add rsp, 0x110
pop rdi
pop rbx
pop rbp
ret
Function at 0x14000a328
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbp, rdx
mov esi, ecx
test rdx, rdx
jne 0x14000a34f
xor al, al
jmp 0x14000a447
xor dil, dil
mov byte [rsp + 0x88], dil
test esi, esi
je 0x14000a444
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000a396
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000a444
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x88]
lea rax, [rsp + 0x78]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea rdx, str.QueryFullProcessImageNameW
lea rax, [rsp + 0x40]
lea rcx, str.kernel32.dll
mov qword [rsp + 0x20], rax
call fcn.140003af0
mov dil, byte [rsp + 0x88]
test dil, dil
jne 0x14000a43b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, dword [rsp + 0x80]
mov r8, rbp
mov rcx, rax
xor edx, edx
mov rbx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
setne dil
test eax, eax
jne 0x14000a43b
mov r8d, dword [rsp + 0x80]
mov rdx, rbp
mov rcx, rbx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000a4f0
Capabilities:
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x1400231d0]
xor rax, rsp
mov qword [rsp + 0x430], rax
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x14000a5ae
cmp di, word [rcx]
je 0x14000a5ae
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [rdi + 0x25]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000a5ae
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x14000a5aa
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.downlevel
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000a5ae
mov al, 1
jmp 0x14000a5b0
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140017500
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret
Function at 0x14000a7b8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400231d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x14000a8a5
cmp si, word [rcx]
je 0x14000a8a5
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000a8a0
call fcn.14000a194
cmp eax, 0x3d
jg 0x14000a8a0
mov ebp, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test eax, eax
je 0x14000a8a0
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x14000a83c
lea rax, [rdx + 2]
add rcx, rax
cmp rcx, rbp
ja 0x14000a8a0
lea ecx, [rdx - 1]
mov eax, 0x5c
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000a881
mov eax, 0x2f
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000a881
lea r8, [0x14001aadc]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rax, rdi
jmp 0x14000a8a7
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140017500
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000e6a4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400231d0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rbp - 0x40], r14d
mov r8, qword [rdx + 0x10]
test r8, r8
jne 0x14000e7e7
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], r14
lea edi, [r14 + 7]
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x30], r14w
mov dword [rbp - 0x40], 1
mov qword [rbp - 0x38], r14
lea r9, [rbp - 0x38]
xor edx, edx
lea rcx, [0x14001c920]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x14000e739
mov rdx, qword [rbp - 0x38]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14000e71c
lea rcx, [rbp - 0x30]
call fcn.140001a80
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rbx, [rsi + 0xd0]
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x14000e76f
mov rcx, rbx
call fcn.140001a18
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x30], r14w
jmp 0x14000e773
mov rdi, qword [rbp - 0x18]
cmp rdi, 8
jb 0x14000e7b2
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e7ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e7ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017520
cmp qword [rsi + 0xe0], r14
je 0x14000e805
mov r8d, 1
lea rdx, [0x14001aadc]
mov rcx, rbx
call fcn.1400090b4
mov r8d, 4
lea rdx, [0x14001bca8]
mov rcx, rbx
call fcn.1400090b4
jmp 0x14000e805
lea rbx, [rcx + 0xd0]
cmp rbx, rdx
je 0x14000e805
cmp qword [rdx + 0x18], 8
jb 0x14000e7fd
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.140001a80
lea rdi, [rsi + 0xf0]
cmp rdi, rbx
je 0x14000e82a
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000e81e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140001a80
mov r8d, 6
lea rdx, str.data_
mov rcx, rdi
call fcn.1400090b4
mov r8d, 0xb
lea rdx, str.Zoom.us.ini
mov rcx, rdi
call fcn.1400090b4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140017500
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140012598
Capabilities:
Read .ini file

Disassembly:
mov r11d, r9d
mov r10, r8
lea r9, [rcx + 8]
mov rax, rdx
cmp qword [r9 + 0x18], 8
jb 0x1400125af
mov r9, qword [r9]
cmp qword [r8 + 0x18], 8
jb 0x1400125b9
mov r10, qword [r8]
cmp qword [rdx + 0x18], 8
jb case.default.0x1400125cc
mov rax, qword [rdx]
mov r8d, r11d
mov rdx, r10
mov rcx, rax
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
stosd dword [rdi], eax
jne 0x14003b416
fistp dword [rdx - 0xc28bbb7]
xchg esi, eax
or al, 0
invalid
invalid
movsd dword [rdi], dword [rsi]
in eax, dx
in eax, dx
stosb byte [rdi], al
rol dword [rax - 0x2e08ea5f], cl
in eax, dx
invalid
sub r14b, r8b
invalid
invalid
jl 0x14003b57d
call [rbp + 0x45778e5c]
sub ebp, dword [rdx + 0x697da472]
imul edx, dword [rax - 0x2d], 0x89133cd9
sbb dword [rdi], edi
insb byte [rdi], dx
jae 0x14003b5a1
jg 0x14003b5c4
invalid
invalid
pop rbp
cwde
invalid
scasb al, byte [rdi]
and bh, byte [rsi + 0xde8f43b]
adc ah, cl
iretd
in eax, 0xee
sbb al, 0xdf
mov al, al
invalid
xchg edi, eax
test dword [rcx + 0x7f], 0x12e57deb
rcl ebx, 0x87
adc bh, byte [rcx]
movabs byte [0x66c82eb028cda8ce], al
cmpsb byte ss:[rsi], byte [rdi]
mov ah, byte [rdi]
push 0x7ed6492a
and dh, dh
mov edx, 0x87731209
adc dh, byte [rbx - 0x79]
pop r13
adc edi, edx
invalid

Function at 0x1400125d4
Capabilities:
Read .ini file

Disassembly:
push rbx
add rcx, 8
mov r10, r9
mov r11, r8
mov rbx, rdx
cmp qword [rcx + 0x18], 8
jb case.default.0x140012609
mov rcx, qword [rcx]
mov eax, dword [rsp + 0x38]
mov r8, r10
mov r9, qword [rsp + 0x30]
mov rdx, r11
mov qword [rsp + 0x38], rcx
mov rcx, rbx
mov dword [rsp + 0x30], eax
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
Function at 0x140012bc0
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140012d32
cmp si, word [rdx]
je 0x140012d32
cmp qword [rcx + 8], rsi
je 0x140012bf4
call fcn.140012ad4
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rbx], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140012d32
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0x40
jb 0x140012d32
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rax
mov qword [rbx + 0x18], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140012d32
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov rdx, rax
test rax, rax
je 0x140012d32
lea r8, [rdi + rax]
mov qword [rbx + 0x10], r8
cmp dword [rax + 0x3c], 0x40
jb 0x140012d32
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
lea rax, [rcx + 0xf8]
cmp r8, rax
jb 0x140012d32
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140012d32
cmp dword [rcx], 0x4550
jne 0x140012d32
mov eax, 0x14c
cmp word [rcx + 4], ax
je 0x140012d0b
mov eax, 0x8664
cmp word [rcx + 4], ax
je 0x140012d02
mov eax, 0xaa64
cmp word [rcx + 4], ax
jne 0x140012d32
mov dword [rbx + 0x30], 3
lea rax, [rcx + 0x108]
jmp 0x140012d19
mov dword [rbx + 0x30], 2
jmp 0x140012cf9
mov dword [rbx + 0x30], 1
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x28], rax
movzx ecx, word [rcx + 6]
lea rdx, [rcx + rcx*4]
lea rcx, [rax + rdx*8]
cmp r8, rcx
jb 0x140012d32
mov al, 1
jmp 0x140012d3c
mov rcx, rbx
call fcn.140012ad4
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret