joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400098cc
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
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1400098f3
and qword [r8], 0
call fcn.1400099d8
mov rbx, rax
test rax, rax
je 0x1400099bb
mov rcx, rax
call fcn.140009854
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400099b2
mov rax, qword [0x14004ce98]
test rax, rax
je 0x14000992b
inc dword [rax + 0xf4]
mov rdx, qword [0x14004cea8]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x1400099b2
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]
cmp rax, rdi
je 0x14000998a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004ce98]
test rax, rax
je 0x140009978
dec dword [rax + 0xf4]
mov rdx, qword [0x14004cea8]
mov rcx, rsi
call qword [0x14004c008]
jmp 0x1400099bb
test ebp, ebp
jle 0x14000999c
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400099ad
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400099bd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
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

Function at 0x140009cfc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x140009d2a
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x14003fb20]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x140009d07
not r8d
mov eax, r8d
ret

Function at 0x140009d34
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140009d8e
mov r11b, 0x23
lea rbx, [0x14003fb20]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x140009d78
cmp rdx, 2
jb 0x140009d78
cmp byte [r10], r11b
jne 0x140009d78
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x140009d56
jmp 0x140009dcf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140009dcf
mov r11b, 0x23
lea rbx, [0x14003fb20]
cmp dl, r11b
jne 0x140009db3
cmp byte [r10], r11b
jne 0x140009db3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x140009da1
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000b178
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000b211
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000b1c9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400162e8
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400159ec
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x14004cea0]
movsxd r8, eax
mov rax, qword [rdi + 0x53f0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000b219
mov rcx, rbx
call fcn.1400159ec
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400118b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14004ce98]
mov rbx, rcx
and dword [rax + 0x537c], 0
test rcx, rcx
je 0x140011919
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140011924
lea rdx, [0x140040f48]
mov rcx, rbx
mov rdi, rax
call fcn.1400099d8
mov rbx, rax
test rax, rax
je 0x140011919
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140024e3c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14004ca40]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009080
mov rcx, qword [0x14004cf20]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14004cf28]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14004cf30]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14004cf28], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0xe0c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0xe0d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0xe0f], 0
mov byte [rdi + 0xe0e], al
call fcn.140009080
cmp byte [rax + 0xd3], 0
lea rbx, [rax + 0xdf4]
je 0x140024f65
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0xdf8]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14004cf20]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14004cf20]
jne 0x140024fba
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140024fba
mov rcx, qword [0x14004cf20]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140024fba
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x70], 0
je 0x140024fc5
or eax, 0xffffffff
jmp 0x140024fca
call fcn.140009204
cmp dword [0x14004c018], eax
je 0x140024fdd
mov dword [0x14004c018], eax
call fcn.140025008
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003cb10
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140033b30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14004ca40]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140033bbf
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140033bac
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x14004d140], eax
mov eax, dword [rsp + 0x38]
jmp 0x140033bd0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140033b7a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14004d140]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14003cb10
add rsp, 0x178
ret

Function at 0x140033ce0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14004ca40]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140033d3a
cmp dword [rsp + 0x90], 0x7c
jge 0x140033d3a
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14004c640]
call fcn.140033efc
nop
lea rcx, [rsp + 0x50]
call fcn.140031670
nop
cmp qword [rsp + 0x30], 0
jne 0x140033d61
lea rdx, str.select_a_key
lea rcx, [rsp + 0x50]
call fcn.14003206c
nop
jmp 0x140033d71
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003206c
nop
cmp dword [rsp + 0xa0], 1
jne 0x140033d8d
lea rdx, str.press_any_key
lea rcx, [rsp + 0x50]
call fcn.14003206c
nop
movss xmm2, dword [0x140041140]
movss xmm1, dword [0x1400460b4]
lea rcx, [rsp + 0x48]
call fcn.140031a40
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140035488
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14002c680
movzx eax, al
test eax, eax
je 0x140033e02
cmp dword [rsp + 0xa0], 0
jne 0x140033e02
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140001608
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003cb10
add rsp, 0x88
ret
Function at 0x14003b330
Capabilities:
Hide graphical window
Terminate process

Disassembly:
sub rsp, 0xc8
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 0
lea rax, [0x140034900]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov qword [rsp + 0x88], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x90], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
lea rax, [0x140045950]
mov qword [rsp + 0xb0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x14003b3f9
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x14004d050], rax
cmp qword [0x14004d050], 0
je 0x14003b42a
mov dword [0x14004d044], 0x780
mov dword [0x14004d058], 0x64
jmp 0x14003b436
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov eax, dword [0x14004d074]
add eax, 5
mov ecx, dword [0x14004d070]
add ecx, 0xa
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov edx, dword [0x14004d058]
mov dword [rsp + 0x38], edx
mov edx, dword [0x14004d044]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, 0x90000000
lea r8, [0x140045960]
lea rdx, str.lunarhook
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004d110], rax
lea rdx, [0x140045940]
mov rcx, qword [0x14004d110]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov rcx, qword [0x14004d110]
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
or eax, 0x20
mov dword [rsp + 0x60], eax
mov rax, qword [0x14004d110]
mov qword [rsp + 0x68], rax
mov r8d, dword [rsp + 0x60]
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14004d110]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x14004d110]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 5
mov rcx, qword [0x14004d110]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004d110]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
add rsp, 0xc8
ret
Function at 0x14003be70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x148
mov rax, qword [0x14004ca40]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [0x14004d048]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x14003beaa
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov r8d, 0x40
xor edx, edx
lea rcx, [0x14004d000]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14004d070]
mov dword [0x14004d000], eax
mov eax, dword [0x14004d074]
mov dword [0x14004d004], eax
mov dword [0x14004d008], 0x15
mov dword [0x14004d014], 0
mov dword [0x14004d030], 0x50
mov dword [0x14004d018], 1
mov dword [0x14004d02c], 1
mov rax, qword [0x14004d110]
mov qword [0x14004d020], rax
mov dword [0x14004d028], 1
mov rax, qword [0x14004d048]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x14004d118]
mov qword [rsp + 0x30], rax
lea rax, [0x14004d000]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
mov r9, qword [0x14004d110]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x14004d048]
call qword [rsp + 0x48]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x418
mov edx, 0x37b8
lea rcx, str.1.89_WIP
call fcn.140007278
xor ecx, ecx
call fcn.140006f6c
call fcn.140009080
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14004d110]
call fcn.140024d04
mov rcx, qword [0x14004d118]
call fcn.1400243c8
xor ecx, ecx
call fcn.14001d3bc
lea rcx, [rsp + 0x80]
call fcn.140016ff4
mov byte [rsp + 0xa0], 0
mov dword [rsp + 0x98], 5
mov dword [rsp + 0x9c], 5
movss xmm0, dword [0x140045568]
movss dword [rsp + 0xd0], xmm0
lea rax, [0x140045f70]
mov qword [rsp + 0xb8], rax
movss xmm0, dword [0x14003f8bc]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.140031a78
lea rdx, str.C:WindowsFonts_arialbd.ttf
lea rcx, [rsp + 0x110]
call fcn.140030958
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x50]
call fcn.14001a180
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x110]
call fcn.140035720
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movss xmm2, dword [0x140041220]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140017aa0
mov qword [0x14004cf98], rax
mov rax, qword [0x14004d048]
mov rax, qword [rax]
mov rcx, qword [0x14004d048]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14003cb10
add rsp, 0x148
ret
Function at 0x14003c544
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rax, qword [0x14004ca40]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [0x1400458a0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str._n____Open_Fortnite____DISCORD.GG_VOIDCC
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002fb98
nop
call fcn.140033e24
movzx eax, al
cmp qword [0x14004d068], 0
jne 0x14003c5ce
lea rdx, str.Fortnite
lea rcx, [rsp + 0x20]
call fcn.1400312c0
lea rcx, [rsp + 0x20]
call fcn.1400357e8
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14004d068], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x14003c589
lea rcx, str.FortniteClient_Win64_Shipping.exe
call fcn.140033b30
mov dword [0x14004d05c], eax
call fcn.140032660
movzx eax, al
call fcn.140033c14
mov qword [0x14004d130], rax
mov rdx, qword [0x14004d130]
lea rcx, str._n____Base:__p
call fcn.140016b64
call fcn.14003b330
call fcn.14003be70
call fcn.14003c0e4
call fcn.14003c470
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003cb10
add rsp, 0x48
ret

Function at 0x14003d478
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003d4c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003d4c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003d4c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003d4c2
cmp dword [rcx + 0x84], 0xe
jbe 0x14003d4c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003d4c4
xor al, al
add rsp, 0x28
ret

Function at 0x141ec6cf4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], r8
mov r11d, 0xa61538a4
lea r11, [0x141edab08]
movzx r8d, byte [rdx]
push 0xfffffffff1a2038c
xor r8d, eax
and r8d, 0xff
mov r8d, dword [r11 + r8*4]
shr eax, 8
xor eax, r8d
inc rdx
xor eax, 0xed8faca1
dec rsi
lea rsp, [rsp + 8]
jne 0x141ec6d05
call fcn.141ed48a7
mov ecx, 0xdf37e2b4
sub rbx, 1
call fcn.141ee0583
Function at 0x140620058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406201df
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 0x140620089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062006f
add dl, dl
jne 0x140620096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406200f6
xor eax, eax
add dl, dl
jne 0x1406200a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406201ad
add dl, dl
jne 0x1406200b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406200c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406200d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406200dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406200ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062007e
mov eax, 1
add dl, dl
jne 0x140620106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140620113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406200fb
sub eax, ebx
mov ebx, 1
jne 0x14062014c
mov ecx, 1
add dl, dl
jne 0x14062012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140620123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140620168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140620175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062015d
cmp eax, 0x7d00
jae 0x14062019b
cmp eax, 0x500
jb 0x140620196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062007e
cmp eax, 0x7f
ja 0x14062019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406201d2
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 0x14062007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800186d0
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 0x18001872d
lea rbx, [0x180124630]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180018714
cmp r10, 2
jb 0x180018714
cmp byte [r9], r8b
jne 0x180018714
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 0x1800186f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001876f
lea rbx, [0x180124630]
cmp r8b, 0x23
jne 0x180018753
cmp byte [r9], r8b
jne 0x180018753
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 0x180018740
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180018930
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 0x18001894e
mov qword [r8], r14
lea rdx, [0x180138b18]
call fcn.180018780
mov rbx, rax
test rax, rax
jne 0x180018973
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 0x180018a9f
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 0x180018a9f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180018a9f
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 0x180018a9f
cmp rdi, 0xffffffffffffffff
je 0x180018a9f
mov rcx, rdi
call fcn.18001c0d0
mov rbp, rax
test rax, rax
je 0x180018a9f
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 0x180018a8c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1803f1f90]
test r8, r8
je 0x180018a81
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180018a76
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180018aa8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180018a9a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180018aaa
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