joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5541d0
Capabilities:
Encode data using base64

Disassembly:
push rbx
test r8d, r8d
mov r11, rdx
jle 0x554301
cmp r8d, 2
jg 0x55427b
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
xor eax, eax
movzx edx, byte [r11]
lea r9, [rcx + 4]
mov ebx, edx
shl ebx, 0x10
cmp r8d, 2
je 0x554235
mov edx, ebx
shr ebx, 0xc
mov byte [r9 - 2], 0x3d
shr edx, 0x12
mov byte [r9 - 1], 0x3d
add eax, 4
movzx edx, byte [r10 + rdx]
mov byte [r9 - 4], dl
mov edx, ebx
and edx, 0x30
movzx edx, byte [r10 + rdx]
mov byte [r9 - 3], dl
mov byte [r9], 0
pop rbx
ret
movzx edx, byte [r11 + 1]
add eax, 4
mov byte [r9 - 1], 0x3d
mov byte [r9], 0
shl edx, 8
or edx, ebx
mov ecx, edx
shr ecx, 0x12
movzx ecx, byte [r10 + rcx]
mov byte [r9 - 4], cl
mov ecx, edx
shr edx, 6
shr ecx, 0xc
and edx, 0x3c
and ecx, 0x3f
movzx edx, byte [r10 + rdx]
movzx ecx, byte [r10 + rcx]
mov byte [r9 - 2], dl
mov byte [r9 - 3], cl
pop rbx
ret
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r9, rcx
movzx eax, byte [r11 + 1]
movzx edx, byte [r11]
add r9, 4
sub r8d, 3
add r11, 3
shl edx, 0x10
shl eax, 8
or eax, edx
movzx edx, byte [r11 - 1]
or eax, edx
mov edx, eax
shr edx, 0x12
movzx edx, byte [r10 + rdx]
mov byte [r9 - 4], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [r10 + rdx]
mov byte [r9 - 3], dl
mov edx, eax
and eax, 0x3f
shr edx, 6
movzx eax, byte [r10 + rax]
and edx, 0x3f
movzx edx, byte [r10 + rdx]
mov byte [r9 - 1], al
mov eax, r9d
sub eax, ecx
cmp r8d, 2
mov byte [r9 - 2], dl
jg 0x554285
test r8d, r8d
mov rcx, r9
jne 0x5541f0
jmp 0x55422f
mov r9, rcx
xor eax, eax
jmp 0x55422f
Function at 0x55edc0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor ebx, ebx
cmp qword [rcx + 0x28], 0
mov rsi, rcx
je 0x55edf0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rcx + 0xc], 2
mov ebp, dword [rcx + 0x14]
mov rdi, qword [rcx + 0x40]
mov r14, qword [rcx + 0x30]
je 0x55eef0
xor edx, edx
mov r8d, 1
mov ecx, ebp
call fcn.00590920
mov rcx, rdi
mov r13, rax
call fcn.0056d130
test rax, rax
mov r12, rax
je 0x55ef50
test r13, r13
js 0x55ef48
xor r8d, r8d
mov rdx, r14
mov ecx, ebp
call fcn.00590920
test rax, rax
js 0x55ef48
xor ebx, ebx
test rdi, rdi
mov r14d, edi
mov r15d, 1
jg 0x55ee8c
nop word [rax + rax]
mov r14, qword [sym.imp.msvcrt.dll__errno]
call r14
mov eax, dword [rax]
xor r8d, r8d
mov rdx, r13
mov ecx, ebp
mov dword [rsp + 0x3c], eax
call fcn.00590920
jmp 0x55eed1
add rbx, r15
cmp rdi, rbx
jle 0x55ef40
lea rdx, [r12 + rbx]
mov r8d, r14d
mov ecx, ebp
sub r8d, ebx
call sub.msvcrt.dll__read_1
movsxd r15, eax
test r15, r15
jg 0x55ee80
mov r14, qword [sym.imp.msvcrt.dll__errno]
call r14
mov eax, dword [rax]
xor r8d, r8d
mov rdx, r13
mov ecx, ebp
mov dword [rsp + 0x3c], eax
call fcn.00590920
test r15, r15
jne 0x55ef5a
mov r15d, 1
cmp rdi, rbx
jle 0x55eedb
test r15b, r15b
jne 0x55ef5a
test rax, rax
js 0x55ef48
mov qword [rsi + 0x28], r12
xor ebx, ebx
jmp 0x55eddc
mov ecx, ebp
call qword [sym.imp.msvcrt.dll__get_osfhandle]
cmp rax, 0xffffffffffffffff
lea r9, [rdi + r14]
je 0x55ef50
mov dword [rsp + 0x20], r9d
xor edx, edx
shr r9, 0x20
mov qword [rsp + 0x28], 0
mov r8d, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp rax, 0xffffffffffffffff
je 0x55ee05
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x38], r14
or byte [rsi + 0x10], 2
jmp 0x55eddc
xor r15d, r15d
jmp 0x55ee60
mov rcx, r12
call fcn.0056f680
mov ebx, 0xffffffff
jmp 0x55eddc
mov rcx, r12
mov ebx, 0xffffffff
call fcn.0056f680
call r14
mov edi, dword [rsp + 0x3c]
mov dword [rax], edi
jmp 0x55eddc
Function at 0x55f2f0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
test r9, r9
mov rbx, rcx
mov rbp, rdx
mov rsi, r8
mov rdi, r9
js 0x55f47a
cmp qword [rdx], 0
je 0x55f323
call fcn.00573310
test eax, eax
jne 0x55f412
test rbx, rbx
je 0x55f460
test rdi, rdi
je 0x55f460
mov rax, qword [rbx + 0x10]
mov r10, qword [rbx + 0x18]
add rax, qword [rbx + 0x28]
cmp r10, rdi
mov qword [rsp + 0x58], rax
mov rax, rdi
ja 0x55f467
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rdx
jmp 0x55f381
test rax, rax
je 0x55f3a6
mov r10, qword [rbx + 0x10]
add r10, qword [rbx + 0x28]
add rcx, 0x10
mov qword [rcx + 8], r10
mov r10, qword [rbx + 0x18]
cmp r10, rax
ja 0x55f3f0
mov r8d, r11d
mov dword [rcx], r10d
sub rax, qword [rbx + 0x18]
lea r11d, [r8 + 1]
mov rbx, qword [rbx]
test rbx, rbx
mov rdi, rax
setne r10b
cmp r11d, 0xf
setle r9b
test r10b, r9b
jne 0x55f360
mov r8d, r11d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x4c]
mov dword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_WSASend]
mov edx, eax
mov eax, 0xffffffff
test edx, edx
je 0x55f402
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
ret
add r8d, 2
movsxd r11, r11d
shl r11, 4
mov dword [rsp + r11 + 0x50], edi
jmp 0x55f3a9
mov eax, dword [rsp + 0x4c]
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [rbp]
call fcn.00572f70
test eax, eax
jne 0x55f323
lea rax, str.evbuffer_write_iovec
lea r8, str.buffer.c
lea rdx, [0x006c6b70]
mov r9d, 0x96d
mov ecx, 0xdeaddead
mov qword [rsp + 0x28], rax
lea rax, str.evthread_is_debug_lock_held___buffer___lock_
mov qword [rsp + 0x20], rax
call fcn.005771e0
nop dword [rax]
xor eax, eax
jmp 0x55f3dc
mov r8d, 1
xor r11d, r11d
lea rdx, [rsp + 0x50]
jmp 0x55f3f4
mov eax, 0xffffffff
jmp 0x55f3dc
Function at 0x565490
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rdx, qword [rcx + 0x30]
mov rbx, rcx
movsxd rsi, r8d
test rdx, rdx
je 0x565680
xor ecx, ecx
call fcn.00573250
test byte [rbx + 0x38], 4
jne 0x5656c0
lea rbp, [rsp + 0x90]
mov dword [rsp + 0x90], 0x1000
mov edx, 0x4004667f
mov rcx, rdi
mov r8, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x565691
mov eax, dword [rsp + 0x90]
mov ecx, 0x1000
lea r8d, [rax - 1]
cmp r8d, 0x1000
cmovae eax, ecx
movsxd rdx, eax
cmp esi, eax
mov r8d, 4
mov rcx, rbx
cmova rsi, rdx
mov rdx, rsi
call fcn.00564a50
cmp eax, 0xffffffff
je 0x5656c0
lea rax, [rsp + 0x48]
mov rdx, rsi
mov dword [rsp + 0x28], 1
mov r9d, 2
mov r8, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0055fc70
test eax, eax
mov esi, eax
lea rdx, [rsp + 0x50]
jle 0x565590
lea ecx, [rax - 1]
lea rdx, [rsp + 0x50]
lea r9, [rbp + 8]
xor eax, eax
add rcx, 1
lea r10, [rdx + 8]
shl rcx, 4
mov r8, qword [rbp + rax]
mov qword [r10 + rax], r8
mov r8, qword [r9 + rax]
mov dword [rdx + rax], r8d
add rax, 0x10
cmp rcx, rax
jne 0x565576
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x40]
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
jne 0x5656a0
mov edi, dword [rsp + 0x40]
cmp edi, 0xffffffff
je 0x5656c0
test edi, edi
je 0x565631
test esi, esi
mov r9, qword [rsp + 0x48]
mov r10d, edi
jle 0x56561e
nop word [rax + rax]
mov rcx, qword [r9]
test byte [rcx + 0x20], 8
mov r8, qword [rcx + 0x18]
jne 0x565650
mov rdx, qword [rcx + 8]
sub rdx, r8
sub rdx, qword [rcx + 0x10]
test rdx, rdx
mov rbp, rdx
jns 0x565654
movsxd r11, r10d
add r8, r11
mov qword [rcx + 0x18], r8
mov qword [rbx + 0x10], r9
movsxd rax, edi
add qword [rbx + 0x18], rax
add qword [rbx + 0x20], rax
mov rcx, rbx
call fcn.0055f730
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x565641
xor ecx, ecx
call fcn.00573270
mov eax, edi
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebp, ebp
xor edx, edx
movsxd r11, r10d
cmp r11, rbp
jle 0x565613
add r8, rdx
add eax, 1
sub r10d, edx
mov qword [rcx + 0x18], r8
mov r9, qword [r9]
cmp esi, eax
mov qword [rsp + 0x48], r9
jne 0x5655f0
jmp 0x56561e
test byte [rcx + 0x38], 4
je 0x5654c2
mov edi, 0xffffffff
jmp 0x565641
mov eax, 0x1000
mov edx, 0x1000
jmp 0x56550b
xor edi, edi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2745
sete dil
sub edi, 1
jmp 0x565631
mov edi, 0xffffffff
jmp 0x565631
Function at 0x566410
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rdx, qword [rcx + 0x30]
mov rdi, rcx
mov rbp, r8
mov r12, r9
test rdx, rdx
je 0x566438
xor ecx, ecx
call fcn.00573250
mov rdx, qword [rbx]
test rdx, rdx
je 0x566447
xor ecx, ecx
call fcn.00573250
test byte [rdi + 0x3c], 1
jne 0x566460
cmp qword [rbx + 0x28], 0
je 0x5665a0
xor r13d, r13d
jmp 0x566466
mov r13d, 1
mov rdx, qword [rbx]
add dword [rbx + 8], 1
test rdx, rdx
je 0x566479
xor ecx, ecx
call fcn.00573270
test byte [rdi + 0x38], 4
jne 0x566650
test r12, r12
mov rax, qword [rbx + 0x40]
js 0x566585
lea rdx, [r12 + rbp]
cmp rax, rdx
jl 0x566650
mov ecx, 0x10
call fcn.0055ed20
test rax, rax
mov rsi, rax
je 0x566650
mov eax, dword [rax + 0x20]
mov edx, eax
or edx, 9
test r13d, r13d
mov dword [rsi + 0x20], edx
movzx edx, byte [rbx + 0x10]
je 0x566521
test dl, 1
je 0x566521
or eax, 0xb
mov dword [rsi + 0x20], eax
add rbp, qword [rbx + 0x30]
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x10], rbp
add rbp, r12
mov qword [rsi + 8], rbp
mov qword [rsi + 0x30], rbx
add qword [rdi + 0x20], r12
mov rdx, rsi
mov rcx, rdi
xor ebx, ebx
call fcn.005628f0
mov rcx, rdi
call fcn.0055f730
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x566512
xor ecx, ecx
call fcn.00573270
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
and edx, 2
je 0x566570
add rbp, qword [rbx + 0x38]
jne 0x5665e0
mov r13, r12
xor r8d, r8d
xor r9d, r9d
mov rcx, qword [rbx + 0x20]
mov edx, 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x566646
mov qword [rsi + 0x28], rax
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], r12
jmp 0x5664e5
add rbp, qword [rbx + 0x28]
mov qword [rsi + 8], r12
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x28], rbp
jmp 0x5664e5
cmp rbp, rax
jg 0x566650
sub rax, rbp
mov r12, rax
jmp 0x56649d
mov rcx, rbx
call fcn.0055edc0
test eax, eax
jns 0x566458
mov rdx, qword [rbx]
test rdx, rdx
je 0x5665bf
xor ecx, ecx
call fcn.00573270
mov rdx, qword [rdi + 0x30]
mov ebx, 0xffffffff
test rdx, rdx
jne 0x56650b
jmp 0x566512
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x58]
mov rax, rbp
xor edx, edx
div rcx
sub rbp, rdx
lea r13, [rdx + r12]
mov r9d, ebp
shr rbp, 0x20
mov r8, rbp
mov rbp, rdx
jmp 0x566539
mov rcx, rsi
call fcn.0056f680
nop
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x566660
xor ecx, ecx
call fcn.00573270
mov rcx, rbx
mov ebx, 0xffffffff
call fcn.00560ba0
jmp 0x566512
Function at 0x56a670
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [rcx + 0x198], 0
mov rsi, rcx
mov rbx, rdx
je 0x56a58f
call fcn.00573310
test eax, eax
jne 0x56a5f0
movzx eax, word [rbx + 0x10]
test al, 0x20
je 0x56a640
sar ax, 4
not eax
and eax, 1
sub dword [rsi + 0xd0], eax
and word [rbx + 0x10], 0xffdf
sub dword [rsi + 0xd8], 1
mov rax, qword [rbx]
test rax, rax
je 0x56a5e0
mov rdx, qword [rbx + 8]
mov qword [rax + 8], rdx
mov rax, qword [rbx + 8]
mov rdx, qword [rbx]
mov qword [rax], rdx
add rsp, 0x38
pop rbx
pop rsi
ret
mov rax, qword [rbx + 8]
mov qword [rsi + 0x110], rax
jmp 0x56a5c6
mov rcx, qword [rsi + 0x198]
call fcn.00572f70
test eax, eax
jne 0x56a58f
lea rax, str.event_queue_remove_active_later
lea r8, str.event.c
lea rdx, [0x006c7688]
mov r9d, 0xc83
mov ecx, 0xdeaddead
mov qword [rsp + 0x28], rax
lea rax, str.evthread_is_debug_lock_held___base___th_base_lock_
mov qword [rsp + 0x20], rax
call fcn.005771e0
nop word cs:[rax + rax]
lea r8, str.event_queue_remove_active_later
lea rdx, str._s:__p_not_on_queue__x
mov dword [rsp + 0x20], 0x20
mov r9, rbx
mov ecx, 1
call fcn.005771e0
nop
nop
nop word cs:[rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x428
mov rbx, qword [sym.imp.WS2_32.dll_recv]
lea rsi, [rsp + 0x20]
mov rdi, rcx
mov rbp, r8
nop dword [rax]
xor r9d, r9d
mov r8d, 0x400
mov rdx, rsi
mov rcx, rdi
call rbx
test eax, eax
jg 0x56a690
mov rdx, qword [rbp + 0x198]
test rdx, rdx
je 0x56a6e2
xor ecx, ecx
call fcn.00573250
mov rdx, qword [rbp + 0x198]
mov dword [rbp + 0x1d4], 0
test rdx, rdx
je 0x56a6d6
xor ecx, ecx
call fcn.00573270
nop
add rsp, 0x428
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov dword [rbp + 0x1d4], 0
add rsp, 0x428
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x56aee0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
push rbx
sub rsp, 0x48
cmp qword [rcx + 0x198], 0
mov rbx, rcx
mov rsi, rdx
je 0x56adf3
call fcn.00573310
test eax, eax
jne 0x56ae90
mov eax, dword [rbx + 0x160]
test eax, eax
je 0x56ae10
mov rax, qword [rbx + 0x160]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
ret
lea rcx, [rbx + 0x168]
mov rdx, rsi
call fcn.00576e20
cmp eax, 0xffffffff
je 0x56ae09
mov rax, qword [rbx + 0x188]
movsxd rcx, dword [rsi]
lea rdx, [rax + 5]
xor eax, eax
cmp rdx, rcx
jge 0x56ae09
lea rcx, [rsp + 0x38]
xor edx, edx
call fcn.0058ec60
mov edx, dword [rsp + 0x38]
sub edx, dword [rsi]
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x17c], edx
sub eax, dword [rsi + 4]
test eax, eax
mov dword [rbx + 0x180], eax
jns 0x56ae76
sub edx, 1
add eax, 0xf4240
mov dword [rbx + 0x17c], edx
mov dword [rbx + 0x180], eax
movsxd rax, dword [rsi]
mov qword [rbx + 0x188], rax
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x198]
call fcn.00572f70
test eax, eax
jne 0x56adf3
lea rax, str.gettime
lea r8, str.event.c
lea rdx, [0x006c7688]
mov r9d, 0x177
mov ecx, 0xdeaddead
mov qword [rsp + 0x28], rax
lea rax, str.evthread_is_debug_lock_held___base___th_base_lock_
mov qword [rsp + 0x20], rax
call fcn.005771e0
nop
nop dword [rax + rax]
push rbx
sub rsp, 0x30
xor r9d, r9d
mov rcx, qword [rcx + 0x1e0]
mov r8d, 1
mov byte [rsp + 0x2f], 0
lea rdx, [rsp + 0x2f]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x56af11
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rbx, qword [sym.imp.msvcrt.dll__errno]
call rbx
cmp dword [rax], 0x2733
je 0x56af09
call rbx
cmp dword [rax], 0xb
setne al
movzx eax, al
neg eax
add rsp, 0x30
pop rbx
ret
Function at 0x570040
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rdx, qword [rcx + 0x198]
mov rbx, rcx
test rdx, rdx
je 0x56ff9c
xor ecx, ecx
call fcn.00573250
mov eax, dword [rbx + 0xc8]
test eax, eax
jle 0x570000
sub eax, 1
test eax, eax
mov dword [rbx + 0xc8], eax
je 0x56ffd0
mov rdx, qword [rbx + 0x198]
test rdx, rdx
je 0x56fff3
xor ecx, ecx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.00573270
mov eax, dword [rbx + 0xf0]
test eax, eax
je 0x56ffb3
mov esi, dword [rbx + 0x190]
call fcn.005731f0
cmp esi, eax
je 0x56ffb3
mov rcx, rbx
call fcn.0056ad20
jmp 0x56ffb3
add rsp, 0x38
pop rbx
pop rsi
ret
lea rax, str.event_base_del_virtual_
lea r8, str.event.c
lea rdx, [0x006c7688]
mov r9d, 0xedb
mov ecx, 0xdeaddead
mov qword [rsp + 0x28], rax
lea rax, str.base__virtual_event_count___0
mov qword [rsp + 0x20], rax
call fcn.005771e0
nop
nop word [rax + rax]
sub rsp, 0x28
call fcn.005788e0
nop
add rsp, 0x28
jmp 0x5764f0
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
call fcn.00576ba0
mov eax, dword [0x0067e2c8]
mov rcx, qword [0x0067e2c0]
test eax, eax
je 0x5765bb
cmp qword [rcx], 0
jne 0x5766ba
lea rsi, [rcx + 8]
sub eax, 1
lea rdx, [rsi + rax*8]
jmp 0x576542
lea rax, [rsi + 8]
cmp qword [rax - 8], 0
jne 0x5765c2
mov rsi, rax
cmp rsi, rdx
jne 0x576530
call fcn.0056f680
mov rcx, qword [0x00730560]
movabs rax, 0xffffffff00000000
mov qword [0x0067e2c0], 0
mov qword [0x0067e2c8], 0
mov qword [0x0067e2d0], rax
test rcx, rcx
je 0x576591
xor edx, edx
call fcn.00573230
mov qword [0x00730560], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [r12 + 0x10]
call rdi
mov rcx, r12
call fcn.0056f680
test rbx, rbx
jne 0x5765e0
mov rcx, qword [0x0067e2c0]
test rcx, rcx
je 0x57654c
jmp 0x576547
test rsi, rsi
je 0x576547
mov rdi, qword [sym.imp.KERNEL32.dll_LocalFree]
lea rbp, [0x0067e2c0]
nop dword [rax]
mov r12, qword [rsi]
mov rdx, qword [r12]
mov ecx, dword [r12 + 8]
mov qword [rsi], rdx
sub dword [0x0067e2cc], 1
cmp qword [rsi], 0
je 0x576610
mov rcx, qword [r12 + 0x10]
call rdi
mov rcx, r12
call fcn.0056f680
jmp 0x5765e0
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov ecx, dword [0x0067e2c8]
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
xor edx, edx
div ecx
lea eax, [rdx + 1]
cmp ecx, eax
jbe 0x5766a2
mov r8, qword [rbp]
lea rsi, [r8 + rax*8]
cmp qword [rsi], 0
jne 0x5765fc
lea eax, [rdx + 2]
sub ecx, 2
sub ecx, edx
add rcx, rax
lea rbx, [r8 + rax*8]
lea rdx, [r8 + rcx*8]
jmp 0x576679
cmp qword [rbx], 0
mov rsi, rbx
lea rax, [rbx + 8]
jne 0x5765a0
mov rbx, rax
cmp rdx, rbx
jne 0x576665
mov rcx, qword [r12 + 0x10]
call rdi
mov rcx, r12
call fcn.0056f680
mov rcx, qword [0x0067e2c0]
test rcx, rcx
je 0x57654c
jmp 0x576547
mov rcx, qword [r12 + 0x10]
call rdi
mov rcx, r12
call fcn.0056f680
mov rcx, qword [rbp]
jmp 0x5765bb
mov rsi, rcx
jmp 0x5765cb
Function at 0x5738d0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x40
mov edx, 0x8004667e
mov rbx, rcx
mov dword [rsp + 0x3c], 1
lea r8, [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x5738fd
xor eax, eax
add rsp, 0x40
pop rbx
ret
lea rdx, str.fcntl__d__F_GETFL_
mov r8d, ebx
mov rcx, rbx
mov dword [rsp + 0x2c], eax
call fcn.00577190
mov eax, dword [rsp + 0x2c]
jmp 0x5738f7

Function at 0x5739f0
Capabilities:
Connect socket

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebp, ebp
mov rbx, rcx
mov rcx, qword [rcx]
mov rsi, rdx
mov edi, r8d
test rcx, rcx
js 0x573a30
mov rdx, rsi
mov r8d, edi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
mov edx, 1
js 0x573a60
mov eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
movzx ecx, word [rdx]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WS2_32.dll_socket]
test rax, rax
mov qword [rbx], rax
js 0x573ac0
mov rcx, rax
call fcn.005738d0
test eax, eax
js 0x573a83
mov rcx, qword [rbx]
mov ebp, 1
jmp 0x573a0b
mov rcx, qword [rbx]
call fcn.00573980
lea edx, [rax - 0x2714]
cmp edx, 0x20
jbe 0x573aa0
cmp eax, 0x274d
mov edx, 2
je 0x573a20
test ebp, ebp
je 0x573ac0
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, 0xffffffffffffffff
mov qword [rbx], rdx
jmp 0x573a20
movabs rax, 0x180040001
bt rax, rdx
jae 0x573a7f
xor edx, edx
mov eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, 0xffffffff
jmp 0x573a20
Function at 0x573e50
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
mov rdi, rcx
mov ecx, dword [rcx + 0x14]
cmp ecx, 0x19
je 0x573f69
cmp dword [rdi + 0x10], edx
ja 0x573f69
add ecx, 1
lea r9, [0x006c94c0]
movsxd rcx, ecx
movsd xmm1, qword [0x006c9528]
jmp 0x573e94
cmp edx, eax
jb 0x573ebb
mov r8d, dword [r9 + rcx*4]
pxor xmm0, xmm0
mov ebp, ecx
add rcx, 1
cmp ebp, 0x19
cvtsi2sd xmm0, r8
mov rbx, r8
mulsd xmm0, xmm1
cvttsd2si rax, xmm0
mov r12d, eax
jle 0x573e90
lea r13, [r8*8]
mov rcx, r13
call fcn.0056d130
test rax, rax
mov rsi, rax
je 0x573f80
xor edx, edx
mov rcx, rax
mov r8, r13
call fcn.005999d0
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
test edx, edx
je 0x573f50
xor r9d, r9d
mov eax, r9d
mov r8, qword [rcx + rax*8]
test r8, r8
je 0x573f46
nop dword [rax]
mov edx, dword [r8 + 8]
mov rcx, qword [r8]
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
xor edx, edx
div ebx
test rcx, rcx
mov eax, edx
lea rax, [rsi + rax*8]
mov rdx, qword [rax]
mov qword [r8], rdx
mov qword [rax], r8
mov r8, rcx
jne 0x573f00
mov rcx, qword [rdi]
add r9d, 1
cmp dword [rdi + 8], r9d
ja 0x573ef1
test rcx, rcx
je 0x573f5a
call fcn.0056f680
mov qword [rdi], rsi
mov dword [rdi + 8], ebx
xor eax, eax
mov dword [rdi + 0x14], ebp
mov dword [rdi + 0x10], r12d
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [rdi]
mov rdx, r13
call fcn.0056d5c0
test rax, rax
mov rsi, rax
je 0x574038
mov eax, dword [rdi + 8]
mov r8d, ebx
xor edx, edx
sub r8d, eax
lea rcx, [rsi + rax*8]
shl r8, 3
call fcn.005999d0
mov eax, dword [rdi + 8]
test eax, eax
je 0x573f5a
xor r9d, r9d
nop dword [rax]
mov eax, r9d
lea r8, [rsi + rax*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x574019
mov edx, dword [rcx + 8]
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
xor edx, edx
div ebx
mov rax, qword [rcx]
cmp edx, r9d
je 0x574030
mov qword [r8], rax
mov eax, edx
lea rax, [rsi + rax*8]
mov rdx, qword [rax]
mov qword [rcx], rdx
mov qword [rax], rcx
mov rcx, qword [r8]
test rcx, rcx
jne 0x573fcf
add r9d, 1
cmp dword [rdi + 8], r9d
ja 0x573fc0
jmp 0x573f5a
mov r8, rcx
mov rcx, rax
jmp 0x573fca
mov eax, 0xffffffff
jmp 0x573f69
Function at 0x5742b0
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x58
mov rdx, qword [0x00730560]
mov ebx, ecx
mov qword [rsp + 0x48], 0
test rdx, rdx
je 0x5742d4
xor ecx, ecx
call fcn.00573250
mov rcx, qword [0x0067e2c0]
test rcx, rcx
je 0x574355
mov eax, ebx
shr eax, 0x10
xor eax, ebx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
xor edx, edx
div dword [0x0067e2c8]
mov eax, edx
mov rax, qword [rcx + rax*8]
test rax, rax
jne 0x574328
jmp 0x574355
mov rax, qword [rax]
test rax, rax
je 0x574355
cmp ebx, dword [rax + 8]
jne 0x574320
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov rdx, qword [0x00730560]
test rdx, rdx
je 0x574349
xor ecx, ecx
call fcn.00573270
mov rax, qword [rsp + 0x48]
add rsp, 0x58
pop rbx
pop rsi
ret
lea rax, [rsp + 0x48]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x574454
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x5743b3
mov rcx, rsi
call sub.msvcrt.dll_strlen
test rax, rax
je 0x5743b3
lea rdx, [rax - 1]
lea rcx, [rsi + rdx]
cmp byte [rcx], 0xa
je 0x5744bd
mov ecx, 0x18
call fcn.0056d130
test rax, rax
mov rsi, rax
je 0x5744a1
mov rcx, qword [0x0067e2c0]
mov dword [rax + 8], ebx
mov rax, qword [rsp + 0x48]
mov edx, dword [0x0067e2cc]
test rcx, rcx
mov qword [rsi + 0x10], rax
je 0x5743ef
cmp edx, dword [0x0067e2d0]
jb 0x57440b
lea rcx, [0x0067e2c0]
add edx, 1
call fcn.00573e50
mov edx, dword [0x0067e2cc]
mov rcx, qword [0x0067e2c0]
add edx, 1
mov dword [0x0067e2cc], edx
mov edx, dword [rsi + 8]
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
xor edx, edx
div dword [0x0067e2c8]
mov eax, edx
lea rax, [rcx + rax*8]
mov rdx, qword [rax]
mov qword [rsi], rdx
mov qword [rax], rsi
jmp 0x574336
xor ecx, ecx
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov qword [rsp + 0x48], rax
je 0x574490
lea r8, str.winsock_error_0x_08x
mov r9d, ebx
mov edx, 0x32
mov rcx, rax
call fcn.00574250
jmp 0x5743b3
lea rax, str.LocalAlloc_failed_during_Winsock_error
mov qword [rsp + 0x48], rax
jmp 0x574336
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, str.malloc_failed_during_Winsock_error
mov qword [rsp + 0x48], rax
jmp 0x574336
test rdx, rdx
mov byte [rcx], 0
je 0x5743b3
lea rax, [rsi + rax - 2]
cmp byte [rax], 0xd
jne 0x5743b3
mov byte [rax], 0
jmp 0x5743b3