joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030ec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.140030ab0
test eax, eax
je 0x140030ef4
neg edi
sbb eax, eax
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
xor eax, eax
mov dword [rbp + 0x20], 0x1051110
xor edx, edx
mov byte [rbp + 0x24], al
mov r8d, edx
nop word [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [r8 + 0x64]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140030f10
movzx ecx, byte [rbx]
movsx eax, byte [rbp + 0x20]
cmp ecx, eax
jne 0x140031081
xor eax, eax
mov dword [rbp + 0x20], 0x1051110
mov byte [rbp + 0x24], al
mov r8d, edx
nop word [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [r8 + 0x64]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140030f50
movzx ecx, byte [rbx + 1]
movsx eax, byte [rbp + 0x21]
cmp ecx, eax
jne 0x140031081
xor eax, eax
mov dword [rbp + 0x20], 0x1051110
mov byte [rbp + 0x24], al
mov r8d, edx
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [r8 + 0x64]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140030f90
movzx ecx, byte [rbx + 2]
movsx eax, byte [rbp + 0x22]
cmp ecx, eax
jne 0x140031081
xor eax, eax
mov dword [rbp + 0x20], 0x1051110
mov byte [rbp + 0x24], al
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140030fd0
movzx ecx, byte [rbx + 3]
movsx eax, byte [rbp + 0x23]
cmp ecx, eax
jne 0x140031081
movzx ecx, byte [rbx + 5]
movzx eax, byte [rbx + 6]
shl eax, 8
shl ecx, 0x10
add ecx, eax
movzx eax, byte [rbx + 4]
shl eax, 0x18
add ecx, eax
movzx eax, byte [rbx + 7]
add eax, 0xffff0000
add ecx, eax
test ecx, 0xfffeffff
jne 0x140031081
movzx eax, byte [rbx + 9]
movzx ecx, byte [rbx + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb]
shl ecx, 8
add ecx, eax
cmp edi, ecx
jge 0x140031081
lea eax, [rdi*4]
movsxd rdx, eax
add rdx, rbx
movzx ecx, byte [rdx + 0xd]
movzx eax, byte [rdx + 0xc]
shl eax, 8
add eax, ecx
movzx ecx, byte [rdx + 0xe]
shl eax, 8
add eax, ecx
movzx ecx, byte [rdx + 0xf]
shl eax, 8
add eax, ecx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
Function at 0x140047930
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movzx r8d, byte [rcx]
mov r11, rcx
cmp r8b, 0x25
jne 0x140047963
cmp byte [rcx + 1], 0x2e
jne 0x140047963
cmp byte [rcx + 2], 0x30
jne 0x140047963
cmp byte [rcx + 3], 0x66
jne 0x140047963
cmp byte [rcx + 4], 0
jne 0x140047963
lea rax, [rsp + 0x50]
add rsp, 0x48
ret
mov rdx, r11
test r8b, r8b
je 0x140047994
nop dword [rax + rax]
lea rax, [rdx + 1]
cmp r8b, 0x25
jne 0x140047982
cmp byte [rax], r8b
jne 0x140047994
cmp r8b, r8b
cmovne rax, rdx
movzx r8d, byte [rax + 1]
lea rdx, [rax + 1]
test r8b, r8b
jne 0x140047970
cmp byte [rdx], 0x25
mov r9, rdx
jne 0x140047a96
mov r8b, 0x25
lea eax, [r8 - 0x41]
movsx r10d, r8b
cmp al, 0x19
ja 0x1400479c1
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400479ec
sub r8b, 0x61
cmp r8b, 0x19
ja 0x1400479dd
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400479ec
movzx r8d, byte [r9 + 1]
inc r9
test r8b, r8b
jne 0x1400479a3
jmp 0x1400479ef
inc r9
cmp r9, rdx
jbe 0x140047a96
cmp byte [r9 - 1], 0x66
jne 0x140047a96
cmp rdx, r11
jne 0x140047a12
cmp byte [r9], 0
je 0x140047959
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov rbx, qword [0x14024ad10]
mov dword [rsp + 0x30], 0x144c4b41
mov dword [rsp + 0x34], 0x4e0e4c4d
mov word [rsp + 0x38], 0x1f
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [r8 + 0x64]
inc r8d
xor byte [rcx], al
cmp r8d, 9
jb 0x140047a40
sub edx, r11d
mov qword [rsp + 0x28], r9
mov r9d, edx
mov byte [rsp + 0x39], 0
mov edx, 0xc01
mov qword [rsp + 0x20], r11
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0x5650]
call fcn.140019f50
lea rax, [rbx + 0x5650]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, r11
add rsp, 0x48
ret
Function at 0x1400601a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
cmp qword [rdx + 0x18], 8
mov rax, rdx
mov rdi, rcx
jb 0x1400601b8
mov rax, qword [rdx]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140060202
mov qword [rdi + 8], rbx
mov rax, rdi
mov qword [rdi + 0x10], rbx
mov qword [rdi], rbx
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x60], rsi
xor edx, edx
mov qword [rsp + 0x70], r14
mov rcx, rbp
mov qword [rsp + 0x78], r15
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov r9d, 4
mov r8d, 0x3000
mov r15d, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov rcx, rbp
test rax, rax
jne 0x140060253
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
jmp 0x1400602ff
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8d, r15d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbp
test eax, eax
jne 0x140060291
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
jmp 0x1400602ff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, rbx
test r15d, r15d
je 0x1400602e6
cmp r15, 0x1000
jb 0x1400602c9
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140060322
call fcn.14006efd4
test rax, rax
je 0x14006031c
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400602d4
mov rcx, r15
call fcn.14006efd4
mov rbx, rax
mov r8, r15
lea rbp, [rbx + r15]
mov rdx, r14
mov rcx, rbx
call fcn.140071620
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov r14, qword [rsp + 0x70]
mov rax, rdi
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x78]
mov qword [rdi], rbx
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
call fcn.14007ebb4
int3
call fcn.140006a90
int3
Function at 0x140060330
Capabilities:
Contain obfuscated stackstrings
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, rdx
mov r14, rcx
mov dword [rbp - 0x50], 0x740a7429
mov dword [rbp - 0x4c], 0x740e741c
mov dword [rbp - 0x48], 0x74057404
mov dword [rbp - 0x44], 0x7444740b
mov dword [rbp - 0x40], 0x74437459
mov dword [rbp - 0x3c], 0x745e
xor r13d, r13d
mov edx, r13d
mov r8d, 0x7464
nop
movsxd rax, edx
lea rcx, [rbp - 0x50]
lea rcx, [rcx + rax*2]
lea eax, [r8 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x140060390
mov word [rbp - 0x3a], r13w
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x50]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
je 0x140060531
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
je 0x140060528
mov dword [rbp + 0x40], r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov edx, 0x1000
lea rcx, [rbp - 0x38]
call fcn.140062690
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
mov rdi, qword [rbp - 0x38]
sub rcx, rdi
cmp rcx, 0x1000
jbe 0x14006043c
lea rsi, [rdi + 0x1000]
jmp 0x14006047d
jae 0x140060481
mov rax, qword [rbp - 0x28]
sub rax, rdi
cmp rax, 0x1000
jae 0x140060465
mov edx, 0x1000
lea rcx, [rbp - 0x38]
call fcn.140063660
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
jmp 0x140060481
mov ebx, 0x1000
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.140071cd0
add rsi, rbx
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
sub rsi, rdi
lea r9, [rbp + 0x40]
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400604c2
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x1400604c8
lea r9, [rdi + rax]
mov r8, rdi
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x20]
call fcn.1400631a0
cmp dword [rbp + 0x40], 0
jne 0x140060490
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rbp - 0x20]
mov qword [r14], rax
mov rax, qword [rbp - 0x18]
mov qword [r14 + 8], rax
mov rax, qword [rbp - 0x10]
mov qword [r14 + 0x10], rax
test rdi, rdi
je 0x14006053c
mov rdx, qword [rbp - 0x28]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006051e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060560
mov rcx, rdi
call fcn.14006efcc
jmp 0x14006053c
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov rax, r14
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007ebb4
int3
Function at 0x140064520
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
xor eax, eax
mov dword [rbp - 0x29], 0x740d7427
mov word [rbp - 5], ax
xor edi, edi
mov rbx, rcx
mov dword [rbp - 0x25], 0x74087414
mov dword [rbp - 0x21], 0x740c7405
mov r8d, 0x7464
mov dword [rbp - 0x1d], 0x743c7435
mov dword [rbp - 0x19], 0x74097405
mov dword [rbp - 0x15], 0x740a7409
mov dword [rbp - 0x11], 0x74267404
mov dword [rbp - 0xd], 0x741d741b
mov dword [rbp - 9], 0x7444742b
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x29]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x12
jb 0x140064590
lea rax, [rbp - 0x29]
mov qword [rbp + 7], 0x50
mov qword [rbx + 0x90], rax
mov edx, 0x7f00
lea rax, [0x140066820]
mov qword [rbp + 0x17], rdi
xor ecx, ecx
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov rax, qword [rbx + 0x90]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x47], rax
movdqa xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp + 7]
mov qword [rbp + 0x4f], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [rbx]
lea r8, [0x1400b5070]
mov rdx, qword [rbp + 0x47]
mov r9d, 0x90000000
mov qword [rsp + 0x58], rdi
xor ecx, ecx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14006469b
lea rdx, [0x1400c5d00]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x88]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140068840
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov edi, 0x1008
mov ecx, edi
call fcn.14007ec2c
mov rbx, rax
test rax, rax
je 0x1400688d9
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
lea ecx, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rdi, rdi
mov rcx, rbx
mov rdx, rdi
mov esi, eax
call fcn.14008373c
mov rbx, rax
test rax, rax
je 0x1400688d9
cmp esi, 0xc0000004
je 0x140068871
mov edx, dword [rax]
xor ecx, ecx
test rdx, rdx
je 0x1400688cc
add rax, 0xc
cmp dword [rax - 4], 4
jne 0x1400688c0
cmp byte [rax], 7
je 0x140068a23
inc rcx
add rax, 0x18
cmp rcx, rdx
jb 0x1400688b1
mov edx, 8
mov rcx, rbx
call fcn.14006efcc
xor edi, edi
add rdi, qword [0x14024af18]
mov edx, 0x14
lea ecx, [rdx - 0x13]
call fcn.140075908
mov rbx, rax
test rax, rax
je 0x140068926
mov r8d, 0x14
mov qword [rax], rdi
mov rdx, rax
mov dword [rax + 8], 0x10
mov ecx, 0x83064000
call fcn.14006af20
test al, al
je 0x140068926
cmp dword [rbx], 0
jne 0x140068926
movups xmm0, xmmword [rbx + 4]
movups xmmword [rsp + 0x20], xmm0
mov r14, rbp
nop dword [rax]
mov rbp, qword [0x14024af38]
xor edi, edi
mov rsi, qword [rsp + 0x20]
sub rsi, qword [0x14024af18]
add rbp, rsi
lea edx, [rdi + 0xc]
lea ecx, [rdi + 1]
call fcn.140075908
mov rbx, rax
test rax, rax
je 0x140068982
lea r8d, [rdi + 0xc]
mov qword [rax], rbp
mov rdx, rax
mov dword [rax + 8], 8
mov ecx, 0x83064000
call fcn.14006af20
test al, al
je 0x140068982
cmp dword [rbx], edi
jne 0x140068982
mov rdi, qword [rbx + 4]
mov rbx, qword [0x14024af20]
mov edx, 0x10003
mov ecx, 1
add rbx, rsi
call fcn.140075908
test rax, rax
je 0x1400689bd
mov r8d, 0x10003
mov qword [rax], rbx
mov rdx, rax
mov dword [rax + 8], 0xffff
mov ecx, 0x83064000
call fcn.14006af20
mov rbp, qword [0x14024af18]
mov edx, 0x14
add rbp, rsi
lea ecx, [rdx - 0x13]
call fcn.140075908
mov rbx, rax
test rax, rax
je 0x140068a0b
mov r8d, 0x14
mov qword [rax], rbp
mov rdx, rax
mov dword [rax + 8], 0x10
mov ecx, 0x83064000
call fcn.14006af20
test al, al
je 0x140068a0b
cmp dword [rbx], 0
jne 0x140068a0b
movups xmm0, xmmword [rbx + 4]
movups xmmword [rsp + 0x20], xmm0
cmp rdi, r14
je 0x140068a3e
cmp rdi, 4
je 0x140068a1f
test rdi, rdi
jne 0x140068930
xor eax, eax
jmp 0x140068a41
lea rax, [rcx + rcx*2]
mov edx, 8
mov rdi, qword [rbx + rax*8 + 0x10]
mov rcx, rbx
call fcn.14006efcc
jmp 0x1400688db
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140068a60
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x68], r14d
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140068ae9
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x68]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140068aa0
test eax, eax
js 0x140068bb4
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140068bb4
nop dword [rax]
mov ebp, edi
imul rax, rbp, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140068b32
lea rcx, [rsp + 0x20]
call fcn.14000b760
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140068b53
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call fcn.140083b7c
test eax, eax
je 0x140068bda
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140068baa
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068ba5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068c35
call fcn.14006efcc
inc edi
cmp edi, dword [rbx]
jb 0x140068b00
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
imul rax, rbp, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140068c30
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068c35
call fcn.14006efcc
mov rax, rdi
jmp 0x140068bc7
call fcn.14007ebb4
int3
Function at 0x140068c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
xor ebx, ebx
mov dword [rsp + 0x20], 0x200a1136
mov edx, ebx
mov dword [rsp + 0x24], 0xe3c1d0d
mov dword [rsp + 0x28], 0x71e1e
mov word [rsp + 0x2c], 0x1e
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140068c80
lea rcx, str.ntdll
mov byte [rsp + 0x2d], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140068e9f
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x11c
call rax
mov eax, dword [rsp + 0x4c]
cmp eax, 0x4a61
ja 0x140068e2f
je 0x140068e62
cmp eax, 0x3fab
ja 0x140068dcb
je 0x140068d14
cmp eax, 0x1db1
je 0x140068d8e
cmp eax, 0x295a
je 0x140068d51
cmp eax, 0x3839
je 0x140068d51
cmp eax, 0x3ad7
jne 0x140068e5b
mov qword [0x14024af20], 0x450
mov qword [0x14024af38], 0x2e0
mov qword [0x14024af28], 0x3c0
mov qword [0x14024af18], 0x2e8
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rbp
ret
mov qword [0x14024af20], 0x450
mov qword [0x14024af38], 0x2e8
mov qword [0x14024af28], 0x3c0
mov qword [0x14024af18], 0x2f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rbp
ret
mov qword [0x14024af20], 0x2e0
mov qword [0x14024af38], 0x180
mov qword [0x14024af28], 0x270
mov qword [0x14024af18], 0x188
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rbp
ret
mov ecx, eax
sub ecx, 0x42ee
je 0x140068d14
sub ecx, 0x275
je 0x140068d14
sub ecx, 0x257
je 0x140068df2
cmp ecx, 1
jne 0x140068e5b
mov qword [0x14024af20], 0x450
mov qword [0x14024af38], 0x2e8
mov qword [0x14024af28], 0x3c8
mov qword [0x14024af18], 0x2f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rbp
ret
cmp eax, 0x55f0
ja 0x140068e47
je 0x140068e62
mov ecx, eax
sub ecx, 0x4a62
je 0x140068e62
sub ecx, 1
jmp 0x140068e4f
mov ecx, eax
sub ecx, 0x585d
je 0x140068e62
sub ecx, 1
je 0x140068e62
cmp ecx, 1
je 0x140068e62
cmp eax, 0x585f
jbe 0x140068e9f
mov qword [0x14024af20], 0x5a8
mov qword [0x14024af38], 0x440
mov qword [0x14024af28], 0x520
mov qword [0x14024af18], 0x448
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rbp
ret
mov dword [rbp + 0x70], 0xb0f1026
mov edx, ebx
mov word [rbp + 0x74], 0xc
nop
movsxd rax, edx
lea rcx, [rbp + 0x70]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 5
jb 0x140068eb0
movdqa xmm0, xmmword [str._H_G__a]
movdqu xmmword [rsp + 0x20], xmm0
mov byte [rbp + 0x75], bl
mov dword [rsp + 0x30], 0x5705021b
mov dword [rsp + 0x34], 0x17130c1a
mov word [rsp + 0x38], 0x18
nop
movsxd rax, ebx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rbx + 0x64]
inc ebx
xor byte [rcx], al
cmp ebx, 0x19
jb 0x140068ef0
xor r9d, r9d
mov byte [rsp + 0x39], 0
lea r8, [rbp + 0x70]
xor ecx, ecx
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rbp
ret
Function at 0x14006b5c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9, qword [rcx]
mov r10, rcx
mov rdx, qword [0x14024b290]
movabs rdi, 0x22aaaa8a20000
mov r8, rdx
mov rax, rdx
shl rax, 0x11
movabs rbx, 0x71d67fffeda60000
shr r8, 0xc
movabs r11, 0x555555555
and r8, rdi
xor r8, rax
mov rax, rdx
shr rax, 0x1d
and r8, rbx
and rax, r11
xor r8, rax
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rax, 0x25
and ecx, 0x7ffbf40
xor rcx, rax
mov rax, r8
and rax, 0xffffffffffffbf77
shr rcx, 6
shl rax, 0x25
xor rcx, rax
xor rcx, r9
xor rcx, r8
xor qword [r10 + 8], rcx
mov rcx, qword [0x14024b298]
mov rdx, rcx
mov rax, rcx
shl rax, 0x11
shr rdx, 0xc
and rdx, rdi
xor rdx, rax
mov rax, rcx
shr rax, 0x1d
and rdx, rbx
and rax, r11
xor rdx, rax
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rax, 0x25
and ecx, 0x7ffbf40
xor rcx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shr rcx, 6
shl rax, 0x25
xor rcx, rax
lea rax, [r9 + 0x10]
xor rcx, rax
xor rcx, rdx
xor qword [r10 + 0x10], rcx
mov rcx, qword [0x14024b2a0]
mov rdx, rcx
mov rax, rcx
shl rax, 0x11
shr rdx, 0xc
and rdx, rdi
xor rdx, rax
mov rax, rcx
shr rax, 0x1d
and rdx, rbx
and rax, r11
xor rdx, rax
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rax, 0x25
and ecx, 0x7ffbf40
xor rcx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shr rcx, 6
shl rax, 0x25
xor rcx, rax
lea rax, [r9 + 0x20]
xor rcx, rax
xor rcx, qword [r10 + 0x18]
xor rcx, rdx
mov qword [r10 + 0x18], rcx
mov rcx, qword [0x14024b2a8]
mov rdx, rcx
mov rax, rcx
shl rax, 0x11
shr rdx, 0xc
and rdx, rdi
xor rdx, rax
mov rax, rcx
shr rax, 0x1d
and rdx, rbx
and rax, r11
xor rdx, rax
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rax, 0x25
and ecx, 0x7ffbf40
xor rcx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shr rcx, 6
shl rax, 0x25
xor rcx, rax
lea rax, [r9 + 0x30]
xor rcx, rax
xor rcx, qword [r10 + 0x20]
xor rcx, rdx
mov qword [r10 + 0x20], rcx
mov rcx, qword [0x14024b2b0]
mov rdx, rcx
mov rax, rcx
shl rax, 0x11
shr rdx, 0xc
and rdx, rdi
mov rdi, qword [rsp + 0x10]
xor rdx, rax
mov rax, rcx
shr rax, 0x1d
and rdx, rbx
mov rbx, qword [rsp + 8]
and rax, r11
xor rdx, rax
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
and ecx, 0x7ffbf40
shr rax, 0x25
xor rcx, rax
mov rax, rdx
shr rcx, 6
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
lea rax, [r9 + 0x40]
xor rcx, rax
xor rcx, qword [r10 + 0x28]
xor rcx, rdx
mov qword [r10 + 0x28], rcx
ret