joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ba304
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5360]
mov eax, 0x5460
call fcn.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x5350], rax
mov rsi, rcx
mov rdi, rdx
mov rcx, rdx
call fcn.140078548
mov edx, 0x3a
mov rcx, rax
call fcn.1400f1ce0
xor r14d, r14d
test rax, rax
je 0x1400ba39b
cmp byte [0x14019f402], r14b
jne 0x1400ba39b
lea ecx, [r14 + 0x65]
call fcn.140087094
mov ecx, 0x528
mov rbx, rax
call fcn.140087094
mov rdx, rax
lea r9d, [r14 + 0x31]
mov r8, rbx
mov rcx, rsi
call int.1400c5f20
cmp eax, 1
jne 0x1400ba52d
mov byte [0x14019f402], al
mov ebx, 0x800
lea rcx, [rbp + 0xf50]
mov r8d, ebx
mov rdx, rdi
call fcn.14008d254
lea rcx, [rbp + 0xf50]
call fcn.14007859c
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400ba531
lea rcx, [rsp + 0x50]
call fcn.140078548
cmp word [rax], r14w
je 0x1400ba47b
jmp 0x1400ba469
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000fc78
test al, al
jne 0x1400ba47b
mov ecx, 0x14d
call fcn.140087094
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.__s__n_s
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.14000269c
mov ecx, 0x65
call fcn.140087094
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x34
mov rcx, rsi
call int.1400c5f20
cmp eax, 6
jne 0x1400ba52d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140067db8
lea rcx, [rsp + 0x50]
call fcn.140068258
test al, al
je 0x1400ba3f6
mov r9, rbx
lea r8, [rbp + 0x2f50]
mov rdx, rdi
lea rcx, [0x14016e0b0]
call fcn.14003f320
mov r8, rbx
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0x2f50]
call fcn.140077998
mov dword [rsp + 0x38], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x1f50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400ba531
test dword [rsp + 0x40], 0x80000
je 0x1400ba531
mov ecx, 0x65e
call fcn.140087094
mov r8, rax
lea r9, [rbp + 0x1f50]
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.14000269c
mov ecx, 0x65
call fcn.140087094
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x30
mov rcx, rsi
call int.1400c5f20
xor al, al
jmp 0x1400ba533
mov al, 1
mov rcx, qword [rbp + 0x5350]
xor rcx, rsp
call fcn.1400f0b80
lea r11, [rsp + 0x5460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c3e1c
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400c3ebc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14015765e]
lea rcx, str.Rar_CM
mov r8d, 0x800
xor ebp, ebp
call fcn.1400c4b60
mov rsi, rax
test rax, rax
je 0x1400c3ea8
or r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c3e66
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400c3e6f
mov r9, rsi
mov edx, 2
mov rcx, rbx
call fcn.1400f8178
mov rcx, rsi
call fcn.1400f7dac
mov eax, dword [0x140158660]
test rdi, rdi
mov ecx, 3
cmovne eax, ecx
mov dword [0x140158660], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c4878
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1040
call fcn.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x14014a1e8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400c48bf
lea rdx, [0x14014a1e8]
jmp 0x1400c4958
lea r9, [0x14010f128]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x14010f610]
call fcn.14009e864
mov r8d, 0x800
mov word [rsp + 0x30], bp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movzx ecx, word [rbx]
test cx, cx
je 0x1400c4922
dec eax
cmp eax, 0x7fe
ja 0x1400c491a
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008d254
movzx ecx, word [rbx]
test cx, cx
jne 0x1400c492c
test sil, sil
je 0x1400c493a
test cx, cx
je 0x1400c4960
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c4960
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400c494e
cmp word [rbx], bp
jne 0x1400c4960
lea rdx, str._rartemp
mov rcx, rbx
mov r8, rdi
call fcn.14008d254
mov rdx, rdi
mov rcx, rbx
call fcn.140076b90
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c4990
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r8d, r8d
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov ebx, eax
call fcn.14009e6d8
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c4c3c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rdi, rdx
mov rsi, r8
mov rdx, rcx
mov r8d, 0x7ff
lea rcx, [rsp + 0x1020]
mov bl, r9b
call fcn.14008d254
xor ebp, ebp
test bl, bl
je 0x1400c4ce0
cmp byte [0x14016b740], bpl
jne 0x1400c4c9c
cmp byte [0x14016b68b], bpl
mov eax, ebp
je 0x1400c4ca1
mov eax, 1
test al, al
lea rcx, [rsp + 0x1020]
mov r9d, ebp
setne r9b
add r9d, 0x61
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400c4cba
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x14011c838]
call fcn.14000269c
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400c4878
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140076b90
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.14008d22c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.14006872c
test rax, rax
je 0x1400c4d4b
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400c4d4b
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14008d254
mov al, 1
jmp 0x1400c4d70
mov ecx, 0x1f7
call fcn.140087094
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400ca204
lea rcx, [0x14017f1b0]
call fcn.140062448
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c4d94
Capabilities:
Capture screenshot

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 r12
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov rcx, r15
mov edx, dword [rsp + 0x64]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov rbx, rax
mov r9d, dword [rsp + 0x64]
mov ecx, r9d
mov dword [rsp + 0x50], 0xcc0020
neg ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], ecx
mov rcx, rbp
and dword [rsp + 0x38], 0
lea r8d, [r9 - 1]
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r14
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
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 0x1400c51e8
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000bd74
test eax, eax
je 0x1400c523c
cmp byte [0x14017f1ba], 0
jne 0x1400c523c
cmp byte [0x14015ea70], 0
jne 0x1400c523c
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400c4634]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400c523c
mov ecx, ebx
call fcn.14008dccc
add rsp, 0x20
pop rbx
ret

Function at 0x1400c5c20
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400c5cdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140119a00]
mov rcx, qword [0x14017f0f0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c5d11
xor eax, eax
jmp 0x1400c5e11
mov rcx, qword [0x14017f0f0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c5d0a
mov rcx, qword [0x14017f0f0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c5d0a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c5d0a
and qword [rsp + 0x40], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400c5e0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c5e03
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1400f1f40
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400c5dfa
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.1400c5b94
mov rcx, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400c5dfa
mov ecx, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test ecx, ecx
jne 0x1400c5ded
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400c5ded
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6350
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400c6364
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x1400c63a1
mov ecx, 0x627
call fcn.140087094
mov rcx, rax
mov rdx, rdi
call fcn.1400ca204
lea rcx, [0x14017f1b0]
call fcn.140062448
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c8bac
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r14d, edx
mov rbp, rcx
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x30]
mov edi, 0x200
mov r8d, edi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.140044ebc
or rbx, 0xffffffffffffffff
cmp word [0x1401a3b20], 0
je 0x1400c8c67
mov r8d, edi
lea rdx, [0x140115790]
lea rcx, [rsp + 0x30]
call fcn.14008d22c
lea rax, [rsp + 0x30]
mov rsi, rbx
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400c8c29
mov ecx, 0x5aa
call fcn.140087094
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401a3b20]
mov rdx, rdi
sub rdx, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rsi*2]
lea r8, str._s:__s
call fcn.14000269c
cmp byte [0x1401a3b18], 0
je 0x1400c8cb7
mov r8, rdi
lea rdx, [0x140115790]
lea rcx, [rsp + 0x30]
call fcn.14008d22c
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400c8c89
mov ecx, 0x2fd
call fcn.140087094
sub rdi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, r14d
mov rdx, rdi
call fcn.14000269c
lea rcx, [rbp + 0x28]
mov r8d, 0x80
lea rdx, [rsp + 0x30]
call fcn.14008d254
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400f0b80
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400c9524
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x140148ba8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0xa00
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r10, [rsp + 0x20]
mov rcx, rbx
sub r10, rbx
movzx r8d, word [rcx]
movzx r9d, word [rcx + r10]
sub r8d, r9d
jne 0x1400c9594
add rcx, 2
test r9d, r9d
jne 0x1400c957d
test r8d, r8d
je 0x1400c95a5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400c95c8
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x818
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x800], rax
mov rcx, qword [0x140148ba8]
test rcx, rcx
je 0x1400c9796
mov r8d, 0x200
lea rdx, [rsp + 0x400]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x1401a0488]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x1400c96d9
lea rax, [rsp + 0x400]
lea r8, [0x1401a2490]
sub r8, rax
movzx edx, word [rax]
movzx r9d, word [rax + r8]
sub edx, r9d
jne 0x1400c9648
add rax, 2
test r9d, r9d
jne 0x1400c9632
test edx, edx
je 0x1400c96d9
lea rdx, [0x1401a2490]
mov rcx, qword [0x140148ba8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x1401a0488]
cmp ecx, 3
jne 0x1400c96f5
cmp qword [0x1401a0480], 0
je 0x1400c96de
xor edx, edx
mov r8d, 0x3c8
lea rcx, [rsp + 0x30]
call fcn.1400f1d90
mov dword [rsp + 0x30], 0x3c8
mov rax, qword [0x140148ba8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x7b
mov dword [rsp + 0x44], 4
mov edx, dword [0x1401a3b1c]
lea rcx, [rsp + 0x30]
call fcn.1400c8bac
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x1401a0488]
cmp ecx, 3
jne 0x1400c96f5
lea rdx, [0x1401a3590]
mov ecx, 0x9c
call fcn.1400c9524
mov ecx, dword [0x1401a0488]
cmp ecx, 2
jbe 0x1400c96ff
cmp ecx, 0xa
jne 0x1400c9729
lea rdx, [0x1401a3590]
mov ecx, 0x9c
call fcn.1400c9524
lea rcx, [0x1401a0490]
call fcn.140078548
mov rdx, rax
mov ecx, 0x9b
call fcn.1400c9524
mov ecx, dword [0x1401dfe10]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401a50c4], eax
jle 0x1400c9774
lea rcx, [0x1401a50c4]
call fcn.1400f12b0
cmp dword [0x1401a50c4], 0xffffffff
jne 0x1400c9774
and dword [0x1401a50c0], 0
lea rcx, [0x1401a50c4]
call fcn.1400f1250
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401a50c0]
call fcn.1400449ec
test al, al
je 0x1400c9796
mov rcx, qword [0x140148ba8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x800]
xor rcx, rsp
call fcn.1400f0b80
add rsp, 0x818
ret
Function at 0x1400cda7c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x14015a77c]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.14009f314
movzx r8d, byte [0x14015a7a0]
lea rdx, [0x14011a078]
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015a79f]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.14009f314
mov r8d, dword [0x14015a77c]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.14009f314
mov r8d, dword [0x14015ba38]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015a7fc]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x1401aa951]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.14009f314
mov r8d, dword [0x14015ba40]
lea rdx, str.mtime
mov rcx, rdi
call fcn.14009f314
mov r8d, dword [0x14015ba44]
lea rdx, str.ctime
mov rcx, rdi
call fcn.14009f314
mov r8d, dword [0x14015ba48]
lea rdx, str.atime
mov rcx, rdi
call fcn.14009f314
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x14015a7a4], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.14009f314
cmp dword [0x14015a7a4], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.14009f314
cmp dword [0x14015a7a4], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.14009f314
cmp dword [0x14015a7a4], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.14009f314
movzx r8d, byte [0x14015a79c]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015a7f0]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015a91d]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.14009f314
mov r8d, dword [0x14015ea7c]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015ea63]
lea rdx, [0x14011c038]
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015ea64]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015a7f3]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.14009f314
movzx r8d, byte [0x14015a7ff]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14009f314
Function at 0x1400cdca4
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f48]
mov eax, 0x2048
call fcn.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x1f30], rax
xor r12d, r12d
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov r13d, 0x800
cmp byte [rbp + 0x1fc0], r12b
je 0x1400cdd52
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.14009e864
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400cdd21
mov rdx, rbx
jmp 0x1400cdd44
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400cdd4e
lea rdx, [rbp + 0xf30]
mov rcx, rdi
mov r8, r14
call fcn.14008d254
jmp 0x1400cdd52
mov word [rdi], r12w
movzx r15d, word [rdi]
test r15w, r15w
jne 0x1400cdd6e
mov r8, r14
lea rcx, [0x14016e0b0]
mov rdx, rdi
call fcn.14003eb5c
mov rdx, r14
mov rcx, rdi
call fcn.140076b90
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14008d254
mov rsi, r12
cmp word [rsp + 0x30], r12w
je 0x1400cdde0
mov rax, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp word [rbx], r13w
jne 0x1400cddc5
lea rcx, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.1400f1ce0
test rax, rax
je 0x1400cddc5
mov eax, 0x5f
mov word [rbx], ax
inc rsi
lea rbx, [rsp + 0x30]
lea rax, [rsi + rsi]
add rbx, rax
cmp word [rbx], r12w
jne 0x1400cdda2
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.1400778d8
mov rbx, rax
test rax, rax
je 0x1400cde7b
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400cde7b
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.1400778d8
mov rsi, rax
test rax, rax
je 0x1400cde6d
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400cde6d
cmp byte [rbp + 0x1fb8], r12b
je 0x1400cde4a
cmp word [rbx + 2], r12w
je 0x1400cde4a
movzx ecx, word [rbx + 4]
call fcn.14008ce1c
test al, al
jne 0x1400cde4a
movzx ecx, word [rbx - 2]
call fcn.14008ce1c
test al, al
jne 0x1400cde5d
lea rdx, str..tar
mov rcx, rsi
call fcn.1400902b0
test eax, eax
jne 0x1400cde6d
mov word [rsi], r12w
jmp 0x1400cde6d
cmp word [rbx], 0x2e
jne 0x1400cde7b
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400cde63
lea rcx, [rsp + 0x30]
call fcn.140078548
lea rbx, [0x1401a9950]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.14008d254
mov rcx, rbx
call fcn.1400c51b0
xor edx, edx
mov rcx, rbx
call fcn.14007824c
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400cdebb
test r15w, r15w
je 0x1400cdef0
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.14009e6d8
test eax, eax
je 0x1400cdef0
lea rcx, [rsp + 0x30]
call fcn.140078548
mov rdx, rax
mov r8, r14
mov rcx, rdi
call fcn.14008d22c
mov rcx, rdi
call fcn.1400c51b0
xor edx, edx
mov rcx, rdi
call fcn.14007824c
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.1400f0b80
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret