joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029720
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x4c0], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r8d, r8d
lea rdx, [0x1401e3e40]
test eax, eax
jne 0x1400297a8
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], InitCommonControls
mov byte [rsi], r15b
mov rcx, rsi
call fcn.140006c20
nop
mov dword [rsp + 0x30], 1
jmp 0x1400298ae
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], InitCommonControls
mov byte [rsp + 0x48], r15b
lea rcx, [rsp + 0x48]
call fcn.140006c20
nop
lea rdx, [0x1401e759c]
mov rcx, rbx
call fcn.1401a7ab0
mov r14, rax
mov r9, r14
mov edx, 1
mov r8d, 0x400
lea rcx, [rsp + 0x70]
call fcn.1401a7d58
mov rbx, rax
test rax, rax
je 0x140029867
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x140029848
lea rax, [rcx + rbx]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x48]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x48]
add rdi, rcx
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14019f8d0
mov byte [rdi + rbx], 0
jmp 0x1400297e2
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400022b0
jmp 0x1400297e2
mov rcx, r14
call fcn.1401a78bc
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], InitCommonControls
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], InitCommonControls
mov byte [rsp + 0x48], 0
mov rax, rsi
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002a3e0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14002a475
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
mov rbx, rax
call fcn.14019fd40
xor r9d, r9d
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov r8, rbx
mov qword [rsp + 0x28], rax
mov ecx, 0x440
lea rax, [rsp + 0x40]
lea edx, [r9 + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jne 0x14002a475
lea rdx, str.notepad.exe
lea rcx, [rsp + 0x40]
call fcn.1401a02c8
test rax, rax
jne 0x14002a475
mov al, 1
jmp 0x14002a477
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x260
pop rbx
ret

Function at 0x14002a9b0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x470
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x20], 1
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x14002aa47
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14002aa35
lea rdx, [rsp + 0x40]
jmp 0x14002aabe
movzx eax, word [rbx]
cmp ax, 0x5c
jne 0x14002aa58
cmp word [rbx + 2], ax
jne 0x14002aa5e
jmp 0x14002aaa3
cmp ax, 0x2f
jne 0x14002aaa3
xor sil, sil
lea rdx, [rsp + 0x250]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x14002aa8a
lea esi, [rax + 0x41]
movsx edx, sil
mov rcx, rdi
call fcn.14002a850
mov edx, 0x3a
mov rcx, rdi
call fcn.14002a850
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002aab0
mov rdx, rbx
mov rcx, rdi
call fcn.140006aa0
mov rax, rdi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002aef0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbp, rdx
mov rdi, rcx
mov ecx, 2
lea rsi, [rax*2 + 2]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14002af69
mov rcx, rbp
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14002af5a
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14002af5a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x14002af80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp qword [rdi + 0x18], 8
jb 0x14002af8a
mov rdi, qword [rdi]
shr rsi, 1
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1401a83c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14002af5a
call qword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
je 0x14002af69
mov al, 1
jmp 0x14002af6b

Function at 0x14002c380
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea rdx, [0x1401f2b50]
call fcn.1401a7ab0
mov rdi, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14002c3a3
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.1401b1e24
mov rcx, rdi
call fcn.1401abf2c
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401a78bc
Function at 0x14002e0d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
movups xmm0, xmmword [0x140239890]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
call fcn.14002f2b0
test al, al
jne 0x14002e144
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov dword [rsp + 0x20], 1
jmp 0x14002e200
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop
mov rsi, qword [rdi]
mov dword [rsp + 0x24], ebp
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14002e231
mov rax, qword [rcx]
lea rdx, [rsp + 0x24]
call qword [rax + 0x50]
test eax, eax
js 0x14002e19b
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14002e226
mov rax, qword [rcx]
mov edx, dword [rsp + 0x24]
or edx, 0x1a40
call qword [rax + 0x48]
mov rcx, qword [rdi]
call fcn.140030640
test al, al
je 0x14002e1b4
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.14002edc0
jmp 0x14002e1bf
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov dword [rsp + 0x20], 1
call fcn.14000c990
cmp dword [rax + 0x3fc], 1
mov rdi, rax
jne 0x14002e1f5
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400eae30
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004003
call fcn.140182700
int3
mov ecx, 0x80004003
call fcn.140182700
int3
Function at 0x140037d70
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov qword [rcx + 0x30], rbp
mov qword [rcx + 0x38], 7
mov word [rcx + 0x20], bp
lea r14, [rcx + 0x40]
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], 7
mov word [r14], bp
mov qword [rcx + 0x60], rbp
mov qword [rcx + 0x68], rbp
mov qword [rcx + 0x80], rbp
mov qword [rcx + 0x88], 7
mov word [rcx + 0x70], bp
mov qword [rcx + 0xa0], rbp
mov qword [rcx + 0xa8], 7
mov word [rcx + 0x90], bp
mov qword [rcx + 0xc0], rbp
mov qword [rcx + 0xc8], 7
mov word [rcx + 0xb0], bp
mov qword [rcx + 0xe0], rbp
mov qword [rcx + 0xe8], 7
mov word [rcx + 0xd0], bp
mov qword [rcx + 0x100], rbp
mov qword [rcx + 0x108], 7
mov word [rcx + 0xf0], bp
mov qword [rcx + 0x120], rbp
mov qword [rcx + 0x128], 7
mov word [rcx + 0x110], bp
mov byte [rcx + 0x130], 1
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140037e8e
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140037f8b
cmp rdi, rbx
je 0x140037eba
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140037eae
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140006d70
cmp r14, rsi
je 0x140037ed8
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140037ecc
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, r14
call fcn.140006d70
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140037ee5
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.140029720
nop
cmp qword [rsp + 0x40], 0
jne 0x140037f32
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140037f78
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037fb5
jmp 0x140037f73
mov rdx, rbx
lea rcx, [rdi + 0x60]
call fcn.140043230
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140037f78
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037faf
call fcn.1401812c4
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x48], InitCommonControls
mov qword [rsp + 0x40], rbp
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
int3
Function at 0x14003ed80
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdi, rcx
call fcn.14000c990
cmp dword [rax + 0x33384], 7
jg 0x14003edc4
xor al, al
jmp 0x14003ee7f
lea rbx, [rdi + 0x70]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003edd5
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003edbd
lea rcx, [rdi + 0x50]
cmp qword [rdi + 0x68], 8
jb 0x14003edee
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003edbd
lea rcx, [rsp + 0x30]
call fcn.140003360
nop
mov r8d, 2
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140006ea0
test al, al
jne 0x14003ee1e
xor bl, bl
jmp 0x14003ee35
mov r8d, 1
lea rdx, [rdi + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006ea0
movzx ebx, al
lea rcx, [rsp + 0xb8]
call fcn.1400068d0
nop
lea rcx, [rsp + 0x98]
call fcn.1400068d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400068d0
nop
lea rcx, [rsp + 0x60]
call fcn.14000b990
nop
lea rcx, [rsp + 0x48]
call fcn.14000b990
nop
lea rcx, [rsp + 0x30]
call fcn.14000b990
movzx eax, bl
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret

Function at 0x140043230
Capabilities:
Check if file exists
Get file version info

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp qword [rdx + 0x10], 0
mov rbx, rdx
mov rdi, rcx
je 0x14004331f
cmp qword [rdx + 0x18], 8
mov rcx, rdx
jb 0x140043255
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14004331f
cmp qword [rbx + 0x18], 8
mov rcx, rbx
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], 0
jb 0x14004327d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x48]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14004331a
mov ecx, ebp
mov qword [rsp + 0x20], rsi
call fcn.1401812cc
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x1400432aa
mov rbx, qword [rbx]
mov edx, dword [rsp + 0x48]
mov r9, rsi
mov r8d, ebp
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x50]
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
mov dword [rsp + 0x50], 0
lea rdx, [0x1401e62c8]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
cmp dword [rsp + 0x50], 0
je 0x14004330d
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + 0xa]
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rdi + 0xc], eax
mov rcx, rsi
call fcn.1401812c4
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x140044420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov r14, rcx
mov qword [rsp + 0x30], 0
call fcn.14003ed80
test al, al
je 0x140044608
mov byte [rsp + 0x40], 0
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140038b00
nop
lea rcx, [r14 + 0x70]
cmp qword [rcx + 0x18], 8
jb 0x140044478
mov rcx, qword [rcx]
xor edx, edx
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1400444a7
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003c520
xor al, al
jmp 0x140044608
mov edx, 0x65
mov r8d, 0x100
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rcx, rsi
test rax, rax
jne 0x1400444e3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003c520
xor al, al
jmp 0x140044608
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rcx, rsi
test rax, rax
jne 0x140044514
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003c520
xor al, al
jmp 0x140044608
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
lea ecx, [rbx + 1]
call fcn.1401812cc
mov r15, rax
mov qword [rsp + 0xc8], rax
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call fcn.14019f8d0
mov byte [rbx + r15], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x98], 0
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.140034d00
mov qword [rsp + 0xc8], rax
movzx edx, byte [rsp + 0x40]
movzx ecx, byte [rax]
mov byte [rsp + 0x40], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rcx]
mov qword [rsp + 0x48], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.14003c520
mov rcx, r15
call fcn.1401812c4
lea rcx, [r14 + 0xe8]
lea rdx, [rsp + 0x40]
call fcn.14003f000
mov rcx, r14
call fcn.14003fe50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003c520
mov al, 1
jmp 0x140044608
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140044cd0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
xor r9d, r9d
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x1304
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
movsxd r8, eax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x20]
mov qword [rsp + 0x28], rcx
mov edx, 0x133c
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x20], 8
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rsp + 0x40], 0
je 0x140044d70
mov rcx, qword [rbx + 0x10]
mov r9, rbx
xor r8d, r8d
mov edx, 0x5001
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jne 0x140044d70
mov rdx, qword [rsp + 0x40]
lea r8d, [rax + 1]
mov rcx, rbx
call fcn.140045940
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1304
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x140044e17
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
test al, al
jne 0x140044df6
mov rax, qword [rbx]
mov r9b, 1
xor r8d, r8d
mov edx, 0x8b
mov rcx, rbx
call qword [rax + 0x60]
mov rcx, qword [rbx + 0x18]
mov edx, 0xfffffff0
mov r8d, 0x40000000
mov byte [rbx + 0x34], 0
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbx + 0x18]
xor r8d, r8d
lea edx, [r8 - 0x14]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbx + 0x38]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbx + 0x48], rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14012b470
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x50
pop rbx
ret
Function at 0x1400474b0
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rdi
sub rsp, 0x50
xor eax, eax
mov rbp, rdx
mov rbx, rcx
mov qword [r11 - 0x38], rax
mov rcx, qword [rcx + 0x40]
mov edx, 0x1304
xor r9d, r9d
mov qword [r11 - 0x30], rax
xor r8d, r8d
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test eax, eax
jle 0x140047545
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
lea r9, [rsp + 0x20]
mov r8d, eax
mov edx, 0x133c
mov dword [rsp + 0x20], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140047645
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbp
mov qword [rsp + 0x60], rsi
mov rcx, rbx
call fcn.140046dc0
mov rcx, qword [rbx + 0x40]
lea r9, [rsp + 0x20]
movsxd rsi, eax
mov dword [rsp + 0x20], 8
mov qword [rsp + 0x40], rbp
cmp esi, 0xffffffff
jne 0x140047583
movsxd r8, edi
mov edx, 0x133e
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140047593
mov r8, rsi
mov edx, 0x133d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, esi
mov edx, edi
mov rcx, rbx
call fcn.140046e70
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x58]
mov rsi, qword [rsp + 0x60]
test al, al
jne 0x14004763d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
test al, al
jne 0x14004761c
mov rax, qword [rbx]
mov r9b, 1
xor r8d, r8d
mov edx, 0x8b
mov rcx, rbx
call qword [rax + 0x60]
mov rcx, qword [rbx + 0x18]
mov edx, 0xfffffff0
mov r8d, 0x40000000
mov byte [rbx + 0x34], 0
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbx + 0x18]
xor r8d, r8d
lea edx, [r8 - 0x14]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbx + 0x38]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbx + 0x48], rax
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.14012b470
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140045cf0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140058260
Capabilities:
Get graphical window text

Disassembly:
push rdi
mov eax, 0x1050
call fcn.140181ce0
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1070], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rax, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x40]
lea edx, [rdi + 0xd]
mov r8d, 0x7ff
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x1400582d5
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140006d70
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1050
pop rdi
ret

Function at 0x140058f10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rax, rax
je 0x140058f45
mov rax, qword [rcx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x120], rax
test rax, rax
je 0x140058fe1
mov qword [rdi + 0x10], rbx
test rbx, rbx
je 0x140058f8a
nop dword [rax]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140058f70
lea rax, str.Operation_progress...
test rsi, rsi
lea rcx, [rdi + 0x18]
mov edx, 0x80
cmove rsi, rax
mov r8, rsi
call fcn.1401a83c0
xor eax, eax
lea r8, [0x1400630a0]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rdi + 0x120]
mov qword [rdi + 0x118], rax
test rax, rax
jne 0x140058ff3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rdi + 8]
test rax, rax
jne 0x140059033
mov rcx, qword [rdi + 0x118]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret