joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
idiv bh
push rax
invalid
cwde
invalid
sbb edi, edi
sbb ebx, dword [rbx]
sbb edi, edi
sbb bl, byte [rax]
sbb bh, bh
and ah, byte [rbx]
and edi, edi
sbb eax, 0xff1e20
invalid
add byte [rcx], cl
invalid
jl 0x14003f6db
call qword [rdi - 0x7d]
test bh, bh
xchg edi, eax
cdq
push qword [rax - 0x5d]
cmpsb byte [rsi], byte [rdi]
inc dword [rcx - 0x7400464d]
mov ecx, 0xc4bc8bff
invalid
invalid
retf
push rdi
add dword [rdi + rdi*8 - 0x666899], 0x70
movabs dword [0xbc8bffb9b381ffa6], eax
mov ecx, 0xc4bc8bff
mov ecx, 0xc4bc8bff
call [rdx - 0x59002c35]
sar edi, cl
cmpsb byte [rsi], byte [rdi]
sar edi, cl
cmpsb byte [rsi], byte [rdi]
xlatb
invalid
sar esp, 0xfe
invalid
mov bh, 0xfd
cld
push qword [rdx - 0x50000301]
invalid
Function at 0x140036100
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003614a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003614a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003614a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003614a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003614a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003614c
xor al, al
add rsp, 0x28
ret

Function at 0x140037484
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400375cc

Function at 0x1400375cc
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400375cc
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003763b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003763b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003763b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003763b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003763b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003763b
cmp dword [rcx + 0xf8], 0
je 0x14003763b
mov ecx, ebx
call fcn.140037504
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140037760
nop
cmp dword [rbp + 0x20], 0
je 0x140037689
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140037598
int3

Function at 0x140038c90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140038cb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140038cb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14003e784
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14003e7b4
xor eax, eax
jmp 0x14003e877
mov rbp, rbx
cmp word [rax], si
je 0x14003e7d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003e7c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003e7bc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14003e6a4
movsxd r14, eax
test eax, eax
jne 0x14003e817
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003e7ad
mov rcx, r14
call fcn.14003d250
mov rdi, rax
test rax, rax
jne 0x14003e830
xor ecx, ecx
call fcn.14003c224
jmp 0x14003e80c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14003e6a4
test eax, eax
jne 0x14003e861
mov rcx, rdi
call fcn.14003c224
jmp 0x14003e86b
xor ecx, ecx
call fcn.14003c224
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1407ba058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407ba1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407ba089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407ba06f
add dl, dl
jne 0x1407ba096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407ba0f6
xor eax, eax
add dl, dl
jne 0x1407ba0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407ba1ad
add dl, dl
jne 0x1407ba0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ba0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ba0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ba0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407ba0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407ba07e
mov eax, 1
add dl, dl
jne 0x1407ba106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ba113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407ba0fb
sub eax, ebx
mov ebx, 1
jne 0x1407ba14c
mov ecx, 1
add dl, dl
jne 0x1407ba12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407ba13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407ba123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407ba07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407ba168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407ba175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407ba15d
cmp eax, 0x7d00
jae 0x1407ba19b
cmp eax, 0x500
jb 0x1407ba196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407ba07e
cmp eax, 0x7f
ja 0x1407ba19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407ba07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407ba1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407ba07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
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 [0x14001ce30]
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.14000bbe0
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.14000ca24
nop
lea rcx, [rsp + 0x58]
call fcn.14000c9e4
lea rcx, [rsp + 0x58]
call fcn.140001804
nop
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400177e0
add rsp, 0x110
pop rdi
pop rbx
pop rbp
ret
Function at 0x140005fe8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140006177
cmp ecx, 0x7c
je 0x140006177
cmp ecx, 0x29
jne 0x140006030
cmp dword [rbx + 0x1c], 0
jne 0x140006177
test dword [rbx + 0x80], 0x10000000
je 0x140006190
jmp 0x140006125
cmp ecx, 0x2e
jne 0x140006050
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400087c8
mov rcx, rbx
call fcn.140008820
jmp 0x140006165
cmp ecx, 0x5c
jne 0x1400060b1
mov rcx, rbx
call fcn.140008820
test byte [rbx + 0x80], 0x80
je 0x1400060a4
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140006088
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1400087c8
mov rcx, rbx
call fcn.140008820
jmp 0x14000616d
cmp al, 0x42
jne 0x1400060a4
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400087c8
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000607b
mov rcx, rbx
call fcn.1400061bc
jmp 0x140006165
cmp ecx, 0x5b
jne 0x1400060d5
mov rcx, rbx
call fcn.140008820
mov rcx, rbx
call fcn.14000699c
cmp dword [rbx + 0x7c], 0x5d
jne 0x14000619e
jmp 0x140006043
cmp ecx, 0x28
jne 0x1400060f9
mov rcx, rbx
call fcn.140008820
mov rcx, rbx
call fcn.140008f70
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140006190
jmp 0x140006158
cmp ecx, 0x5e
jne 0x140006106
lea edx, [rcx - 0x5c]
jmp 0x140006072
cmp ecx, 0x24
jne 0x140006113
lea edx, [rcx - 0x21]
jmp 0x140006072
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140006182
cmp ecx, 0x3f
je 0x140006182
cmp ecx, 0x7b
je 0x140006182
cmp ecx, 0x7d
jne 0x140006138
test dword [rbx + 0x80], 0x10000000
je 0x1400061ac
jmp 0x140006149
cmp ecx, 0x5d
jne 0x140006149
test dword [rbx + 0x80], 0x10000000
je 0x14000619e
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140005654
mov dil, 1
mov rcx, rbx
call fcn.140008820
test dil, dil
je 0x14000616d
mov rcx, rbx
call fcn.140008870
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140005ffa
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.140007bec
int3
mov edx, 5
mov rcx, rbx
call fcn.140007bec
int3
mov edx, 4
mov rcx, rbx
call fcn.140007bec
int3
mov edx, 6
mov rcx, rbx
call fcn.140007bec
int3
Function at 0x14000a340
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 0x14000a367
xor al, al
jmp 0x14000a45f
xor dil, dil
mov byte [rsp + 0x88], dil
test esi, esi
je 0x14000a45c
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000a3ae
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000a45c
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 0x14000a453
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 0x14000a453
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 0x14000a508
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 0x14000a5c6
cmp di, word [rcx]
je 0x14000a5c6
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 0x14000a5c6
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 0x14000a5c2
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 0x14000a5c6
mov al, 1
jmp 0x14000a5c8
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400177e0
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret
Function at 0x14000a7d0
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 0x14000a8cf
cmp si, word [rcx]
je 0x14000a8cf
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000a8ca
call fcn.14000a1ac
cmp eax, 0x3d
jg 0x14000a8ca
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov ebp, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test eax, eax
je 0x14000a8ca
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x14000a866
lea rax, [rdx + 2]
add rcx, rax
cmp rcx, rbp
ja 0x14000a8ca
lea ecx, [rdx - 1]
mov eax, 0x5c
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000a8ab
mov eax, 0x2f
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000a8ab
lea r8, [0x14001aaec]
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 0x14000a8d1
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400177e0
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 0x14000e6d4
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 0x14000e817
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, [0x14001c980]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x14000e769
mov rdx, qword [rbp - 0x38]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14000e74c
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 0x14000e79f
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 0x14000e7a3
mov rdi, qword [rbp - 0x18]
cmp rdi, 8
jb 0x14000e7e2
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e7dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e7dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017800
cmp qword [rsi + 0xe0], r14
je 0x14000e835
mov r8d, 1
lea rdx, [0x14001aaec]
mov rcx, rbx
call fcn.1400090b4
mov r8d, 4
lea rdx, [0x14001bcb8]
mov rcx, rbx
call fcn.1400090b4
jmp 0x14000e835
lea rbx, [rcx + 0xd0]
cmp rbx, rdx
je 0x14000e835
cmp qword [rdx + 0x18], 8
jb 0x14000e82d
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.140001a80
lea rdi, [rsi + 0xf0]
cmp rdi, rbx
je 0x14000e85a
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000e84e
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.1400177e0
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 0x1400127c8
Capabilities:
Read .ini file

Disassembly:
mov r11d, r9d
mov r10, r8
lea r9, [rcx + 8]
mov rax, rdx
cmp qword [r9 + 0x18], 8
jb 0x1400127df
mov r9, qword [r9]
cmp qword [r8 + 0x18], 8
jb 0x1400127e9
mov r10, qword [r8]
cmp qword [rdx + 0x18], 8
jb case.default.0x1400127fc
mov rax, qword [rdx]
mov r8d, r11d
mov rdx, r10
mov rcx, rax
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
stosb byte [rdi], al
mov esp, cs
invalid
mov ebp, 0xecd04096
xchg edi, eax
xlatb
jmp 0x14003b4a8
and al, 0xef
popfq
insd dword [rdi], dx
add dword cs:[rdi + riz*2 - 0x444253c6], 0x70
out dx, al
stosd dword [rdi], eax
pop rdi
hlt
add dword [rax], eax
out dx, eax
add al, dh
sub ch, byte [rbp + 0x48545d18]
mov ah, 0xb2
jb 0x14003b47b
lodsd eax, dword [rsi]
pop rbx
fdiv qword [rdi + 0x3eb75478]
adc dword [0x159072eb7], ebp
mov ebx, 0xe578741b
add dh, bh
cmpsd dword [rsi], dword [rdi]
mov dh, 0xf5
movabs dword [0x8be7ff30bb9d5adb], eax
mov edi, dword [rbx]
pop rsi
and ah, byte [rcx - 0x2f287414]
jl 0x14003b4c7
push qword [rdi + 0x37]
mov edi, dword [rbx]
pop rsi
and ah, byte [rcx - 0x2f287414]
jl 0x14003b4c7
push qword [rdi + 0x37]
push rbx
mov gs, word [rbx]
sbb dword [rsi + 0xe73938e], 0xffffffdc
movabs rbp, 0x7f4a3c85db4b1368
invalid
outsd dx, dword [rsi]
outsd dx, dword [rsi]
sar ch, 0x99
invalid
pop rsp
sti
jmp qword [rbp + 0x53]
mov bh, 0xa
mov al, 0x39
or bl, byte [rbx]
invalid
stosd dword [rdi], eax
cmp byte [rbx - 0x55], bh
retf 0x135e
outsd dx, dword [rsi]
xchg edi, eax
mov ecx, 0xa09b7424
jmp qword [rdx + riz*4 - 0x298841b6]
jb 0x14003b5e9
fdivp st(6)
mov esi, 0xdc28e47a
invalid
int1
shr dword es:[rbx], 0xbb
cmp cl, al
movabs byte [0xea1a3973a25aee7b], al
cmp bh, byte [rsi]
in al, dx
invalid
movsd dword [rdi], dword [rsi]
cmpsb byte [rsi], byte [rdi]
invalid

Function at 0x140012804
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.0x140012839
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]
invalid
Function at 0x140012df0
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 0x140012f62
cmp si, word [rdx]
je 0x140012f62
cmp qword [rcx + 8], rsi
je 0x140012e24
call fcn.140012d04
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 0x140012f62
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0x40
jb 0x140012f62
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 0x140012f62
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 0x140012f62
lea r8, [rdi + rax]
mov qword [rbx + 0x10], r8
cmp dword [rax + 0x3c], 0x40
jb 0x140012f62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
lea rax, [rcx + 0xf8]
cmp r8, rax
jb 0x140012f62
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140012f62
cmp dword [rcx], 0x4550
jne 0x140012f62
mov eax, 0x14c
cmp word [rcx + 4], ax
je 0x140012f3b
mov eax, 0x8664
cmp word [rcx + 4], ax
je 0x140012f32
mov eax, 0xaa64
cmp word [rcx + 4], ax
jne 0x140012f62
mov dword [rbx + 0x30], 3
lea rax, [rcx + 0x108]
jmp 0x140012f49
mov dword [rbx + 0x30], 2
jmp 0x140012f29
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 0x140012f62
mov al, 1
jmp 0x140012f6c
mov rcx, rbx
call fcn.140012d04
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret