joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001fb60
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [0x18007c148]
mov rax, qword [0x18007c140]
xor ecx, ecx
sub rdx, rax
sar rdx, 2
test edx, edx
je 0x18001fd81
cmp dword [rax], 0x6435437f
je 0x18001fba5
inc ecx
add rax, 4
cmp ecx, edx
jb 0x18001fb88
mov eax, 1
add rsp, 0x60
pop rbp
ret
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6e65706f
mov dword [rbp - 0x1c], 0x32336c67
mov dword [rbp - 0x18], 0x6c6c642e
mov byte [rbp - 0x14], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001fd81
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x65526c67
mov dword [rbp - 0x3c], 0x69506461
mov qword [rbp - 0x38], 0x736c6578
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x536c6777
mov dword [rbp - 0x3c], 0x42706177
mov dword [rbp - 0x38], 0x65666675
mov qword [rbp - 0x34], 0x7372
mov qword [0x18007bb60], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x536c6777
mov dword [rbp - 0x3c], 0x4c706177
mov dword [rbp - 0x38], 0x72657961
mov dword [rbp - 0x34], 0x66667542
mov qword [0x18007bba8], rax
mov qword [rbp - 0x30], 0x737265
mov dword [rbp - 0x28], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x436c6777
mov dword [rbp - 0x3c], 0x74616572
mov dword [rbp - 0x38], 0x6e6f4365
mov qword [rbp - 0x34], 0x74786574
mov qword [0x18007bbc8], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x446c6777
mov dword [rbp - 0x3c], 0x74656c65
mov dword [rbp - 0x38], 0x6e6f4365
mov qword [rbp - 0x34], 0x74786574
mov qword [0x18007bb58], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x4d6c6777
mov dword [rbp - 0x3c], 0x43656b61
mov dword [rbp - 0x38], 0x65727275
mov qword [rbp - 0x34], 0x746e
mov qword [0x18007bb78], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18007bbc0], rax
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x18001ff60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [0x18007c148]
mov rax, qword [0x18007c140]
xor ecx, ecx
sub rdx, rax
sar rdx, 2
test edx, edx
je 0x18002006e
cmp dword [rax], 0x264d4161
je 0x18001ffa5
inc ecx
add rax, 4
cmp ecx, edx
jb 0x18001ff88
mov eax, 1
add rsp, 0x60
pop rbp
ret
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x6562696c
mov dword [rbp - 0x3c], 0x642e6c67
mov word [rbp - 0x38], 0x6c6c
mov byte [rbp - 0x36], 0
mov dword [rbp - 0x20], 0x4762696c
mov dword [rbp - 0x1c], 0x7653454c
mov dword [rbp - 0x18], 0x6c642e32
mov word [rbp - 0x14], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18002006e
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18002006e
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x10], 0x536c6765
mov dword [rbp - 0xc], 0x42706177
mov dword [rbp - 8], 0x65666675
mov word [rbp - 4], 0x7372
mov byte [rbp - 2], 0
mov dword [rbp - 0x30], 0x65526c67
mov dword [rbp - 0x2c], 0x69506461
mov dword [rbp - 0x28], 0x736c6578
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov qword [0x18007bb40], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18007bb88], rax
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x180020240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdx, qword [0x18007c148]
mov rax, qword [0x18007c140]
xor ebx, ebx
sub rdx, rax
mov rdi, rcx
mov r8d, ebx
sar rdx, 2
test edx, edx
je 0x180020284
mov rcx, rax
nop
cmp dword [rcx], 0x5f141e32
je 0x1800202c8
inc r8d
add rcx, 4
cmp r8d, edx
jb 0x180020270
mov dword [0x18007badc], ebx
mov r8d, ebx
test edx, edx
je 0x1800202a8
mov rcx, rax
cmp dword [rcx], 0x4766a246
je 0x1800202d4
inc r8d
add rcx, 4
cmp r8d, edx
jb 0x180020294
mov r8d, ebx
test edx, edx
je 0x180020326
mov rcx, rax
cmp dword [rcx], 0x5f141e32
je 0x1800202d4
inc r8d
add rcx, 4
cmp r8d, edx
jb 0x1800202b2
jmp 0x180020326
mov dword [0x18007badc], 1
jmp 0x18002028a
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x61726464
mov dword [rsp + 0x24], 0x6c642e77
mov word [rsp + 0x28], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18002031f
mov ecx, dword [rdi + 0x1000438]
call fcn.18001db30
mov qword [0x18007bb70], rax
mov ecx, dword [rdi + 0x100043c]
call fcn.18001db30
mov qword [0x18007bbb0], rax
mov rax, qword [0x18007c140]
mov rcx, qword [0x18007c148]
sub rcx, rax
sar rcx, 2
test ecx, ecx
je 0x1800203b5
cmp dword [rax], 0x4766a2c9
je 0x18002035a
inc ebx
add rax, 4
cmp ebx, ecx
jb 0x180020338
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x39643364
mov dword [rsp + 0x24], 0x6c6c642e
mov byte [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800203b5
mov ecx, dword [rdi + 0x100042c]
call fcn.18001dbd0
mov qword [0x18007bb90], rax
mov ecx, dword [rdi + 0x1000430]
call fcn.18001dbd0
mov qword [0x18007bb50], rax
mov ecx, dword [rdi + 0x1000434]
call fcn.18001dbd0
mov qword [0x18007bb68], rax
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180026420
Capabilities:
Create thread

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r8d, r8d
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rcx
mov qword [r11 - 0x10], rax
mov qword [r11 + 8], r8
test edx, edx
je 0x180026498
lea rax, [r11 + 0x10]
mov dword [r11 + 0x10], r8d
lea r9, [r11 - 0x18]
mov qword [r11 - 0x20], rax
mov dword [r11 - 0x28], r8d
lea r8, [0x1800264c0]
xor edx, edx
xor ecx, ecx
mov qword [r11 - 8], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp eax, 0xffffffff
je 0x180026489
test rax, rax
je 0x180026489
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
call rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x180026dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x98
mov ebx, 0xc00000
mov rsi, rcx
mov r15, rdx
mov ecx, ebx
xor r14d, r14d
mov qword [rbp - 0x59], rbx
call fcn.180003210
mov r13, rax
test rax, rax
jne 0x180026e16
add rsp, 0x98
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
cmp rsi, r15
ja 0x180026fc8
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
nop
xor eax, eax
lea rdx, [rbp - 0x49]
mov ecx, esi
lea r8d, [rax + 0x30]
mov qword [rbp - 0x49], 0
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x180026fb8
cmp dword [rbp - 0x29], 0x1000
mov rdi, qword [rbp - 0x31]
mov r12, qword [rbp - 0x49]
mov qword [rbp - 0x51], rdi
jne 0x180026fa7
test dword [rbp - 0x25], 0x101
jne 0x180026fa7
cmp rbx, rdi
jae 0x180026ec2
mov edx, edi
mov rcx, r13
mov rbx, r13
call fcn.180003cd4
mov r13, rax
test rax, rax
jne 0x180026ebe
test rbx, rbx
je 0x180026eb5
mov rcx, rbx
call fcn.1800031d0
lea rsi, [rdi + r12]
jmp 0x180026fab
mov qword [rbp - 0x59], rdi
mov r8d, edi
mov rdx, r13
mov rcx, r12
call fcn.180028150
test eax, eax
je 0x180026fa7
mov eax, dword [rbp + 0x4f]
sub esi, r12d
mov r15d, edi
sub r15d, eax
add esi, r13d
add r15d, r13d
cmp esi, r15d
jae 0x180026fa3
nop word [rax + rax]
mov ecx, dword [rbp + 0x67]
mov r8, qword [rbp + 0x5f]
mov rdx, qword [rbp + 0x57]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov ecx, esi
mov ebx, esi
call qword [rbp + 0x8f]
cmp eax, 1
jne 0x180026f8d
mov eax, r13d
sub rbx, rax
add rbx, r12
cmp rbx, qword [rbp + 0x47]
ja 0x180026f8d
lea eax, [r14 + 0x12]
mov dword [rbp - 0x61], 0x3649257c
mov word [rbp - 0x5d], 0x5834
mov byte [rbp - 0x5b], 0
mov dword [rbp + 0x3f], 0x34364925
mov word [rbp + 0x43], 0x58
cmp eax, 0xf4240
jae 0x180026f8d
mov edi, r14d
mov r9, rbx
mov edx, 0x12
add rdi, qword [rbp + 0x6f]
lea r8, [rbp - 0x61]
mov rcx, rdi
test r14d, r14d
jne 0x180026f78
lea r8, [rbp + 0x3f]
call fcn.180003964
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x180026f81
add r14d, eax
add esi, dword [rbp + 0x87]
mov eax, dword [rbp + 0x4f]
cmp esi, r15d
jb 0x180026f00
mov rdi, qword [rbp - 0x51]
mov r15, qword [rbp + 0x47]
lea rsi, [r12 + rdi]
mov rbx, qword [rbp - 0x59]
cmp rsi, r15
jbe 0x180026e30
mov rdi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x88]
test r13, r13
je 0x180026fd5
mov rcx, r13
call fcn.1800031d0
mov eax, 1
add rsp, 0x98
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
Function at 0x180027580
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp rcx, rdx
ja 0x180027608
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r9
mov r9, rcx
mov ecx, dword [r8]
lea eax, [rcx + 0x12]
mov rbx, r8
mov dword [rsp + 0x38], 0x3649257c
mov word [rsp + 0x3c], 0x5834
mov byte [rsp + 0x3e], 0
mov dword [rsp + 0x30], 0x34364925
mov word [rsp + 0x34], 0x58
cmp eax, 0xf4240
jae 0x1800275fe
mov edx, 0x12
lea r8, [rsp + 0x38]
test ecx, ecx
jne 0x1800275df
lea r8, [rsp + 0x30]
add rcx, rdi
call fcn.180003964
mov edx, dword [rbx]
or rax, 0xffffffffffffffff
lea rcx, [rdi + rdx]
inc rax
cmp byte [rcx + rax], 0
jne 0x1800275f1
add eax, edx
mov dword [rbx], eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
repz ret

Function at 0x1800280c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
movsxd rsi, r8d
lea r9, [rsp + 0x58]
lea r8d, [rbx + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18002812c
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.1800029a0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov eax, ebx
jmp 0x180028134
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x180035a80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
xor edi, edi
cmp dword [0x18007c120], 0x40
mov rbp, r8
mov rsi, rdx
mov r14, rcx
mov ebx, edi
jae 0x180035c40
mov rax, qword [0x18007c128]
test rax, rax
je 0x180035ac9
call rax
mov rbx, rax
test rax, rax
jne 0x180035baf
add rsi, r14
mov eax, 0x80000000
cmp rsi, rax
jae 0x180035add
mov esi, 1
jmp 0x180035ae4
sub rsi, 0x7fff0000
add rbp, r14
cmp rbp, 0xffffffff80000000
jae 0x180035af9
add rbp, 0x7ff80000
jmp 0x180035b00
mov rbp, 0xfffffffffff80000
xor edx, edx
lea rcx, [rsp + 0x6c]
mov dword [rsp + 0x68], edi
lea r8d, [rdx + 0x2c]
call fcn.180008040
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rsi, rbp
jae 0x180035c40
nop dword [rax + rax]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180035ba6
cmp dword [rsp + 0x58], 0x10000
jne 0x180035b97
mov rax, qword [rsp + 0x50]
cmp rax, 0xa8
jb 0x180035b97
mov edx, dword [rsp + 0x90]
mov ecx, edx
cmp rax, rdx
jb 0x180035b97
lea eax, [rdx - 1]
xor edx, edx
add rax, rsi
div rcx
imul rax, rcx
test rax, rax
je 0x180035bd3
cmp eax, 0x10000
jae 0x180035bd3
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rdi
mov rsi, qword [rsp + 0x38]
add rsi, qword [rsp + 0x50]
cmp rsi, rbp
jb 0x180035b30
test rbx, rbx
je 0x180035c40
lea rcx, [0x18007c200]
mov rax, rcx
nop dword [rax]
cmp qword [rax], 0
je 0x180035c20
inc edi
add rax, 8
cmp edi, 0x40
jb 0x180035bc0
jmp 0x180035c40
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x30], 0xa8
mov dword [rsp + 0x20], 0x3000
call fcn.180012250
test eax, eax
js 0x180035b94
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
jne 0x180035baf
jmp 0x180035b97
inc dword [0x18007c120]
mov eax, edi
mov qword [rcx + rax*8], rbx
mov rax, qword [0x18007c018]
test rax, rax
je 0x180035c40
mov rdx, rbx
mov rcx, r14
call rax
lea r11, [rsp + 0xa0]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180036cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r8d
mov r13d, edx
movsxd rsi, ecx
mov eax, 1
xchg dword [0x18007c124], eax
cmp eax, 1
jne 0x180036d5b
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x18007c124], eax
cmp eax, 1
je 0x180036d40
mov r14, rsi
lea r12, [0x180000000]
shl r14, 8
test r13d, r13d
je 0x180036d9b
lea rax, [r12 + 0x7c400]
add rax, r14
or rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], 0
jne 0x180036d80
test rcx, rcx
je 0x180036dbb
xor ebx, ebx
xchg dword [0x18007c124], ebx
jmp 0x180036f36
lea rax, [r12 + 0x7cf00]
add rax, r14
or rdi, 0xffffffffffffffff
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180036db0
jmp 0x180036d89
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x2f]
call fcn.180008040
mov dword [rbp - 0x30], 0x61636f4c
mov word [rbp - 0x2c], 0x5c6c
mov byte [rbp - 0x2a], 0
mov dword [rbp + 0x118], 0x4e565354
mov byte [rbp + 0x11c], 0
lea r8, [rbp + 0x118]
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call fcn.180003440
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], bl
cmp byte [rbp - 0x30], bl
jne 0x180036e2b
mov r8d, ebx
jmp 0x180036e3b
lea rax, [rbp - 0x30]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x180036e32
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.180001380
nop
test r15d, r15d
jne 0x180036e5f
mov word [rbp - 0x60], 0x6425
mov byte [rbp - 0x5e], r15b
lea rdx, [rbp - 0x60]
jmp 0x180036e9b
cmp r15d, 1
jne 0x180036e7b
mov dword [rsp + 0x60], 0x25256425
mov word [rsp + 0x64], 0x64
lea rdx, [rsp + 0x60]
jmp 0x180036e9b
cmp r15d, 2
jne 0x180036ea7
mov dword [rsp + 0x40], 0x25256425
mov dword [rsp + 0x44], 0x64252564
mov byte [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.180002430
cmp byte [rbp - 0x80], 0
jne 0x180036eb2
mov rdi, rbx
jmp 0x180036ebf
lea rax, [rbp - 0x80]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180036eb6
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.180002490
lea r8, [rsp + 0x20]
mov edx, pe_nt_image_headers64
test r13d, r13d
lea rdi, [r12 + 0x7c400]
jne 0x180036eef
lea rdi, [r12 + 0x7cf00]
cmp qword [rsp + 0x38], 0x10
cmovae r8, qword [rsp + 0x20]
add rdi, r14
mov rcx, rdi
call fcn.180003354
mov ecx, ebx
xchg dword [0x18007c124], ecx
cmp qword [rsp + 0x38], 0x10
jb 0x180036f20
mov rcx, qword [rsp + 0x20]
call fcn.180003020
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
mov rax, rdi
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1405fa058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405fa1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405fa089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405fa06f
add dl, dl
jne 0x1405fa096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405fa0f6
xor eax, eax
add dl, dl
jne 0x1405fa0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405fa1ad
add dl, dl
jne 0x1405fa0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405fa0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405fa0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405fa0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405fa0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405fa07e
mov eax, 1
add dl, dl
jne 0x1405fa106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405fa113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405fa0fb
sub eax, ebx
mov ebx, 1
jne 0x1405fa14c
mov ecx, 1
add dl, dl
jne 0x1405fa12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405fa13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405fa123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405fa07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405fa168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405fa175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405fa15d
cmp eax, 0x7d00
jae 0x1405fa19b
cmp eax, 0x500
jb 0x1405fa196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405fa07e
cmp eax, 0x7f
ja 0x1405fa19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405fa07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405fa1d2
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 0x1405fa07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140008ba0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009584

Function at 0x140009214
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 r15, r9d
mov rsi, r8
test r8, r8
je 0x14000923b
and qword [r8], 0
call fcn.140009350
mov rbx, rax
test rax, rax
je 0x140009334
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000932b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000932b
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000932b
mov rax, qword [0x140049e20]
mov rbp, rdi
test rax, rax
je 0x1400092a3
inc dword [rax + 0x3c8]
mov rdx, qword [0x140049e30]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14000932b
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140009302
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140049e20]
test rax, rax
je 0x1400092f0
dec dword [rax + 0x3c8]
mov rdx, qword [0x140049e30]
mov rcx, rdi
call qword [0x140048008]
jmp 0x140009334
test r15d, r15d
jle 0x140009315
lea rcx, [rdi + rbp]
mov r8, r15
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 rsi, rsi
je 0x140009326
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009336
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 0x140009584
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140049e54], 0
lea rsi, [0x140049e50]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x1400095eb
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x1400095b9
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1400095b1
not ebx
mov edx, ebx
test edi, edi
jle 0x14000960d
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x1400095f3
jmp 0x140009647
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009647
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000962c
cmp byte [r10], r9b
jne 0x14000962c
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000961b
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000e86c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140049e20]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000e8d5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000e8e0
lea rdx, [0x14003caf4]
mov rcx, rbx
mov rdi, rax
call fcn.140009350
mov rbx, rax
test rax, rax
je 0x14000e8d5
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