joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14026610c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14025a134
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14025a134
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14026625c
cmp rax, 0xffffffffffffffff
je 0x14026625c
xor edi, edi
test rbp, rbp
jle 0x140266207
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140254ba4
mov rbx, rax
test rax, rax
jne 0x140266194
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1402661fd
mov edx, 0x8000
mov ecx, r14d
call fcn.140250024
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140257eb4
cmp eax, 0xffffffff
je 0x1402661dd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1402661a4
mov edx, r15d
mov ecx, r14d
call fcn.140250024
jmp 0x1402661fd
cmp byte [rsi + 0x38], dil
je 0x1402661f4
cmp dword [rsi + 0x34], 5
jne 0x1402661f4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1402661fd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140251fec
jmp 0x140266270
jns 0x140266270
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14025a134
cmp rax, 0xffffffffffffffff
jne 0x140266228
cmp byte [rsi + 0x30], dil
je 0x140266270
mov edi, dword [rsi + 0x2c]
jmp 0x140266270
mov ecx, r14d
call fcn.14025ef84
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140266270
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140266270
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140266269
mov eax, dword [rsi + 0x2c]
jmp 0x14026626e
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14025a134
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400004e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
je 0x140000507
cmp qword [rsp + 0x98], 0
jne 0x14000050e
xor eax, eax
jmp 0x140000640
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140000558
xor eax, eax
jmp 0x140000640
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x1400005d4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x20], eax
jae 0x14000063e
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call fcn.1400009b0
test eax, eax
jne 0x14000063c
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
jmp 0x140000640
jmp 0x1400005ca
xor eax, eax
add rsp, 0x88
ret
Function at 0x140033160
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov rbp, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x140033198
mov rbp, qword [rcx]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140033226
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140033226
mov esi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rsi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x1a86f4af
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140033221
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140033200
cmp r8d, 0xc412d2d9
je 0x14003322b
test r9d, r9d
jne 0x1400331e0
mov rax, qword [rax]
jmp 0x1400331b0
mov edx, dword [rbx + 0x1c]
add rdx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rdx + rax*4]
add rdx, r10
mov rcx, rbp
call rdx
cmp eax, 0xffffffff
je 0x140033254
test al, 0x10
jne 0x140033254
mov bl, 1
jmp 0x140033256
xor bl, bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003328c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140033287
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400332c4
mov rcx, r8
call fcn.140040584
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movzx eax, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400401c0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400332d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x20
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
mov rax, rcx
mov r8d, ebx
test rcx, rcx
je 0x14003330c
cmp byte [rcx], bl
je 0x14003330c
inc r8d
lea rax, [rax + 1]
cmp byte [rax], bl
jne 0x140033301
mov rax, rsi
mov ecx, ebx
test rsi, rsi
je 0x14003332a
cmp byte [rdx], cl
je 0x14003332a
nop word [rax + rax]
inc ecx
lea rax, [rax + 1]
cmp byte [rax], bl
jne 0x140033320
add ecx, r8d
mov r14, 0xffffffffffffffff
add ecx, 0x35
cmovb rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rdi
mov rbp, rax
test rdi, rdi
je 0x14003335b
cmp byte [rdi], bl
je 0x14003335b
inc ebx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140033350
add ebx, 0xe
mov ecx, ebx
cmovb rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rsi
lea rdx, str.sc_create__s_binpath__s__typekernel_NUL
mov r8, rdi
mov rcx, rbp
mov r14, rax
call fcn.140032780
mov r8, rdi
lea rdx, str.sc_start__s_NUL
mov rcx, r14
call fcn.140032780
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140033427
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140033427
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5b289c1
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140033422
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140033400
cmp r8d, 0x10b213a0
je 0x14003342c
test r9d, r9d
jne 0x1400333e0
mov rcx, qword [rcx]
jmp 0x1400333b0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400334d7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400334d7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xcb4d35d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400334d2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400334b0
cmp r8d, 0xdbfa3f4
je 0x1400334dc
test r9d, r9d
jne 0x140033490
mov rax, qword [rax]
jmp 0x140033460
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r14
add rax, r10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp rax
Function at 0x1400367c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047d88], eax
jle 0x140036a41
lea rcx, [0x140047d88]
call fcn.140040288
cmp dword [0x140047d88], 0xffffffff
jne 0x140036a41
xor eax, eax
mov qword [0x140047f11], rax
mov word [0x140047f19], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x140036850
mov dword [rsp + 0x20], r9d
lea rax, [rsp + 0x28]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140036880
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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 ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047f0c], 5
movzx ecx, byte [0x140047f10]
test cl, cl
jne 0x140036925
add r8d, 5
mov cl, 1
test cl, cl
je 0x14003692b
sub r8d, 5
xor cl, cl
movzx eax, r8b
xor al, 0x70
mov byte [0x140047f11], al
test cl, cl
jne 0x14003693f
add r8d, 5
add r8d, 0xfffffffb
lea ecx, [r8 + 1]
mov eax, 1
cdq
idiv ecx
add dl, r8b
xor dl, 0x61
mov byte [0x140047f12], dl
lea ecx, [r8 + 1]
mov eax, 2
cdq
idiv ecx
add dl, r8b
xor dl, 0x75
mov byte [0x140047f13], dl
lea ecx, [r8 + 1]
mov eax, 3
cdq
idiv ecx
add dl, r8b
xor dl, 0x73
mov byte [0x140047f14], dl
lea ecx, [r8 + 1]
mov eax, 4
cdq
idiv ecx
add dl, r8b
xor dl, 0x65
mov byte [0x140047f15], dl
lea ecx, [r8 + 1]
mov eax, 5
cdq
idiv ecx
add dl, r8b
xor dl, 0x3e
mov byte [0x140047f16], dl
lea ecx, [r8 + 1]
mov eax, 6
cdq
idiv ecx
add dl, r8b
xor dl, 0x4e
mov byte [0x140047f17], dl
lea ecx, [r8 + 1]
mov eax, 7
cdq
idiv ecx
add dl, r8b
xor dl, 0x55
mov byte [0x140047f18], dl
mov r9d, r8d
lea ecx, [r8 + 1]
mov eax, 8
cdq
idiv ecx
add dl, r8b
xor dl, 0x4c
mov byte [0x140047f19], dl
lea r10d, [r9 + 5]
mov byte [0x140047f10], 0
lea r8d, [r10 - 4]
mov eax, 9
cdq
idiv r8d
add dl, r9b
mov byte [0x140047f1a], dl
mov dword [0x140047f08], r10d
mov byte [0x140047f10], 1
lea rcx, [0x140047d88]
call fcn.14004021c
movups xmm0, xmmword [0x140047f08]
movups xmmword [rbx], xmm0
mov ecx, dword [0x140047f18]
mov dword [rbx + 0x10], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x140036a70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047d84], eax
jle 0x140036cf1
lea rcx, [0x140047d84]
call fcn.140040288
cmp dword [0x140047d84], 0xffffffff
jne 0x140036cf1
xor eax, eax
mov qword [0x140047cd9], rax
mov word [0x140047ce1], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x140036b00
mov dword [rsp + 0x20], r9d
lea rax, [rsp + 0x28]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140036b30
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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 ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047cd4], 5
movzx ecx, byte [0x140047cd8]
test cl, cl
jne 0x140036bd5
add r8d, 5
mov cl, 1
test cl, cl
je 0x140036bdb
sub r8d, 5
xor cl, cl
movzx eax, r8b
xor al, 0x5c
mov byte [0x140047cd9], al
test cl, cl
jne 0x140036bef
add r8d, 5
add r8d, 0xfffffffb
lea ecx, [r8 + 1]
mov eax, 1
cdq
idiv ecx
add dl, r8b
xor dl, 0x5c
mov byte [0x140047cda], dl
lea ecx, [r8 + 1]
mov eax, 2
cdq
idiv ecx
add dl, r8b
xor dl, 0x2e
mov byte [0x140047cdb], dl
lea ecx, [r8 + 1]
mov eax, 3
cdq
idiv ecx
add dl, r8b
xor dl, 0x5c
mov byte [0x140047cdc], dl
lea ecx, [r8 + 1]
mov eax, 4
cdq
idiv ecx
add dl, r8b
xor dl, 0x57
mov byte [0x140047cdd], dl
lea ecx, [r8 + 1]
mov eax, 5
cdq
idiv ecx
add dl, r8b
xor dl, 0x69
mov byte [0x140047cde], dl
lea ecx, [r8 + 1]
mov eax, 6
cdq
idiv ecx
add dl, r8b
xor dl, 0x6e
mov byte [0x140047cdf], dl
lea ecx, [r8 + 1]
mov eax, 7
cdq
idiv ecx
add dl, r8b
xor dl, 0x49
mov byte [0x140047ce0], dl
mov r9d, r8d
lea ecx, [r8 + 1]
mov eax, 8
cdq
idiv ecx
add dl, r8b
xor dl, 0x6f
mov byte [0x140047ce1], dl
lea r10d, [r9 + 5]
mov byte [0x140047cd8], 0
lea r8d, [r10 - 4]
mov eax, 9
cdq
idiv r8d
add dl, r9b
mov byte [0x140047ce2], dl
mov dword [0x140047cd0], r10d
mov byte [0x140047cd8], 1
lea rcx, [0x140047d84]
call fcn.14004021c
movups xmm0, xmmword [0x140047cd0]
movups xmmword [rbx], xmm0
mov ecx, dword [0x140047ce0]
mov dword [rbx + 0x10], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x140036d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047d50], eax
jle 0x140036f24
lea rcx, [0x140047d50]
call fcn.140040288
cmp dword [0x140047d50], 0xffffffff
jne 0x140036f24
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140047da9], xmm0
movups xmmword [0x140047db9], xmm0
mov dword [0x140047dc9], eax
mov byte [0x140047dcd], al
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x140036dc0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140036df0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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 ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047da0], r8d
mov ecx, 5
mov dword [0x140047da4], ecx
movzx eax, byte [0x140047da8]
test al, al
jne 0x140036ea2
add r8d, ecx
mov dword [0x140047da0], r8d
mov al, 1
mov byte [0x140047da8], al
xor r9d, r9d
mov r10d, r9d
lea r11, [0x140000000]
nop
test al, al
je 0x140036ec5
sub r8d, ecx
mov dword [0x140047da0], r8d
mov byte [0x140047da8], 0
lea ecx, [r8 + 1]
mov eax, r9d
cdq
idiv ecx
add dl, r8b
xor dl, byte [r10 + r11 + 0x427a8]
mov byte [r10 + r11 + 0x47da9], dl
mov ecx, dword [0x140047da4]
movzx eax, byte [0x140047da8]
mov r8d, dword [0x140047da0]
test al, al
jne 0x140036f0c
add r8d, ecx
mov dword [0x140047da0], r8d
mov al, 1
mov byte [0x140047da8], al
inc r9d
inc r10
cmp r9d, 0x25
jl 0x140036eb0
lea rcx, [0x140047d50]
call fcn.14004021c
movups xmm0, xmmword [0x140047da0]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x140047db0]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [0x140047dc0]
movups xmmword [rbx + 0x20], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x140037ee0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047ea8], eax
jle 0x140038161
lea rcx, [0x140047ea8]
call fcn.140040288
cmp dword [0x140047ea8], 0xffffffff
jne 0x140038161
xor eax, eax
mov qword [0x140047ec9], rax
mov word [0x140047ed1], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x140037f70
mov dword [rsp + 0x20], r9d
lea rax, [rsp + 0x28]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140037fa0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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 ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047ec4], 5
movzx ecx, byte [0x140047ec8]
test cl, cl
jne 0x140038045
add r8d, 5
mov cl, 1
test cl, cl
je 0x14003804b
sub r8d, 5
xor cl, cl
movzx eax, r8b
xor al, 0x70
mov byte [0x140047ec9], al
test cl, cl
jne 0x14003805f
add r8d, 5
add r8d, 0xfffffffb
lea ecx, [r8 + 1]
mov eax, 1
cdq
idiv ecx
add dl, r8b
xor dl, 0x61
mov byte [0x140047eca], dl
lea ecx, [r8 + 1]
mov eax, 2
cdq
idiv ecx
add dl, r8b
xor dl, 0x75
mov byte [0x140047ecb], dl
lea ecx, [r8 + 1]
mov eax, 3
cdq
idiv ecx
add dl, r8b
xor dl, 0x73
mov byte [0x140047ecc], dl
lea ecx, [r8 + 1]
mov eax, 4
cdq
idiv ecx
add dl, r8b
xor dl, 0x65
mov byte [0x140047ecd], dl
lea ecx, [r8 + 1]
mov eax, 5
cdq
idiv ecx
add dl, r8b
xor dl, 0x3e
mov byte [0x140047ece], dl
lea ecx, [r8 + 1]
mov eax, 6
cdq
idiv ecx
add dl, r8b
xor dl, 0x4e
mov byte [0x140047ecf], dl
lea ecx, [r8 + 1]
mov eax, 7
cdq
idiv ecx
add dl, r8b
xor dl, 0x55
mov byte [0x140047ed0], dl
mov r9d, r8d
lea ecx, [r8 + 1]
mov eax, 8
cdq
idiv ecx
add dl, r8b
xor dl, 0x4c
mov byte [0x140047ed1], dl
lea r10d, [r9 + 5]
mov byte [0x140047ec8], 0
lea r8d, [r10 - 4]
mov eax, 9
cdq
idiv r8d
add dl, r9b
mov byte [0x140047ed2], dl
mov dword [0x140047ec0], r10d
mov byte [0x140047ec8], 1
lea rcx, [0x140047ea8]
call fcn.14004021c
movups xmm0, xmmword [0x140047ec0]
movups xmmword [rbx], xmm0
mov ecx, dword [0x140047ed0]
mov dword [rbx + 0x10], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret