joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c0870
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x280], rax
movzx ebp, dl
xor r13d, r13d
mov esi, ebp
mov dword [rsp + 0x40], 0x18
xor esi, 1
mov qword [rsp + 0x48], r13
shl esi, 0x14
mov r15d, ebp
shl r15d, 0x14
mov r14, rcx
mov dword [rsp + 0x50], r8d
mov edi, 0x3e8
call fcn.1400dea40
xor edx, edx
mov r8d, 1
mov rcx, rax
call fcn.1400de870
mov rbx, rax
call fcn.140040430
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8, [0x140217290]
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.1400c18a0
lea rax, [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x38], rax
lea edx, [rbp + 0x40000001]
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x28], esi
mov r8d, 8
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c0971
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400c095c
add edi, 0xffffffff
jne 0x1400c08c8
lea rdx, [0x1402172b8]
mov ecx, eax
call fcn.14001ff70
xor al, al
jmp 0x1400c0a88
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x50], 1
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x80]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c09d9
lea rcx, [0x1402172e0]
call fcn.1400201c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400c0a88
xorps xmm0, xmm0
mov qword [rsp + 0x58], r13
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400c0a64
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1400c0a64
cmp eax, 0x3e5
je 0x1400c0a54
lea rdx, [0x140217300]
mov ecx, eax
call fcn.14001ff70
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400c0a88
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bpl, bpl
je 0x1400c0a79
mov rax, rbx
jmp 0x1400c0a7f
mov rax, rdi
mov rdi, rbx
mov qword [r14], rdi
mov qword [r14 + 8], rax
mov al, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14016c210
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c1040
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
test rax, rax
je 0x1400c1086
mov edx, dword [rax + 0x10]
lea rcx, [0x1400c0ac0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x1b0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov ecx, dword [rcx + 0x14]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
add rsp, 0x20
pop rbx
ret
Function at 0x1400c5eb0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
cmp dword [0x1419a1468], 0xffffffff
jne 0x1400c5f1a
mov qword [rsp + 0x20], rbx
xor eax, eax
mov ebx, 1
lock cmpxchg qword [0x1419a4b40], rbx
je 0x1400c5ee0
lea rcx, [0x1419a4b40]
call fcn.140064a80
cmp dword [0x1419a1468], 0xffffffff
jne 0x1400c5ef5
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1419a1468], eax
mov rax, rbx
xor edx, edx
mov rbx, qword [rsp + 0x20]
lock cmpxchg qword [0x1419a4b40], rdx
je 0x1400c5f1a
lea rcx, [0x1419a4b40]
add rsp, 0x28
jmp fcn.140064f80
add rsp, 0x28
ret
Function at 0x1400c64e0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov rbx, qword [rcx + 8]
lea rsi, [rbx + 0x78]
xor bpl, bpl
mov r12d, 1
test rsi, rsi
je 0x1400c6524
xor eax, eax
lock cmpxchg qword [rsi], r12
je 0x1400c6520
mov rcx, rsi
call fcn.140064a80
movzx ebp, r12b
xor r15d, r15d
cmp byte [rbx + 0x84], r15b
je 0x1400c6628
cmp byte [rbx + 0xa8], r15b
jne 0x1400c6549
mov byte [rbx + 0xa9], r12b
jmp 0x1400c6628
xor edx, edx
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rdi, qword [r14 + 8]
mov byte [rdi + 0x86], 1
mov dword [rdi + 0x94], 7
mov rbx, qword [rdi + 0xb0]
movzx edx, byte [rsp + 0x50]
mov rcx, r14
call fcn.140048dc0
mov r8, qword [rdi + 0xb0]
mov edx, 0x34
xor ecx, ecx
call fcn.140043490
lea rcx, [rbx + 0x78]
call fcn.1400c5310
mov rax, qword [rdi + 0xb0]
mov rbx, qword [rax + 0x70]
test rbx, rbx
je 0x1400c65eb
mov qword [rsp + 0x50], r15
mov rdx, qword [rdi + 0xb0]
mov rax, qword [rsp + 0x50]
nop
nop
mov qword [rdx + 0x70], rax
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1400a0d2d.0]
mov rax, qword [rbx]
mov edx, r12d
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a0d2d.0]
mov word [rdi + 0x84], 0x100
mov byte [rdi + 0x86], 0
mov eax, r15d
xchg byte [rdi + 0x87], al
cmp dword [rdi + 0xa4], 0
jne 0x1400c6621
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x98], r15
mov dword [rdi + 0xa0], r15d
test bpl, bpl
je 0x1400c663f
mov rax, r12
lock cmpxchg qword [rsi], r15
je 0x1400c663f
mov rcx, rsi
call fcn.140064f80
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400cd4e0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rdx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea rax, [0x140212b28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rbp - 0x80], 0x40
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], 0x40
mov r9d, 0x40
lea r8, [rbp - 0x68]
mov edx, ebx
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400cd60b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x50
jne 0x1400cd5af
test eax, eax
jne 0x1400cd5af
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400a3810
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x1400cd595
call fcn.140174a74
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400cd6f5
mov rbx, 0xffffffffffffffff
jmp 0x1400cd6d7
cmp eax, 0x7a
je 0x1400cd5d5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rdi + 0x18], rax
jmp 0x1400cd582
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400cd5b4
movsxd rdx, eax
lea rcx, [rbp - 0x80]
call fcn.1400cea00
mov r9d, dword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
mov edx, ebx
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400cd5b4
mov rdx, qword [rbp - 0x70]
cmp ebx, 0x50
jne 0x1400cd61e
cmp word [rdx], 0
je 0x1400cd574
mov rbx, 0xffffffffffffffff
mov r8, rbx
lea rcx, [rsp + 0x60]
call fcn.140017720
nop
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400cd682
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400cd682
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.140030bb0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400a3810
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400cd6ba
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400cd6ba
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.140030bb0
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x1400cd6cd
call fcn.140174a74
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400cd6f5
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400cd6f5
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x20]
call fcn.140030bb0
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14016c210
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400ced20
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 4]
mov rbx, rcx
test eax, eax
jne 0x1400cedba
mov ecx, dword [rcx]
lea r8, [rsp + 0x20]
mov r9d, 8
mov edx, 0x1014
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400cedb2
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
je 0x1400cedb2
cmp ax, 0x30
jne 0x1400ced73
mov eax, 1
jmp 0x1400cedb7
cmp ax, 0x32
jne 0x1400ced80
mov eax, 2
jmp 0x1400cedb7
mov ecx, dword [rbx]
lea r8, [rsp + 0x30]
mov r9d, 0xb
mov edx, 0x13
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400cedb2
movzx eax, word [rsp + 0x20]
movzx ecx, word [rsp + 0x30]
add ecx, 2
cmp eax, ecx
mov eax, 2
je 0x1400cedb7
mov eax, 3
mov dword [rbx + 4], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14016c210
add rsp, 0x50
pop rbx
ret
Function at 0x1400d0b20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov eax, edx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], 1
mov r9d, 0xff
lea r8, [rsp + 0x50]
mov edx, 0x5a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400d0c10
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140017720
nop
mov rsi, qword [rax]
mov rbp, qword [rax + 8]
mov r14, qword [rax + 0x10]
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400d0be4
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0be4
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.140030bb0
mov rcx, qword [rbx]
mov qword [rbx], rsi
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], r14
test rcx, rcx
je 0x1400d0c10
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400d0c10
mov edx, 2
mov r8d, 8
call fcn.140030bb0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14016c210
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d1e40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
cmp qword [rcx + 0x18], rsi
jne 0x1400d1f23
mov r9d, 0xb
lea r8, [rsp + 0x48]
mov edx, 0x13
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400d1f23
mov r8d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140017720
nop
mov rbp, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400d1ef5
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d1ef5
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.140030bb0
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
test rcx, rcx
je 0x1400d1f23
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400d1f23
mov edx, 2
mov r8d, 8
call fcn.140030bb0
lea rdx, [rbx + 8]
mov rcx, rdi
call fcn.1400a3810
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016c210
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400da410
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov qword [rsp + 0x50], r12
lea rsi, [r8 - 1]
sar rsi, 1
mov r15, r9
mov qword [rsp + 0x58], r13
mov r12, r8
mov r14, rdx
mov rdi, rcx
mov rbp, rdx
mov r9, rdx
cmp rdx, rsi
jge 0x1400da4bc
nop dword [rax + rax]
lea rbx, [r9 + r9]
lea rax, [rbx + 2]
lea rax, [rax + rax*2]
lea rcx, [rdi + rax*8]
lea rdx, [rcx - 0x18]
call fcn.140097580
movzx r9d, al
xor r9, 1
inc r9
add r9, rbx
lea rax, [r9 + r9*2]
lea r8, [rdi + rax*8]
lea rax, [r14 + r14*2]
mov r14, r9
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [r8]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [r8], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r8 + 0x10]
mov qword [r8 + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 + 0x10], rcx
cmp r9, rsi
jl 0x1400da450
cmp r9, rsi
jne 0x1400da50b
test r12b, 1
jne 0x1400da50b
lea rax, [r12 + r12*2]
lea r8, [rdi + rax*8]
lea rax, [r14 + r14*2]
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [r8 - 0x18]
lea r14, [r12 - 1]
mov qword [rdx], rax
mov rax, qword [r8 - 0x10]
mov qword [r8 - 0x18], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r8 - 8]
mov qword [r8 - 0x10], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 - 8], rcx
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
cmp rbp, r14
jge 0x1400da57b
nop word [rax + rax]
lea rsi, [r14 - 1]
mov rdx, r15
sar rsi, 1
lea rax, [rsi + rsi*2]
lea rbx, [rdi + rax*8]
mov rcx, rbx
call fcn.140097580
test al, al
je 0x1400da57b
lea rax, [r14 + r14*2]
mov r14, rsi
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [rbx]
mov qword [rdx], rax
mov rax, qword [rbx + 8]
mov qword [rbx], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rbx + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [rbx + 0x10], rcx
cmp rbp, rsi
jl 0x1400da520
mov rbx, qword [rsp + 0x60]
lea rax, [r14 + r14*2]
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [r15]
mov qword [rdx], rax
mov rax, qword [r15 + 8]
mov qword [r15], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r15 + 0x10]
mov qword [r15 + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r15 + 0x10], rcx
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400de6e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400de741
lea r8, [r9 + 8]
nop dword [rax + rax]
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 r10, 1
jne 0x1400de700
mov ecx, dword [r9]
jmp 0x1400de82b
cmp ecx, 0x4e0
jb 0x1400de82b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
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 0x1400de760
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 0x1400de7b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
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 [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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, 8
ret

Function at 0x1400de980
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
sub rdi, rdx
sar rdi, 2
xor ebp, ebp
mov esi, ebp
mov rax, qword [0x1419a6180]
bt rax, 0xb
jae 0x1400de9bf
mov rdx, rdi
mov rcx, r14
call fcn.1400df190
mov rsi, rax
cmp rsi, rdi
je 0x1400dea29
mov rbx, rdi
sub rbx, rsi
shl rbx, 2
lea rcx, [r14 + rsi*4]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
cmovne rbp, rbx
mov rax, rbp
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rsi, rax
cmp rsi, rdi
je 0x1400dea29
lea rbx, [r14 + rsi*4]
sub rdi, rsi
lea rdi, [rbx + rdi*4]
cmp rbx, rdi
je 0x1400dea29
nop word [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.14017d758
mov eax, dword [rsp + 0x48]
mov dword [rbx], eax
add rbx, 4
cmp rbx, rdi
jne 0x1400dea10
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400dead0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov ebx, 0x10
nop dword [rax]
nop word [rax + rax]
mov edx, 0x10
lea rcx, [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
test al, al
jne 0x1400deb45
sub ebx, 1
jne 0x1400deb00
lea rbx, [rsp + 0x38]
nop
lea rcx, [rsp + 0x20]
call fcn.14017d758
mov eax, dword [rsp + 0x20]
mov dword [rbx], eax
add rbx, 4
lea rax, [rsp + 0x48]
cmp rbx, rax
jne 0x1400deb20
movups xmm0, xmmword [rsp + 0x38]
jmp 0x1400deb4a
movups xmm0, xmmword [rsp + 0x28]
mov rax, rdi
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14016c210
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x9f0
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x9e0], rax
mov dword [rcx + 0x1388], 0xffffffff
mov edx, 1
mov dword [rcx], edx
mov r8d, 0x1571
mov dword [rcx + 8], r8d
mov rbx, rcx
add rcx, 0xc
nop dword [rax]
mov eax, r8d
lea rcx, [rcx + 4]
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, edx
inc rdx
mov dword [rcx - 4], r8d
cmp rdx, 0x270
jb 0x1400debb0
lea r8, [rsp + 0x9e0]
mov dword [rbx + 4], 0x270
lea rdx, [rsp + 0x20]
lea rcx, [0x1419a4d8c]
call fcn.1400de980
xor r8d, r8d
mov edx, r8d
nop dword [rax]
mov ecx, dword [rsp + rdx*4 + 0x20]
mov eax, ecx
or eax, r8d
mov dword [rbx + rdx*4 + 8], ecx
shr ecx, 0x1f
test rdx, rdx
cmovne ecx, eax
inc rdx
mov r8d, ecx
cmp rdx, 0x270
jb 0x1400dec00
test ecx, ecx
jne 0x1400dec30
mov dword [rbx + 8], 0x80000000
mov dword [rbx + 4], 0x270
mov rcx, qword [rsp + 0x9e0]
xor rcx, rsp
call fcn.14016c210
add rsp, 0x9f0
pop rbx
ret
Function at 0x1400e2b20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rdx
mov qword [rsp + 0x78], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov word [rsp + 0x20], di
mov r9d, 3
lea r8, [rsp + 0x80]
mov edx, 4
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
jne 0x1400e2bb2
mov qword [rsp + 0x40], 3
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14005b3c0
movzx esi, ax
jmp 0x1400e2bb4
mov esi, edi
lea rcx, [rsp + 0x60]
call fcn.1400e2e80
nop
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov dword [rsp + 0x30], 1
mov edi, 0xffffffff
test si, si
je 0x1400e2c48
movzx r8d, si
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400ddb50
mov rdx, rax
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbx + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400e2c48
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2c48
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.140030bb0
cmp qword [rbx + 0x10], 0
jne 0x1400e2cb8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400dd9e0
mov rdx, rax
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbx + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400e2cb8
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2cb8
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400e2ce0
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1400e2ce0
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.140030bb0
mov rax, rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14016c210
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret