joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001878
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x14022a9e8]
lea r8, str.https:__conemu.github.io_donate.html
mov dword [rsp + 0x28], 1
lea rdx, str.open
and qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1400018ca
lfence
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.140113304
add rsp, 0x38
ret

Function at 0x1400018d0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [str.https:__www.fosshub.com_ConEmu.html]
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001922
lfence
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.140113304
add rsp, 0x38
ret

Function at 0x140001928
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [str.https:__conemu.github.io_en_SettingsFast.html]
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x14000197a
lfence
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.140113304
add rsp, 0x38
ret

Function at 0x140001a34
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [0x1401f10a8]
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001a86
lfence
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.140113304
add rsp, 0x38
ret

Function at 0x140001a8c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0x68
lea r8, str.TableOfContents
test rcx, rcx
cmovne r8, rcx
and qword [rax - 0x20], 0
and qword [rax - 0x28], 0
and qword [rax - 0x30], 0
and qword [rax - 0x38], 0
and qword [rax - 0x40], 0
and qword [rax - 0x48], 0
lea r9, str..html
lea rdx, str.https:__conemu.github.io_en_
lea rcx, [rax - 0x18]
call fcn.140114ba8
nop
lea rcx, [rsp + 0x50]
call fcn.140054ee8
mov r8, rax
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001b2c
lfence
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.ShellExecute_failed
call fcn.140113304
nop
lea rcx, [rsp + 0x50]
call fcn.140114ca4
add rsp, 0x68
ret
Function at 0x140001b3c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [str.https:__conemu.github.io_en_Issues.html]
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001b8e
lfence
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.140113304
add rsp, 0x38
ret

Function at 0x140001b94
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1401f90d0], 0
mov rbx, rcx
je 0x140001bbd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1401f90d0]
cmp eax, 0xea60
jb 0x140001c48
test rbx, rbx
je 0x140001bce
movzx eax, word [rbx]
neg ax
sbb rcx, rcx
and rbx, rcx
mov r8, qword [str.https:__conemu.github.io_en_Issues.html]
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001c1e
lfence
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.140113304
jmp 0x140001c3c
test rbx, rbx
je 0x140001c3c
or r9, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov edx, 0x1030
mov rcx, rbx
call fcn.1400297d8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401f90d0], eax
add rsp, 0x30
pop rbx
ret

Function at 0x140001ce8
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0x68
test cl, cl
je 0x140001d9d
mov rdx, qword [0x14022a9e0]
add rdx, 0xef4
and qword [rax - 0x20], 0
and qword [rax - 0x28], 0
and qword [rax - 0x30], 0
and qword [rax - 0x38], 0
and qword [rax - 0x40], 0
and qword [rax - 0x48], 0
xor r9d, r9d
lea r8, str.WhatsNew_ConEmu.txt
lea rcx, [rax - 0x18]
call fcn.140114ba8
nop
lea rcx, [rsp + 0x50]
call fcn.140054ee8
mov rcx, rax
xor edx, edx
call fcn.140115770
test al, al
je 0x140001d93
lea rcx, [rsp + 0x50]
call fcn.140054ee8
mov r8, rax
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jl 0x140001d93
lea rcx, [rsp + 0x50]
call fcn.140114ca4
jmp 0x140001de9
lea rcx, [rsp + 0x50]
call fcn.140114ca4
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [str.https:__conemu.github.io_en_Whats_New.html]
lea rdx, str.open
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jge 0x140001de9
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.File_WhatsNew_ConEmu.txt_not_found__go_to_web_page_failed
call fcn.140113304
add rsp, 0x68
ret
Function at 0x14000444c
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x1400044a9
mov ecx, 0x12
call fcn.140116c84
test al, al
je 0x1400044a9
mov ecx, 0x10
call fcn.140116c84
test al, al
jne 0x1400044a9
mov ecx, 0x11
call fcn.140116c84
test al, al
jne 0x1400044a9
mov ecx, 0x5b
call fcn.140116c84
test al, al
jne 0x1400044a9
mov ecx, 0x5c
call fcn.140116c84
test al, al
jne 0x1400044a9
mov al, 1
jmp 0x1400044ab
xor al, al
add rsp, 0x28
ret
Function at 0x140006124
Capabilities:
Patch process command line

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x310
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rax, qword [0x1401f9148]
mov r15, r9
mov r14, qword [rsp + 0x360]
mov rbx, r8
mov rdi, rdx
test rax, rax
jne 0x1400061a2
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006186
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14000618d
mov rax, qword [0x1401f9148]
test rax, rax
lea rcx, [0x140007510]
cmove rax, rcx
mov qword [0x1401f9148], rax
lea rcx, [rsp + 0x30]
mov r9d, 0x30
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rdi
xor edx, edx
call rax
test eax, eax
jne 0x140006287
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0xb0]
and qword [rsp + 0x20], 0
mov r9d, 0x248
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140006280
mov rdx, qword [rsp + 0xc8]
lea r8, [rsp + 0x70]
and qword [rsp + 0x20], 0
mov r9d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140006280
mov rax, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc0]
mov qword [r15], rax
mov rax, qword [rsp + 0xc8]
add rax, 0x20
mov qword [r14], rax
mov rax, qword [rsp + 0x90]
jmp 0x14000627b
cmp rax, qword [r14]
je 0x140006287
and qword [rsp + 0x20], 0
lea rdx, [rax - 0x10]
mov r9d, 0x88
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140006287
cmp byte [rsp + 0x368], 0
jne 0x140006280
cmp qword [rbx + 0x30], rsi
je 0x140006280
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x140006242
mov eax, 1
jmp 0x140006289
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14012bda0
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008614
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [0x14022ab50]
xor edi, edi
mov rbx, rcx
cmp byte [rax + 0xcda], dil
je 0x1400086e8
lea rsi, [rcx + 0x10]
cmp word [rsi], di
je 0x1400086e8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x220]
cmp eax, 0x1388
jbe 0x1400086e8
lea rdx, [0x1401776f8]
mov rcx, rsi
call fcn.14013463c
test rax, rax
je 0x1400086e8
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call fcn.14012d4b0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400086e8
mov eax, dword [rbx + 0x21c]
cmp dword [rsp + 0x38], eax
jne 0x1400086c6
mov eax, dword [rbx + 0x218]
cmp dword [rsp + 0x34], eax
je 0x1400086df
xor edx, edx
mov rcx, rbx
call fcn.140008480
mov dil, al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x220], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000ed40
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rdx, rdx
je 0x14000ed5e
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x14000ed6f
mov bl, 1
jmp 0x14000ed75
add rcx, 0xcea
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x14000ed75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x14000ed80
Capabilities:
Get keyboard layout

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor eax, eax
mov rdi, rcx
and qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
xorps xmm0, xmm0
mov word [rbp - 0x10], ax
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0xa0
mov r14, rax
call fcn.14012d4b0
lea rdx, [rsp + 0x40]
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov r8d, 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
mov ebx, eax
call fcn.1401358d0
mov r9, r14
mov dword [rsp + 0x28], ebx
shr r9, 0x20
lea r8, [rbp - 0x20]
lea rdx, str.Layout_s__HKL0x_08X_08X__Count_u_n
mov dword [rsp + 0x20], r14d
lea rcx, [rbp]
mov esi, eax
call fcn.14000c8bc
mov r15d, 0xc8
mov dword [rsp + 0x20], ebx
mov r8d, r15d
lea r9, [rsp + 0x40]
lea rdx, [rbp]
mov rcx, rdi
call fcn.14000e904
or ebx, 0xffffffff
test esi, esi
je 0x14000ef10
xor edx, edx
lea rcx, [rdi + 0x573c]
cmp dword [rcx - 4], 0
jne 0x14000ee7f
cmp ebx, 0xffffffff
mov eax, edx
cmovne eax, ebx
mov ebx, eax
jmp 0x14000ee87
cmp dword [rcx], esi
je 0x14000ef48
inc edx
add rcx, 0x10
cmp edx, 0x14
jl 0x14000ee6d
test ebx, ebx
js 0x14000ef0b
lfence
mov al, r14b
xor al, sil
je 0x14000eef9
lea r8, str._nLOWORD_hkl_LOWORD_dwLayout_____Warning__strange_layout_ID
mov rdx, r15
lea rcx, [rbp]
call fcn.140001e48
lea rax, [rbp]
mov edx, 0xa
mov rcx, rax
call fcn.14012cc40
test rax, rax
je 0x14000eed4
mov ecx, 0x20
mov word [rax], cx
jmp 0x14000eeb8
test rdi, rdi
je 0x14000eef9
mov rcx, qword [rdi + 0x3e70]
test rcx, rcx
je 0x14000eef9
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, [rbp]
call fcn.14011c0a8
mov r9, r14
mov r8d, esi
mov edx, ebx
mov rcx, rdi
call fcn.1400227e4
jmp 0x14000ef48
cmp ebx, 0xffffffff
jne 0x14000ef48
lea r8, str._niUnused_1
mov rdx, r15
lea rcx, [rbp]
call fcn.140001e48
test rdi, rdi
je 0x14000ef48
mov rcx, qword [rdi + 0x3e70]
test rcx, rcx
je 0x14000ef48
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, [rbp]
call fcn.14011c0a8
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140010174
Capabilities:
Find taskbar

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
cmp byte [rcx + 0x70], 0
mov rbx, rcx
je 0x140010196
xor al, al
jmp 0x1400102f7
xor dil, dil
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r14, rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r15, rax
call qword [sym.imp.USER32.dll_GetShellWindow]
xor r9d, r9d
lea r8, str.Shell_TrayWnd
xor edx, edx
xor ecx, ecx
mov r12, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
and dword [rbp + 0x50], 0
mov rsi, rax
and dword [rbp + 0x40], 0
and dword [rbp + 0x48], 0
and dword [rbp + 0x58], 0
test r12, r12
je 0x14001021e
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14001021e
mov r8d, dword [rbp + 0x40]
test r8d, r8d
je 0x14001021e
cmp byte [rbx + 0x71], dil
mov rdx, r12
mov rcx, rbx
sete al
xor r9d, r9d
mov byte [rsp + 0x20], al
call fcn.14000f47c
mov dil, al
test al, al
jne 0x1400102aa
test rsi, rsi
je 0x140010263
lea rdx, [rbp + 0x48]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140010263
mov r8d, dword [rbp + 0x48]
test r8d, r8d
je 0x140010263
cmp r8d, dword [rbp + 0x40]
je 0x140010263
cmp byte [rbx + 0x71], 0
mov rdx, rsi
mov rcx, rbx
sete al
xor r9d, r9d
mov byte [rsp + 0x20], al
call fcn.14000f47c
mov dil, al
test al, al
jne 0x1400102aa
test r15, r15
je 0x1400102aa
lea rdx, [rbp + 0x50]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400102aa
mov r8d, dword [rbp + 0x50]
test r8d, r8d
je 0x1400102aa
cmp r8d, dword [rbp + 0x48]
je 0x1400102aa
cmp r8d, dword [rbp + 0x40]
je 0x1400102aa
cmp byte [rbx + 0x71], 0
mov rdx, r15
mov rcx, rbx
sete al
xor r9d, r9d
mov byte [rsp + 0x20], al
call fcn.14000f47c
mov dil, al
test r14, r14
je 0x1400102f4
lea rdx, [rbp + 0x58]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400102f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, dword [rbp + 0x58]
cmp r8d, eax
je 0x1400102f4
cmp r8d, dword [rbp + 0x40]
je 0x1400102f4
cmp r8d, dword [rbp + 0x50]
je 0x1400102f4
cmp r8d, dword [rbp + 0x48]
je 0x1400102f4
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, r14
mov rcx, rbx
call fcn.14000f47c
mov al, dil
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400124f8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov dil, dl
mov rbx, rcx
test rcx, rcx
je 0x140012530
mov rcx, qword [rcx + 0x3e70]
test rcx, rcx
je 0x140012530
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, str.CConEmuMain::Destroy__
call fcn.14011c0a8
mov rdx, qword [0x14022a9e8]
mov r8b, dil
mov rcx, rbx
call fcn.14001231c
cmp dword [0x140235da0], 0
je 0x140012570
test rbx, rbx
je 0x14001260f
mov rcx, qword [rbx + 0x3e70]
test rcx, rcx
je 0x14001260f
lea rdx, str.___Destroy_skipped_due_to_gbInDisplayLastError
jmp 0x1400125ff
test dil, dil
je 0x1400125bc
mov rcx, rbx
call fcn.14002648c
test al, al
je 0x14001258c
xor ecx, ecx
call fcn.140108324
test al, al
je 0x1400125b0
xor r9d, r9d
mov byte [rsp + 0x20], 0
lea r8, [rbx + 0xa80]
lea rcx, str.ConEmus_parent_window_was_terminated_abnormally._nContinue_to_kill_ConEmu_process_
lea edx, [r9 + 0x31]
call fcn.1400297d8
cmp eax, 1
jne 0x14001260f
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp qword [0x14022a9e8], 0
je 0x1400125e7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [rbx + 0x7b28]
xor r9d, r9d
mov rcx, qword [0x14022a9e8]
mov r8d, eax
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001260f
test rbx, rbx
je 0x14001260f
mov rcx, qword [rbx + 0x3e70]
test rcx, rcx
je 0x14001260f
lea rdx, str.___Destroy_skipped_due_to_ghWnd
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8b, 1
call fcn.14011c0a8
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140012fe4
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x140013022
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x11121], 0
je 0x140013033
mov rcx, qword [rcx + 0x3e50]
mov edx, 1
call fcn.1400e9454
mov rcx, qword [rbx + 0x3e50]
xor edx, edx
call fcn.1400eba54
jmp 0x140013033
mov rcx, qword [rcx + 0x3e50]
mov edx, 1
call fcn.1400e9d4c
mov rcx, rbx
call fcn.140013710
lea rcx, [rbx + 0x260]
call fcn.14003b62c
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140024318

Function at 0x1400133b8
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0xcea
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor edi, edi
test eax, eax
jne 0x1400133e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [0x14022ab50]
mov ecx, dword [rax + 0x11458]
test ecx, ecx
je 0x140013407
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
call fcn.140001334
lea rcx, [rsi + 0x260]
mov rdx, qword [0x14022a9d0]
mov rdx, qword [rdx + 0x70]
call fcn.140039714
mov rcx, rsi
call fcn.140014b44
mov ecx, 0xc0
call fcn.140113d08
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001344a
mov rcx, rax
call fcn.140121abc
mov rdi, rax
mov qword [rsi + 0x3e68], rdi
mov eax, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013d34
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ebx, ebx
test eax, eax
je 0x140013ed3
lea rcx, [rdi + 0x260]
xor edx, edx
call fcn.14003b904
test al, al
jne 0x140013ed3
mov rcx, qword [0x14022a9e8]
lea rdx, [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140013ed3
mov edi, dword [rbp - 0x34]
sub edi, dword [rbp - 0x3c]
mov eax, dword [rbp - 0x38]
sub eax, dword [rbp - 0x40]
imul edi, eax
test edi, edi
jle 0x140013ed3
lfence
movups xmm2, xmmword [rbp - 0x40]
mov dword [rbp - 0x18], 2
movdqa xmm0, xmm2
movd ecx, xmm2
psrldq xmm0, 0xc
movdqa xmm1, xmm2
movd r9d, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
psrldq xmm1, 8
movd edx, xmm0
movd r8d, xmm1
movdqu xmmword [rbp - 0x30], xmm2
call qword [sym.imp.GDI32.dll_CreateRectRgn]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rax
lea rcx, [0x140012858]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rbp - 0x18], 1
lea r14d, [rbx + 0x64]
jne 0x140013e3b
mov r14d, ebx
jmp 0x140013ec4
mov rcx, qword [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_GetRegionData]
mov r15d, eax
cmp eax, 8
jbe 0x140013ec4
lfence
mov ecx, r15d
mov edx, 1
call fcn.140113de8
mov r8, rax
mov edx, r15d
mov rsi, rax
mov dword [rax], 0x20
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.GDI32.dll_GetRegionData]
test eax, eax
je 0x140013eac
cmp dword [rsi + 4], 1
jne 0x140013eac
cmp dword [rsi + 8], ebx
jbe 0x140013eac
mov r8d, dword [rsi + 8]
lea rdx, [rsi + 0x24]
mov ecx, dword [rdx + 4]
sub ecx, dword [rdx - 4]
mov eax, dword [rdx + 8]
sub eax, dword [rdx]
lea rdx, [rdx + 0x10]
imul ecx, eax
add ebx, ecx
sub r8, 1
jne 0x140013e92
mov rcx, rsi
call fcn.140113e18
imul eax, ebx, 0x64
cdq
idiv edi
cmp eax, r14d
cmova eax, r14d
mov r14d, eax
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, r14d
jmp 0x140013ed5
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140014564
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor esi, esi
mov rdi, rdx
mov qword [rsp + 0x38], rsi
test rdx, rdx
je 0x14001473f
cmp word [rdx], 0x40
jne 0x14001473f
lea r14, [rdx + 2]
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], esi
mov rcx, r14
mov dword [rsp + 0x30], esi
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
mov edx, 0x100000
call fcn.140123b68
or rbx, 0xffffffffffffffff
cmp eax, ebx
jne 0x1400146ac
lea rdx, [rsp + 0x40]
mov word [rsp + 0x40], si
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, rbx
inc rax
cmp word [rdi + rax*2], si
jne 0x140014604
lea rcx, [rsp + 0x40]
inc rbx
cmp word [rcx + rbx*2], si
jne 0x140014612
add rax, 0x64
mov edx, 2
add rbx, rax
mov rcx, rbx
call fcn.140113de8
lea r8, str.Cant_open_console_batch_file:_n
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.14000a8a0
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.140001e48
lea r8, [0x14017b988]
mov rdx, rbx
mov rcx, rdi
call fcn.140001e48
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.140001e48
lea r8, [0x14017b9b8]
mov rdx, rbx
mov rcx, rdi
call fcn.140001e48
mov edx, dword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call fcn.140113304
mov rcx, rdi
call fcn.140113e18
xor eax, eax
jmp 0x140014742
cmp eax, 0xfffffffe
jne 0x140014713
inc rbx
cmp word [rdi + rbx*2], si
jne 0x1400146b1
lea rcx, [rbx + 0x64]
mov edx, 2
call fcn.140113de8
lea rdx, str.Console_batch_file_is_too_large_or_empty:_n
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x14017b9b8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call fcn.140113304
mov rcx, rbx
jmp 0x1400146a0
test eax, eax
jns 0x14001473a
lfence
inc rbx
cmp word [rdi + rbx*2], si
jne 0x14001471a
lea rcx, [rbx + 0x64]
mov edx, 2
call fcn.140113de8
lea rdx, str.Reading_console_batch_file_failed:_n
jmp 0x1400146cf
mov rsi, qword [rsp + 0x38]
mov rax, rsi
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400162d4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x140016305
mov rcx, qword [rcx + 0x3e70]
test rcx, rcx
je 0x140016305
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, str.CConEmuMain::OnAllVConClosed__
call fcn.14011c0a8
and dword [rsp + 0x20], 0
lea rcx, str.AllVConClosed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.14002a444
mov rcx, rbx
call fcn.14001622c
lea rcx, [rbx + 0x128]
xor edx, edx
call fcn.1400f1abc
xor edx, edx
mov rcx, rbx
call fcn.140026030
test al, al
je 0x140016351
xor edx, edx
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.1400124f8
mov rax, qword [0x14022ab50]
mov cl, byte [rax + 0x11227]
cmp cl, 1
jne 0x140016384
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400163b6
xor edx, edx
lea rcx, [0x14022da90]
call fcn.1400f6514
jmp 0x1400163b6
cmp cl, 2
jne 0x1400163b6
lea rcx, [rbx + 0x260]
xor edx, edx
call fcn.14003b904
test al, al
jne 0x1400163b6
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf020
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rbx + 0x56ec], 0
jne 0x1400163d6
mov rcx, rbx
mov byte [rbx + 0x56ec], 1
call fcn.140024318
mov rcx, rbx
call fcn.140013710
add rsp, 0x30
pop rbx
ret