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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x14008b080]
mov ebp, ecx
mov r14d, ecx
shr ebp, 0x18
mov r15d, ecx
shr r14d, 0x10
shr r15d, 8
mov rbx, qword [rax + 0x1c20]
add rbx, 0x108
mov edi, ecx
cmp dword [rbx], 0
jg 0x140013011
mov r8d, 0x5d2
lea rdx, [0x14006cb60]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x140072f10]
mov rax, qword [rbx + 8]
mov esi, dword [rax + rdx*4 - 4]
not esi
movzx eax, dil
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r15b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r14b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
mov eax, ebp
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rax
xor esi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not esi
cmp edx, r8d
jne 0x14001309f
lea ecx, [rdx + 1]
test r8d, r8d
je 0x14001308b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140013090
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140029de0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rbp, qword [rsp + 0x48]
mov dword [rax + rcx*4], esi
inc dword [rbx]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140014920
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14008b080]
mov edi, edx
cmp byte [rbx + 0x1f85], 0
jne 0x140014980
cmp byte [rbx + 0x1f86], 0
jne 0x140014980
mov r9d, dword [rbx + 0x2fc8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003f30
test dil, 1
je 0x140014aaa
jmp 0x140014a11
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14007b5e4]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14007b5cc]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1cec], rax
mov dword [rbx + 0x1cd4], 1
movss dword [rbx + 0x1ce4], xmm0
mov byte [rbx + 0x1d0c], 1
movss dword [rbx + 0x1ce8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14007b49c]
or dword [rbx + 0x1cd0], 0x41
movss dword [rbx + 0x1d30], xmm0
mov r9d, dword [rbx + 0x2fc8]
call fcn.140003f30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014a61
lea r11, [0x140072f10]
cmp r9b, 0x23
jne 0x140014a44
cmp byte [r8], r9b
jne 0x140014a44
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 0x140014a31
not ecx
call fcn.14000c170
test rax, rax
je 0x140014aaa
cmp byte [rax + 0xbf], 0
je 0x140014aaa
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fc8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2fc8]
call fcn.140003f30
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000ed60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140067fa0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a2e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14008b080]
cmp byte [rbx + 0x3090], 0
je 0x14001a3cc
cmp qword [rbx + 0x3098], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x30a0]
je 0x14001a3b4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14001a35b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029b30
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400047b0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3098]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x30a8]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14008b078]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400047b0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x14001a850
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x14001a8a6
lea r11, [0x140072f10]
cmp r9b, 0x23
jne 0x14001a889
cmp byte [r8], r9b
jne 0x14001a889
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 0x14001a876
not ecx
call fcn.14001a760
test rax, rax
jne 0x14001a8bf
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14001a670
add rsp, 0x20
pop rbx
ret
Function at 0x14001f030
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001f26b
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140072f10]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001f233
mov rcx, rbp
call fcn.14001e300
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001f101
movsxd rdx, dword [rbp + 0x3010]
mov r8, qword [rbp + 0x3018]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001f0f1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001f0e9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001f0ec
mov rdx, rcx
test rdx, rdx
jne 0x14001f0c0
cmp r8, r10
je 0x14001f101
cmp dword [r8], r9d
jne 0x14001f101
mov rcx, qword [r8 + 8]
jmp 0x14001f103
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb0]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb0], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001f197
cmp qword [rcx + 0x18], 0
jne 0x14001f18c
mov qword [rcx + 0x18], rbx
jmp 0x14001f197
cmp qword [rcx + 0x20], 0
jne 0x14001f197
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001f1cc
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001f1c0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140003f30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001f228
cmp r9b, 0x23
jne 0x14001f20b
cmp byte [r8], r9b
jne 0x14001f20b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001f1f8
not ecx
call fcn.14000c170
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001f080
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140067fa0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400520a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
push rbp
push r12
push r14
push r15
sub rsp, 0x58
xor ecx, ecx
movaps xmmword [rax - 0x48], xmm6
cvttsd2si ebp, xmm1
mov r14d, r9d
mov dword [rsp + 0x80], ecx
xor r9d, r9d
mov r12d, 1
mov r15d, r8d
movaps xmm6, xmm0
cmp ebp, r12d
jl 0x140052180
mov qword [rax + 0x18], rbx
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r13
mov r13d, r14d
mov dword [rsp + 0x88], r8d
nop word [rax + rax]
mov eax, r15d
mov qword [rsp + 0x20], 0
cdq
idiv ebp
mov esi, eax
mov eax, r14d
cdq
idiv ebp
mov edi, eax
mov eax, ebp
imul eax, r12d
mov r8d, edi
sub r8d, r9d
xor r9d, r9d
cdq
idiv ebp
mov edx, esi
sub edx, ecx
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, ebx
sub ecx, dword [rsp + 0x80]
call fcn.140053620
add r15d, dword [rsp + 0x88]
inc r12d
add r14d, r13d
mov dword [rsp + 0x80], ebx
mov ecx, esi
mov r9d, edi
cmp r12d, ebp
jle 0x140052100
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x90]
cvttsd2si ecx, xmm6
sub ecx, ebp
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x58
pop r15
pop r14
pop r12
pop rbp
jmp fcn.140053620
Function at 0x140053620
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsxd rdi, ecx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
movabs rax, 0x20c49ba5e353f7cf
lea rcx, [rsp + 0x20]
imul qword [rsp + 0x28]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x28], rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
cqo
mov qword [rsp + 0x20], 0
idiv qword [rsp + 0x28]
add rdi, rax
test rdi, rdi
jle 0x1400536b2
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
cqo
idiv qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp rax, rdi
jl 0x140053691
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140067fa0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140053f50
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x5878
call fcn.1400691f0
sub rsp, rax
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x5860], rax
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x5800
lea rcx, [rsp + 0x60]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140053fa1
lea rax, [rsp + 0x60]
cmp dword [rax + 0x1a4], 6
je 0x140053fbb
mov rax, qword [rax]
test rax, rax
jne 0x140053f90
xor eax, eax
mov rcx, qword [rsp + 0x5860]
xor rcx, rsp
call fcn.140067fa0
add rsp, 0x5878
ret
movzx ecx, byte [rax + 0x19d]
movzx edx, byte [rax + 0x19c]
movzx r8d, byte [rax + 0x19b]
movzx r10d, byte [rax + 0x19a]
movzx r11d, byte [rax + 0x199]
movzx r9d, byte [rax + 0x198]
mov dword [rsp + 0x40], ecx
lea rcx, [0x14008b0f0]
mov dword [rsp + 0x38], edx
mov edx, 0x200
mov dword [rsp + 0x30], r8d
lea r8, str._.2x__.2x__.2x__.2x__.2x__.2x
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.140050a30
lea rax, [0x14008b0f0]
mov rcx, qword [rsp + 0x5860]
xor rcx, rsp
call fcn.140067fa0
add rsp, 0x5878
ret
Function at 0x140063160
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140053f50
lea rdx, [0x1400879f8]
lea rcx, [0x14008b330]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call fcn.140067790
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14005df30
xor eax, eax
add rsp, 0x28
ret

Function at 0x140063710
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140063738
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14006375e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140063760
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400637b9
test ecx, ecx
jle 0x140063799
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400637b9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400637b9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x1400637e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140063802
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140063818
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140063834
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140063836
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140063872
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14006390e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400638ad
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400638ee
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14006390e
cmp rbx, rax
ja 0x1400638c0
test rbx, rbx
je 0x14006390e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140063d70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140063d9d
xor eax, eax
jmp 0x140063f09
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140063dd7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140063dd7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140063f09
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140063efc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140063e1a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140063e45
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140063f01
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140063eb4
sub eax, 1
je 0x140063eb4
cmp eax, 2
jne 0x140063efc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140063f01
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140063ee2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140063efc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140063f01
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140067fa0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140064ab0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140064b83
cmp byte [rcx + 0x71], 0
je 0x140064b83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140064b7f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140064b44
sub eax, 1
je 0x140064b48
cmp eax, 2
jne 0x140064b7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067fa0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140064b76
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140064b7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140064b2c
xor al, al
jmp 0x140064b2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067fa0
add rsp, 0x60
pop rbx
ret
Function at 0x1400656c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140065721
lea r8, [r9 + 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 r10, 1
jne 0x1400656e0
mov ecx, dword [r9]
jmp 0x14006580b
cmp ecx, 0x4e0
jb 0x14006580b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140065740
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140065790
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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 0x140068d0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140068d56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140068d56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140068d56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140068d56
cmp dword [rcx + 0x84], 0xe
jbe 0x140068d56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140068d58
xor al, al
add rsp, 0x28
ret
Function at 0x140015fb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140015fd1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140015ffe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140016000
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140016059
test ecx, ecx
jle 0x140016039
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140016059
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140016059
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add eax, 0x1f20290c
cmp byte [rsi + rdx], dl
inc dl
invalid