joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6c09077a0
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov dword [rsp + 0x20], r9d
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x7ff6c0922058]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0xffffffffffffffff
jne 0x7ff6c09077db
xor al, al
jmp 0x7ff6c0907949
mov eax, 2
mov word [rsp + 0x28], ax
movzx ecx, word [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2a], ax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x7ff6c0907846
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x7ff6c0907846
mov rax, qword [rsp + 0x20]
movsx rax, word [rax + 0x12]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x18]
mov r8, rax
mov rdx, qword [rcx]
lea rcx, [rsp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy_1
mov r8d, 0x10
lea rdx, [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x7ff6c09078a1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x7ff6c09078a1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c0919d30]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
mov rcx, qword [rsp + 0x50]
call fcn.7ff6c0908140
xor al, al
jmp 0x7ff6c0907949
mov r9d, 0x23
mov r8d, dword [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x7ff6c09078f5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c0919d60]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
mov rcx, qword [rsp + 0x50]
call fcn.7ff6c0908140
xor al, al
jmp 0x7ff6c0907949
mov rax, qword [rsp + 0x50]
add rax, 0x18
mov r8d, 0x80000
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x80018], 0
mov rax, qword [rsp + 0x50]
add rax, 0x8001c
mov r8d, 0x80000
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x10001c], 0
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.7ff6c0917700
add rsp, 0x48
ret
Function at 0x7ff6c0907fc0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
add rax, 0x100028
mov rcx, rax
call fcn.7ff6c0908290
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10001c], 0
jle 0x7ff6c090811d
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x8001c]
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x10001c]
mov rdx, rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x7ff6c09080ec
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x7ff6c09080ab
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x10001c]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + rcx + 0x8001c]
mov rdx, qword [rsp + 0x40]
add rdx, 0x8001c
mov qword [rsp + 0x28], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x28]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x40]
add rax, 0x100028
mov rcx, rax
call fcn.7ff6c09082b0
mov al, 1
jmp 0x7ff6c0908132
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c0919ed8]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
mov rcx, qword [rsp + 0x40]
call fcn.7ff6c0908140
mov rax, qword [rsp + 0x40]
add rax, 0x100028
mov rcx, rax
call fcn.7ff6c09082b0
xor al, al
jmp 0x7ff6c0908132
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 0x10001c]
sub eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x10001c], eax
jmp 0x7ff6c0907fec
mov rax, qword [rsp + 0x40]
add rax, 0x100028
mov rcx, rax
call fcn.7ff6c09082b0
mov al, 1
add rsp, 0x38
ret
Function at 0x7ff6c0909da0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x7ff6c0922058]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x438], 0
jl 0x7ff6c0909ddd
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x438], 2
jl 0x7ff6c0909de2
jmp 0x7ff6c0909f94
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x438]
imul rax, rax, 0x218
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x438]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x438], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
add rax, 4
mov r8, qword [rsp + 0x80]
mov edx, 0x100
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_strcpy_s]
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x7ff6c0909f94
mov rax, qword [rsp + 0x40]
add rax, 4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [rsp + 0x4e]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x104], eax
movzx eax, word [rsp + 0x4a]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x108], eax
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x10c], eax
mov rax, qword [rsp + 0x40]
add rax, 4
mov rcx, qword [rsp + 0x40]
add rcx, 0x110
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx + 0x104]
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx + 0x108]
mov dword [rsp + 0x20], edx
mov rdx, qword [rsp + 0x40]
mov r9d, dword [rdx + 0x10c]
mov r8, rax
lea rdx, [0x7ff6c091a720]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rax, qword [rsp + 0x40]
add rax, 0x110
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x210], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x210], 0xffffffffffffffff
jne 0x7ff6c0909f55
mov rax, qword [rsp + 0x40]
mov dword [rax], 0
jmp 0x7ff6c0909f94
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x210]
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
jne 0x7ff6c0909f94
mov rax, qword [rsp + 0x40]
mov dword [rax], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x210]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6c0917700
add rsp, 0x68
ret
Function at 0x7ff6c09110d0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0xd8], 0
je 0x7ff6c091111e
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xd8]
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xd8]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0xd8], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0xd0], 0
je 0x7ff6c091114f
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xd0]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0xd0], 0
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov rcx, rax
call fcn.7ff6c090e630
mov dword [rsp + 0x20], 0
jmp 0x7ff6c0911174
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 8
jae 0x7ff6c09111ca
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + rax*8 + 0x28], 0
je 0x7ff6c09111c8
mov eax, dword [rsp + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + rax*8 + 0x28]
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + rax*8 + 0x28]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + rax*8 + 0x28], 0
jmp 0x7ff6c091116a
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x20], 0
je 0x7ff6c0911203
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x7ff6c091122b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x7ff6c0911253
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0xffffffffffffffff
add rsp, 0x38
ret
Function at 0x7ff6c0911260
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x7ff6c0913000]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x20], rcx
cmp qword [rsp + 0x30], 0
jne 0x7ff6c09112cd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b4b0]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c0911309
mov edx, 2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
test eax, eax
jne 0x7ff6c0911307
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b4e8]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c0911309
mov al, 1
add rsp, 0x48
ret

Function at 0x7ff6c09113d0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x7ff6c0922058]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x7ff6c091144e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b3a8]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c09114f6
mov eax, 2
mov word [rsp + 0x38], ax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x60]
movzx ecx, word [rax + 0x18]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x3a], ax
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x7ff6c09114b9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b3e0]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c09114f6
mov edx, 5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x7ff6c09114f4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b410]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c09114f6
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff6c0917700
add rsp, 0x58
ret
Function at 0x7ff6c0911510
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor r9d, r9d
mov r8d, 0x800
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateSemaphoreA]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0xd0], rcx
cmp qword [rsp + 0x30], 0
jne 0x7ff6c091156f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b5a0]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c0911615
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x7ff6c09133f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0xd8], rcx
cmp qword [rsp + 0x38], 0
jne 0x7ff6c09115d6
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b5d8]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c0911615
mov edx, 2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xd8]
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
test eax, eax
jne 0x7ff6c0911613
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b610]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c0911615
mov al, 1
add rsp, 0x48
ret

Function at 0x7ff6c0911620
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [rsp + 0x60], 8
jbe 0x7ff6c0911645
mov dword [rsp + 0x34], 8
jmp 0x7ff6c091164d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x68], ecx
mov dword [rsp + 0x30], 0
jmp 0x7ff6c0911670
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x68]
cmp dword [rsp + 0x30], eax
jae 0x7ff6c091173b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x80]
lea r8, [0x7ff6c0913520]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x38]
mov qword [rcx + rax*8 + 0x28], rdx
cmp qword [rsp + 0x38], 0
jne 0x7ff6c09116f4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b528]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c091173d
mov eax, dword [rsp + 0x30]
mov edx, 2
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + rax*8 + 0x28]
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
test eax, eax
jne 0x7ff6c0911736
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b560]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
xor al, al
jmp 0x7ff6c091173d
jmp 0x7ff6c0911666
mov al, 1
add rsp, 0x78
ret
Function at 0x7ff6c09128e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
add rax, 0xe0
mov rcx, rax
call fcn.7ff6c0908290
cmp dword [rsp + 0x78], 0
jge 0x7ff6c091291b
mov dword [rsp + 0x44], 0
jmp 0x7ff6c091293f
cmp dword [rsp + 0x78], 0x2710
jl 0x7ff6c091292f
mov dword [rsp + 0x40], 0
jmp 0x7ff6c0912937
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x7ff6c091295e
mov rax, qword [rsp + 0x70]
add rax, 0xe0
mov rcx, rax
call fcn.7ff6c09082b0
jmp 0x7ff6c0912b27
cmp dword [rsp + 0x80], 0
jne 0x7ff6c091298e
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.7ff6c0912740
mov rax, qword [rsp + 0x70]
add rax, 0xe0
mov rcx, rax
call fcn.7ff6c09082b0
jmp 0x7ff6c0912b27
lea rax, [0x7ff6c0dae230]
movsxd rcx, dword [rsp + 0x78]
mov rax, qword [rax + rcx*8 + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2438]
add eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x2438], eax
mov rax, qword [rsp + 0x88]
add rax, 0x38
mov r8, rax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.7ff6c0911750
movzx eax, al
test eax, eax
jne 0x7ff6c0912a11
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.7ff6c0912740
mov rax, qword [rsp + 0x70]
add rax, 0xe0
mov rcx, rax
call fcn.7ff6c09082b0
jmp 0x7ff6c0912b27
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x2438]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax + 0x38]
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x88]
mov ecx, 0x2400
sub ecx, dword [rax + 0x2438]
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x88]
mov dword [rax + 0x30], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
add rcx, 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
mov r8d, 1
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x7ff6c0912b14
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x7ff6c0912b14
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, [0x7ff6c091b8c8]
xor edx, edx
lea rcx, [0x7ff6c0c82d30]
call fcn.7ff6c0909fb0
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.7ff6c0912740
mov rax, qword [rsp + 0x70]
add rax, 0xe0
mov rcx, rax
call fcn.7ff6c09082b0
jmp 0x7ff6c0912b27
mov rax, qword [rsp + 0x70]
add rax, 0xe0
mov rcx, rax
call fcn.7ff6c09082b0
add rsp, 0x68
ret
Function at 0x7ff6c0918080
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x7ff6c09180ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff6c09180ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff6c09180ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff6c09180ca
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff6c09180ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff6c09180cc
xor al, al
add rsp, 0x28
ret
Function at 0x140004240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x14000425e
cmp qword [rsp + 0x68], 0
jne 0x140004265
xor eax, eax
jmp 0x140004391
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp], 0
jmp 0x140004306
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp], eax
jae 0x14000438f
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14000434e
inc rax
test dl, dl
jne 0x14000433b
xor eax, eax
jmp 0x140004353
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000438a
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x140004391
jmp 0x1400042fe
xor eax, eax
add rsp, 0x58
ret
Function at 0x140008790
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140069440]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400087b8
lea rax, [0x140069440]
jmp 0x1400087ba
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400099b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14005b078]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400099e4
xor eax, eax
jmp 0x140009bda
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140009a15
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14000ac50
jmp 0x140009bda
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000e160
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140009ac3
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140009bf0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000e380
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000f3c0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.14000e2e0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140009bca
mov rcx, qword [rsp + 0x80]
call fcn.14000da50
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140009b78
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.14002a420
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140009b73
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140009bda
jmp 0x140009aef
cmp qword [rsp + 0x50], 0
jbe 0x140009bca
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.14002a420
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001fd50
add rsp, 0x78
ret
Function at 0x14001a130
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
mov rax, qword [rsp + 8]
ret