joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180154f60
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, [0x1801c6558]
call fcn.180076fef
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.180154a60
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x180155045
mov dword [rbp + 4], 0
jmp 0x180154fde
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 0x180155045
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 0x180155043
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.180155de0
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180154fd6
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1801561d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1801c6558]
call fcn.180076fef
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x180156278
mov dword [rbp + 4], 0
jmp 0x18015620e
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 0x18015625e
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 0x18015625c
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 0x180156206
mov rax, qword [rbp + 0x120]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801b8ac0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x180156c90
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, [0x1801c661c]
call fcn.180076fef
nop
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180156d06
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180156d06
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180156d06
xor eax, eax
jmp 0x180156d53
mov dword [rbp + 4], 1
jmp 0x180156d17
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x108]
cmp dword [rbp + 4], eax
jae 0x180156d4e
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 0x180156d4c
xor eax, eax
jmp 0x180156d53
jmp 0x180156d0f
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400411f9
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x14008cc80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x1400f8040]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14010b643]
call fcn.1400432f1
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, VariantTimeToDosDateTime
call fcn.1400429b4
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x14008cd4d
cmp qword [rbp + 8], 0
je 0x14008cd15
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, VariantTimeToDosDateTime
call fcn.1400429b4
mov dword [rbp + 0x44], eax
jmp 0x14008ccf2
cmp dword [rbp + 0x44], 0
jge 0x14008cd74
cmp qword [rbp + 8], 0
je 0x14008cd6d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
jmp 0x14008cea7
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14008cd8a
xor eax, eax
jmp 0x14008cea7
mov dword [rbp + 0x84], 0
jmp 0x14008cda4
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x14008ce92
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140041f7d
nop
mov rcx, qword [rbp + 0x210]
call fcn.1400412e4
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400412e4
mov rcx, qword [rbp + 0x1d8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x14008ce80
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.140041636
mov rax, qword [rbp + 0x1c8]
jmp 0x14008cea7
lea rcx, [rbp + 0xa8]
call fcn.140041636
nop
jmp 0x14008cd96
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140042ccf
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.140042090
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x14004130c
Capabilities:
Write file on windows

Disassembly:
jmp 0x140080100
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14010b127]
call fcn.1400432f1
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140080158
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14008026a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140080203
cmp qword [rbp + 0x28], 0
jle 0x140080203
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400801a1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140043094
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140080259
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140080259
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400416c2
Capabilities:
Create thread

Disassembly:
jmp 0x140096c00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1400f8040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14010b775]
call fcn.1400432f1
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140041a19
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140042112
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140041744
nop
lea rcx, [rbp + 0x108]
call fcn.140041e1a
nop
lea rax, [0x1400426cb]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14004277a
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140096d03
lea rcx, [rbp + 8]
call fcn.140041eb0
nop
jmp 0x140096d1c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14004179e
nop
lea rcx, [rbp + 8]
call fcn.140041e1a
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1400e2680]
call fcn.140042ccf
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140042090
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14004195b
Capabilities:
Get common file path

Disassembly:
jmp 0x14008cac0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x438
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x458]
mov rax, qword [0x1400f8040]
xor rax, rbp
mov qword [rbp + 0x408], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x14010b643]
call fcn.1400432f1
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x14008cb4e
cmp dword [rbp + 0x234], 0x105
jbe 0x14008cb79
lea rdx, [0x1400dc29c]
mov rcx, qword [rbp + 0x430]
call fcn.140041b31
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
jmp 0x14008cbec
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x14008cbc6
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x14008cbb2
jmp 0x14008cbb8
call fcn.1400428fb
nop
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x430]
call fcn.140041b31
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400df730]
call fcn.140042ccf
mov rax, rdi
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.140042090
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret
Function at 0x14004232e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b88f0
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 0x14004236f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14008c940
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14010b643]
call fcn.1400432f1
nop
mov rcx, qword [rbp + 0x180]
call fcn.140041f55
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14008c9bc
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x14008ca64
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.140041c99
test eax, eax
jne 0x14008ca5f
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.140041f55
cmp qword [rbp + 8], rax
jne 0x14008ca5f
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x14008ca29
xor eax, eax
jmp 0x14008ca66
cmp qword [rbp + 0x190], 0
je 0x14008ca46
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x14008ca66
jmp 0x14008c9b4
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140042554
Capabilities:
Delete registry key

Disassembly:
jmp 0x14008aa40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x1400f8040]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x14010b50b]
call fcn.1400432f1
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14008aaa9
xor al, al
jmp 0x14008ac7b
mov r8, qword [rbp + 0x2d0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x28]
call fcn.1400435a3
nop
lea rcx, [rbp + 0x28]
call fcn.140041b5e
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140043175
nop
mov r8, qword [rbp + 0x2d0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xb8]
call fcn.1400435a3
nop
lea rcx, [rbp + 0xb8]
call fcn.140041b5e
lea r8, [rbp + 0x98]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14008ab7f
cmp dword [rbp + 0xf4], 2
jne 0x14008ab56
mov byte [rbp + 0x214], 1
lea rcx, [rbp + 0xb8]
call fcn.140042dab
nop
lea rcx, [rbp + 0x28]
call fcn.140042dab
movzx eax, byte [rbp + 0x214]
jmp 0x14008ac7b
mov byte [rbp + 0x234], 0
lea rcx, [rbp + 0xb8]
call fcn.140042dab
nop
lea rcx, [rbp + 0x28]
call fcn.140042dab
movzx eax, byte [rbp + 0x234]
jmp 0x14008ac7b
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, str.NtUnloadDriver
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x68]
call qword [rbp + 0x118]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 0
je 0x14008ac06
lea rcx, [rbp + 0xb8]
call fcn.140041b5e
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0xf4], eax
mov byte [rbp + 0x254], 0
lea rcx, [rbp + 0xb8]
call fcn.140042dab
nop
lea rcx, [rbp + 0x28]
call fcn.140042dab
movzx eax, byte [rbp + 0x254]
jmp 0x14008ac7b
lea rcx, [rbp + 0xb8]
call fcn.140041b5e
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14008ac57
mov byte [rbp + 0x274], 0
lea rcx, [rbp + 0xb8]
call fcn.140042dab
nop
lea rcx, [rbp + 0x28]
call fcn.140042dab
movzx eax, byte [rbp + 0x274]
jmp 0x14008ac7b
mov byte [rbp + 0x294], 1
lea rcx, [rbp + 0xb8]
call fcn.140042dab
nop
lea rcx, [rbp + 0x28]
call fcn.140042dab
movzx eax, byte [rbp + 0x294]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400df520]
call fcn.140042ccf
mov rax, rdi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.140042090
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret
Function at 0x140042810
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ba3e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400ba400
xor al, al
jmp 0x1400ba481
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400ba413
xor al, al
jmp 0x1400ba481
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 0x1400ba43d
xor al, al
jmp 0x1400ba481
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400ba451
xor al, al
jmp 0x1400ba481
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400ba463
xor al, al
jmp 0x1400ba481
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400ba47f
xor al, al
jmp 0x1400ba481
mov al, 1
add rsp, 0x38
ret
Function at 0x140042ebe
Capabilities:
Parse pe header

Disassembly:
jmp 0x140088160
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14010b3b1]
call fcn.1400432f1
nop
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14008819d
xor eax, eax
jmp 0x1400881ca
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x1400881c6
xor eax, eax
jmp 0x1400881ca
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140043247
Capabilities:
Write file on windows

Disassembly:
jmp 0x14007b4a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1400f8040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14010b127]
call fcn.1400432f1
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14007b507
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14007b50e
mov al, 1
jmp 0x14007b65e
call fcn.140041979
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140041979
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140042b6c
movzx eax, al
test eax, eax
je 0x14007b55f
xor al, al
jmp 0x14007b65e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14007b5c4
cmp dword [rbp + 0x154], 1
je 0x14007b5cf
cmp dword [rbp + 0x154], 3
je 0x14007b64d
jmp 0x14007b65c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14007b61f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14007b61f
xor al, al
jmp 0x14007b65e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14007b63a
mov dword [rbp + 0x154], 1
jmp 0x14007b644
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14007b65e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14007b65e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140042ccf
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140042090
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400433e1
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400b6ec0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140042a1d
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1400e49d0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.14004201d
test eax, eax
jne 0x1400b6f57
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b6f57
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b6f50
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1400fb410], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400b9200
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140043427
movzx eax, al
test eax, eax
jne 0x1400b9220
mov ecx, 7
call fcn.140042cfc
nop
mov byte [rsp + 0x20], 0
call fcn.140042da6
mov byte [rsp + 0x21], al
cmp dword [0x1400fb748], 1
jne 0x1400b9244
mov ecx, 7
call fcn.140042cfc
nop
jmp 0x1400b929c
cmp dword [0x1400fb748], 0
jne 0x1400b9297
mov dword [0x1400fb748], 1
lea rdx, [0x1400cdab0]
lea rcx, [0x1400cd780]
call fcn.140042027
test eax, eax
je 0x1400b9278
mov eax, 0xff
jmp 0x1400b93a1
lea rdx, [0x1400cd670]
lea rcx, [section..rdata]
call fcn.140042d65
mov dword [0x1400fb748], 2
jmp 0x1400b929c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140042c98
call fcn.1400428d8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400b92f9
mov rcx, qword [rsp + 0x30]
call fcn.140041d02
movzx eax, al
test eax, eax
je 0x1400b92f9
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 [0x14010d020]
nop
call fcn.140042a81
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400b932d
mov rcx, qword [rsp + 0x38]
call fcn.140041d02
movzx eax, al
test eax, eax
je 0x1400b932d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400431ac
nop
call fcn.1400b9410
mov dword [rsp + 0x28], eax
call fcn.140042810
movzx eax, al
test eax, eax
jne 0x1400b934c
mov ecx, dword [rsp + 0x28]
call fcn.140041258
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400b935b
call fcn.140043210
nop
xor edx, edx
mov cl, 1
call fcn.140041c3a
mov eax, dword [rsp + 0x28]
jmp 0x1400b93a1
add rsp, 0x68
ret