joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180053460
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x1800534dd
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800534b6
lea r11, [0x18006b7f0]
cmp r9b, 0x23
jne 0x180053499
cmp byte [r8], r9b
jne 0x180053499
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180053486
mov rcx, qword [0x18010b2c8]
not eax
cmp dword [rcx + 0x3f40], eax
jne 0x1800534cd
mov dword [rcx + 0x3f44], eax
cmp dword [rcx + 0x3f70], eax
jne 0x1800534f0
mov byte [rcx + 0x3f74], 1
ret
mov rax, qword [0x18010b2c8]
mov rcx, qword [rax + 0x3ee0]
jmp fcn.18000ecf0
ret

Function at 0x18005c6c0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800b83c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp edx, 1
jne 0x18005c74b
mov qword [rsp + 0x30], rbx
mov qword [0x18010b298], rcx
call fcn.180006860
call fcn.18005e0e0
mov rax, qword [0x18010b380]
lea r9, [rsp + 0x20]
mov edx, 8
mov rcx, qword [rax + 0xf4b6858]
lea r8d, [rdx + 0x38]
mov rbx, qword [rcx]
mov rax, qword [rbx + 0x40]
lea rcx, [rbx + 0x40]
mov qword [0x18010b2d8], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x18005c280]
mov edx, 8
mov qword [rbx + 0x40], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180065b10
add rsp, 0x38
ret
Function at 0x18005efd0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x1800b83c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x18005f222
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x18005f217
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x18005f1a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x44], eax
jne 0x18005f1a0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x40], eax
je 0x18005f1a0
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x18005f0e8
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x18010abc8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x18005f0e3
mov dword [rsp + 0x20], 0
jmp 0x18005f1bf
jmp 0x18005f16b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x18005f16b
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18010abc8]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18005f15b
mov dword [rsp + 0x20], 0
jmp 0x18005f1bf
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18005f051
cmp dword [rsp + 0x20], 0
je 0x18005f1d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18005f1d9
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x18005f217
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x18005f217
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18010abc8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x180069bf0]
call fcn.180066778
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180065b10
add rsp, 0x80
pop rdi
ret
Function at 0x18005f260
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.18005efd0
test eax, eax
jne 0x18005f2ba
mov dword [rsp + 0x20], 9
jmp 0x18005f33c
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18005f33c
mov dword [rsp + 0x24], 0
jmp 0x18005f2d9
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x24], eax
jae 0x18005f33c
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005f33a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.18005edb0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18005f2cf
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x18005f350
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18005f3e0
mov dword [rsp + 0x20], 0
jmp 0x18005f379
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18005f3c9
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005f3c7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18005f36f
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18010abc8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x18005f3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18010b640]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18005f476
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005f49f
mov eax, 0xa
jmp 0x18005f5d9
cmp dword [rsp + 0x88], 0
je 0x18005f50d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18005f50b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x18005f559
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18005f53d
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18005f559
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180069c50]
call fcn.180066778
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x180060ab0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180060b0a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180060b0a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180060b0a
xor eax, eax
jmp 0x180060b51
mov dword [rsp], 1
jmp 0x180060b1b
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180060b4c
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180060b4a
xor eax, eax
jmp 0x180060b51
jmp 0x180060b13
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x180061fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800621e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800620c7
mov rax, qword [0x1800b8398]
cmp qword [rsp + 0x20], rax
jb 0x180062024
mov rax, qword [0x1800b83a0]
cmp qword [rsp + 0x20], rax
ja 0x180062024
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180061fe6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180062053
jmp 0x1800620c7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800620aa
cmp qword [rsp + 0x48], 0x10000
jb 0x1800620aa
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180062098
mov rax, qword [rsp + 0x28]
jmp 0x1800620c9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800620c2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800621e0
mov qword [rsp + 0x20], rax
jmp 0x180061fe6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800620d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180062220
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800621d3
mov rax, qword [0x1800b8398]
cmp qword [rsp + 0x20], rax
jb 0x18006212b
mov rax, qword [0x1800b83a0]
cmp qword [rsp + 0x20], rax
ja 0x18006212b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800620ed
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006215a
jmp 0x1800621d3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800621b1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800621b1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006219f
mov rax, qword [rsp + 0x28]
jmp 0x1800621d5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800621ce
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180062220
mov qword [rsp + 0x20], rax
jmp 0x1800620ed
xor eax, eax
add rsp, 0x68
ret
Function at 0x180062270
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180062800
mov qword [rsp + 0x28], 0
cmp qword [0x18010abd8], 0
jne 0x1800622b8
cmp qword [0x18010abd0], 0
je 0x1800622b8
mov rax, qword [0x18010abd0]
mov qword [0x18010abd8], rax
cmp qword [0x18010abd8], 0
je 0x18006235e
mov rax, qword [0x18010abd8]
cmp qword [rax + 0x10], 0
je 0x18006235e
mov rax, qword [0x18010abd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006235e
mov rax, qword [0x18010abd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006235e
mov rax, qword [0x18010abd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180062324
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006232b
xor eax, eax
jmp 0x1800624d9
mov rax, qword [0x18010abd8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800624d9
mov rax, qword [0x18010abd0]
mov qword [0x18010abd8], rax
jmp 0x180062380
mov rax, qword [0x18010abd8]
mov rax, qword [rax + 8]
mov qword [0x18010abd8], rax
cmp qword [0x18010abd8], 0
je 0x1800623cd
cmp qword [0x18010abd8], 0
je 0x1800623cb
mov rax, qword [0x18010abd8]
cmp qword [rax + 0x10], 0
je 0x1800623cb
mov rax, qword [0x18010abd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800623cb
mov rax, qword [0x18010abd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800623cb
jmp 0x1800622fc
jmp 0x18006236e
mov rcx, qword [rsp + 0x60]
call fcn.180064680
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800624e0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800624d7
mov rax, qword [rsp + 0x48]
mov qword [0x18010abd8], rax
mov rax, qword [0x18010abd8]
mov dword [rax], 0x52727464
mov rax, qword [0x18010abd8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18010abd8]
mov rcx, qword [0x18010abd0]
mov qword [rax + 8], rcx
mov rax, qword [0x18010abd8]
mov qword [0x18010abd0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18010abd8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180062488
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800624c2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18006247e
mov rax, qword [0x18010abd8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800622fc
xor eax, eax
add rsp, 0x58
ret
Function at 0x14001137a
Capabilities:
Terminate process

Disassembly:
jmp 0x140018920
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011460
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019c70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019c90
xor al, al
jmp 0x140019d11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019ca3
xor al, al
jmp 0x140019d11
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140019ccd
xor al, al
jmp 0x140019d11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019ce1
xor al, al
jmp 0x140019d11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019cf3
xor al, al
jmp 0x140019d11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019d0f
xor al, al
jmp 0x140019d11
mov al, 1
add rsp, 0x38
ret
Function at 0x140017aa0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001167c
movzx eax, al
test eax, eax
jne 0x140017ac0
mov ecx, 7
call fcn.140011546
nop
mov byte [rsp + 0x20], 0
call fcn.140011587
mov byte [rsp + 0x21], al
cmp dword [0x140025b78], 1
jne 0x140017ae4
mov ecx, 7
call fcn.140011546
nop
jmp 0x140017b3c
cmp dword [0x140025b78], 0
jne 0x140017b37
mov dword [0x140025b78], 1
lea rdx, [0x140020660]
lea rcx, [0x140020330]
call fcn.1400112e4
test eax, eax
je 0x140017b18
mov eax, 0xff
jmp 0x140017c41
lea rdx, [0x140020220]
lea rcx, [section..rdata]
call fcn.14001156e
mov dword [0x140025b78], 2
jmp 0x140017b3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001152d
call fcn.140011483
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017b99
mov rcx, qword [rsp + 0x30]
call fcn.140011249
movzx eax, al
test eax, eax
je 0x140017b99
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002c020]
nop
call fcn.1400114d3
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140017bcd
mov rcx, qword [rsp + 0x38]
call fcn.140011249
movzx eax, al
test eax, eax
je 0x140017bcd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001161d
nop
call fcn.140017cf0
mov dword [rsp + 0x28], eax
call fcn.140011460
movzx eax, al
test eax, eax
jne 0x140017bec
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140017bfb
call fcn.140011631
nop
xor edx, edx
mov cl, 1
call fcn.140011221
mov eax, dword [rsp + 0x28]
jmp 0x140017c41
add rsp, 0x68
ret
Function at 0x1400044a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x58], 0
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
je 0x1400044cd
mov r8, rbp
xor edx, edx
mov rcx, r12
add rsp, 0x30
pop r12
pop rsi
pop rbp
jmp fcn.140193570
test r8d, r8d
je 0x1400045c2
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x58], rbx
mov dword [rcx + 0x28], ebp
mov qword [rsp + 0x60], rdi
mov qword [rcx + 0x20], rdx
xor r13d, r13d
nop
cmp dword [rsi + 0x10], r13d
jne 0x140004532
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045cb
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x1400045cb
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], r13d
je 0x140004567
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.140193220
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x1400044f0
jmp 0x1400045b3
lea rcx, [rsi + 8]
call fcn.14016bc10
test eax, eax
je 0x140004579
cmp eax, 4
jne 0x1400045e7
cmp dword [rsi + 0x28], r13d
je 0x1400045b3
cmp eax, 4
jne 0x1400044f0
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b1c70
lea rcx, [rsi + 8]
call fcn.14016bd40
mov r8, rbp
xor edx, edx
mov rcx, r12
mov dword [rsi + 0x58], 1
call fcn.140193570
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
add rsp, 0x30
pop r12
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], r13d
jne 0x14000459f
jmp 0x140004596
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x140004591
Function at 0x140004600
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004617
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 1
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x140004679
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004721
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140004706
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x1400046c4
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.140193220
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004638
mov al, byte [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.14016bc10
test eax, eax
je 0x1400046d6
cmp eax, 4
jne 0x14000473c
cmp dword [rsi + 0x28], ebp
je 0x1400046ab
cmp eax, 4
jne 0x140004638
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b1c70
lea rcx, [rsi + 8]
call fcn.14016bd40
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x1400046af
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], ebp
jne 0x1400046fb
jmp 0x1400046f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], ebp
jne 0x1400046fb
jmp 0x1400046f2
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x1400046ed