joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002d220
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r14, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x34]
test rcx, rcx
je 0x18002d498
mov rax, rdi
shr rax, 0x20
je 0x18002d277
mov rax, rdi
xor edx, edx
div rcx
jmp 0x18002d27d
mov eax, edi
xor edx, edx
div ecx
lea r12, [rcx + rdi]
sub r12, rdx
test rdx, rdx
cmove r12, rdi
test r12, r12
cmove r12, rcx
test rsi, rsi
je 0x18002d335
shl rsi, 4
add rsi, rbx
xor ecx, ecx
lea rdx, [0x18002d4b4]
xor r9d, r9d
xor r11d, r11d
xor r13d, r13d
xor r15d, r15d
xor r10d, r10d
jmp 0x18002d2c9
add rbx, 0x10
cmp rsi, rbx
je 0x18002d2f7
mov edi, dword [rbx]
mov rax, qword [rbx + 8]
movsxd rdi, dword [rdx + rdi*4]
add rdi, rdx
jmp rdi
mov r9b, 1
jmp 0x18002d2c0
mov r11b, 1
jmp 0x18002d2c0
test r11b, 1
sete dl
test r13b, 1
jne 0x18002d355
test r9b, 1
je 0x18002d33f
mov eax, r11d
and al, 1
movzx eax, al
lea r9d, [rax + rax]
add r9d, 2
cmp r10, 1
jne 0x18002d3e2
xor eax, eax
test r11b, 1
sete al
lea esi, [rax + rax]
add esi, 2
jmp 0x18002d3a0
mov dl, 1
xor r10d, r10d
xor r15d, r15d
xor ecx, ecx
test dl, dl
je 0x18002d36d
mov r9d, 1
cmp r10, 1
jne 0x18002d3e2
jmp 0x18002d36d
test r9b, 1
jne 0x18002d37a
test r11b, 1
jne 0x18002d36d
mov r9d, 0x10
cmp r10, 1
jne 0x18002d3e2
mov dword [r14 + 8], 7
jmp 0x18002d47d
mov eax, r11d
and al, 1
movzx r9d, al
shl r9d, 5
add r9d, 0x20
cmp r10, 1
jne 0x18002d3e2
xor eax, eax
test r11b, 1
sete al
lea esi, [rax + rax]
add esi, 0x22
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, r8
xor edx, edx
mov r8d, r9d
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingW
mov rdi, rax
call sub.KERNEL32.dll_GetLastError
test rdi, rdi
je 0x18002d428
cmp eax, 0xb7
jne 0x18002d432
mov dword [r14 + 8], 9
jmp 0x18002d47d
test r15, r15
je 0x18002d3f4
mov dword [r14 + 8], 8
jmp 0x18002d47d
mov rdx, r12
mov r8d, 0x3000
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
je 0x18002d419
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 1
jmp 0x18002d468
call sub.KERNEL32.dll_GetLastError
mov dword [r14 + 8], 0xa
jmp 0x18002d479
mov dword [r14 + 8], 0xb
jmp 0x18002d479
mov r8, r12
shr r8, 0x20
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, esi
mov r9d, r15d
call sub.KERNEL32.dll_MapViewOfFile
test rax, rax
je 0x18002d46c
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0
mov qword [r14 + 0x20], rdi
xor eax, eax
jmp 0x18002d482
call sub.KERNEL32.dll_GetLastError
mov dword [r14 + 8], 0xc
mov dword [r14 + 0xc], eax
mov eax, 1
mov qword [r14], rax
mov rax, r14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zeroVirtualFree_failed:__n
lea r8, [0x1800f8400]
mov edx, 0x39
call fcn.1800eb6e0
ud2
Function at 0x18002df70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov r9, rcx
add qword [rcx + 0x10], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x18002dfb7
mov r15d, 8
sub r15, r11
cmp r15, r8
mov rax, r8
cmovb rax, r15
cmp rax, 3
jbe 0x18002dfbf
mov r14d, dword [rdx]
mov r10d, 4
mov rcx, r10
or rcx, 1
cmp rcx, rax
jb 0x18002dfd1
jmp 0x18002dfe8
xor r15d, r15d
jmp 0x18002e075
xor r10d, r10d
xor r14d, r14d
mov rcx, r10
or rcx, 1
cmp rcx, rax
jae 0x18002dfe8
movzx edi, word [rdx + r10]
lea ecx, [r10*8]
shl rdi, cl
or r14, rdi
or r10, 2
cmp r10, rax
jae 0x18002dfff
movzx eax, byte [rdx + r10]
shl r10d, 3
mov ecx, r10d
shl rax, cl
or r14, rax
lea ecx, [r11*8]
shl r14, cl
or r14, qword [r9 + 0x38]
mov qword [r9 + 0x38], r14
cmp r15, r8
jbe 0x18002e01f
add r11, r8
jmp 0x18002e15a
mov rcx, qword [r9 + 0x30]
mov rdi, qword [r9 + 0x28]
mov rax, qword [r9 + 0x18]
add rax, rdi
rol rdi, 0xd
xor rcx, r14
xor rdi, rax
rol rax, 0x20
mov rsi, qword [r9 + 0x20]
add rsi, rcx
rol rcx, 0x10
xor rcx, rsi
add rax, rcx
rol rcx, 0x15
xor rcx, rax
add rsi, rdi
rol rdi, 0x11
mov qword [r9 + 0x30], rcx
xor rdi, rsi
rol rsi, 0x20
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rsi
xor rax, r14
mov qword [r9 + 0x18], rax
sub r8, r15
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r15, r8
jae 0x18002e0f3
mov rax, qword [r9 + 0x30]
mov rsi, qword [r9 + 0x18]
mov rcx, qword [r9 + 0x20]
mov rdi, qword [r9 + 0x28]
nop dword [rax + rax]
add rsi, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r15]
xor rdi, rsi
rol rsi, 0x20
xor rax, rbx
add rcx, rax
rol rax, 0x10
xor rax, rcx
add rsi, rax
rol rax, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rax, rsi
xor rsi, rbx
add r15, 8
cmp r15, r8
jb 0x18002e0a0
mov qword [r9 + 0x30], rax
mov qword [r9 + 0x18], rsi
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rcx
cmp r11d, 3
jbe 0x18002e111
mov esi, dword [rdx + r15]
mov r8d, 4
mov rax, r8
or rax, 1
cmp rax, r11
jb 0x18002e122
jmp 0x18002e13c
xor r8d, r8d
xor esi, esi
mov rax, r8
or rax, 1
cmp rax, r11
jae 0x18002e13c
lea rax, [r8 + r15]
movzx eax, word [rdx + rax]
lea ecx, [r8*8]
shl rax, cl
or rsi, rax
or r8, 2
cmp r8, r11
jae 0x18002e156
add r15, r8
movzx eax, byte [rdx + r15]
shl r8d, 3
mov ecx, r8d
shl rax, cl
or rsi, rax
mov qword [r9 + 0x38], rsi
mov qword [r9 + 0x40], r11
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180031e40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov r9, rcx
add qword [rcx + 0x10], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x180031e87
mov r15d, 8
sub r15, r11
cmp r15, r8
mov rax, r8
cmovb rax, r15
cmp rax, 3
jbe 0x180031e8f
mov r14d, dword [rdx]
mov r10d, 4
mov rcx, r10
or rcx, 1
cmp rcx, rax
jb 0x180031ea1
jmp 0x180031eb8
xor r15d, r15d
jmp 0x180031f45
xor r10d, r10d
xor r14d, r14d
mov rcx, r10
or rcx, 1
cmp rcx, rax
jae 0x180031eb8
movzx edi, word [rdx + r10]
lea ecx, [r10*8]
shl rdi, cl
or r14, rdi
or r10, 2
cmp r10, rax
jae 0x180031ecf
movzx eax, byte [rdx + r10]
shl r10d, 3
mov ecx, r10d
shl rax, cl
or r14, rax
lea ecx, [r11*8]
shl r14, cl
or r14, qword [r9 + 0x38]
mov qword [r9 + 0x38], r14
cmp r15, r8
jbe 0x180031eef
add r11, r8
jmp 0x18003202a
mov rcx, qword [r9 + 0x30]
mov rdi, qword [r9 + 0x28]
mov rax, qword [r9 + 0x18]
add rax, rdi
rol rdi, 0xd
xor rcx, r14
xor rdi, rax
rol rax, 0x20
mov rsi, qword [r9 + 0x20]
add rsi, rcx
rol rcx, 0x10
xor rcx, rsi
add rax, rcx
rol rcx, 0x15
xor rcx, rax
add rsi, rdi
rol rdi, 0x11
mov qword [r9 + 0x30], rcx
xor rdi, rsi
rol rsi, 0x20
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rsi
xor rax, r14
mov qword [r9 + 0x18], rax
sub r8, r15
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r15, r8
jae 0x180031fc3
mov rax, qword [r9 + 0x30]
mov rsi, qword [r9 + 0x18]
mov rcx, qword [r9 + 0x20]
mov rdi, qword [r9 + 0x28]
nop dword [rax + rax]
add rsi, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r15]
xor rdi, rsi
rol rsi, 0x20
xor rax, rbx
add rcx, rax
rol rax, 0x10
xor rax, rcx
add rsi, rax
rol rax, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rax, rsi
xor rsi, rbx
add r15, 8
cmp r15, r8
jb 0x180031f70
mov qword [r9 + 0x30], rax
mov qword [r9 + 0x18], rsi
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rcx
cmp r11d, 3
jbe 0x180031fe1
mov esi, dword [rdx + r15]
mov r8d, 4
mov rax, r8
or rax, 1
cmp rax, r11
jb 0x180031ff2
jmp 0x18003200c
xor r8d, r8d
xor esi, esi
mov rax, r8
or rax, 1
cmp rax, r11
jae 0x18003200c
lea rax, [r8 + r15]
movzx eax, word [rdx + rax]
lea ecx, [r8*8]
shl rax, cl
or rsi, rax
or r8, 2
cmp r8, r11
jae 0x180032026
add r15, r8
movzx eax, byte [rdx + r15]
shl r8d, 3
mov ecx, r8d
shl rax, cl
or rsi, rax
mov qword [r9 + 0x38], rsi
mov qword [r9 + 0x40], r11
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x18005d0f0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x18005d1ec
mov r14, r9
mov rdi, r8
mov r12, rdx
mov r15d, edi
mov rbp, r8
shr rbp, 8
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
movzx esi, dil
xor rsi, rax
imul rsi, rdx
movzx eax, bpl
xor rax, rsi
imul rax, rdx
xor edx, edx
div rcx
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x20]
mov rsi, qword [rax + rdx*8]
cmp rsi, rcx
jae 0x18005d18f
lea rsi, [rsi + rsi*2]
shl rsi, 3
add rsi, qword [rbx + 0x10]
cmp qword [rsi], r12
jne 0x18005d18f
cmp byte [rsi + 8], r15b
jne 0x18005d18f
cmp byte [rsi + 9], bpl
jne 0x18005d18f
mov rdx, qword [rsi + 0x10]
mov eax, 1
jmp 0x18005d1dd
shr rdi, 0x10
mov qword [rax + rdx*8], rcx
mov rdx, qword [rbx + 0x20]
cmp rdx, qword [rbx + 0x18]
jne 0x18005d1ae
lea rcx, [rbx + 0x10]
call fcn.18002b940
mov rdx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x10]
lea rcx, [rdx + rdx*2]
mov qword [rax + rcx*8], r12
mov byte [rax + rcx*8 + 8], r15b
mov byte [rax + rcx*8 + 9], bpl
mov dword [rax + rcx*8 + 0xa], edi
shr rdi, 0x20
mov word [rax + rcx*8 + 0xe], di
mov qword [rax + rcx*8 + 0x10], r14
add qword [rbx + 0x20], 1
xor eax, eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1800fab00]
lea r8, str.C:Users_runneradmin.cargo_registry_srcgithub.com_1ecc6299db9ec823_regex_1.5.4_srccompile.rs
mov edx, 0x39
call fcn.1800eb6e0
ud2
Function at 0x1800c4e80
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jne 0x1800c4ef4
movaps xmm0, xmmword [rbp - 0x20]
mov eax, dword [0x18019959c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x68], 1
movups xmmword [rax + 0x70], xmm0
lea rax, [rax + 0x70]
add rsp, 0x90
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
mov qword [rbp - 8], rax
mov qword [rbp], 0
lea rax, [rbp - 8]
mov qword [rbp - 0x30], rax
lea rax, [0x1800c7ab0]
mov qword [rbp - 0x28], rax
lea rax, [0x180159a98]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x50], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1800eb7b0
ud2
mov eax, dword [0x18019959c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x68], 1
jne 0x1800d1c67
mov eax, dword [0x18019959c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x70]
ret
jmp 0x1800c4e80
Function at 0x1800c5830
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3e0], 0xfffffffffffffffe
mov qword [rbp + 0x3d8], rcx
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r8d, 0x400
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r13, qword [0x180157c78]
mov qword [rbp + 0x3c0], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
mov esi, 0x200
cmp rsi, 0x201
jae 0x1800c58b5
jmp 0x1800c5900
cmp rsi, r15
mov rsi, r15
ja 0x1800c595d
cmp rsi, 0x201
jb 0x1800c5900
mov r8, rsi
sub r8, rbx
mov rax, qword [rbp + 0x3c8]
sub rax, rbx
cmp rax, r8
jae 0x1800c58e0
lea rcx, [rbp + 0x3c0]
mov rdx, rbx
call fcn.1800ea7a0
mov r13, qword [rbp + 0x3c0]
mov qword [rbp + 0x3d0], rsi
mov rbx, rsi
mov r12, r13
mov r14, rsi
mov rdi, r13
jmp 0x1800c590d
lea rdi, [rbp - 0x58]
mov r12, rdi
mov r14d, 0x200
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x1800c5930
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800c59a8
mov r15d, edi
cmp rsi, r15
jne 0x1800c58a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800c58a0
add rsi, rsi
cmp rsi, 0x201
jae 0x1800c58b5
jmp 0x1800c5900
cmp r14, r15
jb 0x1800c5a08
lea rcx, [rbp + 0x3a8]
mov rdx, r12
mov r8, r15
call fcn.1800cb0f0
mov rax, qword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rbp + 0x3a8]
movups xmmword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3c8]
test rdx, rdx
jne 0x1800c59d9
jmp 0x1800c59f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0
mov eax, 1
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3c8]
test rdx, rdx
je 0x1800c59f1
test r13, r13
je 0x1800c59f1
add rdx, rdx
je 0x1800c59f1
mov r8d, 2
mov rcx, r13
call fcn.180018710
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r15
mov rdx, r14
call fcn.1800eb910
ud2
Function at 0x1800c6860
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov dword [rsp + 0x2c], 0
mov edx, 0xffffffff
cmp r9, rdx
mov r8d, 0xffffffff
cmovb r8d, r9d
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800c68af
mov eax, dword [rsp + 0x2c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1800c68ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x1800c69d0
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x1800c69da
jmp fcn.1800c69f0
mov rcx, rdx
mov rdx, r8
jmp fcn.1800d2670

Function at 0x1800d1c30
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jne 0x1800c4ef4
movaps xmm0, xmmword [rbp - 0x20]
mov eax, dword [0x18019959c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x68], 1
movups xmmword [rax + 0x70], xmm0
lea rax, [rax + 0x70]
add rsp, 0x90
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
mov qword [rbp - 8], rax
mov qword [rbp], 0
lea rax, [rbp - 8]
mov qword [rbp - 0x30], rax
lea rax, [0x1800c7ab0]
mov qword [rbp - 0x28], rax
lea rax, [0x180159a98]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x50], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1800eb7b0
ud2
mov eax, dword [0x18019959c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x68], 1
jne 0x1800d1c67
mov eax, dword [0x18019959c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x70]
ret
jmp 0x1800c4e80

Function at 0x1800d2670
Capabilities:
Create directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1800d3110
cmp dword [rsp + 0x20], 1
jne 0x1800d26aa
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, rsi
shr rdi, 8
shld rsi, rbx, 0x38
jmp 0x1800d270d
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1800d26e2
mov bl, 4
test r15, r15
je 0x1800d26e0
add r15, r15
je 0x1800d26e0
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.180018710
jmp 0x1800d270d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x18
xor edi, edi
test r15, r15
je 0x1800d270b
add r15, r15
je 0x1800d270b
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.180018710
xor ebx, ebx
shld rdi, rsi, 8
shl rsi, 8
movzx eax, bl
or rax, rsi
mov rdx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1800d3790
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov r15, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov ecx, 0x10
mov edx, 8
call fcn.180018700
test rax, rax
je 0x1800d3889
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], r15
add rdi, 0xfffe
and rdi, 0xffffffffffff0001
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1800d38e0]
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800d3818
mov qword [r14 + 8], rax
xor eax, eax
jmp 0x1800d3876
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800d3847
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 8]
call fcn.180018710
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.180018710
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], 0
mov eax, 1
mov qword [r14], rax
mov rax, r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov ecx, 0x10
mov edx, 8
call fcn.1800eb5b0
ud2
Function at 0x1800e2700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x1800e277a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x1800e2770
cmp r10, rax
jb 0x1800e280d
cmp r10, rdx
ja 0x1800e2821
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1800e2772
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x1800e2750
jmp 0x1800e27e2
ja 0x1800e277a
mov rax, r10
cmp r11, r8
jne 0x1800e2720
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1800e27e6
mov rbx, qword [rsp + 0x78]
add rdx, rbx
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
nop
lea rsi, [rbx + 1]
movzx edi, byte [rbx]
test dil, dil
js 0x1800e27c0
mov rbx, rsi
sub ecx, edi
jns 0x1800e27d9
jmp 0x1800e27e8
cmp rsi, rdx
je 0x1800e27f3
and edi, 0x7f
shl edi, 8
movzx ebp, byte [rbx + 1]
add rbx, 2
or edi, ebp
sub ecx, edi
js 0x1800e27e8
xor al, 1
cmp rbx, rdx
jne 0x1800e27a0
jmp 0x1800e27e8
xor eax, eax
jmp 0x1800e27e8
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x18015b1f1]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1800eb6e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.1800eb990
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1800eb910
ud2
Function at 0x180837058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1808371df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180837089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18083706f
add dl, dl
jne 0x180837096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808370f6
xor eax, eax
add dl, dl
jne 0x1808370a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808371ad
add dl, dl
jne 0x1808370b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808370c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808370d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808370dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808370ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18083707e
mov eax, 1
add dl, dl
jne 0x180837106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180837113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808370fb
sub eax, ebx
mov ebx, 1
jne 0x18083714c
mov ecx, 1
add dl, dl
jne 0x18083712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18083713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180837123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18083707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180837168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180837175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18083715d
cmp eax, 0x7d00
jae 0x18083719b
cmp eax, 0x500
jb 0x180837196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18083707e
cmp eax, 0x7f
ja 0x18083719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18083707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808371d2
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 0x18083707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400012d0
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, 0x120
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rbx + 0x20]
mov edx, 9
mov rbp, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
lea rdx, [rsp + 0x50]
lea r8d, [rdi + 0x64]
mov rcx, rbp
mov rsi, rax
mov word [rsp + 0x50], di
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x130]
mov dword [rsp + 0x130], edi
mov dword [rsp + 0x134], edi
call qword [sym.imp.USER32.dll_ClientToScreen]
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400d4180
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
mov edi, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x4c]
mov dword [rsp + 0x30], 4
sub edi, r8d
sub r8d, dword [rsp + 0x130]
sub ebx, r9d
sub r9d, dword [rsp + 0x134]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x44], r9d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x40]
mov r9d, edi
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MoveWindow]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret