joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007cac4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1802a6070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1802d8560]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x1802d7f00]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1802d8568]
cvtsi2ss xmm0, qword [0x1802d8570]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1802d8568], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov rbx, qword [0x1802d7f00]
mov byte [rdi + 0x14a], al
cmp byte [rbx + 0x3a3], 0
je 0x18007cbea
cvttss2si eax, dword [rbx + 0x130]
mov rcx, qword [0x1802d8560]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rbx + 0x134]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0x130], eax
mov dword [rbx + 0x134], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18007cc62
mov rdx, qword [0x1802d8560]
cmp rax, rdx
je 0x18007cc1f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18007cc62
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18007cc62
mov rcx, qword [0x1802d8560]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18007cc62
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x130], xmm0
movss dword [rbx + 0x134], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18007cc70
or eax, 0xffffffff
jmp 0x18007cc7d
mov rax, qword [0x1802d7f00]
mov eax, dword [rax + 0x1f98]
cmp dword [0x1802d1858], eax
je 0x18007cc90
mov dword [0x1802d1858], eax
call fcn.18007ca68
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180190e30
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18007e2fc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18007e356
mov r11b, 0x23
lea rdi, [0x1801d8bd0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18007e340
cmp rdx, 2
jb 0x18007e340
cmp byte [r10], r11b
jne 0x18007e340
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18007e31e
jmp 0x18007e397
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18007e397
mov r11b, 0x23
lea rdi, [0x1801d8bd0]
cmp dl, r11b
jne 0x18007e37b
cmp byte [r10], r11b
jne 0x18007e37b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18007e369
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18007e4b4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18007e4d5
and qword [r8], 0
lea rdx, [0x1801d8a14]
call fcn.18007e3a8
mov rbx, rax
test rax, rax
je 0x18007e5aa
mov rcx, rax
call fcn.18019e17c
mov esi, eax
cmp eax, 0xffffffff
je 0x18007e5a2
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18019cd94
test eax, eax
jne 0x18007e5a2
mov rcx, rbx
call fcn.18019e17c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18007e5a2
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18019cd94
test eax, eax
jne 0x18007e5a2
cmp rdi, 0xffffffffffffffff
je 0x18007e5a2
mov rax, qword [0x1802d7f00]
test rax, rax
je 0x18007e54f
inc dword [rax + 0x3bc]
mov rdx, qword [0x1802d7ef8]
mov rcx, rdi
call fcn.18007dbfc
mov rsi, rax
test rax, rax
je 0x18007e5a2
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18019d31c
mov rcx, rbx
cmp rax, rdi
je 0x18007e590
call fcn.18019da48
mov rcx, rsi
call fcn.180080a28
jmp 0x18007e5aa
call fcn.18019da48
test r14, r14
je 0x18007e59d
mov qword [r14], rdi
mov rax, rsi
jmp 0x18007e5ac
mov rcx, rbx
call fcn.18019da48
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x180080394
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc0]
mov r9d, 4
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1801d8bd0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x1800803bd
not r8d
mov ecx, r8d
call fcn.180080668
mov eax, r8d
add rsp, 0x28
ret
Function at 0x1800803f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1802a6070]
xor rax, rsp
mov qword [rsp + 0x30], rax
movss xmm0, dword [rdx]
mov r8, rcx
subss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 8]
mov r9d, 0x10
subss xmm1, dword [rcx + 0x10]
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 4]
subss xmm0, dword [rcx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm0, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [r8 + 0xc8]
lea r8, [rsp + 0x20]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1801d8bd0]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x180080470
not edx
mov ecx, edx
call fcn.180080668
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180190e30
add rsp, 0x48
ret
Function at 0x18008833c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802d7f00]
mov r10d, 8
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1801d8bd0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x180088374
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.18008e178
add rsp, 0x28
ret

Function at 0x1800883b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802d7f00]
mov r10d, 4
mov dword [rsp + 0x30], ecx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1801d8bd0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800883eb
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.18008e178
add rsp, 0x28
ret

Function at 0x18008d228
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1802d7f00]
cmp byte [rbx + 0x3048], 0
je 0x18008d2e8
cmp qword [rbx + 0x3050], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3058]
je 0x18008d2da
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x18008d293
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18008eaec
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.18007ee28
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3050]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1802d7ee5]
movsxd r8, eax
mov rax, qword [rbx + 0x3060]
test rax, rax
cmovne rcx, rax
call fcn.18019d038
jmp 0x18008d2e8
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.18007ee28
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x18008d8fc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1802d7f00]
mov rbx, rcx
and dword [rax + 0x3014], 0
test rcx, rcx
je 0x18008d963
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18008d970
lea rdx, [0x1801d8a18]
mov rcx, rbx
mov rdi, rax
call fcn.18007e3a8
mov rbx, rax
test rax, rax
je 0x18008d963
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.18019d038
mov rcx, rbx
call fcn.18019da48
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180189cdc
Capabilities:
Set console window title

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x1802a6070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [0x1802db37d], 0
je 0x180189d05
xor al, al
jmp 0x180189f0f
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802d8078], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802d8068], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802d8058], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x180189d53
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802d8080], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802d8070], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802d8060], rax
mov edx, 3
mov rcx, qword [0x1802d8080]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edx, 0xe1
mov rcx, qword [0x1802d8060]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
movabs rax, 0x72da3dd71e7efd04
mov qword [rsp + 0x20], rax
movabs rax, 0xd7c7e37e90444bbe
mov qword [rsp + 0x28], rax
movabs rax, 0x9f8017904d6576da
mov qword [rsp + 0x30], rax
movabs rax, 0x2f03522f98e73b03
mov qword [rsp + 0x38], rax
movabs rax, 0xd34d4f7346482c70
mov qword [rsp + 0x40], rax
movabs rax, 0x62275c98ec303929
mov qword [rsp + 0x48], rax
movabs rax, 0xad18a666bfb250d1
mov qword [rsp + 0x50], rax
movabs rax, 0x327a55b52d01a15a
mov qword [rsp + 0x58], rax
movabs rax, 0x1db34fb26e0b8e5f
mov qword [rsp + 0x60], rax
movabs rax, 0xa295c323e93022cc
mov qword [rsp + 0x68], rax
movabs rax, 0xbfa037b06d4502a9
mov qword [rsp + 0x70], rax
movabs rax, 0xf777541f7831b2e
mov qword [rsp + 0x78], rax
movabs rax, 0xbb396f1635274013
mov qword [rsp + 0x80], rax
movabs rax, 0xd5432f78f104a40
mov qword [rsp + 0x88], rax
movabs rax, 0x8d75c914d99235bd
mov qword [rsp + 0x90], rax
movabs rax, 0x327a55b52d01a102
mov qword [rsp + 0x98], rax
movdqa xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rsp + 0x30]
pxor xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [0x1802db37d], 1
mov al, 1
jmp 0x180189f0f
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180190e30
add rsp, 0xb8
ret
Function at 0x18018b6f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18018b910
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18018b7f7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18018b754
mov rax, qword [0x1802a6008]
cmp qword [rsp + 0x20], rax
ja 0x18018b754
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18018b716
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180193e70
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18018b783
jmp 0x18018b7f7
cmp dword [rsp + 0x50], 0x10000
jne 0x18018b7da
cmp qword [rsp + 0x48], 0x10000
jb 0x18018b7da
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18018b7c8
mov rax, qword [rsp + 0x28]
jmp 0x18018b7f9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18018b7f2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18018b910
mov qword [rsp + 0x20], rax
jmp 0x18018b716
xor eax, eax
add rsp, 0x68
ret

Function at 0x18018b800
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18018b950
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18018b903
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18018b85b
mov rax, qword [0x1802a6008]
cmp qword [rsp + 0x20], rax
ja 0x18018b85b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18018b81d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180193e70
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18018b88a
jmp 0x18018b903
cmp dword [rsp + 0x50], 0x10000
jne 0x18018b8e1
cmp qword [rsp + 0x48], 0x10000
jb 0x18018b8e1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18018b8cf
mov rax, qword [rsp + 0x28]
jmp 0x18018b905
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18018b8fe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18018b950
mov qword [rsp + 0x20], rax
jmp 0x18018b81d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18018b9a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18018bf30
mov qword [rsp + 0x28], 0
cmp qword [0x1802d6638], 0
jne 0x18018b9e8
cmp qword [0x1802d6630], 0
je 0x18018b9e8
mov rax, qword [0x1802d6630]
mov qword [0x1802d6638], rax
cmp qword [0x1802d6638], 0
je 0x18018ba8e
mov rax, qword [0x1802d6638]
cmp qword [rax + 0x10], 0
je 0x18018ba8e
mov rax, qword [0x1802d6638]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18018ba8e
mov rax, qword [0x1802d6638]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18018ba8e
mov rax, qword [0x1802d6638]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18018ba54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18018ba5b
xor eax, eax
jmp 0x18018bc09
mov rax, qword [0x1802d6638]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180193e70
mov rax, qword [rsp + 0x28]
jmp 0x18018bc09
mov rax, qword [0x1802d6630]
mov qword [0x1802d6638], rax
jmp 0x18018bab0
mov rax, qword [0x1802d6638]
mov rax, qword [rax + 8]
mov qword [0x1802d6638], rax
cmp qword [0x1802d6638], 0
je 0x18018bafd
cmp qword [0x1802d6638], 0
je 0x18018bafb
mov rax, qword [0x1802d6638]
cmp qword [rax + 0x10], 0
je 0x18018bafb
mov rax, qword [0x1802d6638]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18018bafb
mov rax, qword [0x1802d6638]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18018bafb
jmp 0x18018ba2c
jmp 0x18018ba9e
mov rcx, qword [rsp + 0x60]
call fcn.18018ddb0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18018bc10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18018bc07
mov rax, qword [rsp + 0x48]
mov qword [0x1802d6638], rax
mov rax, qword [0x1802d6638]
mov dword [rax], 0x52727464
mov rax, qword [0x1802d6638]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802d6638]
mov rcx, qword [0x1802d6630]
mov qword [rax + 8], rcx
mov rax, qword [0x1802d6638]
mov qword [0x1802d6630], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802d6638]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18018bbb8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18018bbf2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18018bbae
mov rax, qword [0x1802d6638]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18018ba2c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1801adac8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801adae8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18019c1a0
or eax, 0xffffffff
jmp 0x1801adaea
xor eax, eax
add rsp, 0x28
ret
Function at 0x140f3f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f3f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140f3f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3f06f
add dl, dl
jne 0x140f3f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3f0f6
xor eax, eax
add dl, dl
jne 0x140f3f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3f1ad
add dl, dl
jne 0x140f3f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f3f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f3f07e
mov eax, 1
add dl, dl
jne 0x140f3f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3f0fb
sub eax, ebx
mov ebx, 1
jne 0x140f3f14c
mov ecx, 1
add dl, dl
jne 0x140f3f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f3f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f3f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f3f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f3f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3f15d
cmp eax, 0x7d00
jae 0x140f3f19b
cmp eax, 0x500
jb 0x140f3f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f3f07e
cmp eax, 0x7f
ja 0x140f3f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f3f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f3f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140f3f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007d80
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007dbb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007de0
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007df8
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007dae
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3ca]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ec4
test al, 0x10
je 0x140007dc4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007dc4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007e70
jmp 0x140007dc4

Function at 0x14000e530
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015630
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e5d0
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e56c
jmp 0x14000e580
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e580
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e560
jmp 0x14000e5b7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e595
cmp word [rsi + 2], 0x3a
je 0x14000e5b7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e620
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e638
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e65a
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e551
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e5a4
xor eax, eax
jmp 0x14000e5bc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e5b7
mov rcx, rbx
call fcn.140007cc0
nop
nop word cs:[rax + rax]
nop