joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026b1c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov r8d, dword [r9]
xor r14d, r14d
and r8d, 7
mov rdi, r9
mov r11, rcx
mov r10d, r14d
cmp rdx, 5
jae 0x140026b4f
xor eax, eax
jmp 0x140026c80
lea rbx, [rdx - 4]
add rbx, r11
lea r9, [r10 + r11]
jmp 0x140026b68
mov al, byte [r9]
and al, 0xfe
cmp al, 0xe8
je 0x140026b6d
inc r9
cmp r9, rbx
jb 0x140026b5c
mov rax, r9
sub rax, r10
mov r10, r9
sub r10, r11
sub rax, r11
cmp r9, rbx
jae 0x140026c6d
cmp rax, 2
jbe 0x140026c19
mov r8d, r14d
movzx edx, byte [r9 + 4]
lea eax, [rdx + 1]
test al, 0xfe
jne 0x140026c59
movzx eax, byte [r9 + 3]
lea esi, [r10 + 5]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 1]
shl edx, 8
or edx, eax
sub edx, esi
test r8d, r8d
je 0x140026bf0
and r8d, 6
mov eax, edx
shl r8d, 2
mov ecx, r8d
shr eax, cl
inc eax
test al, 0xfe
jne 0x140026bed
mov eax, 0x100
shl eax, cl
dec eax
xor edx, eax
sub edx, esi
mov r8d, r14d
mov eax, edx
mov byte [r9 + 1], dl
shr eax, 8
mov byte [r9 + 2], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
and dl, 1
mov byte [r9 + 3], al
neg dl
mov eax, 5
mov byte [r9 + 4], dl
jmp 0x140026c65
mov ecx, eax
shr r8d, cl
test r8d, r8d
je 0x140026b92
cmp r8d, 4
ja 0x140026c4a
cmp r8d, 3
je 0x140026c4a
mov eax, r8d
shr rax, 1
movzx ecx, byte [rax + r9 + 1]
inc ecx
test cl, 0xfe
jne 0x140026b92
or r8d, 8
shr r8d, 1
inc r10
jmp 0x140026b56
or r8d, 8
mov eax, 1
shr r8d, 1
add r10, rax
jmp 0x140026b56
mov ecx, eax
shr r8d, cl
cmp rax, 2
mov rax, r10
cmova r8d, r14d
mov dword [rdi], r8d
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret

Function at 0x140029bc4
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140029bf1
test al, 0x10
jbe 0x140029bf1
xor eax, eax
jmp 0x140029c73
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140029614
nop
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140057e3c
mov edx, 0x5c
xor ebp, ebp
cmp eax, 1
jle 0x140029c26
cdqe
cmp word [rdi + rax*2 - 2], dx
jne 0x140029c26
mov word [rdi + rax*2 - 2], bp
mov rcx, rdi
call fcn.14007d110
test rax, rax
jne 0x140029c38
lea ebx, [rax + 0xf]
jmp 0x140029c69
mov word [rax], bp
mov rcx, rdi
call fcn.140029bc4
mov ebx, eax
test eax, eax
jne 0x140029c69
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140029c67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x140029c69
mov ebx, ebp
mov rcx, rdi
call fcn.14002a8f0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140029ff4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.Cabinet::CExtract.0
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x120], eax
je 0x14002a033
mov dword [rbx + 0xe8], 0x3f3
and dword [rbx + 0xec], 0
and dword [rbx + 0xf0], 0
jmp 0x14002a09d
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x14002a07a
mov rax, qword [rbx + 0x148]
call qword [case.0x14002de11.0]
mov esi, eax
and qword [rbx + 0xf8], 0
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x14002a067
call fcn.14002a8f0
and qword [rbx + 0xb8], 0
and dword [rbx + 0xc0], 0
test esi, esi
je 0x14002a09d
mov ecx, dword [0x1400baaf0]
cmp ecx, 0xffffffff
je 0x14002a09d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14002a09d
mov ecx, dword [0x1400baaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14002a0af
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x108]
test rcx, rcx
je 0x14002a0c5
mov edx, 1
call fcn.14002a8f0
mov rcx, qword [rbx + 0xd8]
call fcn.14002a8f0
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x14002a0e2
call fcn.14002a8f0
and qword [rbx + 0xb8], 0
and dword [rbx + 0xc0], 0
mov rcx, qword [rbx + 0xa8]
call fcn.14002a8f0
mov rcx, qword [rbx + 0x98]
call fcn.14002a8f0
mov edx, 8
mov rcx, qword [rbx + 0x88]
call fcn.14002a8f0
mov edx, 4
mov rcx, qword [rbx + 0x90]
call fcn.14002a8f0
mov rcx, qword [rbx + 0x20]
call fcn.14002a8f0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
jmp fcn.14002a8f0
Function at 0x14002a15c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [rsi + 0x120], eax
je 0x14002a199
mov qword [rsi + 0xe8], 0x3f3
mov dword [rsi + 0xf0], ebx
jmp 0x14002a350
mov ecx, dword [0x1400baaf0]
or edi, 0xffffffff
cmp ecx, edi
je 0x14002a33e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002a1c2
mov qword [rsi + 0xe8], 0x3f4
jmp 0x14002a18e
mov ecx, dword [0x1400baaf0]
cmp ecx, edi
je 0x14002a33e
mov rdx, rsi
lea rbp, [rsi + 0xc8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14002a345
mov ecx, dword [0x1400baaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002a345
xor eax, eax
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov rdi, rbp
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
cmp qword [rsi + 0xf8], rbx
jne 0x14002a352
cmp qword [rsi + 0x128], rbx
jne 0x14002a2d3
call fcn.140029e38
lea rdx, str.FDICreate
mov qword [rsi + 0x128], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x128]
lea rdx, str.FDICopy
mov qword [rsi + 0x130], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x128]
lea rdx, str.FDIIsCabinet
mov qword [rsi + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x128]
lea rdx, str.FDIDestroy
mov qword [rsi + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x148], rax
cmp qword [rsi + 0x130], rbx
je 0x14002a2bc
cmp qword [rsi + 0x138], rbx
je 0x14002a2bc
cmp qword [rsi + 0x140], rbx
je 0x14002a2bc
test rax, rax
jne 0x14002a2d3
mov qword [rsi + 0x128], rbx
mov qword [rsi + 0xe8], 0x3e8
jmp 0x14002a18e
mov qword [rsp + 0x40], rbp
lea rax, [0x14002ac90]
mov dword [rsp + 0x38], 1
lea r9, [0x14002a9b0]
mov qword [rsp + 0x30], rax
lea r8, [0x14002a900]
lea rax, [0x14002ac60]
mov qword [rsp + 0x28], rax
lea rdx, [fcn.14002a8f0]
lea rax, [0x14002ab00]
mov qword [rsp + 0x20], rax
lea rcx, [0x14002a8e0]
mov rax, qword [rsi + 0x130]
call qword [case.0x14002de11.0]
test rax, rax
mov qword [rsi + 0xf8], rax
setne bl
mov eax, ebx
jmp 0x14002a352
lea rbp, [rsi + 0xc8]
mov dword [rbp + 0x20], ebx
mov qword [rbp + 0x24], 0xe
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14002a7c0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov r14, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [rsi + 0x120], eax
je 0x14002a81e
mov qword [rsi + 0xe8], 0x3f3
mov dword [rsi + 0xf0], ebx
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rsi + 0xf8], rbx
je 0x14002a804
xor eax, eax
lea rdi, [rsi + 0xc8]
mov qword [rdi + 0x20], rbx
mov r9d, 0x100
mov dword [rdi + 0x28], ebx
mov r8d, 0x8020
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
mov rax, qword [rsi]
mov rcx, rsi
mov dword [rsi + 0x84], ebx
mov dword [rsi + 0x104], ebx
mov rdx, qword [r14]
mov rax, qword [rax + 0x28]
call qword [case.0x14002de11.0]
mov rdi, rax
lea rcx, [rax + 1]
cmp rcx, 1
jbe 0x14002a804
lea rcx, [rsi + 0x80]
xor r8d, r8d
mov rdx, rax
call fcn.14002b8c4
test rdi, rdi
jle 0x14002a804
mov rax, qword [rsi + 0x140]
mov rdx, rdi
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x30]
test rbp, rbp
je 0x14002a8ad
mov r8, rbp
call qword [case.0x14002de11.0]
mov ecx, dword [0x1400baaf0]
mov esi, eax
cmp ecx, 0xffffffff
je 0x14002a8c9
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.14002ad8c
mov eax, esi
jmp 0x14002a806

Function at 0x14002b540
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, r9d
mov edi, r8d
mov rbx, rdx
bt r8d, 8
jae 0x14002b56d
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
and dword [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8d, 0x40
mov edx, edi
mov rcx, rbx
call fcn.140061730
mov ecx, dword [rsp + 0x50]
or edx, 0xffffffff
mov rbx, qword [rsp + 0x40]
test eax, eax
mov rsi, qword [rsp + 0x48]
cmovne ecx, edx
movsxd rax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x14002b9cc
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400baaf0], eax
lea rax, [0x1400bb7b4]
add rsp, 0x28
ret

Function at 0x14002cb90
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
lea rcx, [0x14002cbd0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 8]
xor eax, eax
mov dword [rbx + 0x18], eax
test rcx, rcx
je 0x14002cbc6
cmp dword [rbx + 0x14], eax
jbe 0x14002cbc6
mov rax, qword [rcx]
mov dword [rbx + 0x18], 1
add rsp, 0x20
pop rbx
ret
Function at 0x14003468c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
jne 0x1400346a4
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400346c0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400346c0
mov edx, 0x410
mov ecx, 1
and eax, edx
cmp eax, edx
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400347b0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call fcn.14007c100
or r15, 0xffffffffffffffff
mov rdi, r15
test rbp, rbp
je 0x140034912
mov rcx, rbp
call fcn.140057e3c
test rax, rax
je 0x140034912
mov r9, r15
lea r8, [0x14009fbc0]
mov rdx, r15
mov rcx, rbp
call fcn.1400339b0
mov rsi, rax
test rax, rax
jne 0x140034839
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140034902
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, r15
je 0x1400348fa
test byte [rsp + 0x20], 0x10
je 0x140034884
lea rdx, [0x14009fbc4]
lea rcx, [rsp + 0x4c]
call fcn.140057b7c
test eax, eax
je 0x1400348e4
lea rdx, [0x14009e49c]
lea rcx, [rsp + 0x4c]
call fcn.140057b7c
test eax, eax
je 0x1400348e4
mov r9, r15
lea r8, [rsp + 0x4c]
mov rdx, r15
mov rcx, rbp
call fcn.1400339b0
mov rbx, rax
test rax, rax
je 0x1400348e4
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x1400348cb
call fcn.14003468c
test eax, eax
jne 0x1400348c0
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.1400347b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400348dc
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x14002de11.0]
mov rcx, rbx
call fcn.1400044c8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140034853
mov rcx, rsi
call fcn.1400044c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x14003491f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400775a0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140034948
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x140034969
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400349a5
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14003497a
mov eax, 1
jmp 0x1400349a5
mov rcx, rdi
call fcn.14003468c
test eax, eax
jne 0x140034995
lea rdx, [0x1400346d0]
mov rcx, rdi
call fcn.1400347b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400349b0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edi, 0x400
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
call fcn.14007c100
xor ebx, ebx
cmp dword [0x1400bb9b0], ebx
je 0x1400349f8
mov eax, dword [0x1400b7cec]
jmp 0x140034ab3
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x140034a8c
lea r8, [0x14009a038]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400583ec
lea r8, [0x14009a050]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400583ec
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._appsafecheck.txt
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400583ec
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x40]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1400b7d08], rax
call fcn.14003461c
mov edi, 1
test eax, eax
je 0x140034aa5
call fcn.1400344a0
test eax, eax
je 0x140034aa5
mov ebx, edi
mov dword [0x1400b7cec], ebx
mov eax, ebx
mov dword [0x1400bb9b0], edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400775a0
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret

Function at 0x140034ad4
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x140034b2e
mov rcx, qword [0x1400b7d08]
cmp rcx, 0xffffffffffffffff
je 0x140034b2e
and dword [rsp + 0x40], 0
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rbx
call fcn.140057e3c
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, qword [0x1400b7d08]
mov rdx, rbx
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140034b30
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140034b38
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
mov rsi, rcx
or r13, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x250
mov r14, r13
call fcn.14007c100
xor ebp, ebp
and dword [rsp + 0x20], ebp
test rsi, rsi
je 0x140034cd2
mov rcx, rsi
call fcn.140057e3c
test rax, rax
je 0x140034cd2
test rbx, rbx
je 0x140034cd2
and dword [rbx], ebp
call fcn.140034558
test eax, eax
jne 0x140034cc5
call fcn.1400349b0
test eax, eax
je 0x140034cc5
mov rcx, rsi
call fcn.14003468c
test eax, eax
je 0x140034bef
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140034fec
test eax, eax
jne 0x140034bef
mov dword [rbx], 1
jmp 0x140034cc5
mov r9, r13
lea r8, [0x14009fbc0]
mov rdx, r13
mov rcx, rsi
call fcn.1400339b0
mov r15, rax
test rax, rax
jne 0x140034c15
lea eax, [r15 + 0xe]
jmp 0x140034cd7
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, r13
jne 0x140034c38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x140034cbd
test byte [rsp + 0x30], 0x10
je 0x140034ca1
lea rdx, [0x14009fbc4]
lea rcx, [rsp + 0x5c]
call fcn.140057b7c
test eax, eax
je 0x140034ca1
lea rdx, [0x14009e49c]
lea rcx, [rsp + 0x5c]
call fcn.140057b7c
test eax, eax
je 0x140034ca1
mov r9, r13
lea r8, [rsp + 0x5c]
mov rdx, r13
mov rcx, rsi
call fcn.1400339b0
mov rdi, rax
test rax, rax
je 0x140034ca1
mov rdx, rbx
mov rcx, rax
call fcn.140034b38
mov ebp, eax
test eax, eax
jne 0x140034c99
cmp dword [rbx], eax
jne 0x140034cb5
mov rcx, rdi
call fcn.1400044c8
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140034cbd
jmp 0x140034c38
mov rcx, rdi
call fcn.1400044c8
mov rcx, r15
call fcn.1400044c8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
jmp 0x140034cd7
mov eax, 0x57
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400775a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1400352c8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rdi, rcx
test rcx, rcx
je 0x14003536e
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x140035369
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14007c100
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14003536e
cmp word [rsp + 0x20], si
je 0x14003536e
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov r9, rdx
mov r8, rdi
call fcn.1400339b0
mov rdi, rax
test rax, rax
je 0x14003536e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rdi
mov rbx, rax
call fcn.1400044c8
mov rax, rbx
jmp 0x140035370
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400775a0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400357c8
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x740]
sub rsp, 0x840
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x730], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call fcn.14007c100
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400358b2
mov ebx, 0x400
lea r8, [0x14009a640]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14005d870
lea r8, str.Zoom
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14005d870
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140034b38
test eax, eax
jne 0x140035873
cmp dword [rsp + 0x20], eax
je 0x140035873
lea rcx, [rsp + 0x30]
call fcn.140034948
test eax, eax
je 0x1400358b2
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.installer.txt
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14005d870
mov ecx, 2
call fcn.14005d440
mov r8, rax
lea rdx, [0x14009ff10]
lea rcx, [rsp + 0x30]
call fcn.140061ed4
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.1400775a0
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rbp
ret
Function at 0x140037150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 0x778]
mov rbx, rcx
mov rcx, rdi
lea rdx, [0x1400a0334]
call fcn.14002c214
mov esi, 1
test al, al
je 0x140037189
mov dword [rbx + 0x2318], esi
jmp 0x1400371c5
lea rdx, str.chrome
mov rcx, rdi
call fcn.14002c214
test al, al
je 0x1400371a8
mov dword [rbx + 0x2318], 2
jmp 0x1400371c5
lea rdx, [0x1400a0350]
mov rcx, rdi
call fcn.14002c214
test al, al
je 0x1400371c5
mov dword [rbx + 0x2318], 3
lea rdi, [rbx + 0x998]
mov rcx, rdi
lea rdx, str.start
call fcn.14002c214
test al, al
je 0x1400371e7
mov dword [rbx + 0x231c], esi
jmp 0x140037204
lea rdx, str.join
mov rcx, rdi
call fcn.14002c214
test al, al
je 0x140037204
mov dword [rbx + 0x231c], 2
lea rcx, [rbx + 0xaa8]
lea rdx, str.silent
call fcn.14002c214
test al, al
je 0x140037221
mov dword [rbx + 0x2320], esi
lea rsi, [rbx + 0x118]
mov rcx, rsi
call fcn.14002bfd4
test al, al
je 0x140037240
lea rdx, str.Zoom.msi
call fcn.14002c04c
lea rcx, [rbx + 0x338]
call fcn.14002bfd4
test al, al
je 0x14003725c
lea rdx, str.908F2965_E831_4F9C_AB57_3618FC81651E
call fcn.14002c04c
mov rcx, rbx
lea rdi, [rbx + 0x2338]
call fcn.14003714c
mov rcx, rdi
cmp eax, 0x32
jne 0x140037281
call fcn.14002c810
lea rdx, str.Airhost.CAB
jmp 0x1400372e3
call fcn.14002c810
mov rdx, rsi
mov rcx, rdi
call fcn.14002c18c
mov rcx, rdi
call fcn.14002be50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400372eb
mov rcx, rdi
call fcn.14002c810
lea rdx, str.ZoomFull_Sip.CAB
mov rcx, rdi
call fcn.14002c1b4
mov rcx, rdi
call fcn.14002be50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400372eb
mov rcx, rdi
call fcn.14002c810
lea rdx, str.ZoomFull.CAB
mov rcx, rdi
call fcn.14002c1b4
lea rcx, [rbx + 0x668]
call fcn.14002bfd4
test al, al
jne 0x140037303
mov rdx, rsi
call fcn.14002c18c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140037314
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
lea rcx, [rsp + 0x130]
call fcn.14002bc74
nop
lea rcx, [rsp + 0x20]
call fcn.14002bc74
nop
lea rcx, [rsp + 0x130]
call fcn.14002c810
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x130]
call fcn.14002c1b4
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14002c020
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x20]
call fcn.14002c1b4
lea rcx, [rsp + 0x20]
call fcn.14002be50
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.14002be50
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.14002bdc0
nop
lea rcx, [rsp + 0x130]
call fcn.14002bdc0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x250
pop rbx
ret