joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400017b0
Capabilities:
Manipulate console buffer

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov ecx, 0xfffffff5
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x38]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [rsp + 0x38]
lea rax, [rsp + 0x34]
movsx r8d, word [rsp + 0x3a]
mov dl, 0x20
mov r9d, dword [rsp + 0x30]
imul r8d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
movsx eax, word [rsp + 0x38]
mov edx, 7
movsx r8d, word [rsp + 0x3a]
mov rcx, rdi
mov r9d, dword [rsp + 0x30]
imul r8d, eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000da70
add rsp, 0x60
pop rdi
ret
Function at 0x140001860
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xd8
movups xmm0, xmmword [0x140010b10]
xor ecx, ecx
cmp dword [0x140015008], 2
movups xmm1, xmmword [0x140010b20]
movzx eax, word [0x140010b90]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140010b30]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x140010b40]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x140010b50]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x140010b60]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x140010b70]
movups xmmword [r11 - 0x58], xmm1
movups xmm1, xmmword [0x140010b80]
mov word [r11 - 0x28], ax
movzx eax, byte [0x140010b92]
movups xmmword [r11 - 0x38], xmm1
mov byte [r11 - 0x26], al
movups xmmword [r11 - 0x48], xmm0
jl 0x140001a42
movdqa xmm0, xmmword [0x140011140]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140010ff0]
movdqa xmm4, xmmword [0x140011050]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [str.7777]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140011020]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140011020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x80
jl 0x140001930
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x83
jge 0x140001a7f
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x83
jl 0x140001a50
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140001590]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14000d350
add rsp, 0xd8
ret
Function at 0x14000c1f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14000c211
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000c23e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000c240
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000c299
test ecx, ecx
jle 0x14000c279
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000c299
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000c299
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
lea rax, [rcx + rdx]
mov rcx, r14
cmp rax, r14
cmovae rcx, rax
cmp rcx, r8
ja 0x14002396b
lea rax, [rcx + rcx*2]
lea rsi, [rax*8]
cmp rsi, 0x1000
jb 0x140023867
lea rcx, [rsi + 0x27]
invalid
invalid
cmp rcx, rsi
jbe 0x14002396b
call 0x1400258c8
test rax, rax
je 0x14002395e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
loopne 0x1400238aa
mov dword [rbx - 8], eax
test rsi, rsi
je 0x140023879
mov rcx, rsi
call 0x1400258c8
mov rbx, rax
jmp 0x14002387b
xor ebx, ebx
call 0x140016dd0
int3
Function at 0x14000c2c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000c2e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000c2f1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c314
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c316
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c352
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000c3ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000c38d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000c3ce
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000c3ee
cmp rbx, rax
ja 0x14000c3a0
test rbx, rbx
je 0x14000c3ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
ror byte [rcx + 0x3b], 1
ror byte [rdi], 1
test byte [rbx + 0x48000001], bl
mov ecx, dword [rdi + 0x10]
mov rax, r10
sub rcx, r9
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
lea r14, [rdx + 1]
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r8
mov rcx, rdx
shr rcx, 1
sub rax, rcx
cmp rdx, rax
ja 0x14002396b
add byte [rax], al
Function at 0x14000c850
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000c87d
xor eax, eax
jmp 0x14000c9e9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c8b7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000c8b7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000c9e9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000c9dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000c8fa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000c925
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c9e1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000c994
sub eax, 1
je 0x14000c994
cmp eax, 2
jne 0x14000c9dc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c9e1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000c9c2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000c9dc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c9e1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000da70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000d060
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000d133
cmp byte [rcx + 0x71], 0
je 0x14000d133
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000d12f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000d0f4
sub eax, 1
je 0x14000d0f8
cmp eax, 2
jne 0x14000d12f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000da70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000d126
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000d12f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000d0dc
xor al, al
jmp 0x14000d0dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000da70
add rsp, 0x60
pop rbx
ret

Function at 0x14000e5b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e5fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e5fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e5fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e5fa
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e5fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000e5fc
xor al, al
add rsp, 0x28
ret
Function at 0x140001c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x14024f808], 0
mov rbx, qword [0x1402539d8]
jne 0x140001d03
mov edx, SafeArrayGetLBound
mov rcx, rbx
mov qword [rsp + 0x38], rdi
lea r8d, [rdx - 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x140001cfe
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001cf9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x40], 0
mov rbx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.140055d10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140001cf0
lea rcx, [0x14024f800]
call fcn.140001520
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400032c0
Capabilities:
Write file on windows

Disassembly:
push rdi
mov eax, 0x12d00
call fcn.14006c340
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x12d10], rbx
mov qword [rsp + 0x12d18], rbp
mov qword [rsp + 0x12d20], rsi
mov rax, qword [0x1400980c0]
xor rax, rsp
mov qword [rsp + 0x12cf0], rax
mov ebx, ecx
lea rbp, [0x140073648]
mov qword [rsp + 0x60], rbp
xor esi, esi
mov qword [rsp + 0x128a0], rsi
mov qword [rsp + 0x128a8], rsi
mov qword [rsp + 0x128b0], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0xd4d4], esi
mov dword [rsp + 0xd4d8], 0x20000
mov dword [rsp + 0xd4dc], esi
mov dword [rsp + 0xd4e0], esi
mov byte [rsp + 0x12894], sil
mov qword [rsp + 0x128c0], rsi
mov dword [rsp + 0x128c8], esi
mov dword [rsp + 0x128cc], esi
mov dword [rsp + 0x128b8], esi
mov dword [rsp + 0x128d0], esi
mov dword [rsp + 0x128d4], 0x80
mov dword [rsp + 0x128d8], esi
mov dword [rsp + 0x128dc], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x128e0], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x19ce
lea rdx, [0x14024dcb0]
lea rcx, [rsp + 0x60]
call fcn.140019300
mov rdi, qword [rsp + 0x48]
cmp ebx, 4
jne 0x140003402
lea rcx, [rdi + 0xdec]
lea r8, str.v4.0.30319
lea edx, [rsi + 0xc]
call fcn.140053390
lea rdx, [0x140253c30]
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.DNRuntime.dll
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x128f0]
call fcn.14006a1e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400034aa
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, 0x2a00
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [0x1402539f4]
lea r8, [0x1402539ec]
lea rdx, [0x1402539e4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd r8, dword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.140056f40
nop
mov qword [rsp + 0x60], rbp
lea rcx, [rsp + 0x60]
call fcn.140019700
mov rcx, qword [rsp + 0x128a0]
test rcx, rcx
je 0x1400034e2
call fcn.140052920
mov eax, 0x2a00
jmp 0x1400034e7
mov eax, 0x2a00
mov rcx, qword [rsp + 0x12cf0]
xor rcx, rsp
call fcn.140052e20
lea r11, [rsp + 0x12d00]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003690
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
sub rsp, 0x20
xor esi, esi
test r8d, r8d
mov r12, rdx
mov rbp, rcx
je 0x1400036fc
mov edx, dword [rcx + 0x28]
mov rcx, qword [rcx + 0x38]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x50], esi
call fcn.14001ac30
movsxd rbx, dword [rsp + 0x50]
mov edx, dword [rbp + 0x2c]
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov rcx, r12
call fcn.140053050
mov rcx, qword [rsp + 0x40]
mov r8, rbx
xor edx, edx
call fcn.140056f40
mov rcx, qword [rsp + 0x40]
call fcn.140053120
jmp 0x14000371d
mov edx, dword [rcx + 0x28]
mov r8, qword [rcx + 0x38]
mov rcx, r12
mov r9, rdx
call fcn.140053050
mov r8d, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
xor edx, edx
call fcn.140056f40
cmp dword [rbp + 0x30], esi
mov qword [rbp + 0x38], rsi
je 0x140003899
movsxd r8, dword [r12 + 0x3c]
mov ebx, esi
mov r9d, esi
add r8, r12
cmp word [r8 + 0x18], 0x20b
movzx eax, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [rax + r8 + 0x18]
mov rcx, rdx
jne 0x1400037e0
test r10d, r10d
mov r11d, dword [r8 + 0xf8]
mov ebx, 1
je 0x140003792
mov eax, dword [rcx + 8]
test eax, eax
jne 0x140003771
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x140003786
add eax, r8d
cmp r11d, eax
jb 0x14000381d
add r9d, ebx
add rcx, 0x28
cmp r9d, r10d
jb 0x140003767
mov rax, rsi
mov r8d, dword [rax + 8]
mov ecx, esi
sub r8d, 0x10
test ebx, ebx
je 0x140003834
test r10d, r10d
je 0x14000387b
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1400037ba
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x1400037cf
add eax, r9d
cmp r8d, eax
jb 0x140003869
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x1400037b0
jmp 0x14000387b
test r10d, r10d
mov r11d, dword [r8 + 0xe8]
je 0x140003792
nop
mov eax, dword [rcx + 8]
test eax, eax
jne 0x1400037fa
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x14000380b
add eax, r8d
cmp r11d, eax
jb 0x14000381d
add r9d, 1
add rcx, 0x28
cmp r9d, r10d
jb 0x1400037f0
jmp 0x140003792
mov eax, r8d
sub eax, dword [rcx + 0x14]
movsxd rcx, eax
mov rax, r11
sub rax, rcx
add rax, r12
jmp 0x140003795
test r10d, r10d
je 0x14000387b
nop
nop
mov eax, dword [rdx + 8]
test eax, eax
jne 0x14000384a
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x14000385b
add eax, r9d
cmp r8d, eax
jb 0x140003869
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x140003840
jmp 0x14000387b
mov eax, r9d
mov esi, r8d
sub eax, dword [rdx + 0x14]
movsxd rcx, eax
sub rsi, rcx
add rsi, r12
mov eax, dword [rsi]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsi + 0xc]
mov dword [rbp + 0x58], eax
mov eax, dword [rsi + 4]
mov dword [rbp + 0x50], eax
mov eax, dword [rsi + 8]
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x54], eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
Function at 0x1400085e0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov esi, r9d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rdi, rcx
mov byte [rsp + 0x20], 0
call fcn.140007e30
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140008670
nop
nop
nop
mov dword [rsp + 0x80], SafeArrayGetDim
mov rcx, qword [rbx]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140008620
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140008668
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008660
mov edx, 1
call fcn.1400095d0
mov rcx, rbx
call fcn.140052920
mov qword [rdi + 0x18], 0
mov edx, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
xor r9d, r9d
add ecx, edx
xor r8d, r8d
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x44], 0
add ecx, edx
mov edx, esi
mov dword [rsp + 0x4c], ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov rax, qword [rdi + 0xa8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
mov rcx, rdi
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], 1
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x68], eax
mov rax, qword [rdi]
call qword [rax]
mov rcx, qword [rdi + 0xa8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rdi + 0xa8], 0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rdi
ret
Function at 0x140009320
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400980c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x20]
mov rbp, rcx
lea rcx, [rsp + 0x30]
mov eax, dword [rbp + 0x28]
mov rdi, qword [rbp + 0x18]
mov dword [rcx], eax
mov eax, dword [rbp + 0x2c]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 0x30]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0x34]
mov dword [rcx + 0xc], eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov r9, rdi
mov r8, rbx
mov rcx, rax
mov edx, 0x135
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400093a3
lea rdx, [rsp + 0x30]
mov r8, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_FillRect]
mov esi, dword [rbp + 0x10]
mov r9d, SafeArrayGetDim
lea rdx, [rsp + 0x30]
test sil, 1
mov rcx, rbx
lea r8d, [r9 - 5]
jne 0x1400093c2
lea r8d, [r9 - 0xa]
call qword [sym.imp.USER32.dll_DrawEdge]
mov rcx, qword [rbp + 0x18]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_GetWindowTextA]
test sil, 4
je 0x140009442
mov edx, 0xf0f0f0
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
repne scasb al, byte [rdi]
mov dword [rsp + 0x20], 0x25
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
add dword [rsp + 0x34], 1
add dword [rsp + 0x30], 1
add dword [rsp + 0x38], 1
add dword [rsp + 0x3c], 1
mov edx, 0x787878
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
not rcx
mov dword [rsp + 0x20], 0x25
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
test sil, 0x10
je 0x140009499
add dword [rsp + 0x34], 3
add dword [rsp + 0x30], 3
sub dword [rsp + 0x38], 3
sub dword [rsp + 0x3c], 3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140052e20
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret