joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b1a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6f
mov dword [rbp - 0x20], 0x20000f
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2f0030
mov dword [rbp - 0x18], 0x290031
mov dword [rbp - 0x14], 0x480031
mov dword [rbp - 0x10], 0x2a0031
call fcn.140004fd0
mov rcx, rax
call 0x14000b440
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x62
mov dword [rbp - 0x20], 0x20000f
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2f0030
mov dword [rbp - 0x18], 0x290031
mov dword [rbp - 0x14], 0x3b0040
call fcn.1400022a0
mov rcx, rax
call 0x14000b440
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x11002a
mov dword [rbp - 0x1c], 0xd0006
mov dword [rbp - 0x18], 0x650018
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000b440
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b4a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a4a0
test al, al
jne 0x14000b4b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b470
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b440
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6f
mov dword [rbp - 0x20], 0x20000f
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2f0030
mov dword [rbp - 0x18], 0x290031
mov dword [rbp - 0x14], 0x480031
mov dword [rbp - 0x10], 0x2a0031
call fcn.140004fd0
mov rcx, rax
call 0x14000b440
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x62
mov dword [rbp - 0x20], 0x20000f
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2f0030
mov dword [rbp - 0x18], 0x290031
mov dword [rbp - 0x14], 0x3b0040
call fcn.1400022a0
mov rcx, rax
call 0x14000b440
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x11002a
mov dword [rbp - 0x1c], 0xd0006
mov dword [rbp - 0x18], 0x650018
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000b440
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b4a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a4a0
test al, al
jne 0x14000b4b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b470
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400151c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xd0017
mov dword [rbp - 0x1c], 0xd0007
mov dword [rbp - 0x18], 0x560018
mov dword [rbp - 0x14], 0x270041
mov dword [rbp - 0x10], 0x30006
mov dword [rbp - 0xc], 0x6b0003
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400151c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400151a0], rax
mov dword [rbp - 0x20], 0xc0013
mov dword [rbp - 0x1c], 0x8000c
mov dword [rbp - 0x18], 0x1a
mov dword [rbp - 0x14], 0x270007
mov dword [rbp - 0x10], 0x30006
mov dword [rbp - 0xc], 0x6b0003
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400141b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400151b0], rax
mov word [rbp - 0x10], 0x2611
mov byte [rbp - 0xe], 9
call fcn.140004620
mov rcx, qword [0x1400151a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140015130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xd070d17
mov dword [rbp - 0x1c], 0x6c0b2018
mov dword [rbp - 0x18], 0xe1b1a01
mov word [rbp - 0x14], 0x6e3e
call fcn.140001180
mov rcx, qword [0x1400151a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140015130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4160b0d
mov dword [rbp - 0x1c], 0x7d160b06
mov dword [rbp - 0x18], 0x50a1f2d
mov word [rbp - 0x14], 0x6e28
call fcn.140001180
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400140b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150e8], rax
mov byte [rbp - 0x10], 0x67
call fcn.140004330
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014150]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150f0], rax
mov dword [rbp - 0x10], 0x616c1d03
call fcn.140002660
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400141a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150e0], rax
mov byte [rbp - 0x10], 0x67
call fcn.140004330
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400141d0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150d8], rax
mov dword [rbp - 0x10], 0x20671e0e
mov byte [rbp - 0xc], 0x64
call fcn.140003130
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014140]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x3009
mov byte [rbp - 0xe], 9
call fcn.140004620
mov rcx, qword [0x1400151b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000da50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000dc7e
mov word [rbp + 0x50], 0x6544
mov word [rbp + 0x58], 0x6544
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000db04
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000daf0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000db35
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000db20
cmp rdi, rbx
jne 0x14000dc52
mov r13, rsi
mov word [rbp - 0x50], 0x6544
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000db76
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000db62
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000dc78
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x650025
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000dbe8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x65003e
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000dbe8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x650025
mov dword [rbp - 0x42], 0x650005
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x650025
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000dc45
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x65003e
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000dc45
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x650025
mov dword [rbp - 0x32], 0x650005
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000dc52
inc r14
jmp 0x14000db50
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000dc7e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000dac0
mov rax, qword [rbp - 8]
jmp 0x14000dc80
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1405b70b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405b7237
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 0x1405b70e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405b70c7
add dl, dl
jne 0x1405b70ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405b714e
xor eax, eax
add dl, dl
jne 0x1405b70fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405b7205
add dl, dl
jne 0x1405b710e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b711b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b7128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b7135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405b7142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405b70d6
mov eax, 1
add dl, dl
jne 0x1405b715e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b716b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405b7153
sub eax, ebx
mov ebx, 1
jne 0x1405b71a4
mov ecx, 1
add dl, dl
jne 0x1405b7186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405b7193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405b717b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405b70d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405b71c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405b71cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405b71b5
cmp eax, 0x7d00
jae 0x1405b71f3
cmp eax, 0x500
jb 0x1405b71ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405b70d6
cmp eax, 0x7f
ja 0x1405b71f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405b70d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405b722a
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 0x1405b70d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001187
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov dword [rsp + 4], ecx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
mov eax, 0xadc16ac1
xor eax, dword [0x1400034b0]
inc eax
mov ecx, 0x2fd237a0
xor ecx, dword [0x1400034c8]
movsxd r9, eax
mov eax, 0x457890d2
xor eax, dword [0x1400034e0]
inc eax
cdqe
add rax, qword [0x1400034d0]
mov qword [rsp + 0x40], rax
inc ecx
mov eax, 0x3504f315
xor eax, dword [0x1400034f8]
movsxd rcx, ecx
mov qword [rsp + 0x28], rcx
mov ecx, 0xa4937945
xor ecx, dword [0x140003510]
inc eax
mov edx, 0x11f69692
xor edx, dword [0x140003528]
inc edx
movsxd r11, edx
add r11, qword [0x140003518]
cdqe
mov qword [rsp + 0x18], rax
mov eax, 0xbaef972f
xor eax, dword [0x140003540]
inc eax
movsxd rdi, eax
add rdi, qword [0x140003530]
inc ecx
mov eax, 0x1cf27f8f
xor eax, dword [0x140003558]
movsxd rbx, ecx
mov ecx, 0x2e21d2ca
xor ecx, dword [0x140003570]
inc ecx
movsxd r14, ecx
add r14, qword [0x140003560]
inc eax
mov ecx, 0xca5f1e10
xor ecx, dword [0x140003588]
cdqe
mov qword [rsp + 0x10], rax
inc ecx
movsxd r13, ecx
mov eax, 0x5422ef10
xor eax, dword [0x1400035a0]
inc eax
cdqe
mov qword [rsp + 0x38], rax
mov r12, qword [r8 + 0x30]
xor eax, eax
test r12, r12
setne al
lea rcx, [0x1400034a0]
mov rcx, qword [rcx + rax*8]
mov qword [rsp + 0x20], r9
add rcx, r9
xor eax, eax
jmp rcx
Function at 0x14000194f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov dword [rbp - 0xc], ecx
push 0x10
pop rax
call section..text
sub rsp, rax
mov r8, rsp
mov rcx, qword gs:[0x60]
mov eax, 0x87098059
xor eax, dword [0x1400036f0]
inc eax
cdqe
add rax, qword [0x1400036e8]
mov qword [rbp - 0x58], rax
mov eax, 0x799bd707
xor eax, dword [0x140003708]
mov edx, 0x287e4f63
xor edx, dword [0x140003720]
inc edx
movsxd rdx, edx
add rdx, qword [0x140003710]
mov qword [rbp - 0x48], rdx
mov rcx, qword [rcx + 0x18]
mov edx, 0xe52075b2
xor edx, dword [0x140003738]
inc edx
movsxd rdx, edx
add rdx, qword [0x140003728]
mov qword [rbp - 0x40], rdx
mov rcx, qword [rcx + 0x10]
mov qword [rbp - 0x20], rcx
mov ecx, 0xfa2b4519
xor ecx, dword [0x140003750]
inc eax
mov edx, 0xa6fe3b9a
xor edx, dword [0x1400037e0]
inc edx
movsxd rdx, edx
add rdx, qword [0x1400037d8]
mov qword [rbp - 0x30], rdx
cdqe
mov qword [rbp - 0x50], rax
mov eax, 0x28c3a362
xor eax, dword [0x1400037f8]
inc eax
movsxd rdi, eax
add rdi, qword [0x1400037f0]
inc ecx
mov eax, 0xb26aa0a4
xor eax, dword [0x140003810]
movsxd rcx, ecx
mov qword [rbp - 0x38], rcx
mov ecx, 0x4d3035bd
xor ecx, dword [0x140003828]
inc ecx
movsxd r14, ecx
add r14, qword [0x140003818]
inc eax
mov ecx, 0x10f974f2
xor ecx, dword [0x140003858]
inc ecx
movsxd r15, ecx
add r15, qword [0x140003850]
cdqe
mov qword [rbp - 0x68], rax
mov eax, 0xdc55d381
xor eax, dword [0x140003870]
inc eax
mov ecx, 0xb9ebd193
xor ecx, dword [0x140003888]
inc ecx
movsxd r13, ecx
add r13, qword [0x140003880]
movsxd rsi, eax
mov eax, 0xc440103e
xor eax, dword [0x1400038a0]
inc eax
movsxd rbx, eax
add rbx, qword [0x140003890]
mov eax, 0x8da66875
xor eax, dword [0x1400038b8]
inc eax
cdqe
mov qword [rbp - 0x60], rax
mov eax, 0xc3659f6d
xor eax, dword [0x1400038d0]
inc eax
movsxd r12, eax
add r12, qword [0x1400038c8]
mov eax, 0x90f874b8
xor eax, dword [0x1400038e8]
inc eax
movsxd rcx, eax
add rcx, qword [0x1400038d8]
mov qword [rbp - 8], r8
mov rax, r8
mov r8, qword [rbp - 0x20]
mov rdx, qword [r8 + 0x30]
mov qword [rbp], rdx
mov rdx, qword [rbp - 0x58]
jmp rdx
Function at 0x14001afd0
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14001afd0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rdx + 8]
mov rdi, rcx
mov r8, qword [rcx + 8]
movabs r10, 0x100000001b3
xor esi, esi
mov r9, qword [rax + 8]
movabs rax, 0xcbf29ce484222325
movzx edx, r9b
xor rdx, rax
mov rax, r9
imul rdx, r10
shr rax, 8
movzx ecx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x10
imul rdx, r10
movzx ecx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x18
imul rdx, r10
movzx ecx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x20
imul rdx, r10
movzx ecx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x28
imul rdx, r10
movzx ecx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x30
imul rdx, r10
movzx ecx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x38
mov rcx, qword [r8 + 0x38]
imul rdx, r10
xor rdx, rax
imul rdx, r10
and rcx, rdx
mov rdx, qword [r8 + 0x10]
shl rcx, 4
add rcx, qword [r8 + 0x20]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x14001b0b9
mov rcx, qword [rcx]
cmp r9, qword [rax + 0x10]
je 0x14001b0bc
cmp rax, rcx
je 0x14001b0b9
mov rax, qword [rax + 8]
cmp r9, qword [rax + 0x10]
jne 0x14001b0a8
jmp 0x14001b0bc
mov rax, rsi
test rax, rax
cmove rax, rdx
cmp rax, rdx
lea rbx, [rax + 0x18]
cmove rbx, rsi
test rbx, rbx
je 0x14001b123
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
test rax, 0xfffffffffffffff8
jne 0x14001b10b
lea rcx, [rdi + 0x70]
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.1400178a0
mov rcx, qword [rax]
mov qword [rcx + 0x18], rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140016b50
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140016e30
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001b630
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14001b660
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14001b688
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001b68a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001b6e3
test ecx, ecx
jle 0x14001b6c3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14001b6e3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001b6e3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
ret
Function at 0x14001b710
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001b732
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14001b741
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x20], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001b764
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001b766
xor ecx, ecx
mov qword [rsp + 0x28], rbx
movsxd rax, ecx
test ecx, ecx
je 0x14001b7a0
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rdi, rbx
add r14, rbx
mov r8, rdi
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001b847
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14001b7db
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rbx, r8
cmp r8, 0xfff
jbe 0x14001b821
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x14001b860
cmp rdi, rax
ja 0x14001b7f0
mov r8, rbx
test rbx, rbx
je 0x14001b847
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rbx
sub r8, rax
sub rbp, r8
mov rbx, qword [rsp + 0x28]
mov rax, rbp
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rdi
jmp 0x14001b84a
cli
clc
wait
sbb byte [rdx], al
cmp ebp, edx
mov ch, 0x43
shl edx, 1
jp 0x14005ebc2
invalid
push rsi
mov esp, 0xaa96fc11
invalid
Function at 0x14152e160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14152e2e7
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 0x14152e191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14152e177
add dl, dl
jne 0x14152e19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14152e1fe
xor eax, eax
add dl, dl
jne 0x14152e1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14152e2b5
add dl, dl
jne 0x14152e1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14152e1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14152e1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14152e1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14152e1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14152e186
mov eax, 1
add dl, dl
jne 0x14152e20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14152e21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14152e203
sub eax, ebx
mov ebx, 1
jne 0x14152e254
mov ecx, 1
add dl, dl
jne 0x14152e236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14152e243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14152e22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14152e186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14152e270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14152e27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14152e265
cmp eax, 0x7d00
jae 0x14152e2a3
cmp eax, 0x500
jb 0x14152e29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14152e186
cmp eax, 0x7f
ja 0x14152e2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14152e186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14152e2da
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 0x14152e186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20