joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bfd40
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11bf0]
mov eax, 0x11cf0
call fcn.1400f31b0
sub rsp, rax
movzx r10d, word [rdx]
mov r11d, 0xffdf
mov rdi, rcx
mov rcx, qword [rbp + 0x11c20]
lea eax, [r10 - 0x41]
test r11w, ax
jne 0x1400bfde8
cmp word [rdx + 2], 0
jne 0x1400bfde8
cmp word [r8], 0
jne 0x1400bfde8
cmp word [r9], 0
jne 0x1400bfde8
cmp word [rcx], 0
jne 0x1400bfde8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400bfdcb
cmp byte [rdi + 0x12a], 0
jne 0x1400bfdcb
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400bfdc9
mov rcx, rbx
call fcn.1400c0cf0
test al, al
je 0x1400bfdcb
xor ebx, ebx
cmp byte [rbp + 0x11c30], 0
je 0x1400bfde0
test rbx, rbx
je 0x1400bfde0
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400bff24
test r10w, r10w
jne 0x1400bfe0d
cmp word [r8], r10w
jne 0x1400bfe0d
cmp word [r9], r10w
jne 0x1400bfe0d
cmp word [rcx], r10w
jne 0x1400bfe0d
mov rcx, rdi
call fcn.1400bff70
jmp 0x1400bff24
xor ebx, ebx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x20], r9
mov r9, r8
mov dword [rsp + 0x30], ebx
mov r8, rdx
mov byte [rbp + 0x1789], bl
lea rax, [0x140103554]
mov dword [rbp + 0x178c], ebx
mov rdx, rdi
mov qword [rbp + 0xf48], rax
lea rcx, [rsp + 0x30]
movdqa xmmword [rbp + 0x1790], xmm0
mov qword [rbp + 0x17a0], rbx
mov dword [rbp + 0x17a8], ebx
mov qword [rbp + 0x17b0], rbx
movdqa xmmword [rbp + 0x17c0], xmm0
call fcn.1400c0f10
test eax, eax
je 0x1400bff22
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c28]
mov byte [rbp + 0x1789], al
mov rax, qword [rbp + 0x11c38]
mov qword [rbp + 0x17a0], rax
mov eax, dword [rbp + 0x11c40]
mov dword [rbp + 0x17a8], eax
je 0x1400bff39
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x1400bfef7
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400bff22
mov rdx, qword [rbp + 0xf68]
mov rcx, rdi
call fcn.1400c0d80
test al, al
jne 0x1400bfef0
mov rcx, qword [rbp + 0xf68]
lea edx, [rbx - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400bff22
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c8], rax
je 0x1400bff11
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c8], rax
call fcn.1400c1440
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400c1550
test rax, rax
jne 0x1400bff4b
xor eax, eax
lea r11, [rsp + 0x11cf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x1400c0020]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1790]
cmp byte [rbp + 0x11c30], bl
je 0x1400bff24
test rax, rax
je 0x1400bff24
mov qword [rdi + 0xf8], rax
jmp 0x1400bff24
Function at 0x1400c1440
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1898]
test rcx, rcx
je 0x1400c153c
mov eax, dword [rbx]
test eax, eax
je 0x1400c153c
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400c147f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400c149d
mov r8d, 0x7fff
lea rdx, [rbx + 0x18ac]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400c149d
mov word [rbx + 0x18ac], si
mov eax, dword [rbx]
test al, 4
je 0x1400c14b9
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x18a8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbx]
test al, 0x20
je 0x1400c14f6
mov rcx, qword [rbx + 0x1898]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400c14f6
movzx r9d, byte [rbx + 0x1858]
lea rdx, [rbx + 0x11aac]
mov ecx, dword [rsp + 0x30]
call fcn.1400847d0
test eax, eax
jne 0x1400c14f6
mov word [rbx + 0x11aac], si
mov eax, dword [rbx]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
test al, 8
je 0x1400c1522
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x118aa]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [rbx]
bt eax, 8
jae 0x1400c153c
mov rcx, qword [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbx + 0x18a0], rax
add rsp, 0x20
pop rbx
ret

Function at 0x1400c1d80
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11ce8
call fcn.1400f31b0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400c1e5c
xor r9d, r9d
mov byte [rsp + 0x18a8], dl
xorps xmm0, xmm0
mov dword [rsp + 0x20], r9d
lea rcx, [0x140103554]
mov byte [rsp + 0x1879], r9b
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400c2720]
mov dword [rsp + 0x187c], r9d
movdqa xmmword [rsp + 0x1880], xmm0
mov qword [rsp + 0x1890], r9
mov dword [rsp + 0x1898], r9d
movdqa xmmword [rsp + 0x18b0], xmm0
mov qword [rsp + 0x18a0], rax
mov dword [rsp + 0x18ac], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1880], 0
je 0x1400c1e5c
mov rax, qword [0x14013dbe0]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400c1e5c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140145c60], eax
mov rax, qword [0x14013dbe0]
mov ecx, dword [rax + 0x74]
je 0x1400c1e52
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x11ce8
ret
mov edx, 1
call fcn.140001b10
mov eax, 1
add rsp, 0x11ce8
ret
Function at 0x1400c1e70
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push rbx
push r15
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
movzx r15d, dl
mov rbx, rcx
jne 0x1400c1e93
mov eax, 1
add rsp, 0x28
pop r15
pop rbx
ret
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x14013dbe0]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400c24b0
cmp byte [rbx], 0
mov rbp, rax
je 0x1400c1eca
test rax, rax
jne 0x1400c1ed3
jmp 0x1400c1f98
test rbp, rbp
jne 0x1400c1f98
test rdi, rdi
je 0x1400c1f98
xor r9d, r9d
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov r14d, eax
nop word [rax + rax]
cmp dword [0x140145c60], esi
jne 0x1400c1f29
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b10
jmp 0x1400c1f34
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400c1f57
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r14d
sub ecx, eax
add ecx, 0x1f4
cmp ecx, 5
jg 0x1400c1f10
mov rax, qword [0x14013dbe0]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400c1f98
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140145c60], eax
mov rax, qword [0x14013dbe0]
mov ecx, dword [rax + 0x74]
je 0x1400c1f8e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c1f98
mov edx, 1
call fcn.140001b10
cmp byte [rbx], 0
movzx edx, r15b
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
je 0x1400c1fc0
xor r9d, r9d
mov r8, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400c1fe0
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400c21f0
Function at 0x1400c21f0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11cf0
call fcn.1400f31b0
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x1400c23ce
xor edx, edx
call fcn.1400c23f0
test eax, eax
jne 0x1400c2230
mov rbx, qword [rsp + 0x11d10]
add rsp, 0x11cf0
pop rdi
ret
mov qword [rsp + 0x11d00], rbp
mov qword [rsp + 0x11d08], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x14013dbe0]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.1400c24b0
mov ecx, dword [0x140144c04]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x30], ebp
lea rax, [0x140103554]
mov dword [rsp + 0x188c], ebp
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [0x140144c04], ecx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1890], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x18c0], xmm1
test dil, dil
je 0x1400c22b2
mov byte [rsp + 0x1889], bpl
test ecx, ecx
je 0x1400c22ba
mov byte [rsp + 0x1889], 1
mov rax, qword [0x140144c10]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x18a0], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x18a8], ecx
lea rcx, [0x1400c25b0]
mov qword [rsp + 0x18b0], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1890]
test rax, rax
je 0x1400c2392
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400c0b80]
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x1400c233c
mov rcx, qword [rsp + 0x1890]
call fcn.1400c1a70
mov qword [rsp + 0x1890], r10
jmp 0x1400c2344
mov r10, qword [rsp + 0x1890]
mov rcx, r10
call fcn.1400bf740
mov rcx, qword [rsp + 0x1890]
call fcn.1400c1a70
mov rcx, qword [0x14013dbe0]
cmp dword [rcx + 0x74], 0xffffffff
jle 0x1400c23be
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140145c60], eax
mov rax, qword [0x14013dbe0]
mov ecx, dword [rax + 0x74]
je 0x1400c2386
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c23be
mov edx, 1
call fcn.140001b10
jmp 0x1400c23be
mov ecx, dword [0x140144c04]
test ecx, ecx
je 0x1400c23be
cmp ecx, 1
mov dword [0x140144c04], ebp
setg cl
test cl, cl
je 0x1400c23be
mov rcx, rsi
call fcn.1400c1a70
xor edx, edx
mov rcx, rbx
call fcn.1400c21f0
mov rbp, qword [rsp + 0x11d00]
mov rsi, qword [rsp + 0x11d08]
mov rbx, qword [rsp + 0x11d10]
mov eax, 1
add rsp, 0x11cf0
pop rdi
ret
Function at 0x1400e4858
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400e46e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e46e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e46e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e46e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e46e3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e46e3
cmp dword [rcx + 0xf8], 0
je 0x1400e46e3
mov ecx, ebx
call fcn.1400e4784
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400e4560
cmp dword [rbp + 0x20], 0
je 0x1400e4730
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e4738
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400e467c
Function at 0x1400e6220
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400f31b0
sub rsp, rax
mov rax, qword [0x14013d020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r14, rdx
mov rbx, rcx
call fcn.1400e9eec
xor esi, esi
movsxd r12, eax
cmp dword [rbx + 0x10], esi
jne 0x1400e6274
mov rax, r14
jmp 0x1400e638e
mov rax, qword [rbx]
mov rdi, r12
sub rax, qword [rbx + 8]
xor r8d, r8d
cqo
sar rdi, 6
sub rax, rdx
mov rbx, r12
sar rax, 1
and ebx, 0x3f
mov r15, rax
shl rbx, 6
lea rax, [0x140000000]
mov ecx, r12d
mov rdx, qword [rax + rdi*8 + 0x141720]
mov rbp, r12
mov rdx, qword [rbx + rdx + 0x30]
call fcn.1400ebb64
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rdi*8 + 0x141720]
cmp r13, qword [rbx + rcx + 0x30]
je 0x1400e62db
or rax, 0xffffffffffffffff
jmp 0x1400e638e
mov rcx, rbp
mov qword [rsp + 0x20], rsi
sar rcx, 6
lea r9, [rsp + 0x30]
and ebp, 0x3f
lea rdx, [rsp + 0x40]
shl rbp, 6
mov r8d, 0x1000
mov rcx, qword [rax + rcx*8 + 0x141720]
mov rcx, qword [rcx + rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e62d2
xor r8d, r8d
mov rdx, r14
mov ecx, r12d
call fcn.1400ebb64
test rax, rax
js 0x1400e62d2
mov eax, dword [rsp + 0x30]
cmp r15, rax
jg 0x1400e62d2
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test r15, r15
je 0x1400e6382
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400e6382
cmp byte [rcx], 0xd
jne 0x1400e6368
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400e6377
cmp byte [rcx + 1], 0xa
jne 0x1400e6377
inc rcx
jmp 0x1400e6377
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x13d320]
add rcx, rax
inc rsi
inc rcx
cmp rsi, r15
jne 0x1400e634a
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400f30a0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400ebb74
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r10, [0x140141720]
mov r14, rdx
mov rax, r15
sar rax, 6
mov rdx, r15
and edx, 0x3f
mov rdi, r15
shl rdx, 6
mov r9, qword [r10 + rax*8]
mov r12, qword [r9 + rdx + 0x28]
test r8, r8
je 0x1400ebbd9
cmp byte [r14], 0xa
jne 0x1400ebbd9
mov rcx, r15
mov rax, r15
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r10 + rax*8]
or byte [rax + rcx + 0x38], 4
jmp 0x1400ebbfa
mov dl, byte [r9 + rdx + 0x38]
mov rcx, rdi
and dl, 0xfb
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r10 + rax*8]
mov byte [rax + rcx + 0x38], dl
lea rbp, [r14 + r8]
mov rsi, r14
mov rbx, r14
cmp r14, rbp
jae 0x1400ebd54
mov r13d, 1
mov al, byte [rsi]
cmp al, 0x1a
je 0x1400ebd14
cmp al, 0xd
je 0x1400ebc2e
mov byte [rbx], al
add rbx, r13
add rsi, r13
jmp 0x1400ebd09
lea rax, [rsi + 1]
cmp rax, rbp
jae 0x1400ebc54
cmp byte [rax], 0xa
jne 0x1400ebc46
mov byte [rbx], 0xa
mov eax, 2
jmp 0x1400ebc4c
mov byte [rbx], ntohs
mov rax, r13
add rsi, rax
jmp 0x1400ebd06
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ebcfc
cmp dword [rsp + 0x78], 0
je 0x1400ebcfc
mov rcx, rdi
lea r10, [0x140141720]
and ecx, 0x3f
mov rax, rdi
sar rax, 6
shl rcx, 6
mov rax, qword [r10 + rax*8]
test byte [rax + rcx + 0x38], 0x48
je 0x1400ebccc
mov dl, byte [rsp + 0x70]
cmp dl, 0xa
je 0x1400ebcd8
mov rcx, rdi
mov byte [rbx], ntohs
mov rax, rdi
and ecx, 0x3f
sar rax, 6
shl rcx, 6
mov rax, qword [r10 + rax*8]
mov byte [rax + rcx + 0x3a], dl
jmp 0x1400ebd06
cmp byte [rsp + 0x70], 0xa
jne 0x1400ebcdd
cmp rbx, r14
jne 0x1400ebcdd
mov byte [rbx], 0xa
jmp 0x1400ebd06
mov r8d, r13d
or rdx, 0xffffffffffffffff
mov ecx, r15d
call fcn.1400ebb6c
cmp byte [rsp + 0x70], 0xa
lea r10, [0x140141720]
je 0x1400ebd09
jmp 0x1400ebd03
lea r10, [0x140141720]
mov byte [rbx], ntohs
add rbx, r13
cmp rsi, rbp
jb 0x1400ebc13
jmp 0x1400ebd54
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r10 + rax*8]
mov dl, byte [rax + rcx + 0x38]
test dl, 0x40
jne 0x1400ebd4d
mov rax, rdi
or dl, 2
sar rax, 6
and edi, 0x3f
shl rdi, 6
mov rax, qword [r10 + rax*8]
mov byte [rax + rdi + 0x38], dl
jmp 0x1400ebd54
mov cl, byte [rsi]
mov byte [rbx], cl
add rbx, r13
sub rbx, r14
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ebd74
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 r11, [0x140141720]
mov r9, r15
mov rax, r15
sar rax, 6
and r9d, 0x3f
shl r9, 6
mov r14, rdx
mov rdi, r15
mov r10d, 0xa
mov rdx, qword [r11 + rax*8]
mov r12, qword [rdx + r9 + 0x28]
test r8, r8
je 0x1400ebde0
cmp word [r14], r10w
jne 0x1400ebde0
mov rcx, r15
mov rax, r15
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
or byte [rax + rcx + 0x38], 4
jmp 0x1400ebe01
mov dl, byte [rdx + r9 + 0x38]
mov rcx, rdi
and dl, 0xfb
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x38], dl
lea rbp, [r14 + r8*2]
mov rsi, r14
mov rbx, r14
cmp r14, rbp
jae 0x1400ebfda
mov ecx, ntohs
lea r13d, [rcx - 0xb]
movzx eax, word [rsi]
cmp ax, 0x1a
je 0x1400ebf98
cmp ax, cx
je 0x1400ebe3d
mov word [rbx], ax
add rbx, r13
add rsi, r13
jmp 0x1400ebf31
lea rax, [rsi + 2]
cmp rax, rbp
jae 0x1400ebe65
cmp word [rax], r10w
jne 0x1400ebe57
mov word [rbx], r10w
mov eax, 4
jmp 0x1400ebe5d
mov word [rbx], cx
mov rax, r13
add rsi, rax
jmp 0x1400ebf7b
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ebf80
cmp dword [rsp + 0x80], 0
je 0x1400ebf80
mov rcx, rdi
lea r11, [0x140141720]
and ecx, 0x3f
mov rax, rdi
sar rax, 6
mov r10d, 0xa
shl rcx, 6
mov rax, qword [r11 + rax*8]
test byte [rax + rcx + 0x38], 0x48
je 0x1400ebf3f
movzx eax, word [rsp + 0x70]
cmp ax, r10w
jne 0x1400ebed7
mov word [rbx], r10w
jmp 0x1400ebf29
mov r8, rdi
mov word [rsp + 0x78], ax
mov r9, rdi
and r8d, 0x3f
sar r9, 6
mov ecx, ntohs
xor edx, edx
mov word [rbx], cx
shl r8, 6
mov rcx, qword [r11 + r9*8]
mov al, byte [rsp + rdx + 0x78]
add rcx, r8
mov byte [rcx + rdx + 0x3a], al
inc rdx
cmp rdx, r13
jl 0x1400ebef8
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x3c], r10b
add rbx, r13
mov ecx, ntohs
cmp rsi, rbp
jb 0x1400ebe1d
jmp 0x1400ebfda
cmp word [rsp + 0x70], r10w
jne 0x1400ebf4c
cmp rbx, r14
je 0x1400ebed1
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400ebb6c
mov r10d, 0xa
lea r11, [0x140141720]
cmp word [rsp + 0x70], r10w
je 0x1400ebf2c
lea ecx, [r10 + 3]
mov word [rbx], cx
add rbx, r13
jmp 0x1400ebf31
mov ecx, ntohs
lea r11, [0x140141720]
mov word [rbx], cx
add rbx, r13
lea r10d, [rcx - 3]
jmp 0x1400ebf31
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov dl, byte [rax + rcx + 0x38]
test dl, 0x40
jne 0x1400ebfd1
mov rax, rdi
or dl, r13b
sar rax, 6
and edi, 0x3f
shl rdi, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rdi + 0x38], dl
jmp 0x1400ebfda
movzx ecx, word [rsi]
mov word [rbx], cx
add rbx, r13
sub rbx, r14
sar rbx, 1
lea rax, [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
Function at 0x1401ac190
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [rsi]
push rbp
mov r11b, 0xbd
jp 0x1401ac1b8
jae 0xdb383460
pop rdi
call 0x112da71e6
int3
push 0xfffffffff548973b
call fcn.14046d04b
push rbx
mov dword [rbx], 0xccc00af2
je 0x1401ac195
sar dword [rbx], 1
test eax, 0x4a80de4
or esi, esp
or eax, 0xf1f076de
or eax, 0x1aa74098
dec byte [rsi]
jg 0x1401ac1c4
invalid
out dx, al
add ch, byte [rax]
dec byte [0xcce50eb1]
or eax, 0x1c9ede3c
mov word [0x15cb9a006], cs
bnd jns 0x1401ac150
jmp 0x1401ac1d8
nop
or eax, 0x49c379
fmul dword [rbx + rbp*8]
adc dl, dh
pop rsi
mov ss, word [rax]
adc eax, 0x47e818f2
dec byte [0x12dbaa828]
or eax, 0x1ac8fa1e
cmp al, 0x84
sub ch, byte [rax - 0xe]
loopne 0x1401ac25b
pop rdi
invalid
cmp ebp, dword [rbx]
cmp eax, 0x65a901c7
je 0x1401ac268
sbb al, 0xcb
pop rcx
invalid
adc dword [rcx + 0x67], 0x2b
invalid
Function at 0x1400047f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
movdqa xmm1, xmmword [0x14004a2b0]
mov r8b, 0x55
movd ecx, xmm1
mov dl, 0x5c
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xa], 0
mov r9b, 0x1e
xor byte [rbp - 0x1e], cl
movdqa xmm0, xmm1
xor byte [rbp - 0x1d], cl
xor r8b, cl
xor byte [rbp - 0x1c], cl
xor dl, cl
xor byte [rbp - 0x1b], cl
xor r9b, cl
xor byte [rbp - 0x1a], cl
mov r10b, 0x53
xor byte [rbp - 0x19], cl
xor r10b, cl
xor byte [rbp - 0x18], cl
mov r11b, 0x5f
xor byte [rbp - 0x17], cl
xor r11b, cl
xor byte [rbp - 0x16], cl
mov bl, 0x5d
xor byte [rbp - 0x15], cl
xor bl, cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
psrldq xmm0, 1
mov byte [rbp - 0xf], r8b
xor r8d, r8d
movd eax, xmm0
mov byte [rbp - 0x10], dl
mov byte [rbp - 0xe], r9b
xor al, cl
mov byte [rbp - 0xd], r10b
lea edx, [r8 + 1]
mov byte [rbp - 0x1f], al
lea rcx, [rbp - 0x1f]
mov byte [rbp - 0xc], r11b
mov byte [rbp - 0xb], bl
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
mov rbx, qword [rsp + 0x50]
test eax, eax
setne al
add rsp, 0x40
pop rbp
ret
Function at 0x1400048b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r13
mov rbp, rsp
sub rsp, 0x78
cmp qword [rdx + 0x18], 0xf
mov r13, rdx
mov rcx, rdx
jbe 0x1400048cf
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400048eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x20], eax
cmp eax, 0xb7
jne 0x1400048f3
add rsp, 0x78
pop r13
pop rbp
ret
movdqa xmm1, xmmword [0x14004a200]
mov r9b, 0x66
movd r8d, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rsp + 0xa0], rbx
mov cl, 0x70
xor byte [rbp - 0x46], r8b
xor cl, r8b
xor byte [rbp - 0x45], r8b
mov dl, 0x7d
xor byte [rbp - 0x44], r8b
xor dl, r8b
xor byte [rbp - 0x43], r8b
mov r10b, 0x71
xor byte [rbp - 0x42], r8b
mov r11b, 0x77
xor byte [rbp - 0x41], r8b
xor r10b, r8b
xor byte [rbp - 0x40], r8b
xor r11b, r8b
xor byte [rbp - 0x3f], r8b
mov bl, 0x60
xor byte [rbp - 0x3e], r8b
xor bl, r8b
xor byte [rbp - 0x3d], r8b
xor byte [rbp - 0x3c], r8b
xor byte [rbp - 0x3b], r8b
xor byte [rbp - 0x3a], r8b
xor byte [rbp - 0x39], r8b
mov qword [rsp + 0x70], rsi
movzx esi, r9b
mov qword [rsp + 0x68], rdi
xor r9b, r8b
mov qword [rsp + 0x60], r12
xor sil, r8b
mov qword [rsp + 0x58], r14
mov dil, 0x7b
psrldq xmm0, 1
xor dil, r8b
movd eax, xmm0
mov r14b, 0x6d
mov qword [rsp + 0x50], r15
xor r14b, r8b
mov byte [rbp - 0x38], cl
mov r15b, 0x2e
xor al, r8b
mov byte [rbp - 0x37], dl
xor r15b, r8b
mov byte [rbp - 0x47], al
mov r12b, 0x34
mov byte [rbp - 0x36], r9b
xor r12b, r8b
mov byte [rbp - 0x35], r10b
lea rdx, [rbp - 0x47]
mov byte [rbp - 0x34], r11b
lea rcx, [0x140053670]
mov byte [rbp - 0x33], bl
mov byte [rbp - 0x32], dil
mov byte [rbp - 0x31], sil
mov byte [rbp - 0x30], r14b
mov byte [rbp - 0x2f], r15b
mov byte [rbp - 0x2e], r12b
mov byte [rbp - 0x2d], 0
call fcn.14000f790
mov rcx, rax
mov rdx, r13
call fcn.140001cd0
movdqa xmm1, xmmword [str.rRZ7]
movd edx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x58], xmm1
xor byte [rbp - 0x56], dl
xor byte [rbp - 0x55], dl
xor byte [rbp - 0x54], dl
xor byte [rbp - 0x53], dl
psrldq xmm0, 1
movd ecx, xmm0
xor cl, dl
xor byte [rbp - 0x52], dl
mov byte [rbp - 0x57], cl
xor byte [rbp - 0x51], dl
mov rcx, rax
xor byte [rbp - 0x50], dl
xor byte [rbp - 0x4f], dl
xor byte [rbp - 0x4e], dl
xor byte [rbp - 0x4d], dl
xor byte [rbp - 0x4c], dl
xor byte [rbp - 0x4b], dl
xor byte [rbp - 0x4a], dl
lea rdx, [rbp - 0x57]
mov byte [rbp - 0x49], 0
call fcn.14000f790
mov edx, dword [rbp + 0x20]
mov rcx, rax
call fcn.14000c8b0
xor edx, edx
mov byte [rbp + 0x18], 9
mov cl, 0x20
mov byte [rbp + 0x1a], dl
xor cl, 9
lea rdx, [rbp + 0x19]
mov byte [rbp + 0x19], cl
mov rcx, rax
call fcn.14000f790
mov rcx, rax
call fcn.14000ccb0
lea rcx, str.pause
call fcn.14001c928
mov ecx, 1
call fcn.14001d1fc
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xa0]
int3