joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180090850
Capabilities:
Set http header

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, r9d
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
add rcx, 0x38
lea rdx, [rsp + 0x40]
call fcn.180090c10
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180019430
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800908d4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800908cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800909b3
call fcn.180096034
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r9d, 0xa0000000
mov r8d, dword [rsp + 0x70]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
xor edx, edx
test rbx, rbx
jne 0x180090905
mov eax, edx
jmp 0x180090918
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], dl
jne 0x180090910
test edi, edi
cmove edi, eax
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rdx
mov r9, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
test rbp, rbp
jne 0x18009093b
xor r8d, r8d
jmp 0x180090944
mov r8d, 0xffffffff
mov rdx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18009098e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090989
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800909ad
call fcn.180096034
movzx eax, bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180096010
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1800d0cf4
int3
call fcn.1800d0cf4
int3
Function at 0x180091ee0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
xor ebp, ebp
mov qword [rcx], rbp
mov ecx, 0xe0
call fcn.18009603c
mov rdi, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
call fcn.1800c1ae0
lea edx, [rbp + 2]
mov rcx, rdi
call fcn.180098270
nop
lea rbx, [rdi + 0x50]
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.18009603c
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0x78]
call fcn.180097dac
nop
mov byte [rdi + 0xc0], bpl
lea ecx, [rbp + 0x10]
call fcn.18009603c
mov qword [rax], rdi
lea rcx, [0x180091820]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
lea rbx, [rdi + 0xd0]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x180091c40]
xor edx, edx
xor ecx, ecx
call fcn.1800d62bc
mov qword [rdi + 0xc8], rax
test rax, rax
je 0x1800920f1
lea rcx, [0x180091830]
call qword [sym.imp.sscronet.dll_Cronet_Executor_CreateWith]
mov qword [rdi + 0xd8], rax
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.sscronet.dll_Cronet_Executor_SetClientContext]
nop
mov qword [rsi + 8], rdi
lea ecx, [rbp + 0x30]
call fcn.18009603c
mov rdi, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
lea rax, [0x180092890]
mov qword [rsp + 0x20], rax
lea r9, [0x180092890]
lea r8, [0x180092890]
lea rdx, [0x1800928a0]
lea rcx, [0x180092890]
call qword [sym.imp.sscronet.dll_Cronet_WSClientDelegate_CreateWith]
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov rcx, rbx
call fcn.180092c20
nop
lea rcx, [rdi + 0x20]
mov qword [rsp + 0x38], rcx
mov rax, qword [rbx]
test rax, rax
je 0x1800920d9
cmp byte [rbx + 8], bpl
je 0x180092066
cmp byte [rax + 0xb8], bpl
jne 0x1800920d9
cmp byte [rbx + 0x10], 0
jne 0x1800920fe
mov byte [rbx + 0x10], 1
mov qword [rcx], rbp
cmp rcx, rbx
je 0x18009209a
mov rax, qword [rbx]
test rax, rax
je 0x180092097
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rbx + 8]
mov byte [rcx + 8], al
jmp 0x18009209a
mov qword [rcx], rbp
mov byte [rcx + 8], 1
mov rdx, rdi
mov rcx, qword [rdi]
call qword [sym.imp.sscronet.dll_Cronet_WSClientDelegate_SetClientContext]
nop
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rbp
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180096010
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.180091ca0
mov rcx, rax
call fcn.18009f5e8
nop
mov dword [rbx], ebp
mov ecx, 6
call fcn.180097f80
nop
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.180091ca0
mov rcx, rax
call fcn.18009f5e8
int3
Function at 0x180092120
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x170
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, rcx
lea rbx, [0x180152680]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.1800982a0
test eax, eax
jne 0x1800922f6
cmp byte [0x180152601], 0
je 0x180092181
mov rcx, rbx
call fcn.1800982c4
mov al, 1
jmp 0x1800922cc
lea rcx, str.sscronet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x1800921a2
mov rcx, rbx
call fcn.1800982c4
xor al, al
jmp 0x1800922cc
call qword [sym.imp.sscronet.dll_Cronet_Engine_Create]
mov rsi, rax
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_Create]
mov rdi, rax
lea rdx, str.CronetSample_1
mov rcx, rax
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_user_agent_set]
mov dl, 1
mov rcx, rdi
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_enable_quic_set]
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.1800c1ae0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x180092259
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x180092259
lea rdx, [0x18014b988]
cmp qword [0x18014b9a0], 0x10
cmovae rdx, qword [0x18014b988]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x180092259
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1800d5a14
test eax, eax
je 0x18009224b
lea rcx, [rsp + 0x50]
call fcn.1800d5738
test eax, eax
jne 0x180092259
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_storage_path_set]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_enable_verbose_log_set]
mov dl, 1
mov rcx, rsi
call qword [sym.imp.sscronet.dll_Cronet_Engine_SetInitModeWithInject]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.sscronet.dll_Cronet_Engine_StartWithParams]
mov rcx, rdi
test eax, eax
je 0x180092291
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_Destroy]
mov qword [r14], 0
jmp 0x18009229f
call qword [sym.imp.sscronet.dll_Cronet_EngineParams_Destroy]
mov qword [r14], rsi
test rsi, rsi
jne 0x1800922ab
mov rcx, rbx
call fcn.1800982c4
xor al, al
jmp 0x1800922cc
mov byte [0x180152601], 1
mov rcx, rbx
call fcn.1800982c4
mov al, 1
jmp 0x1800922cc
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180096010
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, eax
call fcn.180097f44
int3

Function at 0x1800960a4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1800e0e18
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1800e0df5
call fcn.1800d56cc
mov dword [rax], 0x16
call fcn.1800d0cd4
or eax, 0xffffffff
jmp 0x1800e0e12
sub dword [rcx + 0x10], 1
jns 0x1800e0e04
add rsp, 0x28
jmp fcn.1800e58b0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1800e0dd4

Function at 0x1800e44f4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800e4514
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800d565c
or eax, 0xffffffff
jmp 0x1800e4516
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001efbc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14001f016
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x140155c70]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x14001f000
cmp rdx, 2
jb 0x14001f000
cmp byte [r10], r11b
jne 0x14001f000
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x14001efde
jmp 0x14001f057
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001f057
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x140155c70]
cmp dl, r11b
jne 0x14001f03b
cmp byte [r10], r11b
jne 0x14001f03b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x14001f029
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140020f80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r10d, 4
mov rax, qword [rcx + 0xd8]
mov r9d, r10d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140155c70]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x140020fac
mov rcx, qword [0x14016a570]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140020fea
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.140030764
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140020ff4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xf0]
lea r9, [rsp]
movss xmm3, dword [rcx + 0xf4]
mov r10d, reloc.WS2_32.dll_recv
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xd0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x140155c70]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x140021062
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14003f880
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x14016a570]
mov ecx, reloc.WS2_32.dll_recvfrom
add rbx, 8
movaps xmmword [rsp + 0x20], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x14015b1cc]
shr eax, 0xf
and al, 1
je 0x14003f8b5
movaps xmm3, xmm6
jmp 0x14003f8b8
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x281
mov rcx, rbx
call fcn.14001eaf8
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x14003f8df
movaps xmm3, xmm6
jmp 0x14003f8e2
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x282
mov rcx, rbx
call fcn.14001eaf8
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x14003f909
movaps xmm3, xmm6
jmp 0x14003f90c
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x283
mov rcx, rbx
call fcn.14001eaf8
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
jne 0x14003f931
xorps xmm6, xmm6
movaps xmm3, xmm6
mov r8b, al
mov edx, 0x284
mov rcx, rbx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
jmp fcn.14001eaf8
Function at 0x1400520d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140052104
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x5b]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x1400520f0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140052131
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140052150
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005215e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001bbc0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400521d5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400521d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400521d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2970
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400521f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x140052224
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x5b]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x140052210
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140052251
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140052267
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140052275
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001bbc0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400522ec
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400522e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400522e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2970
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140052300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x140052344
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140052330
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14005236b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140052385
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xa], 0
je 0x1400523a3
mov rcx, r9
nop
lea eax, [rcx - 0x5b]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x140052390
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x1400523ca
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x1400523e6
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.140058500
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005243a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052434
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2970
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140052478
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052473
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052473
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2970
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x140052490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xa], dil
je 0x1400524c4
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x5b]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x1400524b0
mov byte [r8 + 0xa], dil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x1400524f1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140052513
mov qword [rsp + 0x30], 9
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x29], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140052521
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001bbc0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140052598
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052593
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2970
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14005a680
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x14005a6a8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x14005a690
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x14005a6b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x14005a6d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x14005a6c0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x14005a6e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x14005a703
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x14005a6f0
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x14007a080
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14007a0c2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14007a260
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x140169080]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14, qword [rsp + 0x1a0]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x508]
mov rbp, qword [rsi + rcx*8 + 0x4c0]
add rbx, rax
mov rax, qword [rsi + 0x698]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x14007a367
lea rax, [0x14007a110]
cmp qword [rsi + rcx*8 + 0x4e8], rax
jne 0x14007a367
cmp qword [rbx], r13
je 0x14007a2ee
test rdi, rdi
je 0x14007a367
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.1400897e0
cmp eax, 0xffffffff
je 0x14007a367
test al, 1
je 0x14007a367
mov rax, qword [rbx]
test rax, rax
jne 0x14007a340
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [fcn.1400b3df6]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x14007a363
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14007a367
add qword [rbx + 0x10], rcx
jmp 0x14007a367
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x14007a3d4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x14007a3a0
mov dword [r14], 0x51
mov rax, r13
jmp 0x14007a3d7
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140064110
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140079d00
mov rcx, qword [rsi]
mov dword [rcx + 0x11b0], ebx
mov dword [r14], Ordinal_60
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400b2950
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007aa70
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x558], 0
je 0x14007aa8d
call fcn.140073c10
test eax, eax
jne 0x14007aab3
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x4c0]
cmp rcx, 0xffffffffffffffff
je 0x14007aa86
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x14007aa86
mov al, 1
add rsp, 0x28
ret