joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bc4b0
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 - 0x4360]
mov eax, 0x4460
call fcn.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rbp + 0x4350], rax
mov rax, rdx
mov rdi, rcx
mov r14d, 0x800
lea rdx, [rbp + 0xf50]
mov r8d, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400bc6dd
mov r9d, r14d
lea r8, [rbp + 0xf50]
lea rdx, [rbp + 0xf50]
lea rcx, [0x140181400]
call fcn.14003fac8
lea rcx, [rbp + 0xf50]
call fcn.140079c5c
mov edx, 0x3a
mov rcx, rax
call fcn.1400f4370
xor esi, esi
test rax, rax
je 0x1400bc58c
cmp byte [0x1401b2032], sil
jne 0x1400bc58c
lea ecx, [rsi + 0x65]
call fcn.140088ebc
mov ecx, 0x528
mov rbx, rax
call fcn.140088ebc
mov rdx, rax
lea r9d, [rsi + 0x31]
mov r8, rbx
mov rcx, rdi
call fcn.1400c81a0
cmp eax, 1
jne 0x1400bc6d9
mov byte [0x1401b2032], al
mov r8, r14
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.14008eff0
lea rcx, [rsp + 0x50]
call fcn.140079cb0
lea rcx, [rsp + 0x50]
call fcn.140079c5c
mov ebx, 0xa00
cmp word [rax], si
je 0x1400bc643
jmp 0x1400bc635
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140010008
test al, al
jne 0x1400bc643
mov ecx, 0x14d
call fcn.140088ebc
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.__s__n_s
mov rdx, rbx
lea rcx, [rbp + 0x2f50]
call fcn.140002694
mov ecx, 0x65
call fcn.140088ebc
mov r8, rax
lea rdx, [rbp + 0x2f50]
mov r9d, 0x34
mov rcx, rdi
call fcn.1400c81a0
cmp eax, 6
jne 0x1400bc6d9
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140068dd8
lea rcx, [rsp + 0x50]
call fcn.140069278
test al, al
je 0x1400bc5c4
mov r8, r14
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.1400790ac
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x1f50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400bc6dd
test dword [rsp + 0x40], 0x80000
je 0x1400bc6dd
mov ecx, 0x65e
call fcn.140088ebc
mov r8, rax
lea r9, [rbp + 0x1f50]
mov rdx, rbx
lea rcx, [rbp + 0x2f50]
call fcn.140002694
mov ecx, 0x65
call fcn.140088ebc
mov r8, rax
lea rdx, [rbp + 0x2f50]
mov r9d, 0x30
mov rcx, rdi
call fcn.1400c81a0
xor al, al
jmp 0x1400bc6df
mov al, 1
mov rcx, qword [rbp + 0x4350]
xor rcx, rsp
call fcn.1400f3220
lea r11, [rsp + 0x4460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c609c
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400c613c
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, [0x14016a7ae]
lea rcx, str.Rar_CM
mov r8d, 0x800
xor ebp, ebp
call fcn.1400c6de0
mov rsi, rax
test rax, rax
je 0x1400c6128
or r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c60e6
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400c60ef
mov r9, rsi
mov edx, 2
mov rcx, rbx
call fcn.1400fa838
mov rcx, rsi
call fcn.1400fa46c
mov eax, dword [0x14016b7b0]
test rdi, rdi
mov ecx, 3
cmovne eax, ecx
mov dword [0x14016b7b0], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6af8
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.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x14015d228], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400c6b3f
lea rdx, [0x14015d228]
jmp 0x1400c6bd8
lea r9, [0x140111128]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x140111610]
call fcn.1400a0710
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 0x1400c6ba2
dec eax
cmp eax, 0x7fe
ja 0x1400c6b9a
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008eff0
movzx ecx, word [rbx]
test cx, cx
jne 0x1400c6bac
test sil, sil
je 0x1400c6bba
test cx, cx
je 0x1400c6be0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c6be0
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400c6bce
cmp word [rbx], bp
jne 0x1400c6be0
lea rdx, str._rartemp
mov rcx, rbx
mov r8, rdi
call fcn.14008eff0
mov rdx, rdi
mov rcx, rbx
call fcn.1400782a4
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400f3220
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c6c10
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.1400a0584
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c6ebc
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
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.14008eff0
xor ebp, ebp
test bl, bl
je 0x1400c6f60
cmp byte [0x14017ea90], bpl
jne 0x1400c6f1c
cmp byte [0x14017e9db], bpl
mov eax, ebp
je 0x1400c6f21
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 0x1400c6f3a
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x140129668]
call fcn.140002694
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400c6af8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1400782a4
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.14008efc8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140069750
test rax, rax
je 0x1400c6fcb
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400c6fcb
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14008eff0
mov al, 1
jmp 0x1400c6ff0
mov ecx, 0x1f7
call fcn.140088ebc
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400cc528
lea rcx, [0x14018fe18]
call fcn.1400633cc
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400f3220
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c7014
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 0x1400c7468
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000beb8
test eax, eax
je 0x1400c74bc
cmp byte [0x14018fe22], 0
jne 0x1400c74bc
cmp byte [0x140171cc8], 0
jne 0x1400c74bc
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400c68b4]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400c74bc
mov ecx, ebx
call fcn.14008fb90
add rsp, 0x20
pop rbx
ret

Function at 0x1400c7ea0
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 0x1400c7f5c
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, [0x1401267b0]
mov rcx, qword [0x14018fc30]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c7f91
xor eax, eax
jmp 0x1400c8091
mov rcx, qword [0x14018fc30]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c7f8a
mov rcx, qword [0x14018fc30]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c7f8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c7f8a
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 0x1400c808c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c8083
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1400f45d0
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 0x1400c807a
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.1400c7e14
mov rcx, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400c807a
mov ecx, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test ecx, ecx
jne 0x1400c806d
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400c806d
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 0x1400c85d0
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 0x1400c85e4
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 0x1400c8621
mov ecx, 0x627
call fcn.140088ebc
mov rcx, rax
mov rdx, rdi
call fcn.1400cc528
lea rcx, [0x14018fe18]
call fcn.1400633cc
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cae98
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 [0x1401542d0]
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.140045928
or rbx, 0xffffffffffffffff
cmp word [0x1401b6750], 0
je 0x1400caf53
mov r8d, edi
lea rdx, [0x1401178a0]
lea rcx, [rsp + 0x30]
call fcn.14008efc8
lea rax, [rsp + 0x30]
mov rsi, rbx
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400caf15
mov ecx, 0x5aa
call fcn.140088ebc
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401b6750]
mov rdx, rdi
sub rdx, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rsi*2]
lea r8, str._s:__s
call fcn.140002694
cmp byte [0x1401b6748], 0
je 0x1400cafa3
mov r8, rdi
lea rdx, [0x1401178a0]
lea rcx, [rsp + 0x30]
call fcn.14008efc8
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400caf75
mov ecx, 0x2fd
call fcn.140088ebc
sub rdi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, r14d
mov rdx, rdi
call fcn.140002694
lea rcx, [rbp + 0x28]
mov r8d, 0x80
lea rdx, [rsp + 0x30]
call fcn.14008eff0
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400f3220
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 0x1400cb810
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x14015cc90]
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 0x1400cb880
add rcx, 2
test r9d, r9d
jne 0x1400cb869
test r8d, r8d
je 0x1400cb891
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.1400f3220
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400cb8b4
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x818
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rsp + 0x800], rax
mov rcx, qword [0x14015cc90]
test rcx, rcx
je 0x1400cbaa4
mov r8d, 0x200
lea rdx, [rsp + 0x400]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x1401b30b8]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x1400cb9c5
lea rax, [rsp + 0x400]
lea r8, [0x1401b50c0]
sub r8, rax
movzx edx, word [rax]
movzx r9d, word [rax + r8]
sub edx, r9d
jne 0x1400cb934
add rax, 2
test r9d, r9d
jne 0x1400cb91e
test edx, edx
je 0x1400cb9c5
lea rdx, [0x1401b50c0]
mov rcx, qword [0x14015cc90]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x1401b30b8]
cmp ecx, 3
jne 0x1400cb9e1
cmp qword [0x1401b30b0], 0
je 0x1400cb9ca
xor edx, edx
mov r8d, 0x3c8
lea rcx, [rsp + 0x30]
call fcn.1400f4420
mov dword [rsp + 0x30], 0x3c8
mov rax, qword [0x14015cc90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x7b
mov dword [rsp + 0x44], 4
mov edx, dword [0x1401b674c]
lea rcx, [rsp + 0x30]
call fcn.1400cae98
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x1401b30b8]
cmp ecx, 3
jne 0x1400cb9e1
lea rdx, [0x1401b61c0]
mov ecx, 0x9d
call fcn.1400cb810
mov ecx, dword [0x1401b30b8]
cmp ecx, 2
jbe 0x1400cb9eb
cmp ecx, 0xa
jne 0x1400cba37
lea rdx, [0x1401b61c0]
mov ecx, 0x9d
call fcn.1400cb810
lea rcx, [0x1401b30c0]
call fcn.140079c5c
mov r8, rax
mov edx, 0x9c
mov rcx, qword [0x14015cc90]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, 0x9c
mov rcx, qword [0x14015cc90]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.14004572c
mov ecx, dword [0x1401f2a40]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401b7cf4], eax
jle 0x1400cba82
lea rcx, [0x1401b7cf4]
call fcn.1400f3948
cmp dword [0x1401b7cf4], 0xffffffff
jne 0x1400cba82
and dword [0x1401b7cf0], 0
lea rcx, [0x1401b7cf4]
call fcn.1400f38e8
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401b7cf0]
call fcn.14004525c
test al, al
je 0x1400cbaa4
mov rcx, qword [0x14015cc90]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x800]
xor rcx, rsp
call fcn.1400f3220
add rsp, 0x818
ret
Function at 0x1400cfee0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x14016d8cc]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.1400a11c0
movzx r8d, byte [0x14016d8f0]
lea rdx, [0x140126e28]
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x14016d8ef]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.1400a11c0
mov r8d, dword [0x14016d8cc]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.1400a11c0
mov r8d, dword [0x14016ec88]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x14016d94c]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x1401bd581]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.1400a11c0
mov r8d, dword [0x14016ec90]
lea rdx, str.mtime
mov rcx, rdi
call fcn.1400a11c0
mov r8d, dword [0x14016ec94]
lea rdx, str.ctime
mov rcx, rdi
call fcn.1400a11c0
mov r8d, dword [0x14016ec98]
lea rdx, str.atime
mov rcx, rdi
call fcn.1400a11c0
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x14016d8f4], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a11c0
cmp dword [0x14016d8f4], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a11c0
cmp dword [0x14016d8f4], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a11c0
cmp dword [0x14016d8f4], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.1400a11c0
movzx r8d, byte [0x14016d8ec]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x14016d940]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x14016db6d]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.1400a11c0
mov r8d, dword [0x140171cd4]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x140171cbb]
lea rdx, [0x140128e48]
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x140171cbc]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x14016d943]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.1400a11c0
movzx r8d, byte [0x14016d94f]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400a11c0
Function at 0x1400d0108
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.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
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 0x1400d01b6
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.1400a0710
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400d0185
mov rdx, rbx
jmp 0x1400d01a8
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400d01b2
lea rdx, [rbp + 0xf30]
mov rcx, rdi
mov r8, r14
call fcn.14008eff0
jmp 0x1400d01b6
mov word [rdi], r12w
movzx r15d, word [rdi]
test r15w, r15w
jne 0x1400d01d2
mov r8, r14
lea rcx, [0x140181400]
mov rdx, rdi
call fcn.14003f304
mov rdx, r14
mov rcx, rdi
call fcn.1400782a4
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14008eff0
mov rsi, r12
cmp word [rsp + 0x30], r12w
je 0x1400d0244
mov rax, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp word [rbx], r13w
jne 0x1400d0229
lea rcx, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.1400f4370
test rax, rax
je 0x1400d0229
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 0x1400d0206
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.140078fec
mov rbx, rax
test rax, rax
je 0x1400d02df
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400d02df
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.140078fec
mov rsi, rax
test rax, rax
je 0x1400d02d1
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400d02d1
cmp byte [rbp + 0x1fb8], r12b
je 0x1400d02ae
cmp word [rbx + 2], r12w
je 0x1400d02ae
movzx ecx, word [rbx + 4]
call fcn.14008ebc4
test al, al
jne 0x1400d02ae
movzx ecx, word [rbx - 2]
call fcn.14008ebc4
test al, al
jne 0x1400d02c1
lea rdx, str..tar
mov rcx, rsi
call fcn.1400920d4
test eax, eax
jne 0x1400d02d1
mov word [rsi], r12w
jmp 0x1400d02d1
cmp word [rbx], 0x2e
jne 0x1400d02df
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400d02c7
lea rcx, [rsp + 0x30]
call fcn.140079c5c
lea rbx, [0x1401bc580]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.14008eff0
mov rcx, rbx
call fcn.1400c7430
xor edx, edx
mov rcx, rbx
call fcn.140079960
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400d031f
test r15w, r15w
je 0x1400d0354
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.1400a0584
test eax, eax
je 0x1400d0354
lea rcx, [rsp + 0x30]
call fcn.140079c5c
mov rdx, rax
mov r8, r14
mov rcx, rdi
call fcn.14008efc8
mov rcx, rdi
call fcn.1400c7430
xor edx, edx
mov rcx, rdi
call fcn.140079960
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.1400f3220
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret