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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14008a070]
mov esi, ecx
mov rbx, qword [rax + 0x1c20]
add rbx, 0x108
mov eax, dword [rbx]
mov edx, eax
test eax, eax
jg 0x1400136c0
mov r8d, 0x5d2
lea rdx, str.C:UserszayDownloadsmagzmagz_scriptimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
mov edx, eax
mov r9, qword [rbx + 8]
lea r8, [0x140072000]
cdqe
mov edi, dword [r9 + rax*4 - 4]
not edi
movzx eax, sil
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140013759
lea ecx, [rdx + 1]
test r8d, r8d
je 0x14001373f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140013744
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140029040
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400150f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140086010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14008a070]
mov edi, edx
cmp byte [rbx + 0x1f85], 0
jne 0x140015150
cmp byte [rbx + 0x1f86], 0
jne 0x140015150
mov r9d, dword [rbx + 0x2fc8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003fb0
test dil, 1
je 0x140015287
jmp 0x1400151df
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14007a814]
xor eax, eax
mulss xmm1, dword [0x14007a7fc]
addss xmm0, dword [rbx + 0x120]
lea edx, [rax + 0x10]
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 [0x14007a6cc]
or dword [rbx + 0x1cd0], 0x41
movss dword [rbx + 0x1d30], xmm0
mov r9d, dword [rbx + 0x2fc8]
call fcn.140003fb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140015230
lea r11, [0x140072000]
nop
cmp r9b, 0x23
jne 0x140015213
cmp byte [r8], r9b
jne 0x140015213
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140015200
mov rcx, qword [0x14008a070]
not edx
add rcx, 0x1c08
call fcn.1400047c0
test rax, rax
je 0x140015287
cmp byte [rax + 0xbf], 0
je 0x140015287
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.140003fb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000f3a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140066ee0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a900
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 [0x14008a070]
cmp byte [rbx + 0x3090], 0
je 0x14001a9ec
cmp qword [rbx + 0x3098], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x30a0]
je 0x14001a9d4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14001a97b
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.140028d90
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140004ad0
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, [0x14008a068]
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.140004ad0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x14001aea0
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 0x14001aef6
lea r11, [0x140072000]
cmp r9b, 0x23
jne 0x14001aed9
cmp byte [r8], r9b
jne 0x14001aed9
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 0x14001aec6
not ecx
call fcn.14001adb0
test rax, rax
jne 0x14001af0f
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14001acc0
add rsp, 0x20
pop rbx
ret
Function at 0x14001f440
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001f639
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140086010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140072000]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14001f601
mov rcx, rbp
call fcn.14001e7c0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001f4be
lea rcx, [rbp + 0x3010]
call fcn.1400047c0
mov rcx, rax
jmp 0x14001f4c0
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb0], 0xfffffe49
or dword [rbx + 0xb0], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001f551
cmp qword [rcx + 0x18], 0
jne 0x14001f546
mov qword [rcx + 0x18], rbx
jmp 0x14001f551
cmp qword [rcx + 0x20], 0
jne 0x14001f551
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001f58c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001f580
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.140003fb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14001f5e8
cmp r9b, 0x23
jne 0x14001f5cb
cmp byte [r8], r9b
jne 0x14001f5cb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x14001f5b8
mov rcx, qword [0x14008a070]
not edx
add rcx, 0x1c08
call fcn.1400047c0
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001f490
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.140066ee0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400400a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
lea rax, str.SCROLLX
lea rdi, str.SCROLLY
mov rbx, rcx
cmove rdi, rax
mov eax, dword [rcx + 0x108]
test eax, eax
jg 0x1400400eb
mov r8d, 0x5d2
lea rdx, str.C:UserszayDownloadsmagzmagz_scriptimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x108]
movsxd rdx, eax
mov rcx, rdi
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400040c0
Function at 0x14004bcf0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test r8, r8
je 0x14004bd9e
test dword [rcx + 0x10], 0x100000
jne 0x14004bd25
mov r8d, 0x1e15
lea rdx, str.C:UserszayDownloadsmagzmagz_scriptimguiimgui_widgets.cpp
lea rcx, str.tab_bar__Flags__ImGuiTabBarFlags_DockNode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14004bd72
lea r11, [0x140072000]
cmp r9b, 0x23
jne 0x14004bd55
cmp byte [r8], r9b
jne 0x14004bd55
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14004bd42
mov rcx, qword [0x14008a070]
not eax
cmp dword [rcx + 0x1c78], eax
jne 0x14004bd89
mov dword [rcx + 0x1c7c], eax
cmp dword [rcx + 0x1cb8], eax
jne 0x14004bdb6
mov byte [rcx + 0x1cbc], 1
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x14008a070]
mov rcx, qword [rax + 0x1c20]
add rsp, 0x20
pop rbx
jmp fcn.140006950
add rsp, 0x20
pop rbx
ret

Function at 0x140051040
Capabilities:
Check for time delay via queryperformancecounter

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140086010]
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 0x140052542
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 0x140052521
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140066ee0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140053030
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x5878
call fcn.140068180
sub rsp, rax
mov rax, qword [0x140086010]
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 0x140053081
lea rax, [rsp + 0x60]
cmp dword [rax + 0x1a4], 6
je 0x14005309b
mov rax, qword [rax]
test rax, rax
jne 0x140053070
xor eax, eax
mov rcx, qword [rsp + 0x5860]
xor rcx, rsp
call fcn.140066ee0
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, [0x140092100]
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.14004fa90
lea rax, [0x140092100]
mov rcx, qword [rsp + 0x5860]
xor rcx, rsp
call fcn.140066ee0
add rsp, 0x5878
ret
Function at 0x1400624c0
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.140053030
lea rdx, [0x14008733c]
lea rcx, [0x14008a090]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call fcn.140066b20
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14005d680
xor eax, eax
add rsp, 0x28
ret

Function at 0x140062b40
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 0x140062b77
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140062b98
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140062b9a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140062bf3
test ecx, ecx
jle 0x140062bd3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140062bf3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140062bf3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
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
Function at 0x140062c20
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 0x140062c42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140062c58
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 0x140062c74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140062c76
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140062cb0
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140062d57
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140062ceb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140062d31
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140062d70
cmp rbx, rax
ja 0x140062d00
mov r8, rdi
test rdi, rdi
je 0x140062d57
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x140062d5a
Function at 0x140063170
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140086010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006319d
xor eax, eax
jmp 0x1400632f2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400631c8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400631c8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1400632f2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400632e5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14006320b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x140063236
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 0x1400632ea
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 0x1400632a5
sub eax, 1
je 0x1400632a5
cmp eax, 2
jne 0x1400632e5
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 0x1400632ea
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400632d3
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 0x1400632e5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400632ea
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140066ee0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140063c20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140086010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140063cf3
cmp byte [rcx + 0x71], 0
je 0x140063cf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140063cef
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 0x140063cb4
sub eax, 1
je 0x140063cb8
cmp eax, 2
jne 0x140063cef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140066ee0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140063ce6
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 0x140063cef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140063c9c
xor al, al
jmp 0x140063c9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140066ee0
add rsp, 0x60
pop rbx
ret
Function at 0x140064710
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 0x140064771
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 0x140064730
mov ecx, dword [r10]
jmp 0x14006485a
cmp ecx, 0x4e0
jb 0x14006485a
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 0x140064790
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 0x1400647e0
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