joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001eb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x18001ecb1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x18001eb90
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.18001e540
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18001dba0
mov dword [rbx + 0x80], 0
jmp 0x18001ec9d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.18001ca60
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800254c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800cc020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1800cf338]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x1800cef78]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1800cf340]
cvtsi2ss xmm0, qword [0x1800cf348]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1800cf340], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1800cef78]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x14b], 0
mov byte [rdi + 0x14a], al
cmp byte [rcx + 0x3a3], 0
lea rbx, [rcx + 0x130]
je 0x1800255ec
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x1800cf338]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18002565d
mov rdx, qword [0x1800cf338]
cmp rax, rdx
je 0x18002561d
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18002565d
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18002565d
mov rcx, qword [0x1800cf338]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18002565d
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18002566d
mov eax, 0xffffffff
jmp 0x18002567a
mov rax, qword [0x1800cef78]
mov eax, dword [rax + 0x20a8]
cmp dword [0x1800cd12c], eax
je 0x18002568d
mov dword [0x1800cd12c], eax
call fcn.180025360
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800710d0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800381f0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1800cc020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x170], rdi
xor edi, edi
mov dword [rsp + 0x20], edi
mov ecx, dword [0x1800cf138]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800382ce
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
inc r8
cmp byte [rax + r8], dil
jne 0x180038265
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180036e70
mov cl, 0x61
mov byte [rsp + 0x20], 0x14
xor cl, 0x14
mov dl, 0x67
xor dl, 0x14
mov byte [rsp + 0x22], cl
mov al, 0x46
mov byte [rsp + 0x23], dl
mov r8b, 0x60
lea rdx, [rsp + 0x21]
xor r9d, r9d
lea rcx, [rsp + 0x28]
xor al, 0x14
mov byte [rsp + 0x25], r9b
xor r8b, 0x14
mov byte [rsp + 0x21], al
mov edi, 3
mov byte [rsp + 0x24], r8b
call fcn.180066ff0
cmp rax, 0xffffffffffffffff
je 0x1800382ce
mov bl, 1
jmp 0x1800382d0
xor bl, bl
test dil, 1
mov rdi, qword [rsp + 0x170]
je 0x180038317
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180038317
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038312
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038333
call fcn.1800717d8
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800710d0
add rsp, 0x160
pop rbx
ret
call fcn.180085d3c
int3
Function at 0x180038cc0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1800cc020]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [rsi + 0x11]
lea rdx, str.C:_ColdRain_.cfg
lea rcx, [rsp + 0x50]
call fcn.180036e70
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180038e3f
test byte [rsp + 0x70], 0x10
jne 0x180038e1f
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180038d90
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.180036e70
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180038dd5
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rbx + 8], 0x20
jmp 0x180038de7
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.18006cdf0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180038e1f
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038e1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038ea3
call fcn.1800717d8
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180038d64
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180038e78
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038e73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038ea9
call fcn.1800717d8
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800710d0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180085d3c
nop
call fcn.180085d3c
int3
Function at 0x180045770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov rdx, rcx
movdqa xmm0, xmmword [0x1800bbc20]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x65486372
mov dword [rsp + 0x3c], 0x65626372
mov dword [rsp + 0x40], 0x6e634879
mov word [rsp + 0x44], 0x7267
xor eax, eax
mov byte [rsp + 0x46], al
mov qword [rsp + 0x20], rax
cmp rax, 0x1d
jae 0x1800457c7
movzx ecx, byte [rsp + 0x28]
xor cl, byte [rsp + rax + 0x29]
mov byte [rsp + rax + 0x29], cl
inc rax
jmp 0x1800457aa
mov byte [rsp + 0x46], 0
lea rcx, [rsp + 0x29]
call fcn.180068830
jmp 0x180045803
add rsp, 0x58
ret

Function at 0x180045b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov rdx, rcx
movdqa xmm0, xmmword [0x1800bbbd0]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x5a556942
mov dword [rsp + 0x3c], 0x69454557
mov dword [rsp + 0x40], 0x58435955
mov word [rsp + 0x44], 0x42
xor eax, eax
mov qword [rsp + 0x20], rax
cmp rax, 0x1c
jae 0x180045bd3
movzx ecx, byte [rsp + 0x28]
xor cl, byte [rsp + rax + 0x29]
mov byte [rsp + rax + 0x29], cl
inc rax
jmp 0x180045bb6
mov byte [rsp + 0x45], 0
lea rcx, [rsp + 0x29]
call fcn.180068830
jmp 0x180045c0f
add rsp, 0x58
ret

Function at 0x180045cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1800cc020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdx, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [0x1800bbc40]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x7a446f7e
mov dword [rsp + 0x34], 0x767e6868
mov dword [rsp + 0x38], 0x7e727779
mov word [rsp + 0x3c], 0x68
mov qword [rsp + 0x40], rax
cmp rax, 0x1c
jae 0x180045d17
movzx ecx, byte [rsp + 0x20]
xor cl, byte [rsp + rax + 0x21]
mov byte [rsp + rax + 0x21], cl
inc rax
jmp 0x180045cfa
mov byte [rsp + 0x3d], 0
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x21]
call fcn.1800688f0
mov rax, qword [rsp + 0x48]
jmp 0x180045d5d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800710d0
add rsp, 0x68
ret

Function at 0x180045d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1800cc020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdx, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [0x1800bbb70]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x437d5647
mov dword [rsp + 0x34], 0x4f475151
mov dword [rsp + 0x38], 0x474b4e40
mov word [rsp + 0x3c], 0x51
mov qword [rsp + 0x40], rax
cmp rax, 0x1c
jae 0x180045dd7
movzx ecx, byte [rsp + 0x20]
xor cl, byte [rsp + rax + 0x21]
mov byte [rsp + rax + 0x21], cl
inc rax
jmp 0x180045dba
mov byte [rsp + 0x3d], 0
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x21]
call fcn.1800688f0
jmp 0x180045e18
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800710d0
add rsp, 0x68
ret
Function at 0x18004a940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x18004a9a0
mov r8, qword [rcx]
test r8, r8
je 0x18004a9a0
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18004a960
test ecx, ecx
je 0x18004a99d
mov r9d, ecx
lea r10, [0x1800b90c0]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18004a980
not eax
ret
xor eax, eax
ret

Function at 0x18004b690
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x18004b6af
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [0x1800cdd94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800cfa00], ecx
jle 0x18004b707
lea rcx, [0x1800cfa00]
call fcn.180071278
cmp dword [0x1800cfa00], 0xffffffff
jne 0x18004b707
mov ecx, 0x668c7be0
call fcn.180048680
mov rdx, qword [rax]
mov qword [0x1800cf788], rdx
lea rcx, [0x1800cfa00]
call fcn.180071218
mov rax, qword [0x1800cf788]
mov rcx, rdi
call rax
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2 + 0x14], 0
jne 0x18004b720
mov rax, qword [0x1800cf788]
mov rcx, rdi
call rax
lea r8, [rax + 0x14]
mov eax, 0xffffffff
test ebx, ebx
je 0x18004b76d
mov r9d, ebx
lea r10, [0x1800b90c0]
nop
movzx edx, word [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r10 + rcx*4]
lea r8, [r8 + 2]
sub r9, 1
jne 0x18004b750
not eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180054da0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1800cf0c8]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1800cf0c8]
mov edx, dword [0x1800cf0cc]
test ax, ax
je 0x180054e50
movss xmm3, dword [0x1800cd160]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x180054e50
movss xmm4, dword [0x1800cd164]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x180054e50
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x180054e50
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm0, xmm2
jbe 0x180054e50
cmp byte [0x1800cf097], 0
mov byte [0x1800cf096], 1
jne 0x180054e59
subss xmm1, xmm3
mov byte [0x1800cf097], 1
subss xmm2, xmm4
cvttss2si eax, xmm1
cvttss2si r8d, xmm2
mov dword [0x1800cf0c0], eax
mov dword [0x1800cf0c4], r8d
jmp 0x180054e66
cmp byte [0x1800cf096], 0
je 0x180054e89
mov r8d, dword [0x1800cf0c4]
mov eax, dword [0x1800cf0c0]
sub ecx, eax
sub edx, r8d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1800cd160], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [0x1800cd164], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180054ea5
mov byte [0x1800cf096], al
mov byte [0x1800cf097], al
add rsp, 0x38
ret
Function at 0x180065310
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18006534c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18005ded0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18006534c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x180065f40
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 0x180065f62
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 0x180065fdc
mov rdi, r14
mov rcx, rbx
call fcn.180067930
test rax, rax
jle 0x180065fb4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.180074700
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 0x180065fcc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180065fd4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180065f76
sub r14, rdi
jmp 0x1800660bf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180065ff3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180065ff5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180066027
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180074700
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 0x1800660bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180066062
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 0x18006609d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180080328
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1800660bc
cmp rbp, rax
ja 0x180066070
test rbp, rbp
je 0x1800660bc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180080328
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 0x180067980
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x180067990
mov dword [rcx], 0x270
ret
Function at 0x18006d240
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x18006d2a1
lea r8, [r10 + 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 r9, 1
jne 0x18006d260
mov ecx, dword [r10]
jmp 0x18006d38a
cmp ecx, 0x4e0
jb 0x18006d38a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x18006d2c0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x18006d310
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
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
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 0x18006d600
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18006d820
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18006d707
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006d664
mov rax, qword [0x1800cc008]
cmp qword [rsp + 0x20], rax
ja 0x18006d664
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006d626
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180074db0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006d693
jmp 0x18006d707
cmp dword [rsp + 0x50], 0x10000
jne 0x18006d6ea
cmp qword [rsp + 0x48], 0x10000
jb 0x18006d6ea
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006d6d8
mov rax, qword [rsp + 0x28]
jmp 0x18006d709
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006d702
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18006d820
mov qword [rsp + 0x20], rax
jmp 0x18006d626
xor eax, eax
add rsp, 0x68
ret

Function at 0x18006d710
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18006d860
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18006d813
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006d76b
mov rax, qword [0x1800cc008]
cmp qword [rsp + 0x20], rax
ja 0x18006d76b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006d72d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180074db0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006d79a
jmp 0x18006d813
cmp dword [rsp + 0x50], 0x10000
jne 0x18006d7f1
cmp qword [rsp + 0x48], 0x10000
jb 0x18006d7f1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006d7df
mov rax, qword [rsp + 0x28]
jmp 0x18006d815
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006d80e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18006d860
mov qword [rsp + 0x20], rax
jmp 0x18006d72d
xor eax, eax
add rsp, 0x68
ret