joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029980
Capabilities:
Read file on windows

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 rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400299ad
xor eax, eax
jmp 0x140029a9c
cmp qword [rcx + 0x68], 0
je 0x1400299bf
call 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]
jmp 0x140029a9c
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400299d6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400299d8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140029a05
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rsi + 0x80], 0
mov rbx, rbp
je 0x140029a96
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140029a43
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
mov r15d, 0xfff
jmp 0x140029a71
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x140029ab5
cmp rbp, r15
ja 0x140029a4b
test rbx, rbx
je 0x140029a96
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rdi, rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
sub rdi, rbp
jmp 0x140029a99
Function at 0x140029e80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140029eb9
xor eax, eax
jmp 0x140029fcc
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140029ee2
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x140029ee2
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], sil
mov eax, esi
jmp 0x140029fcc
cmp qword [rcx + 0x80], 0
je 0x140029fca
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140029f1d
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 0x140029f41
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
cmovne edi, esi
jmp 0x140029fca
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
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 0x140029f8f
sub eax, 1
je 0x140029f8f
cmp eax, 2
jne 0x140029fca
movsx ecx, byte [rbp - 0x40]
jmp 0x140029f2a
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140029fba
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140029fca
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
mov eax, esi
jne 0x140029fcc
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140037640
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002a49c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002a512
cmp byte [rcx + 0x71], 0
je 0x14002a512
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x18]
call qword [case.0x140018f01.0]
cmp eax, 0xffffffff
je 0x14002a567
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 0x14002a52c
sub eax, 1
je 0x14002a530
cmp eax, 2
jne 0x14002a567
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140037640
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002a55e
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 0x14002a567
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002a514
xor al, al
jmp 0x14002a514
Function at 0x14002c030
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
test rcx, rcx
jne 0x14002c05e
xor eax, eax
jmp 0x14002c1ad
mov qword [rbp - 1], 0xf
mov qword [rbp - 9], SHCreateMemStream
movsd xmm0, qword [str.channelport]
movsd qword [rbp - 0x19], xmm0
movzx eax, word [0x1400462d8]
mov word [rbp - 0x11], ax
mov al, byte [0x1400462da]
mov byte [rbp - 0xf], al
mov byte [rbp - 0xe], bl
lea r8, [rbp - 0x19]
lea rdx, [rbp + 7]
call qword [sym.imp.Cmmlib.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Cmm::CommandLine::GetSwitchValueASCII_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14002c0df
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c0da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c0da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140037900
mov qword [rbp - 9], rbx
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], bl
cmp qword [rbp + 0x17], rbx
je 0x14002c16d
lea rdx, str.com.zoom.ipc.edgewebview2server
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140069b98], rax
test rax, rax
je 0x14002c162
mov edx, 0x1388
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14002c162
mov rcx, qword [0x140069b98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140069b98], rbx
mov ebx, 1
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14002c1ab
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c1a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c1a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140037900
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140037640
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x14002eea0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.140038b40
sub rsp, rax
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x14002efb6
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x14002efaf
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002ef70
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x1400600a0]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.14002efe0
test eax, eax
je 0x14002efb6
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x14002ef30
mov eax, 1
jmp 0x14002efb8
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.140037640
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x14002fc80
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14002fe93
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x20]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x14002fe8b
mov eax, 0x5a4d
mov qword [rsp + 0x70], r14
mov r14d, dword [rsp + 0x28]
cmp word [rdi], ax
jne 0x14002fe86
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r14
jae 0x14002fe86
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0x78], rsi
lea rsi, [rcx + rdi]
jne 0x14002fe81
movzx eax, word [rsi + 4]
mov ecx, 0x14c
mov qword [rsp + 0xa0], rbp
cmp cx, ax
jne 0x14002fd24
xor ebp, ebp
jmp 0x14002fd41
mov ecx, 0x200
cmp cx, ax
je 0x14002fd3c
mov ecx, 0x8664
cmp cx, ax
jne 0x14002fe79
mov ebp, 1
mov qword [rsp + 0x98], rbx
mov ebx, dword [rsi + 0x28]
add rbx, rdi
je 0x14002fe71
cmp rbx, rdi
jbe 0x14002fe71
lea rax, [r14 + rdi]
cmp rbx, rax
jae 0x14002fe71
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14002fe71
test dword [rsp + 0x58], 0x1000
je 0x14002fe71
test dword [rsp + 0x60], 0x1000000
je 0x14002fe71
mov eax, dword [rsp + 0x5c]
xor ecx, ecx
test al, 0x10
jne 0x14002fdcc
test al, 0x20
jne 0x14002fdcc
test al, 0x40
jne 0x14002fdcc
test al, al
jns 0x14002fdd1
mov ecx, 1
test ecx, ecx
je 0x14002fe71
mov r9d, ebp
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.140030930
mov edx, 0x14
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14002fe71
test ebp, ebp
jne 0x14002fe2b
mov eax, dword [0x140060050]
mov dword [rbx], eax
movzx eax, byte [0x140060054]
mov byte [rbx + 4], al
jmp 0x14002fe3f
movzx eax, word [0x140060058]
mov word [rbx], ax
movzx eax, byte [0x14006005a]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0x90]
lea r9, [rsp + 0x90]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
Function at 0x140001930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov rax, rbx
movsxd rax, dword [rax + 0x3c]
lea rax, [rbx + rax]
mov eax, dword [rax + 0x88]
lea r14, [rax + rbx]
xor r13, r13
xor rdi, rdi
mov eax, dword [r14 + 0x20]
lea rax, [rax + rbx]
mov ecx, r13d
add ecx, ecx
add ecx, ecx
mov ecx, ecx
mov eax, dword [rax + rcx]
lea rax, [rax + rbx]
mov rcx, rax
mov rdx, rsi
call fcn.1400019cc
test al, al
je 0x1400019a7
mov eax, r13d
add eax, eax
add eax, dword [r14 + 0x24]
mov eax, eax
movzx rax, word [rax + rbx]
and ax, 0xffff
movzx eax, ax
add eax, eax
add eax, eax
add eax, dword [r14 + 0x1c]
mov eax, eax
mov eax, dword [rax + rbx]
lea rdi, [rax + rbx]
add r13d, 1
test rdi, rdi
jne 0x1400019b6
cmp r13d, dword [r14 + 0x18]
jne 0x140001958
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret

Function at 0x140004398
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140004223
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004223
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004223
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004223
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004223
cmp dword [rcx + 0x84], 0xe
jbe 0x140004223
cmp dword [rcx + 0xf8], 0
je 0x140004223
mov ecx, ebx
call fcn.1400042c4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400040a0
cmp dword [rbp + 0x20], 0
je 0x140004270
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140004278
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400041bc
Function at 0x1807c0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1807c01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807c0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807c006f
add dl, dl
jne 0x1807c0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807c00f6
xor eax, eax
add dl, dl
jne 0x1807c00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807c01ad
add dl, dl
jne 0x1807c00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807c00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807c00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807c00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807c00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807c007e
mov eax, 1
add dl, dl
jne 0x1807c0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807c0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807c00fb
sub eax, ebx
mov ebx, 1
jne 0x1807c014c
mov ecx, 1
add dl, dl
jne 0x1807c012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807c013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807c0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807c007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807c0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807c0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807c015d
cmp eax, 0x7d00
jae 0x1807c019b
cmp eax, 0x500
jb 0x1807c0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807c007e
cmp eax, 0x7f
ja 0x1807c019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807c007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807c01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807c007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004a40
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 0x140004a9d
lea rbx, [0x1400b79a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004a84
cmp r10, 2
jb 0x140004a84
cmp byte [r9], r8b
jne 0x140004a84
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 0x140004a60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004adf
lea rbx, [0x1400b79a0]
cmp r8b, 0x23
jne 0x140004ac3
cmp byte [r9], r8b
jne 0x140004ac3
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 0x140004ab0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004c20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140004c3a
mov qword [r8], 0
lea rdx, [0x1400b7500]
call fcn.140004af0
mov rbx, rax
test rax, rax
jne 0x140004c5a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140004d31
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 0x140004d31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004d31
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004d31
cmp rdi, 0xffffffffffffffff
je 0x140004d31
mov rax, qword [0x1400d0050]
test rax, rax
je 0x140004cce
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004d31
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 0x140004d1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d0050]
test rax, rax
je 0x140004d13
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004d3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140004d2c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004d3c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400080e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1400b79a0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140008176
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001b420
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000b650
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1400d0050]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x14000b697
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000b69c
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x14000b6e1
lea eax, [r15 + 1]
je 0x14000b6e4
mov eax, r15d
ucomiss xmm0, xmm3
jp 0x14000b6f1
jne 0x14000b6f1
mov r15d, 2
movss xmm2, dword [0x1400be0b8]
or r15d, eax
comiss xmm3, xmm1
jb 0x14000b70d
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000b70d
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14000b71e
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000b71e
movaps xmm0, xmm2
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000b767
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140004920
jmp 0x14000b77d
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.140004920
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000e350
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x14000b7ce
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400b6a11]
not r9d
lea r10, [0x1400b79a0]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14000b7fb
cmp byte [rdx], r8b
jne 0x14000b7fb
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 0x14000b7e8
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000b82b
xor edx, edx
xor ecx, ecx
call fcn.140008180
cmp dword [rdi + 0x48e0], r14d
jne 0x14000b871
cmp word [rsi + 0x15c], 0
jne 0x14000b847
cmp byte [rsi + 0x162], 0
je 0x14000b871
xor edx, edx
mov rcx, rsi
call fcn.1400107a0
xor edx, edx
mov rcx, rsi
call fcn.140016520
mov rdx, rsi
mov ecx, ebx
call fcn.140008180
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret