joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400030c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000311d
lea rbx, [0x14003d950]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003104
cmp r10, 2
jb 0x140003104
cmp byte [r9], r8b
jne 0x140003104
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400030e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000315f
lea rbx, [0x14003d950]
cmp r8b, 0x23
jne 0x140003143
cmp byte [r9], r8b
jne 0x140003143
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003130
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400032a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400032ba
mov qword [r8], 0
lea rdx, [0x140042d30]
call fcn.140003170
mov rbx, rax
test rax, rax
jne 0x1400032da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400033b1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400033b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400033b1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400033b1
cmp rdi, 0xffffffffffffffff
je 0x1400033b1
mov rax, qword [0x14004a708]
test rax, rax
je 0x14000334e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400033b1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000339e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004a708]
test rax, rax
je 0x140003393
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400033ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400033ac
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400033bc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006d60
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14003d950]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f2c], ebx
jne 0x140006df6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001ab20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006e00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x14003d950]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140013ed0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004a708]
mov edi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x140013f31
cmp byte [rbx + 0x4a86], 0
jne 0x140013f31
movsx r9d, word [rbx + 0x5baa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003040
test dil, 1
je 0x14001405f
jmp 0x140013fba
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5baa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140043918]
mulss xmm1, dword [0x1400438fc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x14004384c]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140003040
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014010
lea r11, [0x14003d950]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013ff3
cmp byte [r8], r9b
jne 0x140013ff3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013fe0
not ecx
call fcn.14000ac10
test rax, rax
je 0x14001405f
cmp byte [rax + 0xb6], 0
je 0x14001405f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5baa]
movsx r9d, word [rbx + 0x5baa]
call fcn.140003040
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d4e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003b180
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019130
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rsi
push rdi
sub rsp, 0x58
mov rdi, qword [0x14004a708]
mov rsi, rcx
cmp byte [rdi + 0x5c88], 0
je 0x14001927e
cmp qword [rdi + 0x5c90], 0
mov qword [r11 - 0x18], rbx
lea rbx, [rdi + 0x5c98]
mov qword [r11 - 0x28], r12
lea r12, [r11 + 0x10]
je 0x140019266
mov ecx, dword [rbx + 4]
mov qword [r11 - 0x30], r13
xor r13d, r13d
test ecx, ecx
jns 0x14001920a
mov qword [r11 - 0x20], rbp
mov eax, ecx
cdq
mov ebp, r13d
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebp, eax
cmp ebp, ecx
jle 0x140019205
inc dword [rdi + 0xf4]
mov qword [r11 - 0x38], r14
movsxd rcx, ebp
mov qword [r11 - 0x40], r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, qword [rbx + 8]
mov r15, rax
test r14, r14
je 0x1400191f4
movsxd r8, dword [rbx]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x14004a708]
test rdx, rdx
je 0x1400191eb
dec dword [rdx + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x30]
mov qword [rbx + 8], r15
mov r15, qword [rsp + 0x28]
mov dword [rbx + 4], ebp
mov rbp, qword [rsp + 0x48]
mov r8, r12
mov dword [rbx], r13d
mov rdx, rsi
mov rcx, rbx
call fcn.140003930
mov eax, dword [rbx]
lea rcx, [0x14004a700]
mov r9, qword [rdi + 0x5c90]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x5ca0]
cmove edx, r13d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
add rsp, 0x58
pop rdi
pop rsi
ret
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140003930
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x1400195c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14004a708]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019623
mov qword [rsp], rbx
lea rbx, [0x14003d950]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019603
cmp byte [r8], r9b
jne 0x140019603
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400195f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c08]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019657
mov r10, qword [r10 + 0x5c10]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001965e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019644
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003ad60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.14003b1a0
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14003b120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14003add0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003b180
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14003be20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003be6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003be6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003be6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003be6a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003be6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003be6c
xor al, al
add rsp, 0x28
ret
Function at 0x180003da0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180003eb3
mov rax, qword [0x18009dad0]
mov qword [0x18009db00], rcx
test rax, rax
jne 0x180003e92
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180003e64
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180003e64
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xfc55ccb1
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x180003e5f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x180003e40
cmp edx, 0xdf7c44c5
je 0x180003ebd
test r8d, r8d
jne 0x180003e20
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x180003e7a
cmp qword [rax + 0x30], 0
jne 0x180003df0
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [0x18009dad0], rax
mov qword [rsp + 0x28], 0
lea r8, [0x1800035b0]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call rax
mov eax, 1
add rsp, 0x38
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x180003e7c
Function at 0x1800042c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x20], rcx
call fcn.180003200
mov r9, rax
xor r14d, r14d
cmp byte [rax + 0xd1], r14b
je 0x180004326
mov edx, r14d
movabs r8, 0x91219b1ff7f5f1d5
nop dword [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 0xd1
jb 0x180004300
mov byte [r9 + 0xd1], r14b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [r9 + r8], r14b
jne 0x180004340
mov rdx, r9
mov rcx, rsi
call fcn.180002470
nop
mov ecx, dword [0x18009cdb0]
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rcx*8]
mov ecx, 0x24c
mov eax, dword [rcx + rdx]
mov r8d, 0x270
test al, 1
jne 0x1800043a9
or eax, 1
mov dword [rcx + rdx], eax
lea rbx, [rdx + r8]
mov word [rbx + 7], 0x165
mov dword [rbx], 0x5728b64f
mov word [rbx + 4], 0x120
mov byte [rbx + 6], 0x41
lea rcx, [0x180074340]
call fcn.1800432e8
nop
jmp 0x1800043ad
lea rbx, [rdx + r8]
cmp byte [rbx + 8], 0
je 0x1800043d6
xor byte [rbx], 0xd
xor byte [rbx + 1], 0xd3
xor byte [rbx + 2], 0x49
xor byte [rbx + 3], 0x25
xor byte [rbx + 4], 0x45
xor byte [rbx + 5], 0x73
xor byte [rbx + 6], 0x61
xor byte [rbx + 7], 0x65
mov byte [rbx + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r14
mov qword [rsi + 0x38], r14
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1800043e5
mov r8, rdi
mov rdx, rbx
lea rcx, [rsi + 0x20]
call fcn.180002470
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], r14
mov qword [rsi + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x40], 0
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x180005fc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180005fe2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x18000605c
mov rdi, r14
mov rcx, rbx
call fcn.180007150
test rax, rax
jle 0x180006034
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1800451d0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000604c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180006054
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180005ff6
sub r14, rdi
jmp 0x18000613f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180006073
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180006075
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800060a7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1800451d0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000613c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800060e2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x18000611d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.18005142c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18000613c
cmp rbp, rax
ja 0x1800060f0
test rbp, rbp
je 0x18000613c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.18005142c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18000abd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x12d0]
mov eax, 0x13d0
call fcn.180043d30
sub rsp, rax
movaps xmmword [rsp + 0x13c0], xmm6
mov rax, qword [0x18009a848]
xor rax, rsp
mov qword [rbp + 0x12b0], rax
mov rbx, rdx
mov rdi, rcx
call fcn.180042758
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rbp + 0x12a4], 0xffffffff
nop dword [rax + rax]
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x18000ac30
movd xmm4, dword [rdi]
mov edx, 0x270
movd xmm1, dword [rbx]
xorps xmm5, xmm5
movsd xmm3, qword [0x18008db08]
xorps xmm2, xmm2
movsd xmm6, qword [0x18008db10]
mov r10d, 2
mov dword [rsp + 0x20], edx
cvtdq2pd xmm4, xmm4
cvtdq2pd xmm1, xmm1
nop word [rax + rax]
cmp edx, 0x270
jne 0x18000ace2
lea r8, [rsp + 0x28]
mov r9d, edx
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 0x18000aca0
mov edx, dword [rsp + 0x20]
jmp 0x18000adcf
cmp edx, 0x4e0
jb 0x18000adcf
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbp + r8*4 + 0x8e4]
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x8e4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf18]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0xe3
jb 0x18000ad00
mov r8d, 0xe3
nop dword [rax]
mov edx, dword [rbp + r8*4 + 0x8e4]
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x8e4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x468]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0x26f
jb 0x18000ad50
mov edx, dword [rbp + 0x12a0]
xor edx, dword [rsp + 0x24]
btr edx, 0x1f
xor edx, dword [rbp + 0x12a0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rbp + 0x554]
xor edx, edx
mov dword [rbp + 0x8e0], ecx
mov dword [rsp + 0x20], edx
mov eax, edx
xorps xmm0, xmm0
inc edx
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12a4]
xor ecx, eax
mov dword [rsp + 0x20], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
subsd xmm0, xmm5
mulsd xmm0, xmm3
mulsd xmm3, xmm6
addsd xmm2, xmm0
sub r10, 1
jne 0x18000ac90
divsd xmm2, xmm3
subsd xmm1, xmm4
mulsd xmm1, xmm2
addsd xmm1, xmm4
cvttsd2si eax, xmm1
mov rcx, qword [rbp + 0x12b0]
xor rcx, rsp
call fcn.180042d60
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x18000ae70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea r14d, [rsi + 0x14]
mov ecx, dword [0x18009cdb0]
mov rax, qword gs:[0x58]
mov r15, qword [rax + rcx*8]
mov ebx, 0x1878
mov eax, dword [rbx + r15]
mov ebp, 0x4e0
test al, 1
jne 0x18000af1a
or eax, 1
mov dword [rbx + r15], eax
call fcn.180042758
mov edx, eax
mov dword [r15 + rbp + 0x1384], 0xffffffff
mov dword [r15 + rbp + 4], eax
lea ecx, [rsi + 1]
lea r8, [rbp + 8]
add r8, r15
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x18000aef0
mov dword [r15 + rbp], 0x270
mov eax, dword [rbx + r15]
mov r12d, 0x1868
test al, 2
jne 0x18000af3c
or eax, 2
mov dword [rbx + r15], eax
mov qword [r15 + r12], rsi
mov qword [r15 + r12 + 8], 0x3d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
mov rdx, r14
mov rcx, rdi
call fcn.180006a50
lea rbx, [r15 + rbp]
lea r13, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15 + r12]
mov rdx, qword [r15 + r12 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x18000afa7
mov rcx, rbx
call fcn.18000c240
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.18000c240
mov eax, eax
or rsi, rax
jmp 0x18000afb7
inc rdx
lea rcx, [rsp + 0x28]
call fcn.18000c090
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r13]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18000afec
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x18000afe1
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000affb
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.1800027d0
test r14, r14
jne 0x18000af70
mov rax, rdi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret