joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014c27b
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1403c5bd0
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 [0x140452080]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x140468815]
call fcn.14014e418
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, 0xb
call fcn.14014dacc
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x1403c5c94
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
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, 0xb
call fcn.14014dacc
mov dword [rbp + 0x44], eax
jmp 0x1403c5c41
cmp dword [rbp + 0x44], 0
jge 0x1403c5cb3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1403c5ddc
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x84], 0
jmp 0x1403c5cd5
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 0x1403c5dc8
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.14014d040
mov rcx, qword [rbp + 0x210]
call fcn.14014c393
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.14014c393
mov qword [rbp + 0x1e0], rax
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x1403c5db7
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]
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.14014c6d6
mov rax, qword [rbp + 0x1c8]
jmp 0x1403c5ddc
lea rcx, [rbp + 0xa8]
call fcn.14014c6d6
jmp 0x1403c5cc7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140439790]
call fcn.14014ddd8
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.14014d149
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x14014c3b1
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403c8e50
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, [0x140468810]
call fcn.14014e418
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1403c8ea7
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 0x1403c8fb3
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 0x1403c8f4c
cmp qword [rbp + 0x28], 0
jle 0x1403c8f4c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1403c8eec
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.14014e1d4
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]
cmp qword [rbp + 0x130], 0
jle 0x1403c8fa2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1403c8fa2
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 0x14014c4dd
Capabilities:
Delete service
Stop service

Disassembly:
jmp 0x1403c10f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140452080]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1404686d8]
call fcn.14014e418
mov r8d, 2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1403c115b
xor al, al
jmp 0x1403c1200
mov rcx, qword [rbp + 0x180]
call fcn.14014c393
mov r8d, 0x10020
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1403c1193
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x1403c1200
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
lea r8, [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1403c11d1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1403c11d1
mov byte [rbp + 0x154], 1
jmp 0x1403c11d8
mov byte [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rbp + 0x84]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140438ea0]
call fcn.14014ddd8
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14014d149
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14014c68b
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140382620
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1404681b2]
call fcn.14014e418
mov qword [rbp + 8], 0
jmp 0x14038265e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1403826b4
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140382653
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14014cb45
Capabilities:
Enumerate services

Disassembly:
jmp 0x1403c0a20
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x280
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x60
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a8]
mov rax, qword [0x140452080]
xor rax, rbp
mov qword [rbp + 0x230], rax
lea rcx, [0x1404686d8]
call fcn.14014e418
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 3
mov edx, 0xb
mov rcx, qword [rbp + 0x260]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x1403c0ace
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1403c0ace
mov al, 1
jmp 0x1403c0c5f
mov eax, dword [rbp + 4]
add rax, 0x30
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov ecx, eax
call fcn.14014cfc8
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x48]
mov r8d, 3
mov edx, 0xb
mov rcx, qword [rbp + 0x260]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x1403c0c1c
mov dword [rbp + 0x64], 0
jmp 0x1403c0b4b
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jae 0x1403c0bd7
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x30
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0x48]
mov rdi, rcx
lea rsi, [rdx + rax]
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x1b4]
call fcn.1403c02c0
mov rcx, rax
call fcn.14014c14f
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call fcn.14014d03b
test rax, rax
je 0x1403c0bd2
cmp dword [rbp + 0x9c], 4
je 0x1403c0bcb
cmp dword [rbp + 0x9c], 2
jne 0x1403c0bd2
mov al, 1
jmp 0x1403c0c5f
jmp 0x1403c0b43
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x1f8], rax
mov rcx, qword [rbp + 0x1f8]
call fcn.14014d130
cmp qword [rbp + 0x1f8], 0
jne 0x1403c0c05
mov qword [rbp + 0x228], 0
jmp 0x1403c0c18
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x228], rax
xor al, al
jmp 0x1403c0c5f
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x218], rax
mov rcx, qword [rbp + 0x218]
call fcn.14014d130
cmp qword [rbp + 0x218], 0
jne 0x1403c0c4a
mov qword [rbp + 0x228], 0
jmp 0x1403c0c5d
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x228], rax
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140439140]
call fcn.14014ddd8
mov rax, rdi
mov rcx, qword [rbp + 0x230]
xor rcx, rbp
call fcn.14014d149
lea rsp, [rbp + 0x240]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14014d3f6
Capabilities:
Terminate process

Disassembly:
jmp 0x1403e1ea0
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]
add rsp, 0x28
ret

Function at 0x14014d711
Capabilities:
Get geographical location

Disassembly:
jmp 0x1403dad10
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1403dad4d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14014e3fa
add rsp, 0x58
ret
Function at 0x14014d84c
Capabilities:
Execute command

Disassembly:
jmp 0x1403b0870
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rcx, [0x1404682d3]
call fcn.14014e418
call fcn.14014d153
call fcn.14014e346
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1403b08b9
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1403b08ce
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0xffffffff
jmp 0x1403b09f2
lea rax, [rbp + 0xe8]
mov qword [rbp + 0x128], rax
lea rdx, [0x1404554a0]
mov rcx, qword [rbp + 0x128]
call fcn.14014d919
mov qword [rbp + 0x258], rax
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 8]
call fcn.14014c992
test rax, rax
jne 0x1403b091e
mov rcx, qword [rbp + 8]
call fcn.14014e044
mov eax, 0xffffffff
jmp 0x1403b09f2
mov rcx, qword [rbp + 8]
call fcn.14014e044
lea rax, [rbp + 0x144]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x144]
call fcn.1401e1540
mov rcx, rax
call fcn.14014e0ee
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x1a4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x1a4]
call fcn.14029ab00
mov rcx, rax
call fcn.14014ca6e
mov qword [rbp + 0x258], rax
lea rax, [rbp + 0x1f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x1f4]
call fcn.140242000
mov rcx, rax
call fcn.14014cc9e
mov qword [rbp + 0x260], rax
xor r9d, r9d
mov r8, qword [rbp + 0x258]
mov rdx, qword [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1403b09f0
xor eax, eax
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret
Function at 0x14014d8f1
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403e1270
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1403e1290
xor al, al
jmp 0x1403e1311
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403e12a3
xor al, al
jmp 0x1403e1311
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 0x1403e12cd
xor al, al
jmp 0x1403e1311
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1403e12e1
xor al, al
jmp 0x1403e1311
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1403e12f3
xor al, al
jmp 0x1403e1311
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1403e130f
xor al, al
jmp 0x1403e1311
mov al, 1
add rsp, 0x38
ret
Function at 0x14014dfcc
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403bbec0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140468570]
call fcn.14014e418
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403bbefc
xor eax, eax
jmp 0x1403bbf29
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 0x1403bbf25
xor eax, eax
jmp 0x1403bbf29
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14014e396
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403c6350
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140452080]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140468810]
call fcn.14014e418
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1403c63b6
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1403c63bd
mov al, 1
jmp 0x1403c652d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14014ca41
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14014ca41
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14014dc75
movzx eax, al
test eax, eax
je 0x1403c6420
xor al, al
jmp 0x1403c652d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
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 + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1403c6493
cmp dword [rbp + 0x160], 1
je 0x1403c649e
cmp dword [rbp + 0x160], 3
je 0x1403c651c
jmp 0x1403c652b
mov rax, qword [rbp + 0x1a0]
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 0x1403c64ee
mov rax, qword [rbp + 0x1a0]
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 0x1403c64ee
xor al, al
jmp 0x1403c652d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1403c6509
mov dword [rbp + 0x154], 1
jmp 0x1403c6513
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1403c652d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1403c652d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140439e80]
call fcn.14014ddd8
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14014d149
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14014e508
Capabilities:
Print debug messages

Disassembly:
jmp 0x1403de678
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.14014db21
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, [0x14043ac78]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.14014d0d6
test eax, eax
jne 0x1403de70f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1403de70f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1403de708
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140455330], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov edi, r8d
lea ebp, [rcx - 0x26a0]
xor r8d, 0xf9
lea r10d, [r9 - 0x1f9]
xor edi, 0x26c0
mov rsi, rdx
mov ebx, edi
lea eax, [r8 - 0x76]
cmp edi, eax
je 0x1400010de
lea eax, [r10 + 0x192]
cmp edi, eax
jge 0x1400010a3
mov eax, dword [rdx + 0x80]
lea r9d, [rdi + 0x249d]
add eax, 0xfb5ec57
lea r11, [0x1400d7010]
mov dword [rdx], eax
lea ecx, [rdi + 0x2530]
lea eax, [r8 + 0x11]
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], eax
lea r8d, [rdi + 0x2639]
xor r10d, 0x14a
mov dword [rsp + 0x20], r9d
mov edx, ebx
mov r9d, r10d
xor edx, 0x274b
call fcn.140011bf4
mov r10d, eax
jmp 0x1400010de
mov eax, ebx
lea edx, [rcx + 0x89]
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jae 0x1400010de
mov ecx, dword [0x1400d7150]
imul eax, dword [rsi + 0xc4], 0x2530
add edx, 2
xor ecx, eax
mov eax, ebx
xor ecx, ebp
mov dword [0x1400d7150], ecx
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jb 0x1400010bb
cmp dword [rsi + 0x110], 0xa137
jbe 0x140001100
mov rax, qword [section..data]
mov ecx, dword [rax + 0x1c]
add ecx, 0xc4d8
mov dword [0x1400d7060], ecx
add ebx, 0x26c2
lea eax, [r10 - 0x2d1]
cmp ebp, eax
jg 0x14000115f
mov eax, r10d
xor eax, 0x2f8
cmp ebp, eax
jge 0x14000114b
mov r8d, edi
lea eax, [r10 - 0x34c]
xor edi, 0x264a
mov dword [rsp + 0x20], eax
mov ecx, edi
lea r9d, [r10 - 0x21b]
xor r8d, 0x247a
mov rdx, rsi
call fcn.14001238c
jmp 0x14000115f
mov ecx, dword [0x1400d7080]
sub ecx, dword [0x1400d705c]
sub ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbp, qword [rsp + 0x58]
lea eax, [rbx - 0x10f]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400013dc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov edi, dword [rsp + 0x78]
lea ebp, [rdx - 0x113]
mov esi, r9d
mov r15d, r9d
add r9d, 0x89
mov r14d, edi
xor r14d, 0x2729
xor esi, 0x26a0
xor r15d, 0x313
mov rbx, r8
lea eax, [r9 - 0x1df]
cmp r14d, eax
jg 0x14000156e
lea eax, [rbp - 0x138]
cmp esi, eax
jg 0x1400014ce
mov eax, dword [0x1400d70e8]
cmp dword [0x1400d7150], eax
ja 0x14000148c
mov rax, qword [section..data]
mov r8d, dword [r8 + 0x78]
mov edx, dword [rbx + 0x48]
mov ecx, dword [rax + 0x90]
add ecx, 0x2fff
add r8d, ecx
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x5800
mov qword [0x1400d7108], rax
cmp dword [rbx + 0x4c], 0xfb3d
ja 0x1400014a6
mov eax, dword [rbx + 0xac]
add eax, 0xe6f92
mov dword [0x1400d707c], eax
mov eax, dword [0x1400d70a0]
cmp dword [rbx + 0x30], eax
jb 0x14000156e
mov eax, dword [rbx + 0xa4]
sub eax, dword [rbx + 0x110]
add eax, 0x1ba0a2
xor dword [rbx + 0x6c], eax
jmp 0x14000156e
mov ecx, dword [r8 + 0xb0]
mov rax, qword [section..data]
sub ecx, esi
add ecx, r9d
cmp dword [rax + 0x18], ecx
jb 0x14000156e
mov eax, dword [0x1400d70d4]
mov r12d, ebp
imul eax, esi
cmp ebp, eax
jne 0x14000156e
mov edx, dword [rbx + 0xd0]
mov eax, dword [rbx + 0xcc]
add edx, r14d
mov r9d, dword [rbx + 0x10c]
sub eax, 0x2537
mov ecx, dword [rbx + 0x34]
or r9d, edi
mov r8d, dword [rbx + 8]
and eax, ebp
and ecx, dword [0x1400d7090]
sub r9d, 0x274b
sub r8d, dword [rbx + 0x64]
and ecx, edi
mov dword [rsp + 0x28], edx
lea rdx, [0x1400d7010]
mov dword [rsp + 0x20], eax
call fcn.140011ea8
mov ecx, edi
mov edx, r15d
sub ecx, dword [rbx + 0xc0]
or rcx, rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1400d70d4]
add r12d, 2
imul ecx, esi
cmp r12d, ecx
je 0x1400014fa
mov rbx, qword [rsp + 0x50]
xor edi, 0x1eb
mov rbp, qword [rsp + 0x58]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret