joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e8b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x20
movzx eax, word [rdx]
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
cmp ax, 2
je 0x18000e8e6
mov eax, 0x57
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
lea rbx, [rcx + 0x4120]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + 0x408c], 1
je 0x18000e922
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov eax, 0x139f
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rdi + 0x4078]
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x18000e95e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rdi + 0x4078]
lea rdx, [rdi + 0x409c]
lea r8, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_getsockname]
mov rcx, rbx
mov dword [rdi + 0x408c], 2
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x180010fb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
movzx eax, word [rcx + 0x4094]
xor edx, edx
mov rbx, rcx
mov word [rcx + 0x1427c], ax
mov word [rcx + 0x14288], ax
mov dword [rcx + 0x1428c], 0xffffffff
mov word [rcx + 0x14270], dx
mov word [rcx + 0x14272], dx
mov word [rcx + 0x14274], dx
mov word [rcx + 0x14276], dx
mov word [rcx + 0x1427a], dx
mov word [rcx + 0x14278], dx
mov word [rcx + 0x1427e], dx
mov word [rcx + 0x14280], dx
mov word [rcx + 0x14282], dx
mov word [rcx + 0x14286], dx
mov word [rcx + 0x14284], dx
mov dword [rcx + 0x14294], 0x7530
mov dword [rcx + 0x14290], 0x7530
mov dword [rcx + 0x14298], 0x7530
mov dword [rcx + 0x1429c], 1
mov dword [rcx + 0x142a0], edx
mov dword [rcx + 0x142b4], edx
mov dword [rcx + 0x142a4], 1
mov dword [rcx + 0x142a8], edx
mov dword [rcx + 0x142ac], edx
mov dword [rcx + 0x142b0], edx
mov dword [rcx + 0x142b8], edx
mov dword [rcx + 0x142bc], edx
mov dword [rcx + 0x142c0], edx
mov dword [rcx + 0x142c4], edx
mov dword [rcx + 0x142c8], edx
mov dword [rcx + 0x142cc], edx
mov dword [rcx + 0x142d0], edx
mov dword [rcx + 0x142d4], edx
mov dword [rcx + 0x182e0], 0xffffffff
mov dword [rcx + 0x182e4], 0xffffffff
mov rax, rdx
add rcx, 0x142d8
nop dword [rax]
mov byte [rbx + rax + 0x182e8], dl
inc rax
mov dword [rcx], edx
add rcx, 4
cmp rax, 0x1002
jl 0x1800110d0
movabs rdi, 0x20c49ba5e353f7cf
cmp qword [0x180025758], rdx
jne 0x180011127
lea rcx, [0x180025758]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, rdi
imul qword [0x180025758]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x180025758], rdx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xor edx, edx
div qword [0x180025758]
mov dword [rbx + 0x192ec], eax
cmp qword [0x180025758], 0
jne 0x18001117c
lea rcx, [0x180025758]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, rdi
imul qword [0x180025758]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x180025758], rdx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xor edx, edx
div qword [0x180025758]
mov dword [rbx + 0x192ec], eax
cmp qword [0x180025758], 0
jne 0x1800111d1
lea rcx, [0x180025758]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, rdi
imul qword [0x180025758]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x180025758], rdx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xor edx, edx
div qword [0x180025758]
mov dword [rbx + 0x192ec], eax
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x180011200
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x70
mov rax, qword [0x180025738]
xor ebx, ebx
mov r12d, r9d
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
test rax, rax
jne 0x18001125c
lea ecx, [rbx + 0x48]
call fcn.18001216c
test rax, rax
je 0x180011252
mov rcx, rax
call fcn.18000bda0
mov qword [0x180025738], rax
jmp 0x18001125c
mov rax, rbx
mov qword [0x180025738], rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.18000be20
test eax, eax
jne 0x180011416
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x180011299
mov qword [rdi + 0x4080], rax
mov rax, qword [rax + 0x40e0]
mov qword [rdi + 0x40e0], rax
jmp 0x180011414
xor r9d, r9d
mov ecx, r12d
mov dword [rsp + 0x28], 1
lea edx, [r9 + 2]
lea r8d, [r9 + 0x11]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [rdi + 0x4078], rax
cmp rax, 0xffffffffffffffff
jne 0x1800112d1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x180011416
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x5c]
lea r8, [rsp + 0x54]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov rcx, rax
mov edx, 0x9800000c
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], 0x400000
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rdi + 0x4078]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0x1001
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x4078]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0x1002
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x4078]
xor edx, edx
lea r9, [rsp + 0x54]
lea r8d, [rdx + 0xe]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x4078]
xor r9d, r9d
mov r8, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x1800113de
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov ebx, eax
call fcn.18000b7f0
mov edx, dword [rsi]
mov rcx, rax
call fcn.18000c030
mov rcx, qword [rdi + 0x4078]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi + 0x4078], 0xffffffffffffffff
mov eax, ebx
jmp 0x180011416
mov rcx, qword [rdi + 0x4078]
lea rdx, [rdi + 0x409c]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
mov qword [rdi + 0x40e0], rbp
cmp eax, 0xffffffff
setne bl
inc ebx
mov dword [rdi + 0x408c], ebx
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x180011860
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x70
cmp qword [rcx + 0x4080], 0
mov rbx, rcx
je 0x18001187b
xor eax, eax
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x68], r13
lea rdi, [rcx + 0x4c]
mov eax, 0x1c
mov qword [rsp + 0x60], r14
xor r14d, r14d
cmp word [rbx + 0x409c], 2
mov qword [rcx + 0x30], rcx
mov qword [rcx + 0x20], r14
mov dword [rcx + 0x18], r14d
mov dword [rcx + 0x1c], r14d
mov ecx, reloc.WS2_32.dll_recv
cmove eax, ecx
lea rbp, [rbx + 0x28]
mov dword [rbx + 0x38], r14d
mov dword [rdi], eax
lea rax, [rbx + 0x50]
mov dword [rsp + 0x50], 0x4000
mov dword [rbp], r14d
lea r12, [rbx + 8]
lea r13, [rbx + 0x3c]
mov qword [rsp + 0x58], rax
nop dword [rax + rax]
mov rcx, qword [rbx + 0x4078]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
lea r9, [rbx + 0x38]
lea rdx, [rsp + 0x50]
mov r8d, 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
test eax, eax
je 0x18001195b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x180011900
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x18001195b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1800119c5
mov rdi, qword [0x180025738]
test rdi, rdi
jne 0x180011992
lea ecx, [rdi + 0x48]
call fcn.18001216c
test rax, rax
je 0x180011988
mov rcx, rax
call fcn.18000bda0
mov rdi, rax
mov qword [0x180025738], rax
jmp 0x180011992
mov rdi, r14
mov qword [0x180025738], r14
movzx esi, word [rbx + 0x4088]
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, dword [rdi + 0x10]
jae 0x1800119b9
mov rax, qword [rdi]
lea rcx, [rsi + rsi*2]
cmp qword [rax + rcx*8 + 8], r14
je 0x1800119b9
inc dword [rax + rcx*8]
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r14, qword [rsp + 0x60]
add rsp, 0x70
pop rbx
ret

Function at 0x180014848
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1800146bc
Function at 0x180015a9c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180012b04
xor ebx, ebx
mov rdi, rax
cmp qword [0x180023f30], rbx
jne 0x180015ba2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180015c77
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180015c77
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180023f30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180023f38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x180023f40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180023f50], rax
test rax, rax
je 0x180015b99
lea rdx, [0x18001c110]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180023f48], rax
jmp 0x180015ba9
mov rax, qword [0x180023f48]
jmp 0x180015bb0
mov rax, qword [0x180023f48]
mov r11, qword [0x180023f50]
cmp rax, rdi
je 0x180015c18
cmp r11, rdi
je 0x180015c18
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180023f50]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180015c18
test rax, rax
je 0x180015c18
call rsi
test rax, rax
je 0x180015c12
lea rcx, [rsp + 0x88]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180015c12
test byte [rsp + 0x38], 1
jne 0x180015c18
bts ebp, 0x15
jmp 0x180015c56
mov rcx, qword [0x180023f38]
cmp rcx, rdi
je 0x180015c56
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180015c56
call rax
mov rbx, rax
test rax, rax
je 0x180015c56
mov rcx, qword [0x180023f40]
cmp rcx, rdi
je 0x180015c56
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180015c56
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180023f30]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180015c77
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180015c79
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180017ab7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180022d10]
jne 0x18001628a
rol rcx, 0x10
test cx, 0xffff
jne 0x180016286
repz ret
ror rcx, 0x10
jmp 0x180017a10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800242d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800243c8]
mov qword [rsp + 0x58], r11
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 0x180017a95
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, [0x1800242d0]
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 0x180017ab7
mov rax, qword [rsp + 0x88]
mov qword [0x1800243c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180024368], rax
mov rax, qword [0x1800243c8]
mov qword [0x180024240], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180024350], rax
mov dword [0x180024230], 0xc0000409
mov dword [0x180024234], 1
mov rax, qword [0x180022d10]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180022d18]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800242c8], eax
mov ecx, 1
call fcn.180017538
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001d428]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800242c8], 0
jne 0x180017b3e
mov ecx, 1
call fcn.180017538
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 0x14000e688
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1400b3010]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e703
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.140003ffc
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e833
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e80a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e833
mov al, 1
jmp 0x14000e835
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140016790
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400021e0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
call qword [sym.imp.ucrtbase.dll_strlen]
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x140002233
cmp byte [r12 + rbx - 1], 0xa
je 0x14000220e
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
xchg dword [0x140007144], eax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, 1
mov r9, rax
mov r8, rbx
mov rcx, r12
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x28
pop rbx
pop r12
ret
Function at 0x140002cd0
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov ecx, 1
call sym._configure_wide_argv
call sym._initialize_wide_environment
call sym.__p___argc
mov r12d, dword [rax]
call sym.__p___wargv
mov r13, qword [rax]
call sym._get_initial_wide_environment
xor ecx, ecx
mov rbx, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x3c]
cmp word [rax + rdx + 0x5c], 2
sete cl
add ecx, 1
call sym._set_app_type
mov ecx, r12d
mov r8, rbx
mov rdx, r13
call dbg.wmain
mov ecx, eax
call sym.exit
nop
nop
nop
nop
Function at 0x1400115cc
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1400a70f4], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14001162c
movdqa xmm0, xmmword [0x140074110]
movdqa xmm1, xmmword [0x140074100]
movdqa xmmword [0x14008c3f0], xmm0
movdqa xmm0, xmmword [0x1400740e0]
movdqa xmmword [0x14008c400], xmm1
movdqa xmm1, xmmword [0x1400740f0]
movdqa xmmword [0x14008c410], xmm0
movdqa xmmword [0x14008c420], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.14005f2f0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x1400740c0]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140011648
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140016064
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov bpl, dl
mov word [rcx + 0x9402], r14w
mov rsi, rcx
mov byte [rcx + 0x93f9], r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140015388
mov rdi, rax
test rax, rax
je 0x1400160e9
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14006237c
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140015388
mov rdi, rax
test rax, rax
je 0x1400160e9
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
test bpl, bpl
je 0x1400160e2
call fcn.140016230
jmp 0x1400160ae
call fcn.140015d28
jmp 0x1400160ae
test bpl, bpl
jne 0x1400160f6
mov rcx, rsi
call fcn.14001610c
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400197bc
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [0x14008b948]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.14004d238
mov esi, 1
mov ecx, esi
call fcn.140066030
xor r14d, r14d
cmp rbx, rax
jne 0x140019815
cmp byte [0x14008da5d], r14b
jne 0x140019837
mov ebp, 2
mov ecx, ebp
call fcn.140066030
cmp rbx, rax
jne 0x1400198ff
cmp byte [0x14008da5e], r14b
je 0x1400198ff
mov ecx, esi
call fcn.140066030
sub rbx, rax
neg rbx
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call fcn.140006dd4
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], r14
lea rdi, [0x140091270]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rdi
call fcn.140064bb4
mov ecx, dword [0x14008da58]
cmp ecx, 3
jne 0x1400198a1
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14001988f
add r8d, r8d
mov rdx, rdi
jmp 0x1400198ea
lea rbx, [0x140094270]
cmp ecx, 4
mov rdx, rbx
mov r8, rsi
mov rcx, rdi
jne 0x1400198bd
call fcn.1400507e8
jmp 0x1400198c2
call fcn.140050750
test dword [0x14008da58], 0xfffffffd
jne 0x1400198da
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x1400198de
mov rdx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140019968
call fcn.140006dd4
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
lea rdi, [0x140091270]
mov qword [rsp + 0x20], r14
mov r8d, 0x1800
mov rdx, rdi
mov rcx, qword [rax]
call fcn.140064bb4
mov ecx, ebp
call fcn.140066030
mov ecx, r14d
cmp rbx, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x140019948
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14005cc60
add rsp, 0x850
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret