joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062200
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x140089394]
lea r8, str.StringLiteral
mov rcx, rax
call fcn.14005a680
mov rdi, qword [rdi + 0x18]
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006227a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062260
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140062290
mov rcx, rdi
mov rdx, rsi
call fcn.14005bbe0
jmp 0x1400622b5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400622e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x140089394]
lea r8, str.LambdaExpr
mov rcx, rax
call fcn.14005a680
mov rdi, qword [rdi + 0x18]
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006235a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062340
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140062370
mov rcx, rdi
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062395
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400623c0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x140089394]
lea r8, str.EnumLiteral
mov rcx, rax
call fcn.14005a680
mov rdi, qword [r14 + 0x18]
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006243a
xor ebp, ebp
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062420
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140062450
mov rcx, rdi
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062475
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14005d700
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400624b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
add dword [rcx], 2
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r15
lea rdx, [0x140089394]
lea r8, str.BracedExpr
mov rcx, rax
call fcn.14005a680
mov r14, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x20]
movzx ebx, byte [rbx + 0x28]
mov ecx, 2
call r15
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006253b
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call r15
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062520
mov byte [rsi + 4], 0
test r14, r14
je 0x140062551
mov rcx, r14
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062576
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov rcx, rsi
mov rdx, rdi
call fcn.14005d550
mov rcx, rsi
mov edx, ebx
call fcn.14005f5f0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400625c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r15
lea rdx, [0x140089394]
lea r8, str.BracedRangeExpr
mov rcx, rax
call fcn.14005a680
mov r14, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x20]
mov rdi, qword [rdi + 0x28]
mov ecx, 2
call r15
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006264b
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call r15
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062630
mov byte [rsi + 4], 0
test r14, r14
je 0x140062661
mov rcx, r14
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062686
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov rcx, rsi
mov rdx, rbx
call fcn.14005d550
mov rcx, rsi
mov rdx, rdi
call fcn.14005d550
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400627d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r15
lea rdx, [0x140089394]
lea r8, str.ExprRequirement
mov rcx, rax
call fcn.14005a680
mov r14, qword [rdi + 0x18]
movzx ebx, byte [rdi + 0x20]
mov rdi, qword [rdi + 0x28]
mov ecx, 2
call r15
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006285b
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call r15
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062840
mov byte [rsi + 4], 0
test r14, r14
je 0x140062871
mov rcx, r14
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062896
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov rcx, rsi
mov edx, ebx
call fcn.14005f5f0
mov rcx, rsi
mov rdx, rdi
call fcn.14005d550
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400628e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x140089394]
lea r8, str.TypeRequirement
mov rcx, rax
call fcn.14005a680
mov rdi, qword [rdi + 0x18]
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x14006295a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062940
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140062970
mov rcx, rdi
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062995
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400629c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x140089394]
lea r8, str.NestedRequirement
mov rcx, rax
call fcn.14005a680
mov rdi, qword [rdi + 0x18]
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x140062a3a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062a20
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140062a50
mov rcx, rdi
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062a75
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140062aa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x140089394]
lea r8, str.ExplicitObjectParameter
mov rcx, rax
call fcn.14005a680
mov rdi, qword [rdi + 0x18]
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
cmp dword [rsi], 0
je 0x140062b1a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140062b00
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140062b30
mov rcx, rdi
mov rdx, rsi
call fcn.14005bbe0
jmp 0x140062b55
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [rsi + 4], 1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400028a8
Capabilities:
Parse pe header

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

Function at 0x140006238
Capabilities:
Parse pe header

Disassembly:
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 0x1400060a3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400060a3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400060a3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400060a3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400060a3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400060a3
cmp dword [rcx + 0xf8], 0
je 0x1400060a3
mov ecx, ebx
call fcn.140006154
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.140005f30
nop
cmp dword [rbp + 0x20], 0
je 0x1400060f1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400060fc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140006034
Function at 0x140010130
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400101b7
mov rsi, rbx
cmp word [rax], bp
je 0x140010176
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140010160
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001015c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000ce4c
mov rdi, rax
test rax, rax
je 0x1400101a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400058c0
mov rbp, rdi
xor ecx, ecx
call fcn.14000c218
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001437c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140014392
mov al, 1
jmp 0x1400143f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400143a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400143f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400108d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400143f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400143f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400143f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400143f2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140016fa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016fc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016fc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001a2c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movsxd rdi, r8d
mov rcx, qword [rcx]
mov rsi, rdx
test rcx, rcx
je 0x140001a52
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
lea rdx, str.ComboBoxEx32
or qword [rbx + 8], 0xffffffffffffffff
mov r9d, 0x44200046
mov rax, qword [0x14019bb58]
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
mov rcx, rax
mov qword [rbx], rax
lea r8d, [r9 + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140001ade
mov rcx, rax
call fcn.1400d0598
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.140001af8
Function at 0x140001af8
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rsi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140001c8c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140001bf4
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4209
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rsi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [0x1401c95b0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.1400fd580]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call rbx
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x70]
and dword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 1]
call fcn.140001cb4
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140001c20
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.1400013a0
test al, al
jne 0x140001c84
call fcn.1400cea4c
mov edi, eax
xor ebx, ebx
bt edi, ebx
jae 0x140001c7d
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.140002810
mov byte [rsp + 0x40], 1
lea rdx, [rbp + 0x220]
or qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
mov dword [rsp + 0x30], 2
xor r8d, r8d
and qword [rsp + 0x28], 0
mov rcx, rsi
or dword [rsp + 0x20], 0xffffffff
call fcn.140001cb4
inc ebx
cmp ebx, 0x20
jl 0x140001c29
mov rcx, rsi
call fcn.140002094
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.1400fc4f0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001cb4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.1400fc108
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.140095ed0
mov rdx, rax
lea rcx, [r14 + 0x10]
mov r8d, 0x800
call fcn.140096298
mov ebx, dword [rbp + 0x2a0]
or rsi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], 0
jne 0x140001d7f
cmp ebx, esi
je 0x140001d41
test rdi, rdi
jne 0x140001d7f
mov eax, 0x4203
lea r8, [rsp + 0x70]
cmp r15d, 2
mov r9d, 0x2b8
lea ecx, [rax - 2]
cmovne eax, ecx
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, esi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400fd700
mov rax, qword [rbp + 0x2b8]
lea r9, [rsp + 0x30]
mov rcx, qword [r13]
test rdi, rdi
mov qword [rsp + 0x38], rax
mov edx, 0x40b
mov eax, dword [rbp + 0x2b0]
cmovne rsi, rdi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400fc4f0
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001e58
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x140001f53
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140001ec2
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140001ebb
cmp dword [rbx + 0x228], 2
jne 0x140001ebb
lea rcx, [0x14018d0b8]
call fcn.140001f88
xor eax, eax
jmp 0x140001f64
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140001ed6
mov rsi, qword [rax + 8]
jmp 0x140001eda
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140001f19
mov eax, edi
lea r8, [rsp + 0x30]
bts eax, 9
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140001f19
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140001f49
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x34], eax
bts dword [rbx + 0x18], 0x1c
jmp 0x140001ebb
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400fc4f0
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001f88
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.14004b6f0
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14000201d
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140001850
cmp byte [0x140166ce4], 0
mov rcx, rbx
je 0x140002016
call fcn.14000256c
jmp 0x140002079
call fcn.14000274c
jmp 0x140002079
cmp byte [0x140166ce4], 0
je 0x140002034
lea rcx, [rsp + 0x20]
call fcn.14007fd3c
test al, al
je 0x140002065
lea rcx, [rsp + 0x20]
call fcn.140096018
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002065
test al, 0x10
jne 0x140002065
lea rdx, [rsp + 0x20]
lea rcx, [0x14018d510]
call fcn.140045660
jmp 0x140002079
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [0x14018d510]
call fcn.140042414
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x1030
pop rbx
ret