joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420e70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004cf900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004cf8e0]
test rbx, rbx
je 0x420ec4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x420ebb
test rsi, rsi
je 0x420ebb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x420ea0
lea rcx, [0x004cf900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x421220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x004cbf50]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x42128f
mov rcx, r9
call fcn.004210f0
test eax, eax
je 0x42128f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x42128d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x421284
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x42128f
add rdx, 0x28
cmp rdx, r9
jne 0x421270
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1403b67f0]
mov dword [rax], 1
mov rax, qword [0x1403b6800]
mov dword [rax], 1
mov rax, qword [0x1403b6810]
mov dword [rax], 1
mov rax, qword [0x1403b67a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140367260
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.140391fc0
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140385c70
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x1403672b9
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x140390ca0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1403a2420
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1403a2420
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140391972
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1403d8ce8]
test eax, eax
je 0x140391a0a
lea rax, [0x1403d8cc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1403d8cf0]
mov qword [rbp - 8], rax
jmp 0x1403919ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1403919e2
cmp qword [rbp - 0x10], 0
je 0x1403919e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1403919a8
lea rax, [0x1403d8cc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140391a0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140391b10
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140391b38
mov eax, 0
jmp 0x140391b86
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140391b61
mov eax, 0
jmp 0x140391b86
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140391b81
mov eax, 0
jmp 0x140391b86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140391b8c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140391c0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140391c01
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140391c01
mov rax, qword [rbp - 8]
jmp 0x140391c1f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140391bd4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140103cfc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x60], rcx
cmp qword [rsp + 0x60], 0
jne 0x140103d23
mov qword [rsp + 0x70], 0
jmp 0x140103e5d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140103d47
mov qword [rsp + 0x70], 0
jmp 0x140103e5d
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140103d77
mov qword [rsp + 0x70], 0
jmp 0x140103e5d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x18]
jae 0x140103e54
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov edx, 0x911c9ac5
call fcn.140104df2
cmp eax, dword [rsp + 0x6c]
jne 0x140103e3f
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov ecx, dword [rsp + 0x3c]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0x1c]
add rcx, rdx
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x140103e5d
jmp 0x140103e44
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x140103dac
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
add rsp, 0x78
ret

Function at 0x140104d88
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0
jne 0x140104db3
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x140104dd7
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 2
call fcn.140104d88
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x140104df2
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0
jne 0x140104e1d
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x140104e41
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 1
call fcn.140104df2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x140011109
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e510
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, [0x1400390fd]
call fcn.140011a5a
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001e568
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 0x14001e67a
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 0x14001e613
cmp qword [rbp + 0x28], 0
jle 0x14001e613
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001e5b1
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.1400119ce
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 0x14001e669
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001e669
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 0x14001128a
Capabilities:
Create process on windows

Disassembly:
jmp 0x140019e60
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140031040]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x140039100]
call fcn.140011a5a
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x10]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14002a1d0]
call fcn.1400118a7
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1400114f6
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x14001156e
Capabilities:
Get token membership

Disassembly:
jmp 0x140019980
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140031040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140039100]
call fcn.140011a5a
nop
mov dword [rbp + 4], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140019a4e
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 4], 0
je 0x140019a5d
mov byte [rbp + 0x114], 1
jmp 0x140019a64
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14002a130]
call fcn.1400118a7
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400114f6
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400115dc
Capabilities:
Terminate process

Disassembly:
jmp 0x1400217f0
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 0x14001160e
Capabilities:
Create process on windows

Disassembly:
jmp 0x140019de0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x140039100]
call fcn.140011a5a
nop
mov rcx, qword [rbp + 0xe0]
call fcn.1400110ff
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140011753
Capabilities:
Parse pe header

Disassembly:
jmp 0x140022320
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140022340
xor al, al
jmp 0x1400223c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022353
xor al, al
jmp 0x1400223c1
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 0x14002237d
xor al, al
jmp 0x1400223c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140022391
xor al, al
jmp 0x1400223c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400223a3
xor al, al
jmp 0x1400223c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400223bf
xor al, al
jmp 0x1400223c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011a3c
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a8a0
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 [0x140031040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400390fd]
call fcn.140011a5a
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001a907
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001a90e
mov al, 1
jmp 0x14001aa5e
call fcn.1400112f3
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.1400112f3
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.14001184d
movzx eax, al
test eax, eax
je 0x14001a95f
xor al, al
jmp 0x14001aa5e
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 0x14001a9c4
cmp dword [rbp + 0x154], 1
je 0x14001a9cf
cmp dword [rbp + 0x154], 3
je 0x14001aa4d
jmp 0x14001aa5c
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 0x14001aa1f
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 0x14001aa1f
xor al, al
jmp 0x14001aa5e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001aa3a
mov dword [rbp + 0x154], 1
jmp 0x14001aa44
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001aa5e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001aa5e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002a9d0]
call fcn.1400118a7
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400114f6
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14001fc10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011aaf
movzx eax, al
test eax, eax
jne 0x14001fc30
mov ecx, 7
call fcn.1400118c0
nop
mov byte [rsp + 0x20], 0
call fcn.1400118fc
mov byte [rsp + 0x21], al
cmp dword [0x1400317d0], 1
jne 0x14001fc54
mov ecx, 7
call fcn.1400118c0
nop
jmp 0x14001fcac
cmp dword [0x1400317d0], 0
jne 0x14001fca7
mov dword [0x1400317d0], 1
lea rdx, [0x140029770]
lea rcx, [0x140029440]
call fcn.1400114d3
test eax, eax
je 0x14001fc88
mov eax, 0xff
jmp 0x14001fdb1
lea rdx, [0x140029330]
lea rcx, [section..rdata]
call fcn.1400118e8
mov dword [0x1400317d0], 2
jmp 0x14001fcac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011898
call fcn.140011794
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001fd09
mov rcx, qword [rsp + 0x30]
call fcn.1400113e3
movzx eax, al
test eax, eax
je 0x14001fd09
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 [0x14003a020]
nop
call fcn.140011811
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001fd3d
mov rcx, qword [rsp + 0x38]
call fcn.1400113e3
movzx eax, al
test eax, eax
je 0x14001fd3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011a14
nop
call fcn.14001fe60
mov dword [rsp + 0x28], eax
call fcn.140011753
movzx eax, al
test eax, eax
jne 0x14001fd5c
mov ecx, dword [rsp + 0x28]
call fcn.1400110be
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001fd6b
call fcn.140011a28
nop
xor edx, edx
mov cl, 1
call fcn.1400113ac
mov eax, dword [rsp + 0x28]
jmp 0x14001fdb1
add rsp, 0x68
ret
Function at 0x1400039b8
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41642b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432a60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4162ee
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416301
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416325
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416339
cmp rbx, 0x1000
jae 0x4162f8
nop
jmp 0x4163a9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41634d
xor edx, edx
jmp 0x4163a0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432a60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41632f
jmp 0x416315
call fcn.00462880
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004371c0
lea rax, [0x004d7558]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00437ac0
mov rax, qword [rsp + 0x38]
call fcn.004377c0
lea rax, [0x004d7618]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437ac0
mov rax, qword [rsp + 0x30]
call fcn.004377c0
call fcn.00437420
call fcn.00437240
lea rax, [0x004d98bf]
mov ebx, 0x21
call fcn.00435900
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ecc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416280