joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1418ca780
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x4e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x510], rbx
mov rax, qword [0x1419e93b0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x1400367e8]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140179db0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140179e10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x1418ca830
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140179db0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140179e10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1418ca94c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x140179e00]
call qword [rax]
test eax, eax
js 0x1418ca941
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1418c47d0
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.14188e360
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x28]
mov ebp, eax
mov rcx, qword [rsp + 0x48]
mov edx, dword [rcx]
or ebx, 0xffffffff
test edx, edx
je 0x1418ca8a5
cmp edx, ebx
je 0x1418ca8b3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418ca8b3
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test ebp, ebp
js 0x1418ca936
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x70]
mov r8d, 0x104
lea rdx, [rsp + 0x2c0]
call qword [rax + 0x18]
test eax, eax
jne 0x1418ca936
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x50]
call fcn.1418752c0
mov rdx, rax
mov rcx, qword [rdi]
mov qword [rsp + 0x68], rcx
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1418ca928
cmp eax, 0xffffffff
je 0x1418ca936
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1418ca936
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test sil, sil
je 0x1418ca957
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14196a0d0
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1418cb2d0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
lea rdx, [rsp + 0x50]
call fcn.1418c47d0
nop
mov rcx, rax
call fcn.14188e360
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1418cb329
cmp eax, 0xffffffff
je 0x1418cb337
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1418cb337
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test bl, bl
jne 0x1418cb355
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 2
mov rcx, qword [rsp + 0x50]
mov qword [rdi], rcx
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1418cb370
Capabilities:
Move file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1418c47d0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1418c47d0
mov rdi, rax
mov rcx, rsi
call fcn.14188e360
mov rbx, rax
mov rcx, rdi
call fcn.14188e360
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x1418cb3fe
cmp eax, ebx
je 0x1418cb40d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418cb40d
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1418cb42b
cmp eax, 0xffffffff
je 0x1418cb439
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1418cb439
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test dil, dil
jne 0x1418cb458
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1418cb480
Capabilities:
Move file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1418c47d0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1418c47d0
mov rdi, rax
mov rcx, rsi
call fcn.14188e360
mov rbx, rax
mov rcx, rdi
call fcn.14188e360
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x1418cb514
cmp eax, ebx
je 0x1418cb523
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418cb523
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1418cb541
cmp eax, 0xffffffff
je 0x1418cb54f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1418cb54f
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test dil, dil
jne 0x1418cb56e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x1418cb590
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1418e5b80
nop
mov rcx, rax
call fcn.14188e360
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1418cb5e4
cmp eax, 0xffffffff
je 0x1418cb5f2
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1418cb5f2
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x1418cbd00
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rdi, rdx
mov r14, rcx
xor bpl, bpl
xor esi, esi
call fcn.1418c4540
test al, al
je 0x1418cbdc4
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1418c4140
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.14188d7b0
mov word [rsp + 0x80], ax
movzx ecx, ax
sub ecx, 0x41
mov ebx, 1
shl ebx, cl
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1418cbda4
cmp eax, 0xffffffff
je 0x1418cbdb2
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1418cbdb2
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x1418cbec3
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.1418c47d0
nop
mov dword [rsp + 0x20], 7
lea rax, [0x14004be38]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.14188ce30
test al, al
je 0x1418cbe8e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
mov r9d, ebx
lea r8d, [rbx + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.141888190
mov r8d, eax
test eax, eax
jle 0x1418cbe75
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
inc r8d
mov r9d, ebx
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.141888190
test eax, eax
jle 0x1418cbe75
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x1418cbe96
lea rcx, [rsp + 0x88]
call fcn.1418cc180
test al, al
je 0x1418cbe8e
mov esi, 0x10
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x1418cbeb5
cmp eax, 0xffffffff
je 0x1418cbec3
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1418cbec3
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test bpl, bpl
je 0x1418cbeec
mov dword [rdi + 0x10], esi
test sil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
movzx eax, bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1418cc050
Capabilities:
Enumerate network shares

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
mov r15, rcx
xor r14d, r14d
mov dword [rax + 0x18], r14d
mov dword [rax - 0x48], r14d
mov dword [rax + 0x20], r14d
nop
mov rcx, r15
call fcn.14188e360
mov rcx, rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x50]
mov edx, 1
call sub.NETAPI32.dll_NetShareEnum
mov ebp, eax
test eax, eax
je 0x1418cc0cf
cmp eax, 0xea
jne 0x1418cc149
mov rbx, qword [rsp + 0x50]
mov edi, 1
cmp dword [rsp + 0xa0], edi
jb 0x1418cc149
test rsi, rsi
je 0x1418cc13a
cmp dword [rbx + 8], 0
jne 0x1418cc13a
or r8d, 0xffffffff
mov rdx, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.1418752c0
nop
mov rdx, rax
mov rcx, rsi
call fcn.141879460
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1418cc12c
cmp eax, 0xffffffff
je 0x1418cc13a
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418cc13a
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
add rbx, 0x18
inc edi
cmp edi, dword [rsp + 0xa0]
jbe 0x1418cc0e2
mov rcx, qword [rsp + 0x50]
call sub.NETAPI32.dll_NetApiBufferFree
cmp ebp, 0xea
je 0x1418cc080
test ebp, ebp
sete al
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1418eea40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x1f8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1418eea7a
mov rcx, qword [rcx + 0x1f8]
mov qword [rsp + 0x60], rdx
test rcx, rcx
je 0x1418eeb31
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rdi + 0x40]
movzx ecx, byte [rdi + 0x20]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbx + 0x120]
test eax, eax
setne dil
cmp rcx, 0xffffffffffffffff
je 0x1418eeae6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x120], 0xffffffffffffffff
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x1418eeb04
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x160], 0xffffffffffffffff
mov rcx, qword [rbx + 0x198]
cmp rcx, 0xffffffffffffffff
je 0x1418eeb22
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x198], 0xffffffffffffffff
movzx eax, dil
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.141966100
int3
Function at 0x1418f0100
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1419e93b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r13d, r13d
mov dword [rsp + 0x48], 0x18
test dl, dl
mov qword [rsp + 0x50], r13
mov rsi, rcx
mov dword [rsp + 0x58], r13d
mov ecx, 0x100000
mov r15d, r13d
cmove r15d, ecx
movzx eax, dl
neg al
mov r14d, r13d
movzx ebp, dl
mov edi, 0x3e8
sbb r12d, r12d
and r12d, ecx
test dl, dl
setne r14b
nop dword [rax + rax]
call fcn.14191d4a0
lea r8, [rsp + 0x44]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14191d2d0
mov ebx, dword [rsp + 0x40]
call fcn.1418a5320
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, [0x14009c4c0]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.1418f12f0
mov r9d, 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea edx, [r14 + 0x40000001]
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], r15d
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1418f0214
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1418f0201
add edi, 0xffffffff
jne 0x1418f0170
lea rdx, [0x14009c4e8]
mov ecx, eax
call fcn.14187d550
jmp 0x1418f0294
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x58], 1
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1418f0274
lea rcx, [0x14009c510]
call fcn.14187d6e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1418f0294
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test bpl, bpl
je 0x1418f028d
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x1418f0294
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14196a0d0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1418f62f0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x1418f6326
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
shl edx, 4
add edx, eax
mov eax, edx
shr edx, 0x17
and edx, 0x1e0
xor edx, eax
and edx, 0xfffffff
sub r8, 1
jne 0x1418f6300
mov eax, edx
ret

Function at 0x14191cfc0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov dword [rcx + 0x1384], 0xffffffff
lea r10, [rcx + 8]
mov r8d, 0x1571
mov rbx, rcx
mov dword [rcx + 4], r8d
mov r9d, 1
mov ecx, 0x26f
nop dword [rax]
mov eax, r8d
lea r10, [r10 + 4]
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, r9d
inc r9d
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x14191cff0
mov rcx, rbx
mov dword [rbx], 0x270
call fcn.14191d0a0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov r9d, 0x270
mov rbx, rcx
cmp eax, r9d
jne 0x14191d19b
lea r8, [rcx + 8]
nop word [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 r9, 1
jne 0x14191d160
jmp 0x14191d1a7
cmp eax, 0x4e0
jb 0x14191d1a7
call fcn.14191d1f0
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 0x14191d1f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
lea r9, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x14191d200
lea r9, [r10 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd50]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x14191d250
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov dword [r10], r11d
ret
Function at 0x14191d2d0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14191d36a
mov qword [rsp + 0x30], rbp
mov ebp, 1
mov qword [rsp + 0x38], r14
lea r14, [0x1419ef840]
cmp rcx, r14
jne 0x14191d321
xor eax, eax
lock cmpxchg qword [0x1419ef800], rbp
je 0x14191d321
lea rcx, [0x1419ef800]
call fcn.1418add90
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14191d030
cmp rbx, r14
mov r14, qword [rsp + 0x38]
jne 0x14191d355
xor edx, edx
mov rax, rbp
lock cmpxchg qword [0x1419ef800], rdx
je 0x14191d355
lea rcx, [0x1419ef800]
call fcn.1418ae170
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1419ef80c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14191d390

Function at 0x14191d390
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbp
mov rsi, r8
mov r14, rdx
sub rsi, rdx
sar rsi, 2
xor ebp, ebp
mov ebx, ebp
mov rax, qword [0x1419f0cb0]
test rax, rax
jne 0x14191d3d6
call fcn.14193f350
nop
mov rax, qword [0x1419f0cb0]
bt rax, 0x1e
jae 0x14191d41c
mov rbx, r14
lea rcx, [r14 + rsi*4]
lea rax, [r14 + 8]
cmp rax, rcx
ja 0x14191d405
nop dword [rax]
rdrand rdx
mov qword [rbx], rdx
jae 0x14191d415
mov rbx, rax
add rax, 8
cmp rax, rcx
jbe 0x14191d3f0
cmp rbx, rcx
je 0x14191d415
rdrand eax
mov dword [rbx], eax
jb 0x14191d415
add rbx, 4
sub rbx, r14
sar rbx, 2
cmp rbx, rsi
je 0x14191d47f
mov rdi, rsi
sub rdi, rbx
shl rdi, 2
lea rcx, [r14 + rbx*4]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
test al, al
cmovne rbp, rdi
mov rax, rbp
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rbx, rax
cmp rbx, rsi
je 0x14191d47f
lea rdi, [r14 + rbx*4]
sub rsi, rbx
lea rbx, [rdi + rsi*4]
cmp rdi, rbx
je 0x14191d47f
lea rcx, [rsp + 0x58]
call fcn.141998004
nop
mov eax, dword [rsp + 0x58]
mov dword [rdi], eax
add rdi, 4
cmp rdi, rbx
jne 0x14191d465
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x141923fb0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1419e93b0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 0xf]
lea r8, [rsp + 0x38]
lea edx, [rdi + 0x28]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141924046
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1418752c0
nop
mov rdx, rax
mov rcx, rbx
call fcn.141918790
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x141924036
cmp eax, edi
je 0x141924050
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x141924050
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
jmp 0x141924050
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14196a0d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x141924070
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1419e93b0]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x14192424f
sub r8d, 1
je 0x1419241db
cmp r8d, 1
jne 0x1419242b7
mov dword [rsp + 0x54], 0x40
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x40
lea r9d, [r8 + 0x3f]
lea r8, [rsp + 0x60]
mov edx, 0x1008
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x141924170
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x141924125
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1419242b7
call fcn.14198ca40
jmp 0x1419242b7
mov dword [rsp + 0x20], 0xff
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x20]
cmp dword [rsp + 0x50], 0xff
cmovle rax, rcx
mov r8d, dword [rax]
mov edx, 0xff
lea rcx, [rsp + 0x50]
call fcn.1418cae90
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x58]
mov edx, 0x1008
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141924108
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1418752c0
nop
mov rdx, rax
mov rcx, rdi
call fcn.141918790
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1419241af
cmp eax, ebx
je 0x1419241be
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1419241be
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1419242c5
call fcn.14198ca40
jmp 0x1419242c5
mov r9d, 0xd
lea r8, [rbp - 0x20]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1419242b7
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1418752c0
nop
mov rdx, rax
mov rcx, rdi
call fcn.141918790
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14192423f
cmp eax, ebx
je 0x1419242c5
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1419242c5
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
jmp 0x1419242c5
mov r9d, 9
lea r8, [rbp - 0x20]
lea edx, [r9 + 0xc]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1419242b7
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1418752c0
nop
mov rdx, rax
mov rcx, rdi
call fcn.141918790
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1419242a7
cmp eax, ebx
je 0x1419242c5
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1419242c5
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
jmp 0x1419242c5
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14196a0d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret