joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
movzx r12d, r8b
mov r13, rcx
xor esi, esi
call fcn.1400047e0
mov rbp, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x40]
lea rcx, [rax + 0x110]
call fcn.1400151c0
cmp byte [rbp + 0xe8], sil
jne 0x140029490
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140029490
mov dl, 0x90
mov rcx, qword [rsp + 0x40]
call fcn.1400597f0
lea rcx, [r13 + 0xf8]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp + 0x10]
call fcn.140031aa0
test al, al
jne 0x1400294b0
xor bl, bl
jmp 0x140029618
cmp dword [rbp + 0x88], 0
jbe 0x1400295df
lea rbx, [rbp + 0xd0]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x1400294d1
mov qword [rbx + 8], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x110]
call fcn.1400151c0
cmp qword [rsp + 0x38], 0
jbe 0x140029529
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140029515
movzx eax, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140029520
mov r8, rdi
mov rcx, rbx
call fcn.140012740
inc rdi
sub rsi, 1
jne 0x140029500
mov ecx, 0x30
call fcn.1400372f4
mov rbx, rax
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140001fe0
mov qword [rbx + 0x20], r13
lea rax, [0x140029df0]
mov qword [rbx + 0x28], rax
mov qword [rsp + 0xa0], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140030a70]
xor edx, edx
xor ecx, ecx
call fcn.1400428d8
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140029651
cmp dword [rsp + 0x58], 0
je 0x140029646
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140036a24
test eax, eax
jne 0x140029646
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp qword [rsp + 0x30], 0
je 0x1400295df
cmp qword [rsp + 0x38], 0
jbe 0x1400295df
mov rcx, qword [rsp + 0x30]
call fcn.1400372c0
movzx ebx, byte [rbp + 0xe8]
test bl, bl
sete al
mov byte [rbp + 0xe8], al
test r12b, r12b
je 0x140029616
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
neg bl
sbb rcx, rcx
add rcx, 0x68
mov r8d, 0x40005
call qword [sym.imp.WINMM.dll_PlaySoundW]
mov bl, 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002962f
cmp qword [rsp + 0x48], 0
jbe 0x14002962f
call fcn.1400372c0
movzx eax, bl
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call fcn.140036988
nop
mov dword [rsp + 0x58], esi
mov ecx, 6
call fcn.140036988
int3
Function at 0x140029660
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
movzx r12d, r8b
mov r13, rcx
xor ebp, ebp
call fcn.1400047e0
mov rsi, rax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov rdx, rax
cmp byte [rax + 0xe8], bpl
mov eax, 0x110
mov ecx, eax
jne 0x1400296a8
mov ecx, 0x130
lea rdi, [rdx + rax]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.1400151c0
lea rcx, [r13 + 0xf8]
lea r8, [rsp + 0x50]
mov rdx, qword [rsi + 0x10]
call fcn.140031aa0
test al, al
jne 0x1400296d9
xor bl, bl
jmp 0x14002983b
cmp dword [rsi + 0x88], 0
jbe 0x140029802
lea rbx, [rsi + 0xd0]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x1400296fa
mov qword [rbx + 8], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400151c0
cmp qword [rsp + 0x38], 0
jbe 0x14002974c
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140029738
movzx eax, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140029743
mov r8, rdi
mov rcx, rbx
call fcn.140012740
inc rdi
sub rbp, 1
jne 0x140029723
mov ecx, 0x30
call fcn.1400372f4
mov rbx, rax
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140001fe0
mov qword [rbx + 0x20], r13
lea rax, [0x140029df0]
mov qword [rbx + 0x28], rax
mov qword [rsp + 0xa0], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140030a70]
xor edx, edx
xor ecx, ecx
call fcn.1400428d8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140029874
cmp dword [rsp + 0x48], 0
je 0x140029869
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140036a24
test eax, eax
jne 0x140029869
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
cmp qword [rsp + 0x30], 0
je 0x140029802
cmp qword [rsp + 0x38], 0
jbe 0x140029802
mov rcx, qword [rsp + 0x30]
call fcn.1400372c0
movzx ebx, byte [rsi + 0xe8]
test bl, bl
sete al
mov byte [rsi + 0xe8], al
test r12b, r12b
je 0x140029839
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
neg bl
sbb rcx, rcx
add rcx, 0x68
mov r8d, 0x40005
call qword [sym.imp.WINMM.dll_PlaySoundW]
mov bl, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140029852
cmp qword [rsp + 0x58], 0
jbe 0x140029852
call fcn.1400372c0
movzx eax, bl
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call fcn.140036988
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.140036988
int3
Function at 0x14002e670
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140083040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movzx esi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140001fe0
mov r14, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [0x1400862c0]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001fe0
mov byte [rsp + 0x98], sil
mov qword [rsp + 0xa0], rdi
lea ecx, [rbp + 0x30]
call fcn.1400372f4
mov rbx, rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x78], bpl
mov byte [rax + 0x20], sil
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.140012120
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x1400122e0]
xor edx, edx
xor ecx, ecx
call fcn.1400428d8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002e7fb
cmp dword [rsp + 0x48], ebp
je 0x14002e7f0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140036a24
test eax, eax
jne 0x14002e7f0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14002e7b8
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002e7b3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e80a
mov rcx, r8
call fcn.1400372c0
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [r14], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400372a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.140036988
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.140036988
nop
call fcn.14003e2dc
int3
Function at 0x14002f080
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140083040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x14002f0cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 0xa0]
xor edx, edx
mov ecx, 0xc3a
call qword [0x1400861e0]
mov qword [rbx + 0xe0], rax
lea rcx, [rbx + 0x60]
call fcn.140034310
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002f16b
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0xe0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002f16b
mov eax, dword [rbp - 0x39]
cmp dword [rbp - 0x29], eax
je 0x14002f16b
lea r8, [0x140086400]
cmp qword [0x140086418], 7
cmova r8, qword [0x140086400]
lea rdx, [0x140086640]
cmp qword [0x140086658], 7
cmova rdx, qword [0x140086640]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x14002f22a
cmp qword [rbx + 0xe0], rsi
jne 0x14002f228
lea rdx, [0x1400865e0]
lea rcx, [rbp - 9]
call fcn.140011dc0
lea rdx, [0x140086400]
lea rcx, [rbp + 0x17]
call fcn.140011dc0
mov dword [rbp + 0x37], 0x10
mov ecx, 0x48
call fcn.1400372f4
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140011dc0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.140011dc0
mov ecx, dword [rbp + 0x37]
mov dword [rbx + 0x40], ecx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14001a130]
xor edx, edx
xor ecx, ecx
call fcn.1400428d8
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14002f24f
lea rcx, [rbp - 9]
call fcn.140015030
cmp dword [rbp - 0x11], 0
je 0x14002f25d
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140036a24
test eax, eax
jne 0x14002f25d
jmp 0x14002f22a
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400372a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.140036988
nop
mov ecx, 1
call fcn.140036988
int3
Function at 0x140034790
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140083040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400861f8]
mov rbx, rax
test rax, rax
jne 0x14003491d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14002fae0
nop
lea r8, [0x140086620]
cmp qword [0x140086638], 7
cmova r8, qword [0x140086620]
mov r9, qword [0x140086630]
mov rcx, rax
call fcn.140007170
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140086400]
cmp qword [0x140086418], 7
cmova r8, qword [0x140086400]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400348c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400348c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034966
call fcn.1400372c0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140034919
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034960
call fcn.1400372c0
xor al, al
jmp 0x14003493f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400372a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14003e2dc
nop
call fcn.14003e2dc
nop
int3
Function at 0x1400381bc
Capabilities:
Parse pe header

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

Function at 0x14004244c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400422df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400422df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400422df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400422df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400422df
cmp dword [rcx + 0x84], 0xe
jbe 0x1400422df
cmp dword [rcx + 0xf8], 0
je 0x1400422df
mov ecx, ebx
call fcn.140042380
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140042170
cmp dword [rbp + 0x20], 0
je 0x14004232c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140042334
int3
xor r8d, r8d
xor edx, edx
jmp 0x140042278
Function at 0x140059470
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140059498
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140059498
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x140fe4b54
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140fe4b5e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140fe4b87
pop rbp
sub rbp, 0x33
sub rbp, 0xfe4b54
sub rsp, 0x20
jmp 0x140fe4ba6
mov rax, 0xfe4b54
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x38714add
ret 0x4add
xor byte [rax], dl
inc rax
dec rcx
jne 0x140fe4bc5
jmp 0x140fe4bdc
xchg ebp, eax
push rsp
xor al, 0x56
push rsp
loope 0x140fe4bc0
fstp st(5)
xchg ebp, eax
pop rsp
sbb al, 0xd5
invalid
Function at 0x140004880
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov ecx, 0x20
call fcn.140004e60
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], esi
mov qword [rbx + 0x10], rax
mov ecx, 8
call fcn.140004e60
lea rcx, [0x140002cb0]
mov qword [rax], rcx
mov qword [rsp + 0x38], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140004e00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140004938
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004e40
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov dword [rdi], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140005984
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400059ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400059ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400059ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400059ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400059ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400059d0
xor al, al
add rsp, 0x28
ret
Function at 0x1419ab058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1419ab1df
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 0x1419ab089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419ab06f
add dl, dl
jne 0x1419ab096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419ab0f6
xor eax, eax
add dl, dl
jne 0x1419ab0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419ab1ad
add dl, dl
jne 0x1419ab0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419ab0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419ab0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419ab0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1419ab0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1419ab07e
mov eax, 1
add dl, dl
jne 0x1419ab106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419ab113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419ab0fb
sub eax, ebx
mov ebx, 1
jne 0x1419ab14c
mov ecx, 1
add dl, dl
jne 0x1419ab12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1419ab13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419ab123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419ab07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1419ab168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1419ab175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419ab15d
cmp eax, 0x7d00
jae 0x1419ab19b
cmp eax, 0x500
jb 0x1419ab196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419ab07e
cmp eax, 0x7f
ja 0x1419ab19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419ab07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1419ab1d2
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 0x1419ab07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b0a0
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 0x14000b0fd
lea rbx, [0x1400fc370]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000b0e4
cmp r10, 2
jb 0x14000b0e4
cmp byte [r9], r8b
jne 0x14000b0e4
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 0x14000b0c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000b13f
lea rbx, [0x1400fc370]
cmp r8b, 0x23
jne 0x14000b123
cmp byte [r9], r8b
jne 0x14000b123
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 0x14000b110
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000b300
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 0x14000b31e
mov qword [r8], r14
lea rdx, [0x140102470]
call fcn.14000b150
mov rbx, rax
test rax, rax
jne 0x14000b343
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 0x14000b46f
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 0x14000b46f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000b46f
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 0x14000b46f
cmp rdi, 0xffffffffffffffff
je 0x14000b46f
mov rcx, rdi
call fcn.1400107c0
mov rbp, rax
test rax, rax
je 0x14000b46f
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 0x14000b45c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140114908]
test r8, r8
je 0x14000b451
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000b446
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 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000b478
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000b46a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000b47a
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