joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477a70
Capabilities:
Create directory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [rcx + 0x38]
mov rbx, rcx
mov ecx, 0x1000
call fcn.0040e980
mov edx, 0xfff
mov rcx, rax
mov rbp, rax
call sub.msvcrt.dll__getcwd
test rax, rax
je 0x477c03
mov ecx, 0x400
call fcn.0040e980
lea rdi, [rax + 8]
mov rcx, rax
mov qword [rax], 0
mov qword [rax + 0x3f8], 0
mov r12, rax
xor eax, eax
and rdi, 0xfffffffffffffff8
sub rcx, rdi
add ecx, 0x400
shr ecx, 3
rep stosq qword [rdi], rax
mov ecx, 0x1000
mov byte [r12], 0
call fcn.0040e980
mov r8d, 0xfff
mov rbx, rax
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_strncpy
mov edx, 0x2f
mov rcx, rbx
call sub.msvcrt.dll_strrchr
test rax, rax
je 0x477be0
mov byte [rax], 0
mov rcx, r12
call fcn.0040ea80
lea rcx, [rsp + 0x28]
lea rdx, str._sOpenCL_
mov r8, rbx
mov qword [rsp + 0x28], 0
call fcn.0041c0e0
lea rdx, str._sOpenCL_
lea rcx, [rsp + 0x30]
mov r8, rbx
mov qword [rsp + 0x30], 0
call fcn.0041c0e0
mov rcx, qword [rsp + 0x28]
call fcn.0040ea80
mov rcx, qword [rsp + 0x30]
mov r8d, 0x2f
mov edx, 0x5c
call fcn.0041c000
lea rdx, str._s_kernels
lea rcx, [rsp + 0x38]
mov r8, rbx
mov qword [rsp + 0x38], 0
call fcn.0041c0e0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.msvcrt.dll__mkdir]
mov rcx, qword [rsp + 0x38]
call fcn.0040ea80
mov rax, qword [rsp + 0x30]
mov qword [rsi], rbp
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x28], rbx
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov edx, 0x5c
mov rcx, rbx
call sub.msvcrt.dll_strrchr
test rax, rax
jne 0x477b18
mov eax, 0x2e
mov word [rbx], ax
jmp 0x477b1b
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
lea rdx, str.getcwd__:__s
mov r8, rax
mov rcx, rbx
call fcn.00403390
mov rcx, rbp
call fcn.0040ea80
mov eax, 0xffffffff
jmp 0x477bd0

Function at 0x477cb0
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, edx
mov rbx, rcx
call fcn.0040ea30
mov rcx, rax
mov rsi, rax
call fcn.00529980
mov rcx, rax
mov rdi, rax
call sub.msvcrt.dll_strlen
cmp rax, 1
ja 0x477d00
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__mkdir]
cmp eax, 0xffffffff
je 0x477d20
mov rcx, rsi
call fcn.0040ea80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, ebp
mov rcx, rdi
call fcn.00477cb0
cmp eax, 0xffffffff
jne 0x477cde
mov eax, 0xffffffff
jmp 0x477cf6
call qword [sym.imp.msvcrt.dll__errno]
cmp dword [rax], 0x11
je 0x477cec
jmp 0x477d0f
Function at 0x50e750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
lea r9, [0x0055f100]
xor r8d, r8d
nop
mov eax, r8d
mov edx, 8
nop dword [rax + rax]
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
sub edx, 1
jne 0x50e770
mov dword [r9 + r8*4], eax
add r8, 1
cmp r8, 0x100
jne 0x50e760
lea r8, [0x00560d00]
mov rdx, r9
mov eax, dword [rdx]
add rdx, 4
movzx ecx, al
shr eax, 8
xor eax, dword [r9 + rcx*4]
mov dword [rdx + 0x3fc], eax
cmp r8, rdx
jne 0x50e7a0
mov rax, qword [0x0054f840]
mov rbx, qword [0x0054f850]
mov qword [0x0055f0e0], rax
mov qword [0x00561108], rax
mov qword [0x0055f0f0], rbx
call fcn.0050f6d0
test eax, eax
jne 0x50e7ee
mov qword [0x00561108], rbx
add rsp, 0x20
pop rbx
ret

Function at 0x50eb70
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, qword [r8]
mov rdi, rcx
mov rsi, rdx
mov r14, r8
mov qword [r8], 0
test rbx, rbx
je 0x50ec10
lea r13, [rsp + 0x3c]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, 0x400000
jmp 0x50ebb9
test edx, edx
je 0x50ec10
test rbx, rbx
je 0x50ec10
cmp rbx, 0x400000
mov r8, rbp
mov rdx, rsi
cmovbe r8, rbx
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], 0
mov r9, r13
mov rcx, qword [rdi]
call r12
mov edx, dword [rsp + 0x3c]
add qword [r14], rdx
add rsi, rdx
sub rbx, rdx
test eax, eax
jne 0x50ebb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x50ec90
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, qword [r8]
mov rdi, rcx
mov rsi, rdx
mov r14, r8
mov qword [r8], 0
test rbx, rbx
je 0x50ed30
lea r13, [rsp + 0x3c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, 0x400000
jmp 0x50ecd9
test edx, edx
je 0x50ed30
test rbx, rbx
je 0x50ed30
cmp rbx, 0x400000
mov r8, rbp
mov rdx, rsi
cmovbe r8, rbx
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], 0
mov r9, r13
mov rcx, qword [rdi]
call r12
mov edx, dword [rsp + 0x3c]
add qword [r14], rdx
add rsi, rdx
sub rbx, rdx
test eax, eax
jne 0x50ecd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x513b80
Capabilities:
Encode data using xor

Disassembly:
lea r10, [0x00561120]
xor r9d, r9d
movabs r8, 0xc96c5795d7870f42
mov rax, r9
mov edx, 8
nop dword [rax]
mov rcx, rax
and eax, 1
neg rax
shr rcx, 1
and rax, r8
xor rax, rcx
sub edx, 1
jne 0x513ba0
mov qword [r10 + r9*8], rax
add r9, 1
cmp r9, 0x100
jne 0x513b94
lea r8, [0x00562920]
mov rdx, r10
mov rax, qword [rdx]
add rdx, 8
movzx ecx, al
shr rax, 8
xor rax, qword [r10 + rcx*8]
mov qword [rdx + 0x7f8], rax
cmp r8, rdx
jne 0x513bd2
mov rax, qword [0x0054f870]
mov qword [0x0055d110], rax
ret

Function at 0x516eb0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor eax, eax
mov ebx, 0x40000000
mov rbp, rcx
mov rsi, rdx
mov edi, r8d
mov r12, r9
mov dword [r9], 0
jmp 0x516eec
add eax, dword [r12]
cmp eax, edi
mov dword [r12], eax
jae 0x516f22
mov r8d, edi
mov ecx, dword [rbp + 0x1c]
lea rdx, [rsi + rax]
sub r8d, eax
cmp r8d, 0x40000000
cmova r8d, ebx
call sub.msvcrt.dll__read
cmp eax, 0
jg 0x516ee0
jne 0x516f2f
mov dword [rbp + 0x4c], 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbp
call fcn.00518760
mov eax, 0xffffffff
jmp 0x516f17
Function at 0x525420
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x0055d120]
test rax, rax
je 0x52543e
mov eax, 1
jmp 0x52551c
lea rcx, str.mlang.dll
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x525463
mov eax, 0
jmp 0x52551c
mov rax, qword [rbp - 8]
lea rdx, str.ConvertINetString
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x0055d120], rax
mov rax, qword [rbp - 8]
lea rdx, str.ConvertINetMultiByteToUnicode
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x0055d128], rax
mov rax, qword [rbp - 8]
lea rdx, str.ConvertINetUnicodeToMultiByte
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x0055d130], rax
mov rax, qword [rbp - 8]
lea rdx, str.IsConvertINetStringAvailable
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x0055d138], rax
mov rax, qword [rbp - 8]
lea rdx, str.LcidToRfc1766A
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x0055d140], rax
mov rax, qword [rbp - 8]
lea rdx, str.Rfc1766ToLcidA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x0055d148], rax
mov eax, 1
add rsp, 0x30
pop rbp
ret
Function at 0x5284a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x0055e384]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x5285c0
mov rax, qword [0x0055e388]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x5284ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x5285a6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x5284d0
mov rcx, rsi
call fcn.005290e0
test rax, rax
mov r12, rax
je 0x5285f8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x0055e388]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00529230
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x0055e388]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x5285db
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x52859f
sub eax, 0x40
and eax, 0xffffffbf
je 0x52859f
add rbx, qword [0x0055e388]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x5285c7
add dword [0x0055e384], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x5284f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00528430
mov rax, qword [0x0055e388]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00528430
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00528430
nop
nop dword [rax + rax]

Function at 0x528d50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0055e660]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0055e640]
test rbx, rbx
je 0x528da4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x528d9b
test rsi, rsi
je 0x528d9b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x528d80
lea rcx, [0x0055e660]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x5290e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x0054f8e0]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x529100
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.00528fc0
test eax, eax
je 0x5290f8
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x52915d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x529154
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x5290f8
add rdx, 0x28
cmp rdx, r9
jne 0x529140
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x529420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rbx, rcx
call sub.msvcrt.dll__errno
test rbx, rbx
mov dword [rax], 0
je 0x5295ac
cmp byte [rbx], 0
je 0x529574
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x529590
test al, 0x10
je 0x529574
lea rdi, [rsp + 0x20]
mov r8d, 0x104
mov rdx, rbx
mov rcx, rdi
mov rsi, rdi
call sub.msvcrt.dll__fullpath
mov edx, dword [rsi]
add rsi, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x52947e
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [rsi + 2]
mov ecx, eax
cmove rsi, rdx
add cl, al
sbb rsi, 3
sub rsi, rdi
lea rcx, [rsi + 0x24b]
call sub.msvcrt.dll_malloc
test rax, rax
mov rbx, rax
je 0x52959f
lea r9, [rax + 0x244]
lea rbp, [rsi + 1]
mov rdx, rdi
mov rcx, r9
mov r8, rbp
call sub.msvcrt.dll_memcpy
cmp byte [rbx + 0x244], 0
mov r9, rax
je 0x529510
movzx eax, byte [rbx + rsi + 0x243]
cmp al, 0x2f
je 0x529510
cmp al, 0x5c
je 0x529510
mov r8d, 0x5c
mov word [r9 + rsi], r8w
mov rsi, rbp
mov eax, 0x2a
xor edx, edx
xor ecx, ecx
mov word [r9 + rsi], ax
mov word [rbx + 0x12c], dx
lea rdx, [rbx + 0x130]
mov word [rbx + 0x12e], cx
xor eax, eax
mov ecx, 0x20
mov rdi, rdx
mov qword [rbx + 0x238], 0xffffffffffffffff
mov dword [rbx + 0x240], 0
mov dword [rbx + 0x128], 0
rep stosq qword [rdi], rax
mov dword [rdi], 0
mov rax, rbx
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
call sub.msvcrt.dll__errno
mov dword [rax], 0x14
mov rax, rbx
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [rax], 2
jmp 0x529565
call sub.msvcrt.dll__errno
mov dword [rax], 0xc
jmp 0x529565
call sub.msvcrt.dll__errno
mov dword [rax], 0xe
jmp 0x529565
Function at 0x52c1a0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12d, 1
sub r8d, 1
mov edi, ecx
mov ecx, 0x66666667
mov eax, r8d
mov rbp, rdx
movsxd rsi, r8d
imul ecx
sar r8d, 0x1f
mov rbx, r9
mov ecx, edx
sar ecx, 2
sub ecx, r8d
je 0x52c1f5
mov r8d, 0x66666667
nop dword [rax]
mov eax, ecx
sar ecx, 0x1f
add r12d, 1
imul r8d
sar edx, 2
sub edx, ecx
mov ecx, edx
jne 0x52c1e0
mov edx, dword [rbx + 0x2c]
cmp edx, 0xffffffff
je 0x52c270
mov ecx, dword [rbx + 0xc]
cmp r12d, edx
mov r9, rbx
cmovl r12d, edx
mov r8d, 1
lea edx, [r12 + 2]
mov eax, ecx
sub eax, edx
cmp ecx, edx
mov edx, 0xffffffff
cmovle eax, edx
mov ecx, edi
mov rdx, rbp
mov dword [rbx + 0xc], eax
add r12d, 1
call fcn.0052ba60
mov ecx, dword [rbx + 8]
mov eax, dword [rbx + 0x2c]
mov rdx, rbx
mov dword [rbx + 0x10], eax
mov eax, ecx
and ecx, 0x20
or eax, 0x1c0
or ecx, 0x45
mov dword [rbx + 8], eax
call fcn.0052b610
add dword [rbx + 0xc], r12d
mov rdx, rbx
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.0052bed0
mov eax, dword [0x00533d20]
cmp eax, 0xffffffff
je 0x52c29c
test eax, eax
je 0x52c28c
mov edx, 2
mov dword [rbx + 0x2c], edx
jmp 0x52c1fd
call fcn.00530820
test al, 1
mov edx, 3
jne 0x52c27f
jmp 0x52c284
lea rcx, str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test rax, rax
je 0x52c2c4
movsx eax, byte [rax]
sub eax, 0x30
cmp eax, 2
setbe al
movzx eax, al
mov dword [0x00533d20], eax
jmp 0x52c27b
xor eax, eax
jmp 0x52c2b9
Function at 0x144939058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1449391df
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 0x144939089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14493906f
add dl, dl
jne 0x144939096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1449390f6
xor eax, eax
add dl, dl
jne 0x1449390a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1449391ad
add dl, dl
jne 0x1449390b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1449390c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1449390d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1449390dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1449390ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14493907e
mov eax, 1
add dl, dl
jne 0x144939106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x144939113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1449390fb
sub eax, ebx
mov ebx, 1
jne 0x14493914c
mov ecx, 1
add dl, dl
jne 0x14493912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14493913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x144939123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14493907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x144939168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x144939175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14493915d
cmp eax, 0x7d00
jae 0x14493919b
cmp eax, 0x500
jb 0x144939196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14493907e
cmp eax, 0x7f
ja 0x14493919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14493907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1449391d2
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 0x14493907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1409019f8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140901b7f
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 0x140901a29
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140901a0f
add dl, dl
jne 0x140901a36
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140901a96
xor eax, eax
add dl, dl
jne 0x140901a45
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140901b4d
add dl, dl
jne 0x140901a56
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140901a63
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140901a70
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140901a7d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140901a8a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140901a1e
mov eax, 1
add dl, dl
jne 0x140901aa6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140901ab3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140901a9b
sub eax, ebx
mov ebx, 1
jne 0x140901aec
mov ecx, 1
add dl, dl
jne 0x140901ace
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140901adb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140901ac3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140901a1e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140901b08
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140901b15
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140901afd
cmp eax, 0x7d00
jae 0x140901b3b
cmp eax, 0x500
jb 0x140901b36
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140901a1e
cmp eax, 0x7f
ja 0x140901b3e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140901a1e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140901b72
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 0x140901a1e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x4152c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415439
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430380
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415330
mov rbx, qword [rsp + 0x60]
jmp 0x415340
add rsp, 0x48
pop rbp
ret
sub rax, rbx
add rcx, rbx
mov rbx, rax
nop
test rbx, rbx
jbe 0x415365
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov rax, rbx
jmp 0x415375
cmp rbx, 0x1000
jae 0x415336
nop dword [rax]
jmp 0x4153e9
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
cmp rbx, 0x1000
jae 0x415382
xor edx, edx
jmp 0x4153e0
mov qword [rsp + 0x30], rbx
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430380
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov edx, eax
mov rax, qword [rsp + 0x38]
nop
test dl, dl
jne 0x41536b
jmp 0x415354
call fcn.0045be60
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
cmp eax, 8
jne 0x415420
lea rax, [0x004c9e0b]
mov ebx, 0xd
call fcn.004324a0
nop dword [rax]
cmp eax, 0x5af
je 0x415408
lea rax, [0x004cf54a]
mov ebx, 0x1f
call fcn.004324a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00458740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004152c0
Function at 0x41de00
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41e01a
push rbp
mov rbp, rsp
sub rsp, 0x30
test rax, 7
jne 0x41e008
mov qword [rsp + 0x40], rax
mov rdx, qword [rdi + 0x48]
test byte [rdx], al
mov r9, r8
shr r9, 3
mov r10, r8
and r10d, 7
nop
mov r11, rcx
mov rcx, r10
mov r12d, 1
shl r12d, cl
lea r10, [rdx + r9]
cmp byte [0x0072aa57], 0
jne 0x41df41
cmp dword [0x0072aff4], 0
nop
jle 0x41de89
movzx r13d, word [rdi + 0x34]
cmp r8, r13
jb 0x41de89
mov r8, qword [rdi + 0x40]
test byte [r8], al
movzx r8d, byte [r9 + r8]
nop
nop dword [rax]
test r12b, r8b
je 0x41dfb8
movzx edx, byte [r9 + rdx]
test r12b, dl
jne 0x41df3b
nop
lock or byte [r10], r12b
mov rcx, qword [rdi + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov r8, rdx
shr rdx, 0x2a
nop
nop
nop
nop word [rax + rax]
cmp rdx, 0x40
jae 0x41dfab
lea r9, [0x006bcb58]
mov rdx, qword [r9 + rdx*8]
test byte [rdx], al
mov r9, rcx
shr r9, 0x10
and r9d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r10d, 1
shl r10d, cl
shr r8, 0x16
and r8d, 0xfffff
mov rdx, qword [rdx + r8*8]
test byte [rdx], al
movzx r8d, byte [rdx + r9 + 0x1040]
lea rdx, [rdx + r9]
lea rdx, [rdx + 0x1040]
test r10b, r8b
jne 0x41df20
lock or byte [rdx], r10b
movzx edx, byte [rdi + 0x62]
test dl, 1
je 0x41df62
mov rax, qword [rsi + 0x10]
add rax, qword [rdi + 0x68]
mov qword [rsi + 0x10], rax
add rsp, 0x30
pop rbp
ret
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 0x60], rsi
mov rcx, r11
mov rdi, r10
mov esi, r12d
call fcn.00414ee0
test al, al
jne 0x41df98
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
prefetcht0 byte [rax]
mov rdx, qword [rsi]
test rdx, rdx
je 0x41df87
mov rdi, qword [rdx + 0x10]
cmp rdi, 0xfd
je 0x41df87
jae 0x41df9e
mov qword [rdx + rdi*8 + 0x18], rax
inc qword [rdx + 0x10]
jmp 0x41df92
mov rbx, rax
mov rax, rsi
call fcn.00423660
add rsp, 0x30
pop rbp
ret
add rsp, 0x30
pop rbp
ret
mov rax, rdi
mov ecx, 0xfd
call fcn.0045aa20
mov rax, rdx
mov ecx, 0x40
call fcn.0045aa40
lea rax, [0x004c88cd]
mov rcx, rbx
mov rdi, r11
mov ebx, 4
call fcn.0041e080
lea rax, [0x004c8848]
mov ebx, 3
mov rcx, qword [rsp + 0x40]
mov rdi, 0xffffffffffffffff
call fcn.0041e080
mov rdx, qword [r14 + 0x30]
mov byte [rdx + 0xf1], 2
lea rax, [0x004cbe48]
mov ebx, 0x13
call fcn.004324a0
lea rax, [0x004d0335]
mov ebx, 0x23
call fcn.004324a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00458740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
nop dword [rax + rax]
jmp fcn.0041de00