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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140050148]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14001d10c
cmp dword [rbx + 0x5f90], ebp
je 0x14001d057
mov r8d, 0x34b4
lea rdx, str.C:UsersdobricaDownloadsimgui_masterimgui_masterimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d105
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003950
mov rdi, rax
test rax, rax
je 0x14001d105
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001d091
mov rcx, rax
call fcn.14001d260
mov r8, qword [0x140050148]
test r8, r8
je 0x14001d0fc
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001d0f1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001d1a9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001d1a9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001d197
mov rax, qword [0x140050148]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001d4d0
lea rdx, [0x14004265c]
mov rcx, rdi
mov rsi, rax
call fcn.1400037c0
mov rdi, rax
test rax, rax
je 0x14001d19e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001d19e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d1c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140050148]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d223
mov qword [rsp], rbx
lea rbx, [0x140042e90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d203
cmp byte [r8], r9b
jne 0x14001d203
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001d1f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001d24f
cmp dword [r8 + 8], eax
je 0x14001d256
add r8, 0x48
cmp r8, rcx
jne 0x14001d240
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003c0fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003c146
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003c146
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003c146
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003c146
cmp dword [rcx + 0x84], 0xe
jbe 0x14003c146
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003c148
xor al, al
add rsp, 0x28
ret
Function at 0x140068f8f
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [0x140174798]
cmp eax, 0xffffffff
jne 0x14006909f
mov r8d, 0x68
mov edx, 0
lea rax, [0x14074d080]
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [0x14074d080], 0x68
mov r8d, 0x18
mov edx, 0
lea rax, [0x14074d0f0]
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, [0x14074d0f0]
mov qword [rsp + 0x48], rax
lea rax, [0x14074d080]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rax, str.cmd.exe__c_ver
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
setne al
test al, al
je 0x140069095
mov rax, qword [0x14074d0f0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [0x14074d0f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [0x14074d0f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov dword [0x140174798], 1
jmp 0x14006909f
mov dword [0x140174798], 0
mov eax, dword [0x140174798]
add rsp, 0x50
pop rbp
ret
Function at 0x14007b193
Capabilities:
Get file size

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp + 0x10], ecx
mov eax, dword [rbp + 0x10]
mov ecx, eax
call fcn.14007ad54
test eax, eax
sete al
test al, al
je 0x14007b1bd
mov rax, 0xfffffffffffffffe
jmp 0x14007b26a
mov rdx, qword [0x140204e90]
mov eax, dword [rbp + 0x10]
cdqe
imul rax, rax, 0x88
add rax, rdx
mov qword [0x1407660f8], rax
mov rax, qword [0x1407660f8]
movzx eax, byte [rax + 0x80]
test al, al
je 0x14007b1f5
mov rax, 0xfffffffffffffffc
jmp 0x14007b26a
mov rdx, qword [0x140204e88]
mov eax, dword [rbp + 0x10]
cdqe
shl rax, 3
add rax, rdx
mov qword [0x140766100], rax
lea rdx, [0x14076610c]
mov rax, qword [0x140766100]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSize]
call rax
lea rdx, [0x140766108]
mov dword [rdx], eax
mov rax, qword [0x140766108]
mov edx, eax
mov eax, 0xffffffff
cmp rdx, rax
jne 0x14007b263
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
setne al
test al, al
je 0x14007b263
mov rax, 0xfffffffffffffffd
jmp 0x14007b26a
mov rax, qword [0x140766108]
add rsp, 0x20
pop rbp
ret
Function at 0x14007cbdd
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov eax, dword [rbp + 0x10]
mov ecx, eax
call fcn.14007ad54
test eax, eax
sete al
test al, al
je 0x14007cc11
mov eax, 0xfffffffe
jmp 0x14007cda8
mov rdx, qword [0x140204e90]
mov eax, dword [rbp + 0x10]
cdqe
imul rax, rax, 0x88
add rax, rdx
mov qword [0x1407661e0], rax
mov rax, qword [0x1407661e0]
movzx eax, byte [rax + 0xa]
test al, al
jne 0x14007cc47
mov eax, 0xfffffffd
jmp 0x14007cda8
cmp qword [rbp + 0x28], 0
jns 0x14007cc58
mov eax, 0xfffffffc
jmp 0x14007cda8
cmp qword [rbp + 0x18], 0xffffffffffffffff
je 0x14007cc8d
mov rdx, qword [rbp + 0x18]
mov eax, dword [rbp + 0x10]
mov ecx, eax
call fcn.14007ca6e
mov dword [0x1407661e8], eax
mov eax, dword [0x1407661e8]
test eax, eax
setne al
test al, al
je 0x14007cc8d
mov eax, dword [0x1407661e8]
jmp 0x14007cda8
mov rdx, qword [0x140204e88]
mov eax, dword [rbp + 0x10]
cdqe
shl rax, 3
add rax, rdx
mov qword [0x1407661f0], rax
jmp 0x14007cd98
mov eax, 0xffffffff
cmp qword [rbp + 0x28], rax
jle 0x14007ccd1
mov dword [0x1407661f8], 0xffffffff
movabs rax, 0xffffffff00000001
add qword [rbp + 0x28], rax
jmp 0x14007cce3
mov rax, qword [rbp + 0x28]
mov dword [0x1407661f8], eax
mov qword [rbp + 0x28], 0
mov ecx, dword [0x1407661f8]
mov rax, qword [0x1407661f0]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
lea r9, [0x140766200]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
test eax, eax
sete al
test al, al
je 0x14007cd52
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [0x1407661d8], eax
mov eax, dword [0x1407661d8]
cmp eax, 5
je 0x14007cd44
mov eax, dword [0x1407661d8]
cmp eax, 0x21
jne 0x14007cd4b
mov eax, 0xfffffff9
jmp 0x14007cda8
mov eax, 0xfffffff7
jmp 0x14007cda8
mov rax, qword [0x140766200]
add qword [rbp + 0x20], rax
mov rax, qword [0x1407661e0]
mov rcx, qword [rax + 0x10]
mov rdx, qword [0x140766200]
mov rax, qword [0x1407661e0]
add rdx, rcx
mov qword [rax + 0x10], rdx
mov eax, dword [0x1407661f8]
mov edx, eax
mov rax, qword [0x140766200]
cmp rdx, rax
je 0x14007cd98
mov eax, 0xffffffff
jmp 0x14007cda8
cmp qword [rbp + 0x28], 0
jne 0x14007ccac
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x14007cdbb
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [0x14073a978], 0
mov eax, dword [rbp + 0x10]
mov ecx, eax
call fcn.14007ad54
test eax, eax
sete al
test al, al
je 0x14007cdfa
mov eax, 0xfffffffe
jmp 0x14007cff3
mov rdx, qword [0x140204e90]
mov eax, dword [rbp + 0x10]
cdqe
imul rax, rax, 0x88
add rax, rdx
mov qword [0x140766210], rax
mov rax, qword [0x140766210]
movzx eax, byte [rax + 9]
test al, al
jne 0x14007ce30
mov eax, 0xfffffffd
jmp 0x14007cff3
cmp qword [rbp + 0x28], 0
jns 0x14007ce41
mov eax, 0xfffffffc
jmp 0x14007cff3
cmp qword [rbp + 0x18], 0xffffffffffffffff
je 0x14007ce76
mov rdx, qword [rbp + 0x18]
mov eax, dword [rbp + 0x10]
mov ecx, eax
call fcn.14007ca6e
mov dword [0x140766218], eax
mov eax, dword [0x140766218]
test eax, eax
setne al
test al, al
je 0x14007ce76
mov eax, dword [0x140766218]
jmp 0x14007cff3
mov rdx, qword [0x140204e88]
mov eax, dword [rbp + 0x10]
cdqe
shl rax, 3
add rax, rdx
mov qword [0x140766220], rax
jmp 0x14007cfd8
mov eax, 0xffffffff
cmp qword [rbp + 0x28], rax
jle 0x14007ceba
mov dword [0x140766228], 0xffffffff
movabs rax, 0xffffffff00000001
add qword [rbp + 0x28], rax
jmp 0x14007cecc
mov rax, qword [rbp + 0x28]
mov dword [0x140766228], eax
mov qword [rbp + 0x28], 0
mov ecx, dword [0x140766228]
mov rax, qword [0x140766220]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
lea r9, [0x140766230]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
setne al
test al, al
je 0x14007cfa5
mov rax, qword [0x140766230]
add qword [rbp + 0x20], rax
mov rax, qword [0x140766210]
mov rcx, qword [rax + 0x10]
mov rdx, qword [0x140766230]
mov rax, qword [0x140766210]
add rdx, rcx
mov qword [rax + 0x10], rdx
mov rdx, qword [0x14073a978]
mov rax, qword [0x140766230]
add rax, rdx
mov qword [0x14073a978], rax
mov eax, dword [0x140766228]
mov edx, eax
mov rax, qword [0x140766230]
cmp rdx, rax
je 0x14007cfd8
mov eax, dword [0x140766228]
mov edx, eax
mov rax, qword [0x140766230]
sub rdx, rax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x20]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [0x140766210]
mov byte [rax + 0x19], 1
mov eax, 0xfffffff6
jmp 0x14007cff3
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [0x140766208], eax
mov eax, dword [0x140766208]
cmp eax, 5
je 0x14007cfca
mov eax, dword [0x140766208]
cmp eax, 0x21
jne 0x14007cfd1
mov eax, 0xfffffff9
jmp 0x14007cff3
mov eax, 0xfffffff7
jmp 0x14007cff3
cmp qword [rbp + 0x28], 0
jne 0x14007ce95
mov rax, qword [0x140766210]
mov byte [rax + 0x19], 0
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x14009843b
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0xa1
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
shr ax, 0xf
movzx edx, al
mov eax, dword [0x140766ef8]
cmp edx, eax
setne al
test al, al
je 0x14009848d
mov eax, dword [0x140766ef8]
test eax, eax
sete al
movzx eax, al
mov dword [0x140766ef8], eax
mov eax, dword [0x140766ef8]
mov edx, eax
mov ecx, 0x36
call fcn.1400983a0
mov ecx, 0xa0
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
shr ax, 0xf
movzx edx, al
mov eax, dword [0x140766efc]
cmp edx, eax
setne al
test al, al
je 0x1400984d7
mov eax, dword [0x140766efc]
test eax, eax
sete al
movzx eax, al
mov dword [0x140766efc], eax
mov eax, dword [0x140766efc]
mov edx, eax
mov ecx, 0x2a
call fcn.1400983a0
nop
add rsp, 0x20
pop rbp
ret

Function at 0x1400989fd
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
neg eax
add rsp, 0x20
pop rbp
ret

Function at 0x140098a1c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0x91
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
neg eax
add rsp, 0x20
pop rbp
ret

Function at 0x140098a3b
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0x90
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
neg eax
add rsp, 0x20
pop rbp
ret
Function at 0x14009e810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
mov eax, 0x1028
push rbx
call fcn.1400c1b50
sub rsp, rax
mov byte [0x14087a140], 0
mov rsi, rcx
mov rcx, qword [0x14087c140]
test rsi, rsi
je 0x14009e83e
cmp byte [rsi], 0
jne 0x14009e9ad
lea r9, [0x14087a140]
test rcx, rcx
je 0x14009e8ef
call fcn.1400c2ed0
lea rbx, [0x14087b140]
test rax, rax
je 0x14009e982
lea r11, [rax + 8]
movzx ecx, byte [rbx]
xor r8d, r8d
movzx eax, byte [rax + 8]
lea r9, [0x14087b140]
mov rdx, r11
nop dword [rax + rax]
test cl, cl
jne 0x14009e8a8
test al, al
je 0x14009e8cd
test r8, r8
je 0x14009e96d
test al, al
je 0x14009e96d
movzx ecx, byte [r8]
test cl, cl
je 0x14009e888
mov r9, r8
nop dword [rax]
mov r10, r8
mov r8, r9
cmp cl, 0x2a
je 0x14009e900
cmp cl, 0x3f
jne 0x14009e930
add r9, 1
test al, al
movzx ecx, byte [r8 + 1]
jne 0x14009e941
test cl, cl
jne 0x14009e958
mov r8d, 0x1000
mov rdx, r11
lea r9, [0x14087a140]
mov rcx, r9
call sub.msvcrt.dll_strncpy
mov byte [0x14087b13f], 0
mov r9, rax
mov rax, r9
add rsp, 0x1028
pop rbx
pop rsi
ret
add r9, 1
test al, al
movzx ecx, byte [r8 + 1]
jne 0x14009e920
jmp 0x14009e960
movzx eax, byte [rdx + 1]
add rdx, 1
test al, al
je 0x14009e880
cmp al, cl
jne 0x14009e910
movzx eax, byte [rdx]
jmp 0x14009e8a8
cmp cl, al
jne 0x14009eafd
movzx ecx, byte [r8 + 1]
add r9, 1
movzx eax, byte [rdx + 1]
mov r8, r10
add rdx, 1
jmp 0x14009e880
mov r8, r9
jmp 0x14009e8ae
test cl, cl
je 0x14009e8cd
jmp 0x14009e8a8
mov rcx, qword [0x14087c140]
call fcn.1400c2ed0
test rax, rax
jne 0x14009e863
mov rcx, qword [0x14087c140]
call fcn.1400c30b0
lea r9, [0x14087a140]
mov qword [0x14087c140], 0
mov rax, r9
add rsp, 0x1028
pop rbx
pop rsi
ret
test rcx, rcx
je 0x14009e9c2
call fcn.1400c30b0
mov qword [0x14087c140], 0
mov edx, 0x2a
mov rcx, rsi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14009ea90
mov edx, 0x2f
mov rcx, rsi
call sub.msvcrt.dll_strrchr
test rax, rax
mov rbx, rax
je 0x14009ea49
lea rdx, [rbx + 1]
mov r8d, 0x1000
sub rbx, rsi
lea rcx, [0x14087b140]
add rbx, 1
call sub.msvcrt.dll_strncpy
mov eax, 0xfff
mov rdx, rsi
mov byte [0x14087c13f], 0
lea rcx, [rsp + 0x20]
cmp rbx, rax
cmova rbx, rax
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov byte [rsp + rbx + 0x20], 0
mov rcx, rax
call fcn.1400c2d60
mov rcx, rax
mov qword [0x14087c140], rax
jmp 0x14009e83e
mov edx, 0x5c
mov rcx, rsi
call sub.msvcrt.dll_strrchr
test rax, rax
mov rbx, rax
jne 0x14009e9ed
lea rcx, [0x14087b140]
mov rdx, rsi
mov r8d, 0x1000
call sub.msvcrt.dll_strncpy
mov edx, 0x2f2e
mov byte [rsp + 0x22], 0
mov byte [0x14087c13f], 0
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], dx
jmp 0x14009ea35
mov edx, 0x3f
mov rcx, rsi
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x14009e9d8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009eace
test al, 0x10
jne 0x14009eace
mov rcx, rsi
call fcn.14009e190
mov r8d, 0x1000
mov rdx, rax
jmp 0x14009e8d6
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rsi
call sub.msvcrt.dll_strncpy
mov byte [rsp + 0x101f], 0
mov rcx, rax
mov eax, 0x2a
mov word [0x14087b140], ax
jmp 0x14009ea35
mov r8, r10
jmp 0x14009e888
Function at 0x14009ec90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rcx + 0x10]
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
mov qword [rcx], rbp
je 0x14009edcb
mov rcx, rdx
call sub.msvcrt.dll_strlen
cmp rax, 0xf
mov rdi, rax
mov qword [rsp + 0x38], rax
ja 0x14009ed78
cmp rax, 1
jne 0x14009ed68
movzx edx, byte [rsi]
mov byte [rbx + 0x10], dl
mov qword [rbx + 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov byte [rbp + rax], 0
mov rcx, rsi
mov rbp, qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
call rbp
test eax, eax
mov edi, eax
je 0x14009ed1d
mov edx, eax
xor r8d, r8d
mov rcx, rbx
call fcn.14015df10
mov r8, qword [rbx]
xor r9d, r9d
mov edx, edi
mov rcx, rsi
call rbp
test eax, eax
jne 0x14009edb8
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009ed56
test al, 0x10
je 0x14009ed56
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
cmp byte [rax + rdx - 1], 0x5c
je 0x14009ed56
mov dword [rsp + 0x20], 0x5c
mov r9d, 1
xor r8d, r8d
mov rcx, rbx
call fcn.14015cad0
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
test rax, rax
je 0x14009ecd8
jmp 0x14009ed97
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov rcx, rbx
call fcn.14015eb80
mov rbp, rax
mov qword [rbx], rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x10], rax
mov rcx, rbp
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x38]
mov rbp, qword [rbx]
jmp 0x14009ecd8
lea edx, [rdi - 1]
xor r8d, r8d
mov rcx, rbx
call fcn.14015df10
jmp 0x14009ed1d
lea rcx, [0x1401a2e10]
call fcn.140172e60
mov rsi, rax
mov rcx, rbx
call fcn.14015c120
mov rcx, rsi
call fcn.1400c2350
nop
nop dword [rax + rax]
Function at 0x1400a2d50
Capabilities:
Create thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
mov ecx, 0x10
mov rdi, rdx
mov rsi, r8
call sub.msvcrt.dll_malloc
lea r8, [0x1400a2c20]
xor edx, edx
xor ecx, ecx
mov qword [rax], rdi
mov r9, rax
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx], rax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400a3da0
Capabilities:
Enumerate gui resources

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb0
mov rbx, qword [0x14087fac8]
test rbx, rbx
je 0x1400a3dd0
mov rax, rbx
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x60], eax
lea rcx, [0x1400a3c00]
mov rdx, rsi
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
mov qword [0x14087fac8], rbx
jne 0x1400a3db9
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
mov rbx, rax
mov qword [0x14087fac8], rax
jne 0x1400a3db9
mov rax, qword [0x1401a3568]
xor ecx, ecx
mov qword [rsp + 0x70], 0
mov r12, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rbp, str.hiddenWindowClass
mov qword [rsp + 0x60], rax
lea rax, [0x1400a3c70]
mov qword [rsp + 0x68], rax
call r12
xor ecx, ecx
mov rdi, qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
call rdi
xor ecx, ecx
mov edx, 0x7f00
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
xor ecx, ecx
mov edx, 0x7f00
mov qword [rsp + 0x90], 6
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], rbp
call rdi
mov rcx, rsi
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x1400a3f23
xor ecx, ecx
call r12
mov dword [rsp + 0x38], 0x80000000
mov rdx, rbp
xor ecx, ecx
mov qword [rsp + 0x58], 0
mov r9d, 0xcf0000
mov qword [rsp + 0x50], rax
lea r8, str.hiddenWindow
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
mov qword [0x14087fac8], rbx
jmp 0x1400a3db9
Function at 0x1400a7220
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
xor eax, eax
mov r9, rcx
mov ecx, 0x20
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rsi, [rsp + 0x40]
test r9, r9
mov rbp, r8
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov rdi, rsi
rep stosq qword [rdi], rax
mov qword [rsp + 0x38], 0
je 0x1400a56b2
mov r8d, dword [0x140174b98]
mov rcx, r9
test r8d, r8d
jne 0x1400a5770
call fcn.1400a4c70
mov rdx, rax
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
test rbx, rbx
je 0x1400a56f5
mov edx, dword [0x140174b98]
mov rcx, rbx
test edx, edx
jne 0x1400a5760
call fcn.1400a4c70
mov rdi, rax
mov rcx, rdi
call sub.msvcrt.dll_wcslen
lea rcx, [rax + rax + 2]
call sub.msvcrt.dll_malloc
test rax, rax
mov rbx, rax
je 0x1400a56f5
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_wcscpy
lea rdi, [rsp + 0x20]
test rbp, rbp
je 0x1400a5721
mov eax, dword [0x140174b98]
mov rcx, rbp
test eax, eax
jne 0x1400a5750
call fcn.1400a4c70
mov rdx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call sub.msvcrt.dll_wcscpy
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400a5510
mov rcx, rbx
call sub.msvcrt.dll_free
mov eax, 1
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.1400a4d30
mov rdx, rax
jmp 0x1400a5714
call fcn.1400a4d30
mov rdi, rax
jmp 0x1400a56d0
call fcn.1400a4d30
mov rdx, rax
jmp 0x1400a56aa
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov edx, dword [0x14087c624]
mov rbx, rcx
mov rsi, r8
test edx, edx
je 0x1400a7280
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x1400a7270
mov dword [rsp + 0x20], 0
mov r9, rsi
mov rdx, rdi
mov rcx, rbx
lea r8, [0x1401a3514]
call fcn.1400a6ac0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
call fcn.1400a3b20
test eax, eax
jne 0x1400a7245
nop dword [rax]
lea rcx, str.SSH_CLIENT
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400a729b
mov eax, dword [0x14087c620]
test eax, eax
je 0x1400a72f0
test rbx, rbx
je 0x1400a72b3
lea rdx, str.tinyfd_query
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x1400a72d0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp 0x1400a5640
movabs rax, 0x73776f646e6977
mov qword [0x14087c220], rax
mov eax, 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [0x1401a34a7]
call sub.msvcrt.dll_getenv
test rax, rax
jne 0x1400a729b
jmp 0x1400a7245