joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400056a8
Capabilities:
Check os version
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400090d0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov ebx, 0x114
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
call sub.MSVCR120_CLR0400.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400057cd
cmp dword [rsp + 0x30], 2
jne 0x1400057cd
cmp dword [rsp + 0x24], 6
jb 0x1400057cd
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x20a
call sub.MSVCR120_CLR0400.dll_memset
lea edx, [rbx - 0x10]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400057cd
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x1400057cd
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov ebx, 0x105
cmp word [rbp + rcx*2 + 0x3e], 0x5c
je 0x140005778
lea r8, [0x140006a20]
mov edx, ebx
lea rcx, [rbp + 0x40]
call fcn.1400049f8
test eax, eax
jne 0x1400057cd
lea r8, str.kernel32.dll
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1400049f8
test eax, eax
jne 0x1400057cd
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400057cd
lea rdx, str.HeapSetInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400057c4
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140005040
mov rbx, qword [rsp + 0x370]
add rsp, 0x360
pop rbp
ret

Function at 0x140005c28
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
jmp 0x140003d74
mov rcx, qword [rcx + 0x30]
jmp 0x140005c28
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400090d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140005c54
xor eax, eax
jmp 0x140005cb6
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x20], rcx
xor edi, edi
xor ecx, ecx
mov qword [rsp + 0x38], rdi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x140005c8e
lea eax, [rdi + 1]
jmp 0x140005cb6
cmp eax, 0xffffffff
je 0x140005c50
mov r9d, 2
lea rdx, [rsp + 0x30]
mov rcx, rbx
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
inc eax
cmp eax, 1
seta dil
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140005040
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x1400035a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140006600], rbx
je 0x1400035ec
cmp rax, rbx
jne 0x1400035df
mov ebx, 1
mov esi, ebx
jmp 0x1400035f1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400035c4
mov ebx, 1
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003607
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000366c
mov eax, dword [0x140006608]
test eax, eax
jne 0x140003666
mov dword [0x140006608], ebx
lea r15, [0x1400043a8]
lea rdi, [0x140004390]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140003658
test eax, eax
jne 0x14000365c
cmp qword [rdi], 0
je 0x14000364d
mov rax, qword [rdi]
mov rcx, qword [0x140004370]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000362e
test eax, eax
je 0x14000366c
mov eax, 0xff
jmp 0x140003748
mov dword [0x140006024], ebx
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003693
lea rdx, [0x140004388]
lea rcx, [0x140004378]
call sub.msvcrt.dll__initterm
mov dword [0x140006608], 2
test esi, esi
jne 0x1400036a0
xor eax, eax
xchg qword [0x140006600], rax
cmp qword [0x140006610], 0
je 0x1400036d4
lea rcx, [0x140006610]
call fcn.140003950
test eax, eax
je 0x1400036d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140006610]
mov r9, qword [0x140004370]
call r9
mov r8, qword [0x140006038]
mov rdx, qword [0x140006030]
mov ecx, dword [0x140006028]
call fcn.140001008
mov dword [0x140006020], eax
cmp dword [0x140006040], 0
jne 0x140003704
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140006024], 0
jne 0x140003719
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140006020]
jmp 0x140003748
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140096000
add rsp, 0x28
jmp 0x1400035a0

Function at 0x14000383c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003888
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003880
cmp dword [rcx + 0x3c], edx
jl 0x140003880
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140003880
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140003888
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140007750
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x2b0
movaps xmmword [rsp + 0x2a0], xmm6
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, qword [rsp + 0x48]
xorps xmm0, xmm0
test r8, r8
js 0x1400077a4
cvtsi2sd xmm0, r8
jmp 0x1400077ba
mov rax, r8
and r8d, 1
shr rax, 1
or rax, r8
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
movsd xmm6, qword [0x14013ff18]
lea rdx, [rsp + 0x80]
mulsd xmm0, xmm6
mov ecx, 0x104
movsd qword [rbx], xmm0
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x14000788f
cmp word [rsp + 0x80], 0
lea rbx, [rsp + 0x80]
je 0x14000788f
nop dword [rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000786a
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x14000786a
mov rcx, qword [rsp + 0x20]
xorps xmm0, xmm0
test rcx, rcx
js 0x14000783e
cvtsi2sd xmm0, rcx
jmp 0x140007853
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
lea rdx, [rsp + 0x28]
mov rcx, rdi
movsd qword [rsp + 0x28], xmm0
call fcn.1400078c0
mov rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140007871
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140007800
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14004b440
mov rbx, qword [rsp + 0x2d0]
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b0
pop rdi
ret
Function at 0x1400093a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
movdqa xmm0, xmmword [0x140140160]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401401f0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140140150]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401401a0]
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmm0, xmmword [0x1401401e0]
movdqa xmmword [r11 - 0x78], xmm0
movdqa xmm1, xmmword [0x1401401c0]
movdqa xmmword [r11 - 0x68], xmm1
movdqa xmm0, xmmword [0x140140220]
movdqa xmmword [r11 - 0x58], xmm0
movdqa xmm1, xmmword [0x140140210]
movdqa xmmword [r11 - 0x48], xmm1
movdqa xmm0, xmmword [0x1401401b0]
movdqa xmmword [r11 - 0x38], xmm0
mov word [r11 - 0x28], 0x6c75
mov byte [r11 - 0x26], 0x74
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140007940
mov rdx, rax
mov rcx, rdi
call fcn.14000d5c0
lea rcx, [rsp + 0x30]
call fcn.14000d550
nop
jmp 0x14000948a
movdqa xmm0, xmmword [0x140140160]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401401f0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140140150]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401401a0]
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmm0, xmmword [0x1401401e0]
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmm1, xmmword [0x1401401d0]
movdqa xmmword [rsp + 0xa0], xmm1
mov dword [rsp + 0xb0], 0x6f725020
mov dword [rsp + 0xb4], 0x74637564
mov dword [rsp + 0xb8], 0x656d614e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140007940
mov rdx, rax
mov rcx, rbx
call fcn.14000d5c0
lea rcx, [rsp + 0x30]
call fcn.14000d550
nop
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14004b440
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
ret
Function at 0x140009ac0
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xff90]
mov eax, 0x10090
call fcn.14004bdd0
sub rsp, rax
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rbp + 0xff80], rax
mov rdi, rcx
mov dword [rsp + 0x50], 0x7fff
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140009b73
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000cfd0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14000cd30
mov rbx, qword [rax]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000cdb0
mov r8, rbx
mov rdx, qword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400149f0
mov rdx, rax
lea rcx, [0x140169020]
call fcn.14000d5c0
lea rcx, [rsp + 0x20]
call fcn.14000d550
nop
lea rcx, [rsp + 0x58]
call fcn.14000cf80
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140009bea
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000cfd0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000cd30
mov rbx, qword [rax]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14000cdb0
mov r8, rbx
mov rdx, qword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400149f0
mov rdx, rax
lea rcx, [0x140169000]
call fcn.14000d5c0
lea rcx, [rsp + 0x20]
call fcn.14000d550
nop
lea rcx, [rsp + 0x58]
call fcn.14000cf80
lea rdx, str.appdata
lea rcx, [rsp + 0x20]
call fcn.1400074d0
mov rdx, rax
lea rcx, [0x140169060]
call fcn.14000d5c0
lea rcx, [rsp + 0x20]
call fcn.14000d550
lea rdx, str.localappdata
lea rcx, [rsp + 0x20]
call fcn.1400074d0
mov rdx, rax
lea rcx, [0x140168fa0]
call fcn.14000d5c0
lea rcx, [rsp + 0x20]
call fcn.14000d550
lea r8, str.MicrosoftWindowsStart_MenuProgramsStartup_
lea rdx, [0x140169060]
lea rcx, [rsp + 0x20]
call fcn.140013520
mov rdx, rax
lea rcx, [0x140169090]
call fcn.14000d5c0
lea rcx, [rsp + 0x20]
call fcn.14000d550
lea rcx, [rsp + 0x20]
call fcn.140007500
mov rdx, rax
lea rcx, [0x140169040]
call fcn.14000d5c0
lea rcx, [rsp + 0x20]
call fcn.14000d550
mov rax, rdi
mov rcx, qword [rbp + 0xff80]
xor rcx, rsp
call fcn.14004b440
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000bb20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14000bb55
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_72
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
call fcn.14000f980
mov rbp, rax
test rbx, rbx
jle 0x14000bbc5
test rax, rax
jle 0x14000bba6
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call fcn.14000fac0
mov rcx, rax
mov r8, rbp
mov rdx, r14
call fcn.1400053a0
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call fcn.14000f9e0
add r14, rbp
test rbx, rbx
jle 0x14000bbc5
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000bbc5
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140061e70
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov rbp, r8
test r8, r8
jle 0x14000c439
mov qword [rsp + 0x40], rdi
mov rcx, r14
call fcn.14000f980
test rax, rax
jle 0x14000c3e3
cmp rbx, rax
mov rdi, rbx
mov rcx, r14
cmovge rdi, rax
call fcn.14000fac0
mov rcx, rax
mov r8, rdi
mov rdx, rsi
call fcn.1400053a0
mov edx, edi
mov rcx, r14
sub rbx, rdi
call fcn.14000f9e0
jmp 0x14000c428
mov rax, qword [r14]
mov rcx, rsi
mov rdi, qword [rax + 0x18]
call fcn.14000c2c0
mov edx, eax
mov rcx, r14
mov rax, rdi
call qword [case.0x140002496.0]
mov dword [rsp + 0x50], eax
call fcn.1400070e0
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x58]
call fcn.140010d30
test al, al
jne 0x14000c434
dec rbx
mov edi, 1
add rsi, rdi
test rbx, rbx
jg 0x14000c3a7
mov rdi, qword [rsp + 0x40]
sub rbp, rbx
mov rbx, qword [rsp + 0x48]
mov rax, rbp
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
Function at 0x14000bbf0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test r8, r8
jg 0x14000bc1c
xor eax, eax
jmp 0x14000bd16
cmp qword [rcx + 0x68], 0
je 0x14000bc2d
call fcn.14000c450
jmp 0x14000bd16
mov qword [rsp + 0x78], rbx
mov rbx, rdi
mov qword [rsp + 0x20], rbx
call fcn.14000fa00
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000bc88
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1400052e0
mov rcx, rsi
mov rbx, qword [rax]
call fcn.14000fad0
mov rdx, rax
mov r8, rbx
mov rcx, rbp
call fcn.1400053a0
sub qword [rsp + 0x20], rbx
mov edx, ebx
mov rcx, rsi
add rbp, rbx
call fcn.14000fa90
mov rbx, qword [rsp + 0x20]
cmp qword [rsi + 0x80], 0
je 0x14000bd0b
mov rcx, rsi
call fcn.14000f5a0
mov rbx, qword [rsp + 0x20]
cmp rbx, 0xfff
jbe 0x14000bce7
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rbp
call fcn.140062710
mov rbx, qword [rsp + 0x20]
add rbp, rax
sub rbx, rax
mov qword [rsp + 0x20], rbx
cmp rax, 0xfff
jne 0x14000bd0b
cmp rbx, rax
ja 0x14000bcb0
test rbx, rbx
je 0x14000bd0b
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.140062710
mov rbx, qword [rsp + 0x20]
sub rbx, rax
sub rdi, rbx
mov rbx, qword [rsp + 0x78]
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004b440
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c110
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebp, edx
mov dword [rsp + 0x58], edx
mov rdi, rcx
call fcn.1400070e0
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x40]
mov esi, eax
call fcn.140010d30
test al, al
je 0x14000c163
lea rcx, [rsp + 0x58]
call fcn.140010d00
jmp 0x14000c2a4
mov rcx, rdi
mov qword [rsp + 0xc0], rbx
call fcn.14000fac0
test rax, rax
je 0x14000c1ae
mov rcx, rdi
call fcn.14000fa60
mov rcx, rdi
mov rbx, rax
call fcn.14000fac0
cmp rax, rbx
jae 0x14000c1ae
mov rcx, rdi
call fcn.14000f9a0
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.14000c2c0
mov byte [rbx], al
mov eax, ebp
jmp 0x14000c29c
cmp qword [rdi + 0x80], 0
je 0x14000c29a
mov rcx, rdi
call fcn.14000f5a0
mov rbx, qword [rdi + 0x68]
lea rcx, [rsp + 0x58]
call fcn.14000c2c0
test rbx, rbx
jne 0x14000c1f0
mov rdx, qword [rdi + 0x80]
movzx ecx, al
call fcn.140004a70
test al, al
cmovne esi, ebp
jmp 0x14000c29a
mov byte [rsp + 0x50], al
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14000e330
test eax, eax
je 0x14000c25b
sub eax, 1
je 0x14000c25b
cmp eax, 2
jne 0x14000c29a
mov rdx, qword [rdi + 0x80]
movzx ecx, byte [rsp + 0x50]
call fcn.140004a70
test al, al
cmovne esi, ebp
jmp 0x14000c29a
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
sub rbx, rax
je 0x14000c288
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x60]
mov r8, rbx
mov edx, 1
call fcn.140061e70
cmp rbx, rax
jne 0x14000c29a
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, ebp
jne 0x14000c29c
mov eax, esi
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004b440
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f630
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x70
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x68], 0
mov rsi, rcx
je 0x14000f738
cmp byte [rcx + 0x71], 0
je 0x14000f738
mov rax, qword [rcx]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov rbx, qword [rax + 0x18]
call fcn.1400070e0
mov edi, eax
mov edx, eax
mov rax, rbx
mov rcx, rsi
call qword [case.0x140002496.0]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], edi
lea rcx, [rsp + 0x34]
mov dword [rsp + 0x30], eax
call fcn.140010d30
mov rdi, qword [rsp + 0x90]
test al, al
jne 0x14000f734
mov rcx, qword [rsi + 0x68]
lea rax, [rsp + 0x38]
lea rdx, [rsi + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
call fcn.1400111a0
test eax, eax
je 0x14000f6fa
sub eax, 1
je 0x14000f6fe
cmp eax, 2
jne 0x14000f734
mov byte [rsi + 0x71], 0
mov al, 1
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004b440
add rsp, 0x70
pop rsi
ret
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
sub rbx, rax
je 0x14000f72b
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x40]
mov r8, rbx
mov edx, 1
call fcn.140061e70
cmp rbx, rax
jne 0x14000f734
cmp byte [rsi + 0x71], 0
sete al
jmp 0x14000f6df
xor al, al
jmp 0x14000f6df
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004b440
add rsp, 0x70
pop rsi
ret

Function at 0x140011cc0
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 0x140011cd0
mov dword [rcx], 0x270
ret

Function at 0x14001f5d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov rbx, rcx
cmp eax, 0x270
jne 0x14001f5e9
call fcn.14001fa10
jmp 0x14001f5f5
cmp eax, 0x4e0
jb 0x14001f5f5
call fcn.14001fa60
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 0x14001fa10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea rax, [rcx + 8]
mov r9d, 0x270
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14001fa20
ret
Function at 0x14001fa60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r11, rcx
mov eax, dword [r10]
mov ebx, 0xe3
nop word [rax + rax]
mov edx, dword [r10 + 4]
lea r8, [r10 + 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 [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub rbx, 1
jne 0x14001fa80
lea r10, [r11 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r10]
nop dword [rax + rax]
mov edx, dword [r10 + 4]
lea r8, [r10 + 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 [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub rbx, 1
jne 0x14001fad0
mov edx, dword [r11 + 0x1380]
xor edx, dword [r11 + 4]
mov rbx, qword [rsp + 8]
btr edx, 0x1f
xor edx, dword [r11 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 + 0x9c0], ecx
mov dword [r11], 0
ret

Function at 0x1400200d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14015f0e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140009ab0
mov rcx, r8
call fcn.140001a20
mov r8, rax
mov rcx, rdx
call fcn.140001a20
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140023990
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.140003220
mov r9, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140023a00]
xor edx, edx
xor ecx, ecx
call fcn.14005df6c
mov qword [rbx], rax
test rax, rax
je 0x14002017a
lea rcx, [rsp + 0x30]
call fcn.140017230
nop
lea rcx, [rsp + 0x30]
call fcn.140023190
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004b440
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.14004983c
int3
Function at 0x140027c10
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, 0x23456789
mov dword [rdx], 0x12345678
mov dword [rdx + 4], r9d
mov rbx, r8
mov dword [rdx + 8], 0x34567890
mov r10, rcx
movzx eax, byte [rcx]
test al, al
je 0x140027ca3
mov r8d, 0x12345678
mov r11d, 0x34567890
nop word [rax + rax]
mov rcx, r8
lea r10, [r10 + 1]
xor rcx, rax
movzx eax, cl
mov ecx, r8d
shr ecx, 8
xor ecx, dword [rbx + rax*4]
movzx eax, cl
mov r8d, ecx
add eax, r9d
mov dword [rdx], ecx
imul r9d, eax, 0x8088405
mov ecx, r11d
shr ecx, 8
inc r9d
mov dword [rdx + 4], r9d
mov eax, r9d
shr rax, 0x18
xor rax, r11
movzx eax, al
xor ecx, dword [rbx + rax*4]
mov dword [rdx + 8], ecx
mov r11d, ecx
movzx eax, byte [r10]
test al, al
jne 0x140027c50
mov rbx, qword [rsp + 8]
ret

Function at 0x140027cb0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x10108], 0
mov rbx, rcx
je 0x140027d76
xor r11d, r11d
cmp dword [rcx + 0xd4], r11d
jbe 0x140027d76
nop word [rax + rax]
movzx eax, byte [r11 + rbx + 0x100]
mov edx, dword [rbx + 0x10128]
mov ecx, edx
mov r8, qword [rbx + 0x10138]
xor rcx, rax
mov r10d, dword [rbx + 0x10130]
movzx eax, cl
and r10d, 0xfffd
mov ecx, dword [rbx + 0x10130]
or r10d, 2
shr edx, 8
xor edx, dword [r8 + rax*4]
mov dword [rbx + 0x10128], edx
movzx eax, dl
add eax, dword [rbx + 0x1012c]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 0x1012c], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [r8 + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 0x10130], ecx
imul eax, r10d
shr eax, 8
xor byte [r11 + rbx + 0x100], al
inc r11d
cmp r11d, dword [rbx + 0xd4]
jb 0x140027ce0
mov r9d, dword [rbx + 0xd4]
lea r8, [rbx + 0x100]
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rbx + 0x38]
mov edi, dword [rbx + 0xd4]
call qword [rbx + 0x10]
xor edx, edx
mov dword [rbx + 0xd4], 0
cmp eax, edi
mov ecx, 0xffffffff
cmovne edx, ecx
mov ecx, dword [rbx + 0x84]
add qword [rbx + 0x10118], rdi
mov eax, edx
add qword [rbx + 0x10120], rcx
mov dword [rbx + 0x84], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400348c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x1c]
test ecx, ecx
je 0x140034902
mov r8d, 0x10
xor edx, edx
sub r8d, ecx
add rcx, qword [rbx + 0x48]
call fcn.14004e0b0
mov rdx, qword [rbx + 0x48]
mov r8d, 0x10
mov rcx, rbx
mov dword [rbx + 0x1c], 0
add rsp, 0x20
pop rbx
jmp fcn.140033c40
add rsp, 0x20
pop rbx
ret