joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180079393
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x18015fd80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x1801bea00]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1801d4748]
call fcn.18007b193
nop
mov rax, qword [rbp + 0x140]
mov rcx, qword [0x1801c5d10]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x44]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
cmp eax, 1
jne 0x18015fe19
mov rax, qword [rbp + 0x28]
mov byte [rax], 0
jmp 0x18015fe20
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1801a6d30]
call fcn.18007ac2a
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.180079ff5
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x18007a04f
Capabilities:
Create thread

Disassembly:
jmp 0x180167230
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x1801d4748]
call fcn.18007b193
nop
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x1801672b3
cmp dword [rbp + 0xc0], 1
je 0x180167279
jmp 0x1801672b9
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xf0]
lea r8, [0x18007a9be]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
jmp 0x1801672b9
call fcn.1800793e3
nop
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x18007a27a
Capabilities:
Terminate process

Disassembly:
jmp 0x180168910
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 0x18007a55e
Capabilities:
Write file on windows

Disassembly:
jmp 0x18009c080
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4071]
call fcn.18007b193
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x18007a680
Capabilities:
Read file on windows

Disassembly:
jmp 0x18009c000
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4071]
call fcn.18007b193
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18007a694
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x18009c630
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4071]
call fcn.18007b193
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1801749e0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x18009c769
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x18009c6ca
mov dword [rbp + 0x160], 1
jmp 0x18009c6d4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x18009c764
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18009c73e
cmp qword [rbp + 0x198], 2
jb 0x18009c73e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009c73e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009c73e
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18009c695
jmp 0x18009c7f6
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18009c7f6
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x18009c7cd
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009c7cd
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009c7cd
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18009c769
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x18007a7b1
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180160b50
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1801bea00]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1801d4748]
call fcn.18007b193
nop
mov rax, qword [0x1801c5d10]
add rax, 0x185ceff
mov qword [rbp + 8], rax
mov byte [rbp + 0x24], 0x74
mov byte [rbp + 0x25], 0xf
mov byte [rbp + 0x26], 0x83
mov byte [rbp + 0x27], 0xfa
mov byte [rbp + 0x28], 1
mov byte [rbp + 0x29], 0
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x180160c4a
mov rax, qword [0x1801c5d10]
add rax, 0x185cf10
mov rcx, qword [rbp + 8]
add rcx, 6
sub rax, rcx
mov dword [rbp + 0x64], eax
mov r8d, 6
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 0x48]
call fcn.180079fff
nop
mov rax, qword [rbp + 0x48]
mov byte [rax], 0xf
mov rax, qword [rbp + 0x48]
mov byte [rax + 1], 0x83
mov rax, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x64]
mov dword [rax + 2], ecx
mov r8d, 6
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call fcn.18007a8f1
nop
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1801a6ad0]
call fcn.18007ac2a
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.180079ff5
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x18007a8f1
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180160da0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x1801bea00]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1801d4748]
call fcn.18007b193
nop
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov eax, dword [rbp + 0x110]
mov r8d, eax
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.180079fff
nop
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1801a6a50]
call fcn.18007ac2a
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.180079ff5
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x18007af27
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x18009c520
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4071]
call fcn.18007b193
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1801749e0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x18009c5a0
mov dword [rbp + 0x120], 1
jmp 0x18009c5aa
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x18009c5e4
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
jmp 0x18009c56b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x180158c10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1c8]
mov rax, qword [0x1801bea00]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1801d4554]
call fcn.18007b193
nop
mov eax, dword [rbp + 0x1a0]
imul rax, rax, 0x38
mov rcx, qword [0x1801c6520]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov qword [rbp + 0x48], 5
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180158cb3
mov rax, qword [rbp + 0x68]
sub rax, 5
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
add rax, 2
mov qword [rbp + 0x48], rax
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180158cd9
mov eax, 0xa
jmp 0x180158e0c
cmp dword [rbp + 0x1a8], 0
je 0x180158d4d
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov byte [rax], 0xe9
mov rax, qword [rbp + 0x68]
add rax, 5
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x88]
mov dword [rcx + 1], eax
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180158d4b
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov byte [rax], 0xeb
mov rax, qword [rbp + 0xa8]
mov byte [rax + 1], 0xf9
jmp 0x180158d96
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180158d7b
mov rax, qword [rbp + 8]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call fcn.180079fff
nop
jmp 0x180158d96
mov rax, qword [rbp + 8]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call fcn.180079fff
nop
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
nop
movzx eax, byte [rbp + 0x1a8]
and al, 1
shl al, 1
mov rcx, qword [rbp + 8]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rbp + 8]
mov byte [rcx + 0x20], al
movzx eax, byte [rbp + 0x1a8]
and al, 1
shl al, 2
mov rcx, qword [rbp + 8]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rbp + 8]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1801a5fe0]
call fcn.18007ac2a
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.180079ff5
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x180158f70
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1801bea00]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1801d4554]
call fcn.18007b193
nop
xor edx, edx
mov ecx, 4
call fcn.180079fa0
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x180159141
mov dword [rbp + 0x28], 0x1c
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.18007a4b4
test eax, eax
je 0x180159136
mov eax, dword [rbp + 0x28]
cmp rax, 0x10
jb 0x18015911a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp + 0x34], eax
jne 0x18015911a
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp + 0x30], eax
je 0x18015911a
mov rax, qword [rbp + 0x160]
cmp qword [rax], 0
jne 0x180159075
mov rax, qword [rbp + 0x160]
mov dword [rax + 8], 0x80
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1801c5ab0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbp + 0x160]
mov qword [rcx], rax
mov rax, qword [rbp + 0x160]
cmp qword [rax], 0
jne 0x180159073
jmp 0x180159136
jmp 0x1801590ea
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x160]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x1801590ea
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rbp + 0x160]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801c5ab0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1801590c6
jmp 0x180159136
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rbp + 0x160]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
mov qword [rax], rcx
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x160]
mov rcx, qword [rcx]
mov edx, dword [rbp + 0x30]
mov dword [rcx + rax*4], edx
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rbp + 0x160]
mov dword [rcx + 0xc], eax
mov dword [rbp + 0x28], 0x1c
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1800793d4
test eax, eax
jne 0x180158ff1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1801a5f60]
call fcn.18007ac2a
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.180079ff5
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x180159470
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4554]
call fcn.18007b193
nop
mov rax, qword [rbp + 0x120]
mov qword [rax], 0
mov rax, qword [rbp + 0x120]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x120]
mov dword [rax + 0xc], 0
mov rcx, qword [rbp + 0x120]
call fcn.180158f70
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x180159555
mov dword [rbp + 4], 0
jmp 0x1801594ee
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 4], eax
jae 0x180159555
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x120]
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 [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x180159553
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop
mov r8d, dword [rbp + 0x130]
mov edx, dword [rbp + 0x128]
mov rcx, qword [rbp + 0x28]
call fcn.18015a2f0
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1801594e6
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x18015a6e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4554]
call fcn.18007b193
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x18015a788
mov dword [rbp + 4], 0
jmp 0x18015a71e
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 4], eax
jae 0x18015a76e
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x120]
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 [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x18015a76c
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x18015a716
mov rax, qword [rbp + 0x120]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801c5ab0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x18015b1a0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1801d4618]
call fcn.18007b193
nop
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18015b216
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18015b216
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18015b216
xor eax, eax
jmp 0x18015b263
mov dword [rbp + 4], 1
jmp 0x18015b227
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x108]
cmp dword [rbp + 4], eax
jae 0x18015b25e
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18015b25c
xor eax, eax
jmp 0x18015b263
jmp 0x18015b21f
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1800036b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor esi, esi
lea rax, [0x18001c7c8]
mov rdi, rdx
mov qword [rcx], rax
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov rbx, rcx
lea edx, [rsi + 1]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1800036fd
call fcn.180003680
int3
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov qword [rbx + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x180003722
call fcn.180003680
int3
call fcn.180006630
mov qword [rbx + 0x28], rax
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rcx
lea rax, [rbx + 0x68]
mov ecx, 0x70
mov qword [rbx + 0x198], rax
lea rax, [rbx + 0x1c8]
mov qword [rbx + 0x2f8], rax
mov qword [rbx + 0x300], rdi
mov qword [rbx + 0x308], rsi
mov dword [rbx + 0x310], 1
call fcn.18000c710
test rax, rax
je 0x180003781
mov rcx, rax
call fcn.180003600
jmp 0x180003784
mov rax, rsi
mov ecx, 8
mov qword [rbx + 0x308], rax
call fcn.18000c710
mov rdi, rax
test rax, rax
je 0x1800037c0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov qword [rax], rsi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
jne 0x1800037c3
call fcn.180003680
int3
mov rdi, rsi
mov ecx, MsiDatabaseExportA
mov qword [rbx + 0x10], rdi
call fcn.18000c710
mov rdi, rax
test rax, rax
je 0x180003805
lea r8, [0x1800036a0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.18000c940
lea rcx, [0x18001c770]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
jmp 0x180003808
mov rdi, rsi
mov qword [rbx + 8], rdi
test rdi, rdi
jne 0x180003844
lea r8d, [rdi + 1]
lea rdx, str.bad_allocation
lea rcx, [rsp + 0x30]
call fcn.18000bd44
lea r11, vtable.std::bad_alloc.0
lea rdx, [0x18001f550]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r11
call fcn.18000d768
int3
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x180003a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180003a83
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180003ac7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x180003ac2
cmp rbx, r11
jae 0x180003ac7
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x180003ab0
cmp rbx, r11
jb 0x180003acb
xor eax, eax
jmp 0x180003ad7
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180003fe0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rbx, r8
mov rdi, rdx
test rdx, rdx
je 0x180004000
mov dword [rdx], ebp
test rbx, rbx
je 0x180004008
mov dword [r8], ebp
lea rdx, [rsp + 0x78]
lea rcx, [0x18001c8d8]
mov dword [rsp + 0x78], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x1800040bf
mov ecx, 8
call fcn.18000c710
test rax, rax
je 0x180004045
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
mov qword [rsp + 0x20], rax
jmp 0x18000404a
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x20]
mov rdx, rsi
mov byte [rsp + 0x88], bpl
call fcn.180004260
mov r11, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
cmp r11, r9
jne 0x180004080
call fcn.18000c040
mov r9, qword [rsp + 0x38]
mov edx, dword [rsp + 0x78]
lea rcx, [0x18001c8d8]
mov r8d, esi
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x1800040ce
test rcx, rcx
je 0x1800040a6
call fcn.18000bbe8
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
call fcn.18000bbe8
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x90], rbp
cmp rax, rcx
jne 0x1800040f1
call fcn.18000c040
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x90]
lea rdx, [0x18001c870]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x180004148
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180004120
call fcn.18000bbe8
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
call fcn.18000bbe8
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x90]
test rdi, rdi
je 0x18000415a
mov eax, dword [rcx + 0x10]
mov dword [rdi], eax
test rbx, rbx
je 0x180004164
mov eax, dword [rcx + 0x14]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180004173
call fcn.18000bbe8
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
call fcn.18000bbe8
mov rbx, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret