joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53d8f0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.0053c960
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.00414060
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x53d9ab
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x53d977
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.00447d20
mov ecx, dword [rsp + 0x2c]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x53d99a
mov edx, 0xff
mov rcx, qword [rsp + 0x50]
call fcn.00477930
mov r8d, 0x100
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.00411dd0
jmp 0x53d9ec
mov rcx, qword [rsp + 0x50]
call fcn.004c1cf0
mov r9, rax
mov r8, 0xffffffffffffffff
mov edx, 0x14d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp rax, 0xffffffffffffffff
jne 0x53d9ec
mov rcx, qword [rsp + 0x50]
call fcn.004c1cf0
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.0046e600
add rsp, 0x38
ret
Function at 0x549ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov qword [rsp + 0x2d8], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0x80004003
cmp qword [rsp + 0x338], 0
je 0x549d95
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x320], 0
jne 0x549b4e
mov dword [rsp + 0x24], 0
jmp 0x549b26
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x330]
cmp dword [rsp + 0x24], eax
jae 0x549b49
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x338]
mov dword [rcx + rax*8 + 4], 0
jmp 0x549b1b
jmp 0x549d95
mov r9, qword [rsp + 0x328]
mov r8d, dword [rsp + 0x330]
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0x30]
call fcn.005494a0
nop
cmp qword [rsp + 0x340], 0
jne 0x549b86
mov dword [rsp + 0x70], 0
jmp 0x549b94
mov rax, qword [rsp + 0x340]
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x3c], 0
jmp 0x549ba9
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x330]
cmp dword [rsp + 0x3c], eax
jae 0x549be3
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x338]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x38], eax
mov r8d, 1
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x30]
call fcn.00549710
jmp 0x549b9e
cmp qword [rsp + 0x340], 0
je 0x549d8b
mov rax, qword [rsp + 0x340]
add rax, 0xc
test rax, rax
je 0x549d8b
mov rax, qword [rsp + 0x340]
cmp dword [rax], 0
je 0x549d8b
cmp dword [rsp + 0x330], 1
je 0x549c3a
mov edx, 0x9a
lea rcx, [0x0063d270]
call fcn.00422700
test eax, eax
je 0x549c3a
int3
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 8]
sub eax, 1
mov r8d, eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.004ab020
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
mov rdx, qword [rsp + 0x2e8]
lea rcx, [rsp + 0x88]
call fcn.00410040
nop
lea rcx, [rsp + 0x90]
call fcn.00407d10
lea rcx, [rsp + 0x88]
call fcn.0040afc0
mov rcx, qword [rsp + 0x340]
mov ecx, dword [rcx + 8]
sub ecx, 1
cmp eax, ecx
jae 0x549cd0
lea rcx, [rsp + 0x88]
call fcn.0040afc0
mov dword [rsp + 0x2f0], eax
jmp 0x549ce5
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 8]
sub eax, 1
mov dword [rsp + 0x2f0], eax
mov rax, qword [rsp + 0x340]
mov ecx, dword [rsp + 0x2f0]
mov dword [rax + 4], ecx
lea rcx, [rsp + 0x88]
call fcn.004c1cf0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.0050f510
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
add rax, 0x18
mov rcx, rax
call fcn.004c1cf0
mov rcx, qword [rsp + 0x340]
mov ecx, dword [rcx + 8]
mov rdx, qword [rsp + 0x340]
add rdx, 0xc
mov qword [rsp + 0x308], rdx
mov r9, 0xffffffffffffffff
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x308]
mov rcx, rax
call fcn.0054a220
nop
lea rcx, [rsp + 0x98]
call fcn.0050f5a0
nop
lea rcx, [rsp + 0x30]
call fcn.0054a200
mov eax, dword [rsp + 0x20]
add rsp, 0x318
ret
Function at 0x560327
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x006835c0]
jne 0x54ec7a
rol rcx, 0x10
test cx, 0xffff
jne 0x54ec76
repz ret
ror rcx, 0x10
jmp 0x560280
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00689460]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x00689558]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x560305
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00689460]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x560327
mov rax, qword [rsp + 0x88]
mov qword [0x00689558], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x006894f8], rax
mov rax, qword [0x00689558]
mov qword [0x006893d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x006894e0], rax
mov dword [0x006893c0], 0xc0000409
mov dword [0x006893c4], 1
mov rax, qword [0x006835c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x006835c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00689458], eax
mov ecx, 1
call fcn.00560c80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x006444e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00689458], 0
jne 0x5603ae
mov ecx, 1
call fcn.00560c80
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140011249
Capabilities:
Terminate process

Disassembly:
jmp 0x140013be0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014f30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014f50
xor al, al
jmp 0x140014fd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014f63
xor al, al
jmp 0x140014fd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014f8d
xor al, al
jmp 0x140014fd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014fa1
xor al, al
jmp 0x140014fd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014fb3
xor al, al
jmp 0x140014fd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014fcf
xor al, al
jmp 0x140014fd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012e10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001141a
movzx eax, al
test eax, eax
jne 0x140012e30
mov ecx, 7
call fcn.140011389
nop
mov byte [rsp + 0x20], 0
call fcn.14001139d
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140012e54
mov ecx, 7
call fcn.140011389
nop
jmp 0x140012eac
cmp dword [0x14001f868], 0
jne 0x140012ea7
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111f4
test eax, eax
je 0x140012e88
mov eax, 0xff
jmp 0x140012fb1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011393
mov dword [0x14001f868], 2
jmp 0x140012eac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011375
call fcn.140011307
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012f09
mov rcx, qword [rsp + 0x30]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012f09
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.140011339
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012f3d
mov rcx, qword [rsp + 0x38]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012f3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113d9
nop
call fcn.140013060
mov dword [rsp + 0x28], eax
call fcn.1400112e4
movzx eax, al
test eax, eax
jne 0x140012f5c
mov ecx, dword [rsp + 0x28]
call fcn.140011064
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012f6b
call fcn.1400113e3
nop
xor edx, edx
mov cl, 1
call fcn.14001118b
mov eax, dword [rsp + 0x28]
jmp 0x140012fb1
add rsp, 0x68
ret
Function at 0x1400076f0
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 0x140007718
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 0x14000773e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007740
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007799
test ecx, ecx
jle 0x140007779
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 0x140007799
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007799
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 0x1400077c0
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 0x1400077e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400077f8
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 0x140007814
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007816
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007852
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 0x1400078ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000788d
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 0x1400078ce
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 0x1400078ee
cmp rbx, rax
ja 0x1400078a0
test rbx, rbx
je 0x1400078ee
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 0x140007d20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140095028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140007d4d
xor eax, eax
jmp 0x140007eb9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007d87
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007d87
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 0x140007eb9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007eac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140007dca
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 0x140007df5
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 0x140007eb1
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 0x140007e64
sub eax, 1
je 0x140007e64
cmp eax, 2
jne 0x140007eac
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 0x140007eb1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007e92
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 0x140007eac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140007eb1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007ac70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400083f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140095028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400084c3
cmp byte [rcx + 0x71], 0
je 0x1400084c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400084bf
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 0x140008484
sub eax, 1
je 0x140008488
cmp eax, 2
jne 0x1400084bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007ac70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400084b6
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 0x1400084bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000846c
xor al, al
jmp 0x14000846c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007ac70
add rsp, 0x60
pop rbx
ret
Function at 0x140009410
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 0x140009471
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 0x140009430
mov ecx, dword [r9]
jmp 0x140009558
cmp ecx, 0x4e0
jb 0x140009558
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140009490
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400094e0
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 0x14000f320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000f37d
lea rbx, [0x14007f390]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000f364
cmp r10, 2
jb 0x14000f364
cmp byte [r9], r8b
jne 0x14000f364
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000f340
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000f3bf
lea rbx, [0x14007f390]
cmp r8b, 0x23
jne 0x14000f3a3
cmp byte [r9], r8b
jne 0x14000f3a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000f390
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000f580
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000f59e
mov qword [r8], r14
lea rdx, [0x1400851f0]
call fcn.14000f3d0
mov rbx, rax
test rax, rax
jne 0x14000f5c3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000f6ed
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f6ed
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000f6ed
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f6ed
cmp rdi, 0xffffffffffffffff
je 0x14000f6ed
mov rcx, rdi
call fcn.140014770
mov rbp, rax
test rax, rax
je 0x14000f6ed
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000f6da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140095c00]
test r8, r8
je 0x14000f6cf
movsx rdx, word [r8 + 0x6338]
lea rcx, [r8 + 0x633c]
mov r9d, dword [r8 + 0x4098]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000f6c4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6338], cx
movsx rax, cx
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6334]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f6f6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000f6e8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000f6f8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140018760
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, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140095028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x140095c00]
mov r11d, 1
mov r15d, dword [rsp + 0x90]
mov r14d, edx
mov r9d, r15d
mov r10, rcx
mov rbx, qword [rsi + 0x4140]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1080103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
mov r9d, dword [rsi + 0x4b40]
cmovae eax, r11d
bts r9d, 8
mov dword [rsi + 0x4b40], r9d
mov dword [rsi + 0x4b7c], eax
cmp qword [rbx + 0x1e8], 0
jne 0x1400187ff
cmp qword [rsi + 0x5000], 0
mov eax, 0x290
je 0x140018804
mov eax, 0x260
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x144]
subss xmm2, dword [rbx + 0x140]
mov rdx, qword [r8]
call fcn.140023940
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rsi + 0x4b64], xmm0
xor edx, edx
mov dword [rsi + 0x4b40], r9d
mov dword [rsi + 0x4b48], r11d
mov r9, qword [rbx + 8]
test r10, r10
je 0x140018874
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.14000f180
jmp 0x140018885
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.14000f180
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3a28]
xor edx, edx
call fcn.14001c190
mov rdi, qword [rsi + 0x4140]
movzx ebp, al
movss dword [rsi + 0x3a28], xmm6
cmp word [rdi + 0x100], 1
mov dword [rdi + 0xbc], r14d
jne 0x1400188cc
movsd xmm0, qword [rdi + 0x58]
movsd qword [rbx + 0x140], xmm0
mov r9d, r14d
lea rdx, [0x1400844e1]
not r9d
lea r10, [0x14007f390]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1400188f9
cmp byte [rdx], r8b
jne 0x1400188f9
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1400188e6
not ebx
cmp dword [rsi + 0x41a4], ebx
jne 0x140018929
xor edx, edx
xor ecx, ecx
call fcn.1400140b0
cmp dword [rsi + 0x4d20], r14d
jne 0x140018976
bt r15d, 0x17
jb 0x140018976
cmp word [rdi + 0x19c], 0
jne 0x14001894c
cmp byte [rdi + 0x1a2], 0
je 0x140018976
xor edx, edx
mov rcx, rdi
call fcn.14001f6a0
xor edx, edx
mov rcx, rdi
call fcn.140026900
mov rdx, rdi
mov ecx, ebx
call fcn.1400140b0
mov eax, dword [rsi + 0x4d4c]
mov dword [rsi + 0x41d0], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007ac70
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret