joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a558
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov rbp, r9
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], r9
mov edi, r8d
lea r9, [rax - 0x18]
xor ebx, ebx
xor r8d, r8d
mov dword [rax - 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x10002a616
cmp eax, 0xea
je 0x10002a618
cmp eax, ebx
je 0x10002a5c1
lea rdx, [0x100010df8]
lea rcx, [0x1000107b8]
mov r9d, eax
mov r8d, 0xc3
call fcn.100029c5c
int3
cmp dword [rsp + 0x30], edi
je 0x10002a60e
mov esi, 0x4004
mov ecx, esi
call fcn.100029738
cmp eax, ebx
je 0x10002a5ee
mov r9d, dword [rsp + 0x30]
lea rdx, [0x100010e30]
mov r8d, edi
movzx ecx, si
call fcn.1000297dc
lea rdx, [0x100010df8]
lea rcx, [0x1000107b8]
mov r9d, 0x65d
mov r8d, 0xca
call fcn.100029c5c
int3
cmp rbp, rbx
setne bl
jmp 0x10002a618
mov dword [rsi], ebx
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x10002a8b4
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp dword [0x1000394d0], 0xffffffff
je 0x10002a986
lea rdx, [0x10003a3e0]
mov ecx, 0x1070
call fcn.100030110
mov rbx, rax
test rax, rax
je 0x10002a937
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rbx + 0x30]
xor edx, edx
mov dword [rbx + 0x10], eax
and qword [rbx + 0x18], 0
and dword [rbx + 0x20], 0
and qword [rbx + 0x28], 0
and dword [rbx + 0x830], 0
and dword [rbx + 0x834], 0
and qword [rbx], 0
and qword [rbx + 8], 0
mov r8d, 0x800
call sub.msvcrt.dll_memset
lea rcx, [rbx + 0x838]
xor edx, edx
mov r8d, 0x832
call sub.msvcrt.dll_memset
jmp 0x10002a939
xor ebx, ebx
test rbx, rbx
je 0x10002a986
lea rcx, [0x10003a630]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [0x10003a628]
lea rax, [0x10003a620]
mov qword [rbx + 8], r11
mov qword [rbx], rax
mov qword [r11], rbx
lea rcx, [0x10003a630]
mov qword [0x10003a628], rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1000394d0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x10002c7d8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov r13d, 0xc100
mov ecx, r13d
call fcn.100029738
test eax, eax
je 0x10002c819
lea rdx, [0x100012d48]
movzx ecx, r13w
call fcn.1000297dc
mov rax, qword [rsi + 0x10]
or edx, 0xffffffff
mov r12, qword [rax + 0x20]
mov rcx, r12
call fcn.10002cee4
test al, al
je 0x10002c9db
mov r14d, 0x4100
mov r15d, 0x8100
mov ecx, r13d
call fcn.100029738
test eax, eax
je 0x10002c85c
lea rdx, [0x100012d80]
movzx ecx, r13w
call fcn.1000297dc
mov rdi, qword [rsi + 0x18]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.10002b9c8
test al, al
je 0x10002c99f
lea rcx, [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11d, dword [0x1000032b0]
lea rcx, [rdi + 0x98]
mov dword [rdi + 0xc0], r11d
mov dword [rdi + 0xd0], r11d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x78]
or edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + 0x38]
mov bpl, al
test al, al
jne 0x10002c8e5
mov ecx, r14d
call fcn.100029738
test eax, eax
je 0x10002c955
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x100011b10]
mov r8d, eax
movzx ecx, r14w
call fcn.1000297dc
jmp 0x10002c955
lea rax, [rsp + 0x60]
lea r8, [0x10002c340]
mov r9, rdi
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbx, rax
setne bpl
test bpl, bpl
jne 0x10002c932
mov ecx, r14d
call fcn.100029738
test eax, eax
je 0x10002c955
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x100011b80]
jmp 0x10002c8d7
mov ecx, r13d
call fcn.100029738
test eax, eax
je 0x10002c94e
lea rdx, [0x100011c00]
movzx ecx, r13w
call fcn.1000297dc
mov qword [rdi + 0x80], rbx
mov al, bpl
mov rcx, rdi
neg al
sbb edx, edx
xor r8d, r8d
and edx, 2
call fcn.10002b9c8
test bpl, bpl
je 0x10002c99f
mov ecx, r13d
call fcn.100029738
test eax, eax
je 0x10002c98b
lea rdx, [0x100012e08]
movzx ecx, r13w
call fcn.1000297dc
mov rcx, qword [rsi + 0x18]
call fcn.10002bcbc
mov rcx, qword [rsi + 0x18]
call fcn.10002baa4
jmp 0x10002c9c8
mov ecx, r15d
call fcn.100029738
test eax, eax
je 0x10002c9bb
lea rdx, [0x100012dc8]
movzx ecx, r15w
call fcn.1000297dc
mov edx, 0x3e8
mov rcx, r12
call fcn.10002cf98
or edx, 0xffffffff
mov rcx, r12
call fcn.10002cee4
test al, al
jne 0x10002c840
mov ecx, r13d
call fcn.100029738
test eax, eax
je 0x10002c9fa
lea rdx, [0x100012e40]
xor r8d, r8d
movzx ecx, r13w
call fcn.1000297dc
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov al, 1
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x10002e014
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x10003a848], rdi
je 0x10002e062
cmp rax, rdi
jne 0x10002e055
mov edi, 1
mov r12d, edi
jmp 0x10002e067
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002e039
mov edi, 1
mov eax, dword [0x10003a840]
cmp eax, edi
jne 0x10002e07d
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x10002e0da
mov eax, dword [0x10003a840]
test eax, eax
jne 0x10002e0d4
mov dword [0x10003a840], edi
lea r13, [0x1000016a0]
lea rsi, [0x100001688]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x10002e0c6
test eax, eax
jne 0x10002e0c6
mov rcx, qword [rsi]
test rcx, rcx
je 0x10002e0bb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x10002e0a4
test eax, eax
je 0x10002e0da
mov eax, 0xff
jmp 0x10002e1ac
mov dword [0x100039e4c], edi
mov eax, dword [0x10003a840]
cmp eax, edi
jne 0x10002e101
lea rdx, [0x100001680]
lea rcx, [0x100001660]
call sub.msvcrt.dll__initterm
mov dword [0x10003a840], 2
test r12d, r12d
jne 0x10002e10f
xor eax, eax
xchg qword [0x10003a848], rax
cmp qword [0x10003a860], 0
je 0x10002e138
lea rcx, [0x10003a860]
call fcn.10002e97c
test eax, eax
je 0x10002e138
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10003a860]
mov r8, qword [0x100039e30]
mov rdx, qword [0x100039e38]
mov ecx, dword [0x100039e28]
call fcn.100016b88
mov dword [0x100039e48], eax
cmp dword [0x100039e2c], 0
jne 0x10002e168
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100039e4c], 0
jne 0x10002e17d
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100039e48]
jmp 0x10002e1ac
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.1000cb000
add rsp, 0x28
jmp 0x10002e014
Function at 0x10002e2d0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100039110]
jne 0x10002e2eb
rol rcx, 0x10
test cx, 0xffff
jne 0x10002e2e7
ret 0
ror rcx, 0x10
jmp 0x10002eb4c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100039f00]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100039ff8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10002ebd1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100039f00]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10002ebf3
mov rax, qword [rsp + 0x88]
mov qword [0x100039ff8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100039f98], rax
mov rax, qword [0x100039ff8]
mov qword [0x100039e70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100039f80], rax
mov dword [0x100039e60], 0xc0000409
mov dword [0x100039e64], 1
mov rax, qword [0x100039110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100039118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001710]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x10002e2f8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10002e363
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x10002e383
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1000016d0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret

Function at 0x10002e9e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10002ea35
cmp rcx, 0xffffffffffffffff
je 0x10002ea35
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10002ea2d
cmp dword [rcx + 0x3c], edx
jl 0x10002ea2d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10002ea2d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10002ea35
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140003440
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x380
mov rax, qword [0x1401700c0]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov edi, 0x104
mov rbx, rdx
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x160]
mov dword [rsp + 0x28], edi
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000351d
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rdi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
jne 0x14000354a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx], 0
and qword [rbx + 8], 0
mov rax, rbx
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14014d660
mov rbx, qword [rsp + 0x390]
add rsp, 0x380
pop rdi
ret
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov qword [rbx], rdi
jmp 0x140003526

Function at 0x140003680
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x1400036d3
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140003698
jmp 0x1400036e0
cmp dword [rcx], 0x4e0
jb 0x1400036e0
call fcn.1400d76c4
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x140003844
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rsp + 0x28]
mov rdi, qword [rsi]
and qword [rsi], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1f4
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x3e8
jbe 0x140003885
xor ecx, ecx
int 0x29
mov rbx, qword [rsp + 0x30]
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140004770
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1401700c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsd xmm0, qword [str._KTP]
lea r11, [rsp + 0x30]
mov al, byte [0x140152258]
mov rbp, r9
mov r14d, dword [rsp + 0xa0]
mov rsi, r8
movsd qword [rsp + 0x30], xmm0
mov rdi, rdx
mov byte [rsp + 0x38], al
mov rbx, rcx
xor r10d, r10d
mov eax, 0x29e4129f
mul r10d
mov eax, r10d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, r10b
inc r10d
sub al, cl
add al, 0x37
xor byte [r11], al
inc r11
cmp r10d, 9
jl 0x1400047be
mov edx, 0x544e304
lea rcx, [rsp + 0x30]
call fcn.1400d7bcc
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x28], rcx
mov r9, rbp
mov rcx, rbx
mov dword [rsp + 0x20], r14d
mov r8, rsi
mov rdx, rdi
call rax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014d660
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d6d0c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, rdx
mov rbx, rcx
mov qword [r11 - 0x40], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x88]
movabs rcx, 0xff00ff00ff00ff00
mov qword [r11 - 0x50], rcx
mov qword [r11 - 0x48], rax
mov r15, qword [rax]
xor r15, rcx
mov qword [r11 - 0x58], r15
mov qword [rax], rbp
mov ecx, dword [0x140174904]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + rcx*8]
mov r12d, 0x1398
mov eax, dword [r12 + rdi]
mov r13d, reloc.WS2_32.dll_recv
test al, 1
jne 0x1400d6dd6
or eax, 1
mov dword [r12 + rdi], eax
mov r14d, r13d
add r14, rdi
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov ecx, eax
or dword [r14 + 0x1384], 0xffffffff
mov dword [r14 + 4], eax
lea edx, [rbp + 1]
lea r8, [r14 + 8]
mov r9d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, r9
jb 0x1400d6db5
mov dword [r14], r9d
mov eax, dword [r12 + rdi]
mov r14d, 0x13a0
test al, 2
jne 0x1400d6df8
or eax, 2
mov dword [r12 + rdi], eax
mov qword [r14 + rdi], rbp
mov qword [r14 + rdi + 8], reloc.WLDAP32.dll_Ordinal_35
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], bpl
mov dword [rsp + 0x20], 1
cmp rsi, 0xf
je 0x1400d6e3a
jbe 0x1400d6e31
mov r8b, bpl
mov rdx, rsi
mov rcx, rbx
call fcn.140001e60
mov qword [rbx + 0x10], rbp
jmp 0x1400d6e3a
test rsi, rsi
je 0x1400d6ed9
add r14, rdi
mov ebp, r13d
add rbp, rdi
dec rsi
mov r13, qword [section..data]
mov rdx, qword [r14 + 8]
mov r12, qword [r14]
mov qword [rsp + 0x28], rbp
sub rdx, r12
cmp rdx, 0xffffffffffffffff
jne 0x1400d6e7f
mov rcx, rbp
call fcn.140003680
mov edi, eax
shl rdi, 0x20
mov rcx, rbp
call fcn.140003680
mov eax, eax
or rdi, rax
jmp 0x1400d6e8f
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000356c
mov rdi, rax
lea rax, [rdi + r12]
mov r9b, byte [rax + r13]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400d6ec1
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400d6eb6
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400d6ed0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140001d30
test rsi, rsi
jne 0x1400d6e43
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rsp + 0x88]
mov qword [rax], r15
mov rax, rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d7390
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
movups xmm0, xmmword [str.fL_fklUSZP7_b__E]
xor edi, edi
lea rsi, [rsp + 0x68]
mov rbx, qword [rsi]
lea r9, [rsp + 0x40]
movups xmmword [rax - 0x28], xmm0
mov r8d, edi
mov qword [rsi], rdi
movsd xmm0, qword [0x140152218]
lea r10d, [rdi + 1]
movsd qword [rax - 0x18], xmm0
mov r11d, 0x29e4129f
mov eax, dword [0x140152220]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140152224]
mov word [rsp + 0x5c], ax
mov ecx, r8d
mov eax, r11d
mul r8d
mov eax, r10d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
sub ax, cx
movzx eax, ax
imul ecx, eax, 0x37
add cx, r8w
add r8d, r10d
xor word [r9], cx
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x1400d73ed
cmp word [0x140152242], di
movups xmm0, xmmword [str.gJVYONv1D]
mov eax, dword [0x140152240]
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x140152238]
movsd qword [rsp + 0x30], xmm0
je 0x1400d7488
mov r8d, edi
lea r9, [rsp + 0x20]
mov ecx, r8d
mov eax, r11d
mul r8d
mov eax, r10d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
sub ax, cx
movzx eax, ax
imul ecx, eax, 0x37
add cx, r8w
add r8d, r10d
xor word [r9], cx
lea r9, [r9 + 2]
cmp r8d, 0xe
jl 0x1400d7455
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_FindWindowW]
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400d74ab
xor ecx, ecx
int 0x29
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x1400d74c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401700c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400d752f
cmp byte [rcx + 0x71], 0
je 0x1400d752f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400d7584
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 0x1400d7549
sub eax, 1
je 0x1400d754d
cmp eax, 2
jne 0x1400d7584
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014d660
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400d757b
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 0x1400d7584
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400d7531
xor al, al
jmp 0x1400d7531
Function at 0x1400d76c4
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov edx, eax
add r10, 4
mov r11d, dword [r10]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400d76db
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r8, r10
mov edx, eax
add r10, 4
mov r11d, dword [r10]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400d7728
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret

Function at 0x1400d7bcc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
mov rdi, rax
movsxd rcx, dword [rax + 0x3c]
mov esi, dword [rcx + rax + 0x88]
add rsi, rax
mov r14d, dword [rsi + 0x1c]
mov r12d, dword [rsi + 0x20]
add r14, rax
mov r15d, dword [rsi + 0x24]
add r12, rax
add r15, rax
cmp dword [rsi + 0x14], ebx
jbe 0x1400d7c36
mov ecx, dword [r12 + rbx*4]
add rcx, rdi
call fcn.1400d7c64
cmp eax, r13d
je 0x1400d7c55
inc ebx
cmp ebx, dword [rsi + 0x14]
jb 0x1400d7c1e
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r15 + rbx*2]
mov eax, dword [r14 + rax*4]
add rax, rdi
jmp 0x1400d7c38