joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180016167
Capabilities:
Delete file
Write file on windows

Disassembly:
push rbp
sub rsp, 0x2e0
lea rbp, [rsp + 0x40]
mov qword [rsp], rax
mov rax, 0x2dc
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001617f
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x2b0], rcx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x298], rax
mov byte [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov rax, qword [rbp + 0x2b0]
mov edx, 0x40000000
mov ecx, 1
mov ebx, 0
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0xa0000000
mov qword [rsp + 0x30], 0
mov rsi, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rbp + 0x58], ecx
mov rcx, rax
mov eax, dword [rbp + 0x58]
mov r8d, eax
mov r9, rbx
call rsi
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x180016323
mov rax, qword [rbp + 0x48]
mov edx, 0
mov rcx, qword [sym.imp.KERNEL32.dll_GetFileSize]
mov qword [rbp + 0x60], rcx
mov rcx, rax
mov rax, qword [rbp + 0x60]
call rax
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
cmp eax, 0xffffffff
je 0x180016310
mov dword [rbp + 0x18], 1
lea rax, [rbp + 0x90]
mov edx, 0
mov ecx, 0x200
mov qword [rbp + 0x68], rcx
mov rcx, rax
mov rax, qword [rbp + 0x68]
mov r8, rax
call fcn.180062370
mov qword [rbp + 0x50], rax
mov eax, dword [rbp + 0x24]
test eax, eax
je 0x180016310
mov eax, dword [rbp + 0x24]
cmp eax, 0x200
jae 0x1800162ac
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x2c], eax
jmp 0x1800162b3
mov dword [rbp + 0x2c], 0x200
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0x30], eax
mov byte [rbp + 0x14], 1
mov rax, qword [rbp + 0x48]
lea rdx, [rbp + 0x90]
mov ecx, dword [rbp + 0x30]
lea rbx, [rbp + 8]
mov qword [rsp + 0x20], 0
mov rsi, qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x70], ecx
mov rcx, rax
mov eax, dword [rbp + 0x70]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
test eax, eax
jne 0x180016303
mov dword [rbp + 0x18], 0
jmp 0x180016310
mov eax, dword [rbp + 0x30]
neg eax
add eax, dword [rbp + 0x24]
mov dword [rbp + 0x24], eax
jmp 0x180016293
mov rax, qword [rbp + 0x48]
mov rdx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rax
call rdx
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x2b0]
mov rdx, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rax
call rdx
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x38], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x298]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x38]
mov rbx, qword [rbp + 0x78]
mov rsi, qword [rbp + 0x80]
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x180016190
Capabilities:
Delete file
Write file on windows

Disassembly:
push rbp
sub rsp, 0x2e0
lea rbp, [rsp + 0x40]
mov qword [rsp], rax
mov rax, 0x2dc
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001617f
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x2b0], rcx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x298], rax
mov byte [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov rax, qword [rbp + 0x2b0]
mov edx, 0x40000000
mov ecx, 1
mov ebx, 0
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0xa0000000
mov qword [rsp + 0x30], 0
mov rsi, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rbp + 0x58], ecx
mov rcx, rax
mov eax, dword [rbp + 0x58]
mov r8d, eax
mov r9, rbx
call rsi
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x180016323
mov rax, qword [rbp + 0x48]
mov edx, 0
mov rcx, qword [sym.imp.KERNEL32.dll_GetFileSize]
mov qword [rbp + 0x60], rcx
mov rcx, rax
mov rax, qword [rbp + 0x60]
call rax
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
cmp eax, 0xffffffff
je 0x180016310
mov dword [rbp + 0x18], 1
lea rax, [rbp + 0x90]
mov edx, 0
mov ecx, 0x200
mov qword [rbp + 0x68], rcx
mov rcx, rax
mov rax, qword [rbp + 0x68]
mov r8, rax
call fcn.180062370
mov qword [rbp + 0x50], rax
mov eax, dword [rbp + 0x24]
test eax, eax
je 0x180016310
mov eax, dword [rbp + 0x24]
cmp eax, 0x200
jae 0x1800162ac
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x2c], eax
jmp 0x1800162b3
mov dword [rbp + 0x2c], 0x200
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0x30], eax
mov byte [rbp + 0x14], 1
mov rax, qword [rbp + 0x48]
lea rdx, [rbp + 0x90]
mov ecx, dword [rbp + 0x30]
lea rbx, [rbp + 8]
mov qword [rsp + 0x20], 0
mov rsi, qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x70], ecx
mov rcx, rax
mov eax, dword [rbp + 0x70]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
test eax, eax
jne 0x180016303
mov dword [rbp + 0x18], 0
jmp 0x180016310
mov eax, dword [rbp + 0x30]
neg eax
add eax, dword [rbp + 0x24]
mov dword [rbp + 0x24], eax
jmp 0x180016293
mov rax, qword [rbp + 0x48]
mov rdx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rax
call rdx
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x2b0]
mov rdx, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rax
call rdx
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x38], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x298]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x38]
mov rbx, qword [rbp + 0x78]
mov rsi, qword [rbp + 0x80]
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x1800164c8
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
sub rsp, 0x510
lea rbp, [rsp + 0x30]
mov qword [rsp], rax
mov rax, 0x50c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x1800164e0
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x4f0], rcx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x4d0], rax
lea rax, [rbp + 0x68]
mov edx, 0x104
lea rcx, [0x180101ef0]
mov rbx, qword [rbp + 0x4f0]
mov qword [rbp + 0x30], rcx
mov rcx, rax
mov rax, qword [rbp + 0x30]
mov r8, rax
mov r9, rbx
call fcn.1800667e0
mov dword [rbp], eax
lea rax, [rbp + 0x68]
lea rdx, [rbp + 0x278]
mov rcx, qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x38], rcx
mov rcx, rax
mov rax, qword [rbp + 0x38]
call rax
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp rax, 0xffffffffffffffff
je 0x180016665
lea rax, [rbp + 0x2a4]
lea rdx, [0x180101f08]
mov rcx, rax
call fcn.180063270
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
je 0x180016638
lea rax, [rbp + 0x2a4]
lea rdx, [0x180101f00]
mov rcx, rax
call fcn.180063270
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
test eax, eax
je 0x180016638
lea rax, [rbp + 0x68]
mov edx, 0x104
lea rcx, [0x180101f0c]
mov rbx, qword [rbp + 0x4f0]
lea rsi, [rbp + 0x2a4]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x40], rcx
mov rcx, rax
mov rax, qword [rbp + 0x40]
mov r8, rax
mov r9, rbx
call fcn.1800667e0
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x278]
test al, 0x10
je 0x180016625
lea rax, [rbp + 0x68]
mov rcx, rax
call fcn.1800164c8
jmp 0x180016638
lea rax, [rbp + 0x68]
mov rdx, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rax
call rdx
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0x28]
lea rdx, [rbp + 0x278]
mov rcx, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov qword [rbp + 0x48], rcx
mov rcx, rax
mov rax, qword [rbp + 0x48]
call rax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
test eax, eax
jne 0x18001658d
mov rax, qword [rbp + 0x28]
cmp rax, 0xffffffffffffffff
je 0x180016682
mov rax, qword [rbp + 0x28]
mov rdx, qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rax
call rdx
mov dword [rbp + 8], eax
mov rax, qword [rbp + 0x4f0]
mov rdx, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, rax
call rdx
mov dword [rbp + 0xc], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x4d0]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
lea rsp, [rbp + 0x4e0]
pop rbp
ret
Function at 0x1800174eb
Capabilities:
Resolve dns

Disassembly:
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, WSASetLastError
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x180017500
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0x14], 0
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x180017544
mov rax, qword [rbp + 0x60]
movsx eax, byte [rax]
movsx rax, al
test eax, eax
jne 0x180017567
mov eax, 0
mov dword [rbp + 0x1c], eax
lea rax, reloc.WS2_32.dll_accept
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov eax, dword [rbp + 0x1c]
lea rsp, [rbp + 0x50]
pop rbp
ret
mov rax, qword [rbp + 0x60]
mov rdx, qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, rax
call rdx
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x14], 1
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
movzx eax, byte [rbp + 0x14]
test eax, eax
jne 0x18001759e
lea rax, [0x180101fb4]
mov rcx, rax
call fcn.180064a90
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x180017609
movzx eax, byte [rbp + 0x14]
test eax, eax
jne 0x1800175be
lea rax, [0x180101fb4]
mov rcx, rax
call fcn.180064a90
movzx eax, byte [rbp + 0x14]
test eax, eax
jne 0x1800175d5
lea rax, [0x180101fb4]
mov rcx, rax
call fcn.180064a90
lea rax, [rbp + 8]
mov rdx, qword [rbp + 0x30]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx]
mov rcx, qword [rbp + 0x30]
movsx ecx, word [rcx + 0x12]
movsx rcx, cx
mov qword [rbp + 0x40], rcx
mov rcx, rax
mov rax, qword [rbp + 0x40]
mov r8, rax
call fcn.180064f00
mov qword [rbp + 0x38], rax
jmp 0x180017622
mov rax, qword [rbp + 0x60]
mov rdx, qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, rax
call rdx
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
cmp eax, 0xffffffff
jne 0x180017631
mov dword [rbp + 8], 0
mov eax, dword [rbp + 8]
mov dword [rbp + 0x20], eax
lea rax, reloc.WS2_32.dll_accept
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov eax, dword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x180019dd6
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x5c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x180019deb
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov dword [rbp + 0x60], r8d
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x18], rax
mov eax, dword [rbp + 0x60]
mov dword [rbp], eax
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov ecx, dword [rbp + 0x60]
mov ebx, 0
mov rsi, qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x20], ecx
mov rcx, rax
mov eax, dword [rbp + 0x20]
mov r8d, eax
mov r9d, ebx
call rsi
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
test eax, eax
jge 0x180019eb4
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 0x2734
je 0x180019e8f
mov eax, dword [rbp + 0x10]
cmp eax, 0x2747
jne 0x180019ea1
mov eax, 0xa
mov rdx, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, eax
call rdx
jmp 0x180019ed1
mov eax, 0xffffffff
mov rbx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x30]
lea rsp, [rbp + 0x40]
pop rbp
ret
mov eax, dword [rbp + 8]
mov edx, dword [rbp + 0x60]
cmp eax, edx
je 0x180019ed1
mov eax, 0xffffffff
mov rbx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x30]
lea rsp, [rbp + 0x40]
pop rbp
ret
mov eax, 0
test eax, eax
jne 0x180019e31
mov eax, 0
mov rbx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x30]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x18001ab12
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x30]
mov qword [rsp], rax
mov rax, 0x8c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001ab2a
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov dword [rbp + 0x80], r8d
mov dword [rbp + 0x88], r9d
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x40]
mov edx, 0
mov ecx, reloc.WS2_32.dll_recv
mov qword [rbp + 0x18], rcx
mov rcx, rax
mov rax, qword [rbp + 0x18]
mov r8, rax
call fcn.180062370
mov qword [rbp + 0x10], rax
mov word [rbp + 0x40], 2
mov eax, dword [rbp + 0x88]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x90]
mov rdx, qword [sym.imp.WS2_32.dll_htons]
mov ecx, eax
call rdx
mov word [rbp], ax
movzx eax, word [rbp]
mov word [rbp + 0x42], ax
mov rax, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
mov ecx, dword [rbp + 0x80]
mov ebx, 0
lea rsi, [rbp + 0x40]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov rsi, qword [sym.imp.WS2_32.dll_sendto]
mov dword [rbp + 0x20], ecx
mov rcx, rax
mov eax, dword [rbp + 0x20]
mov r8d, eax
mov r9d, ebx
call rsi
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
mov dword [rbp + 0xc], eax
lea rax, reloc.WS2_32.dll_accept
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x58]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0xc]
mov rbx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x30]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x18001ab3b
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x30]
mov qword [rsp], rax
mov rax, 0x8c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001ab2a
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov dword [rbp + 0x80], r8d
mov dword [rbp + 0x88], r9d
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x40]
mov edx, 0
mov ecx, reloc.WS2_32.dll_recv
mov qword [rbp + 0x18], rcx
mov rcx, rax
mov rax, qword [rbp + 0x18]
mov r8, rax
call fcn.180062370
mov qword [rbp + 0x10], rax
mov word [rbp + 0x40], 2
mov eax, dword [rbp + 0x88]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x90]
mov rdx, qword [sym.imp.WS2_32.dll_htons]
mov ecx, eax
call rdx
mov word [rbp], ax
movzx eax, word [rbp]
mov word [rbp + 0x42], ax
mov rax, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
mov ecx, dword [rbp + 0x80]
mov ebx, 0
lea rsi, [rbp + 0x40]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov rsi, qword [sym.imp.WS2_32.dll_sendto]
mov dword [rbp + 0x20], ecx
mov rcx, rax
mov eax, dword [rbp + 0x20]
mov r8d, eax
mov r9d, ebx
call rsi
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
mov dword [rbp + 0xc], eax
lea rax, reloc.WS2_32.dll_accept
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x58]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0xc]
mov rbx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x30]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x18001b0c6
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x7c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001b0de
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x70], rcx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x50], rax
mov dword [rbp + 8], reloc.WS2_32.dll_recv
mov rax, qword [rbp + 0x70]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 8]
mov rbx, qword [sym.imp.WS2_32.dll_getsockname]
mov qword [rbp + 0x20], rcx
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rax
call rbx
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
test eax, eax
jge 0x18001b182
mov eax, 0
mov dword [rbp + 0x18], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x50]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x18]
mov rbx, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret
mov eax, dword [rbp + 0x3c]
mov dword [rbp + 0x1c], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x50]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x18001b1b6
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x7c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001b1ce
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x70], rcx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x58], rax
mov dword [rbp + 8], reloc.WS2_32.dll_recv
mov rax, qword [rbp + 0x70]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 8]
mov rbx, qword [sym.imp.WS2_32.dll_getsockname]
mov qword [rbp + 0x28], rcx
mov rcx, rax
mov rax, qword [rbp + 0x28]
mov r8, rax
call rbx
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
test eax, eax
jge 0x18001b272
mov eax, 0
mov dword [rbp + 0x1c], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x58]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp + 0x30]
lea rsp, [rbp + 0x60]
pop rbp
ret
movzx eax, word [rbp + 0x42]
mov rdx, qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, eax
call rdx
mov word [rbp + 0x14], ax
movzx eax, word [rbp + 0x14]
movzx eax, ax
mov dword [rbp + 0x20], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x58]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x18001b1df
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x7c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001b1ce
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x70], rcx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x58], rax
mov dword [rbp + 8], reloc.WS2_32.dll_recv
mov rax, qword [rbp + 0x70]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 8]
mov rbx, qword [sym.imp.WS2_32.dll_getsockname]
mov qword [rbp + 0x28], rcx
mov rcx, rax
mov rax, qword [rbp + 0x28]
mov r8, rax
call rbx
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
test eax, eax
jge 0x18001b272
mov eax, 0
mov dword [rbp + 0x1c], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x58]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp + 0x30]
lea rsp, [rbp + 0x60]
pop rbp
ret
movzx eax, word [rbp + 0x42]
mov rdx, qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, eax
call rdx
mov word [rbp + 0x14], ax
movzx eax, word [rbp + 0x14]
movzx eax, ax
mov dword [rbp + 0x20], eax
lea rax, reloc.WS2_32.dll_bind
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x58]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x18001db03
Capabilities:
Hash data with md5

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x1c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18001db18
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov dword [rax + 8], 0x67452301
mov rax, qword [rbp + 0x10]
mov dword [rax + 0xc], 0xefcdab89
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x10], 0x98badcfe
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x14], 0x10325476
mov rax, qword [rbp + 0x10]
mov dword [rax], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], 0
lea rsp, [rbp]
pop rbp
ret
Function at 0x1800258ff
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x30]
mov qword [rsp], rax
mov rax, 0x5c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x180025914
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x18], rbx
mov eax, 0
mov edx, 0
lea rcx, [0x18002589c]
mov ebx, 0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov rsi, qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x10], rcx
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov r8, rax
mov r9, rbx
call rsi
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rdx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rax
call rdx
mov dword [rbp], eax
mov rbx, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x180025c38
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x3c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x180025c4d
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x38], edx
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
test eax, eax
jne 0x180025c9f
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 6]
mov word [rbp], ax
jmp 0x180025caf
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
movzx eax, word [rax + 6]
mov word [rbp], ax
mov eax, dword [rbp + 4]
movzx edx, word [rbp]
movzx edx, dx
cmp eax, edx
jl 0x180025ccf
jmp 0x180025d5b
mov eax, 1
add eax, dword [rbp + 4]
mov dword [rbp + 4], eax
jmp 0x180025c83
mov eax, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov ecx, dword [rbp + 4]
movsxd rcx, ecx
imul rcx, rcx, 0x28
add rcx, qword [rdx + 0x18]
mov edx, dword [rcx + 0x14]
cmp eax, edx
jb 0x180025cc2
mov eax, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov ecx, dword [rbp + 4]
movsxd rcx, ecx
imul rcx, rcx, 0x28
add rcx, qword [rdx + 0x18]
mov rdx, qword [rbp + 0x30]
mov ebx, dword [rbp + 4]
movsxd rbx, ebx
imul rbx, rbx, 0x28
add rbx, qword [rdx + 0x18]
mov edx, dword [rbx + 0x10]
add edx, dword [rcx + 0x14]
cmp eax, edx
jae 0x180025cc2
mov rax, qword [rbp + 0x30]
mov edx, dword [rbp + 4]
movsxd rdx, edx
imul rdx, rdx, 0x28
add rdx, qword [rax + 0x18]
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 4]
movsxd rcx, ecx
imul rcx, rcx, 0x28
add rcx, qword [rax + 0x18]
mov eax, dword [rcx + 0x14]
neg eax
add eax, dword [rbp + 0x38]
add eax, dword [rdx + 0xc]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
mov rbx, qword [rbp + 0x10]
lea rsp, [rbp + 0x20]
pop rbp
ret
mov eax, 0
mov rbx, qword [rbp + 0x10]
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x180025d6a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x2c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x180025d7f
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov dword [rbp], 0
mov eax, dword [rbp]
mov edx, dword [0x1800e7804]
cmp eax, edx
jae 0x180025e07
mov eax, dword [rbp]
lea rdx, [0x1800e7800]
add rdx, 0xc
add rdx, rax
movzx eax, byte [rdx]
movzx eax, al
mov edx, dword [0x1800e7800]
mov ecx, dword [rbp]
and ecx, 3
imul ecx, ecx, 8
shr edx, cl
and edx, 0xff
xor eax, edx
mov edx, dword [rbp]
lea rcx, [0x1800e7800]
add rcx, 0xc
add rcx, rdx
mov byte [rcx], al
mov eax, 1
add eax, dword [rbp]
mov dword [rbp], eax
jmp 0x180025daa
mov eax, 1
lea rsp, [rbp + 0x10]
pop rbp
ret