joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400092a4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp byte [0x1400110da], bl
jne 0x140009359
cmp byte [0x140010dc4], bl
je 0x140009359
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000936a
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x140009316
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor edi, edi
jmp 0x140009336
mov edx, 0x105
mov rcx, rdi
call qword [0x14000b638]
mov edi, eax
test eax, eax
jne 0x140009338
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
jmp 0x14000936a
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009810
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x14000986a
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140009872
mov r14, qword [r14]
jmp 0x14000983b
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x1400098a7
jmp 0x1400098b5
inc rax
inc rax
inc rax
inc rax
jmp 0x14000988e
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0x7a000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0xb8000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x29d
push rax
movabs r15, 0x3ae00
mov eax, 0x89
imul r12, rax
movabs rax, 0x20c
add rax, r11
add r12, rax
call fcn.14000996c
mov r12d, 0x52611
movabs r14, 0xba000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.14000996c
pop rax
jmp 0x140009992
nop
ret
mov r12d, 0x8000000
mov r15d, 0x107
movabs r14, 0x7a000
mov eax, 0xf
imul r15d, eax
add r15d, 0x97
add r14, r11
sub r14, r15
mov r15, r14
sub r15, r12
mov r12d, 0x57211
add r12, r11
mov eax, dword [r12]
xor eax, 0xfb498c4c
dec eax
cmp eax, 0
je 0x1400099ef
add rax, r14
mov r10, qword [rax]
add r10, r15
mov qword [rax], r10
add r12, 4
jmp 0x1400099cd
sub rsp, 0x28
movabs r14, 0x58d6
mov r12d, 0x7683
add r12, 0x90e33
add r12, r14
add r12, r11
push r12
dec r10
lea r15d, [eax]
jmp 0x140009990

Function at 0x140009f1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140009f68
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140009f60
cmp dword [rcx + 0x3c], edx
jl 0x140009f60
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140009f60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140009f68
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140c420b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c42237
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 0x140c420e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c420c7
add dl, dl
jne 0x140c420ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c4214e
xor eax, eax
add dl, dl
jne 0x140c420fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c42205
add dl, dl
jne 0x140c4210e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c4211b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c42128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c42135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c42142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c420d6
mov eax, 1
add dl, dl
jne 0x140c4215e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c4216b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c42153
sub eax, ebx
mov ebx, 1
jne 0x140c421a4
mov ecx, 1
add dl, dl
jne 0x140c42186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c42193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c4217b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c420d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c421c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c421cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c421b5
cmp eax, 0x7d00
jae 0x140c421f3
cmp eax, 0x500
jb 0x140c421ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c420d6
cmp eax, 0x7f
ja 0x140c421f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c420d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c4222a
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 0x140c420d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002810
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400dd180]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
lea rdx, str.Press_Key
cmp ecx, 0x7b
ja 0x140002849
movsxd rax, ecx
lea rdx, str.Keybind
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400c5650]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
cmp byte [rdx], 0
jne 0x140002878
mov r8d, 8
lea rdx, str.Your_Key
jmp 0x14000288a
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140002880
lea rcx, [rsp + 0x38]
call fcn.14000f020
cmp ebx, 1
jne 0x1400028b0
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.14000f020
mov dword [rsp + 0x30], 0x42fa0000
mov dword [rsp + 0x34], 0x41a00000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.14003ee50
test al, al
je 0x1400028ff
test ebx, ebx
jne 0x1400028ff
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000293f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000293a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000293a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090de0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140090dc0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000ab20
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x90
mov rax, qword [0x1400dd180]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, str.C:config.ini
mov rdi, r8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea r8, [0x1400a03ee]
mov dword [rsp + 0x20], 0x40
lea rcx, str.Colors
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14000abdb
lea r8, [rsp + 0x30]
lea rdx, [0x1400a09e0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x14000abd4
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
cmp rbx, 4
jge 0x14000abcc
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
lea r8, [rsp + 0x30]
cvtsd2ss xmm1, xmm0
lea rdx, [0x1400a09e0]
xor ecx, ecx
movss dword [rdi + rbx*4], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
inc rbx
test rax, rax
jne 0x14000ab95
mov rbx, qword [rsp + 0xa0]
mov eax, 1
jmp 0x14000abdd
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140090dc0
add rsp, 0x90
pop rdi
ret
Function at 0x14000ceb0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400dd180]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rdx, str.MedalOverlay
lea rcx, str.MedalOverlayClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
mov qword [0x1400e4d78], rax
test rax, rax
jne 0x14000cf09
mov r9d, 0x40
lea r8, [0x1400a03ee]
lea rdx, str._Overlay_Failed__Please_Make_Sure_You_Have_Medal_Open
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000cfb6
mov dword [rsp + 0x30], 0x40
mov eax, dword [0x1400e4d6c]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1400e4d60]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x1400e4d78]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, qword [0x1400e4d78]
call qword [sym.imp.USER32.dll_SetWindowLongA]
movdqa xmm0, xmmword [0x1400c5620]
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1400e4d78]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x1400e4d78]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400e4d78]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor edx, edx
mov rcx, qword [0x1400e4d78]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.14000c260
call fcn.14000ca50
movzx r8d, al
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 1
call fcn.140091088
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140012ee0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000d055
cmp dword [rsp + 0x48], 0
je 0x14000d049
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000d049
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140090dc0
add rsp, 0x70
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400137a0
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 0x140013801
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 0x1400137c0
mov ecx, dword [r9]
jmp 0x1400138eb
cmp ecx, 0x4e0
jb 0x1400138eb
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 0x140013820
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 0x140013870
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 0x140015110
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 0x14001516d
lea rbx, [0x1400bf990]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140015154
cmp r10, 2
jb 0x140015154
cmp byte [r9], r8b
jne 0x140015154
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 0x140015130
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400151af
lea rbx, [0x1400bf990]
cmp r8b, 0x23
jne 0x140015193
cmp byte [r9], r8b
jne 0x140015193
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 0x140015180
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400152f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001530a
mov qword [r8], 0
lea rdx, [0x1400c4a54]
call fcn.1400151c0
mov rbx, rax
test rax, rax
jne 0x14001532a
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 0x140015403
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140015403
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140015403
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 0x140015403
cmp rdi, 0xffffffffffffffff
je 0x140015403
mov rax, qword [0x1400e4ce8]
test rax, rax
je 0x1400153a0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140015403
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 0x1400153f0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e4ce8]
test rax, rax
je 0x1400153e5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001540c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400153fe
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001540e
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 0x140017810
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r14, [0x1400bf990]
movsxd rcx, dword [rcx + 0xd0]
mov rbp, rdx
mov rdi, rdx
mov rbx, rdx
mov r11, rdx
shr rbx, 0x30
mov r10, rdx
shr r11, 0x28
mov esi, dword [rax + rcx*4 - 4]
mov r9, rdx
not esi
movzx eax, bpl
movzx ecx, sil
mov r8, rdx
xor rcx, rax
shr esi, 8
shr rdx, 8
movzx eax, dl
shr r8, 0x10
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r8b
shr r9, 0x18
shr r10, 0x20
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r9b
shr rdi, 0x38
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r10b
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r11b
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, bl
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
xor esi, dword [r14 + rcx*4]
movzx ecx, sil
xor rcx, rdi
shr esi, 8
xor esi, dword [r14 + rcx*4]
mov rcx, qword [0x1400e4ce8]
not esi
cmp dword [rcx + 0x3ed4], esi
jne 0x140017918
mov r8, rbp
mov edx, recv
mov ecx, esi
call fcn.14002a3b0
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140017930
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x1400bf990]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400e4ce8]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x1400179c5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14002a3b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140018010
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x38
mov byte [rax - 0x18], 0x73
mov r9, rcx
mov byte [rax - 0x17], 0x7c
xor r8d, r8d
mov byte [rax - 0x16], 0x10
mov r11d, reloc.WS2_32.dll_ntohs
mov byte [rax - 0x15], 0x36
movabs r10, 0x96bfec45bb6eb959
mov byte [rax - 0x14], 0x30
mov byte [rax - 0x13], 0x33
mov byte [rax - 0x12], 0x33
mov byte [rax - 0x11], 0x19
mov byte [rax - 0x10], 0xb
mov byte [rax - 0xf], 0x13
mov byte [rax - 0xe], 1
mov byte [rax - 0xd], 0xe
mov byte [rax - 0xc], 0x6a
movzx eax, byte [rax - 0x18]
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0x20]
mov rcx, r8
and ecx, r11d
mov rdx, r10
cmp rcx, r11
cmovae rcx, r11
shl cl, 2
shr rdx, cl
and dl, r11b
xor dl, al
lea eax, [r8 + 0x59]
xor dl, al
mov byte [rsp + r8 + 0x20], dl
inc r8
cmp r8, 0xd
jb 0x140018070
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, r9
call fcn.140017ed0
add rsp, 0x38
ret
Function at 0x1400180c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x38
mov byte [rax - 0x18], 0x73
mov r9, rcx
mov byte [rax - 0x17], 0x7c
xor r8d, r8d
mov byte [rax - 0x16], 0x14
mov r11d, reloc.WS2_32.dll_ntohs
mov byte [rax - 0x15], 0x38
movabs r10, 0x96bfec45bb6eb959
mov byte [rax - 0x14], 0x21
mov byte [rax - 0x13], 0x3d
mov byte [rax - 0x12], 0x33
mov byte [rax - 0x11], 0x19
mov byte [rax - 0x10], 0xb
mov byte [rax - 0xf], 0x13
mov byte [rax - 0xe], 1
mov byte [rax - 0xd], 0xe
mov byte [rax - 0xc], 0x6a
movzx eax, byte [rax - 0x18]
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0x20]
mov rcx, r8
and ecx, r11d
mov rdx, r10
cmp rcx, r11
cmovae rcx, r11
shl cl, 2
shr rdx, cl
and dl, r11b
xor dl, al
lea eax, [r8 + 0x59]
xor dl, al
mov byte [rsp + r8 + 0x20], dl
inc r8
cmp r8, 0xd
jb 0x140018120
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, r9
call fcn.140017ed0
add rsp, 0x38
ret
Function at 0x140024620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400dd180]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e4ce8]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140024681
cmp byte [rbx + 0x424e], 0
jne 0x140024681
movsx r9d, word [rbx + 0x5342]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140014fd0
test dil, 1
je 0x1400247a8
jmp 0x14002470c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5342]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400c557c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400c5568]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fb8], rax
mov dword [rbx + 0x3fa4], 1
movss dword [rbx + 0x3fb0], xmm0
movss dword [rbx + 0x3fb4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400c5458]
or dword [rbx + 0x3fa0], 0x41
movss dword [rbx + 0x4000], xmm0
call fcn.140014fd0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140024760
lea r11, [0x1400bf990]
nop dword [rax]
cmp r9b, 0x23
jne 0x140024743
cmp byte [r8], r9b
jne 0x140024743
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 0x140024730
not ecx
call fcn.14001d620
test rax, rax
je 0x1400247a8
cmp byte [rax + 0x96], 0
je 0x1400247a8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5342]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5342]
call fcn.140014fd0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001fda0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140090dc0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140028f80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140029027
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140028fda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002b000
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140015750
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e4c26]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002902f
mov rcx, rbx
call fcn.140015750
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400295a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e4ce8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140029603
mov qword [rsp], rbx
lea rbx, [0x1400bf990]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400295e3
cmp byte [r8], r9b
jne 0x1400295e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400295d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140029637
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002963e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140029624
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret