joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051300
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
call fcn.140051150
cmp qword [rbx + 0x20], 8
jb 0x140051343
mov rcx, qword [rbx + 8]
jmp 0x140051347
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140051487
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x40], 7
xor edi, edi
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x28]
call fcn.1400222e0
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.14001be70
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.14001bb40
nop
lea rdx, str.Error_when_deleting_file:
mov rcx, rax
call fcn.1400243f0
mov rcx, rax
mov rdx, rbx
call fcn.14002fae0
mov rcx, rax
lea rdx, str.Last_error:
call fcn.1400243f0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140032100
mov rbx, rax
lea rax, vtable.std::exception.0
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rsp + 0x60], rax
lea rdx, [rbx + 0x18]
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x78], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.1400226a0
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rsp + 0x60], rax
lea rdx, [rbx + 0x38]
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x68], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.1400226a0
nop
lea rax, vtable.Exception.0
mov qword [rsp + 0x60], rax
lea rdx, [0x1400a7580]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140054e30
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400514b0
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140051150
cmp qword [rdi + 0x18], 8
jb 0x1400514fc
mov rdx, qword [rdi]
jmp 0x1400514ff
mov rdx, rdi
cmp qword [rbx + 0x20], 8
jb 0x14005150c
mov rcx, qword [rbx + 8]
jmp 0x140051510
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140051691
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x48], 7
xor esi, esi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400222e0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14001be70
mov rdi, rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.1400222e0
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14001be70
mov rbx, rax
lea rcx, [rbp + 0x20]
call fcn.14001bb40
nop
lea rdx, str.Error_when_renaming_file_from
mov rcx, rax
call fcn.1400243f0
mov rcx, rax
mov rdx, rbx
call fcn.14002fae0
mov rcx, rax
call fcn.140051f40
mov rcx, rax
mov rdx, rdi
call fcn.14002fae0
mov rcx, rax
lea rdx, str.Last_error:
call fcn.1400243f0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140032100
mov rbx, rax
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x78]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rbp - 0x80], rax
lea rdx, [rbx + 0x18]
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x68], sil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.1400226a0
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rbp - 0x80], rax
lea rdx, [rbx + 0x38]
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], sil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x48]
call fcn.1400226a0
nop
lea rax, vtable.Exception.0
mov qword [rbp - 0x80], rax
lea rdx, [0x1400a7580]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140054e30
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051870
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x38], r8d
xor r14d, r14d
mov dword [rsp + 0x30], r14d
test rdx, rdx
je 0x140051a31
mov edx, 0xc0000004
lea r9d, [r14 + 2]
call fcn.140050e50
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x34]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140051abb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.1400222e0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14001be70
mov rbx, rax
lea rcx, [rbp + 0x10]
call fcn.14001bb40
nop
mov rcx, rax
call fcn.140052080
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.14004a2f0
mov rcx, rax
lea rdx, str._bytes_to_file
call fcn.1400243f0
mov rcx, rax
mov rdx, rbx
call fcn.14002fae0
mov rcx, rax
lea rdx, str.Last_error:
call fcn.1400243f0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140032100
mov rbx, rax
lea rax, vtable.std::exception.0
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x78]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rsp + 0x70], rax
lea rdx, [rbx + 0x18]
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x78], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.1400226a0
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rsp + 0x70], rax
lea rdx, [rbx + 0x38]
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], r14
mov byte [rbp - 0x58], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x58]
call fcn.1400226a0
nop
lea rax, vtable.Exception.0
mov qword [rsp + 0x70], rax
lea rdx, [0x1400a7580]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x50], r14b
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x50]
call fcn.140022570
nop
mov dword [rsp + 0x30], 1
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
lea rax, vtable.BaseException.0
mov qword [rbp - 0x30], rax
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], r14
mov byte [rbp - 0x18], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.1400226a0
nop
lea rax, vtable.AssertException.0
mov qword [rbp - 0x30], rax
lea rdx, [0x1400a7408]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140054e30
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140054240
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [0x140092b04]
lea rcx, [rsp + 0x20]
call fcn.140040650
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x140054293
mov rdx, qword [rsp + 0x20]
inc r8
call fcn.140022ad0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140054e30
add rsp, 0x58
ret

Function at 0x140054ff4
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140055085
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140055085
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140055085
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140055069
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140055063
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14005506b
add rdx, 0x28
jmp 0x140055048
xor edx, edx
test rdx, rdx
jne 0x140055074
xor al, al
jmp 0x14005508b
test dword [rdx + 0x24], 0x80000000
je 0x140055081
xor al, al
jmp 0x14005508b
mov al, 1
jmp 0x14005508b
xor al, al
jmp 0x14005508b
add rsp, 0x18
ret
Function at 0x140006490
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov edi, ecx
xor ecx, ecx
mov rbx, rdx
test rdx, rdx
je 0x1400064ab
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000658a
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
call fcn.1400cab94
test eax, eax
je 0x140006577
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, [0x1400e3968]
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x14000656c
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
jne 0x14000658f
test rbx, rbx
je 0x140006577
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x1400065b0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400065ca
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140119798]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140006644
xor esi, esi
nop
mov ecx, dword [0x140114470]
cmp ecx, 0xffffffff
je 0x140006614
test ecx, ecx
je 0x140006660
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140114470]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006660
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140114474], esi
call fcn.140001a70
mov rcx, qword [0x140119798]
mov dword [0x140114474], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400065f0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400d6cb7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140112e90]
jne 0x1400d195a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400d1956
repz ret
ror rcx, 0x10
jmp 0x1400d6c10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140117b90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140117c88]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400d6c95
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140117b90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400d6cb7
mov rax, qword [rsp + 0x88]
mov qword [0x140117c88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140117c28], rax
mov rax, qword [0x140117c88]
mov qword [0x140117b00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140117c10], rax
mov dword [0x140117af0], 0xc0000409
mov dword [0x140117af4], 1
mov rax, qword [0x140112e90]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140112e98]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140117b88], eax
mov ecx, 1
call fcn.1400d475c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400e33c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140117b88], 0
jne 0x1400d6d3e
mov ecx, 1
call fcn.1400d475c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x16f9f10
Capabilities:
Encode data using xor

Disassembly:
jmp 0x16f9f1a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x16f9f43
pop rbp
sub rbp, 0x33
sub rbp, 0x12f9f10
sub rsp, 0x20
jmp 0x16f9f62
mov rax, 0x12f9f10
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6713c242
xor byte [rax], dl
inc rax
dec rcx
jne 0x16f9f81
jmp 0x16f9f98
or cl, bl
stosd dword [rdi], eax
leave
retf
Function at 0x1400115e6
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14001f140
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x398], rax
lea rcx, [0x14003f101]
call fcn.140011a73
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 1
mov eax, 1
mov word [rbp + 0x50], ax
mov rcx, qword [rbp + 0x3c0]
call fcn.140011357
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001f2ae
lea rax, [rbp + 0x2b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x384], eax
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x2b4]
call fcn.14001c350
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x388]
mov qword [rbp + 0x390], rax
mov eax, dword [rbp + 0x384]
mov r8d, eax
mov rdx, qword [rbp + 0x390]
lea rcx, [rbp + 0x250]
call fcn.140011050
lea rdx, [0x140037570]
lea rcx, [rbp + 0x250]
call fcn.140011b4a
nop
lea rcx, [rbp + 0x2d8]
call fcn.140011933
nop
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0xa0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x3d0]
mov rcx, qword [rbp + 0x98]
mov qword [rax], rcx
lea rax, [rbp + 0x314]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x338]
lea rcx, [rbp + 0x314]
call fcn.14001c600
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x388]
mov qword [rbp + 0x390], rax
mov rdx, qword [rbp + 0x390]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140011609
lea rdx, [0x140011532]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x338]
call fcn.140011933
nop
mov eax, dword [rbp + 0xa8]
mov dword [rbp + 0x374], eax
mov rcx, qword [rbp + 0x3c0]
call fcn.140011933
mov eax, dword [rbp + 0x374]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14002fad0]
call fcn.1400118e8
mov rax, rdi
mov rcx, qword [rbp + 0x398]
xor rcx, rbp
call fcn.140011523
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret
Function at 0x140011758
Capabilities:
Parse pe header

Disassembly:
jmp 0x140027100
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140027120
xor al, al
jmp 0x1400271a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140027133
xor al, al
jmp 0x1400271a1
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 0x14002715d
xor al, al
jmp 0x1400271a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140027171
xor al, al
jmp 0x1400271a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140027183
xor al, al
jmp 0x1400271a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002719f
xor al, al
jmp 0x1400271a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140024f00
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011ad2
movzx eax, al
test eax, eax
jne 0x140024f20
mov ecx, 7
call fcn.1400118f2
nop
mov byte [rsp + 0x20], 0
call fcn.14001192e
mov byte [rsp + 0x21], al
cmp dword [0x140038bd8], 1
jne 0x140024f44
mov ecx, 7
call fcn.1400118f2
nop
jmp 0x140024f9c
cmp dword [0x140038bd8], 0
jne 0x140024f97
mov dword [0x140038bd8], 1
lea rdx, [0x14002e660]
lea rcx, [0x14002e330]
call fcn.140011500
test eax, eax
je 0x140024f78
mov eax, 0xff
jmp 0x1400250a1
lea rdx, [0x14002e220]
lea rcx, [section..rdata]
call fcn.14001191a
mov dword [0x140038bd8], 2
jmp 0x140024f9c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400118de
call fcn.140011794
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140024ff9
mov rcx, qword [rsp + 0x30]
call fcn.140011401
movzx eax, al
test eax, eax
je 0x140024ff9
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 [0x140040020]
nop
call fcn.140011825
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14002502d
mov rcx, qword [rsp + 0x38]
call fcn.140011401
movzx eax, al
test eax, eax
je 0x14002502d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011a19
nop
call fcn.140025150
mov dword [rsp + 0x28], eax
call fcn.140011758
movzx eax, al
test eax, eax
jne 0x14002504c
mov ecx, dword [rsp + 0x28]
call fcn.1400110be
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002505b
call fcn.140011a41
nop
xor edx, edx
mov cl, 1
call fcn.14001139d
mov eax, dword [rsp + 0x28]
jmp 0x1400250a1
add rsp, 0x68
ret
Function at 0x1400110e6
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001acb0
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, [0x1401950f4]
call fcn.140011875
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001ad08
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 0x14001ae1a
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 0x14001adb3
cmp qword [rbp + 0x28], 0
jle 0x14001adb3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001ad51
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.140011802
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 0x14001ae09
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001ae09
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 0x1400114e7
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d9f0
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