joyce8/EMBER2024-capa huggingface dataset:
Function at 0x513bd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00581be0
cmp dword [esp + 0xc], 0
je 0x513d0d
mov eax, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
inc eax
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x30]
push edi
push esi
push dword [esp + 0x30]
shr eax, 1
push dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push eax
push ebp
push dword [esp + 0x2c]
call fcn.00513a00
add esp, 0x1c
test eax, eax
jne 0x513c20
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
push 0x1b8
push str.providersimplementationskdfs_tls1_prf.c
push edi
call fcn.00465f40
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x513c74
mov eax, dword [esp + 0x10]
sub ebp, eax
add ebp, dword [esp + 0x24]
push edi
push ebx
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
push ebp
push dword [esp + 0x34]
call fcn.00513a00
add esp, 0x1c
test eax, eax
jne 0x513c7c
push 0x1bd
push str.providersimplementationskdfs_tls1_prf.c
push edi
push ebx
call fcn.00466050
add esp, 0x10
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
xor edx, edx
test edi, edi
je 0x513cee
cmp edi, 0x20
jb 0x513ccf
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x513c99
cmp ecx, ebx
jae 0x513ccf
mov ecx, edi
mov ebp, ebx
and ecx, 0xffffffe0
mov eax, esi
sub ebp, esi
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x513ca4
cmp edx, edi
jae 0x513cee
mov ebp, ebx
lea ecx, [edx + esi]
sub ebp, esi
mov esi, edi
sub esi, edx
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x513ce0
push 0x1c2
push str.providersimplementationskdfs_tls1_prf.c
push edi
push ebx
call fcn.00466050
add esp, 0x10
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00513a00
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop ecx
ret
Function at 0x51bbf0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
xor esi, esi
lea ecx, [edx + 0x3f8]
push edi
lea edi, [eax + 0x3f8]
cmp eax, ecx
ja 0x51bc2f
cmp edi, edx
jb 0x51bc2f
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x51bc17
pop edi
pop esi
ret
mov edi, edx
lea ecx, [eax + 0x10]
sub edi, eax
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [edx + esi*8]
add esi, 4
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [edi + ecx - 0x20]
movups xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp esi, 0x80
jl 0x51bc40
pop edi
pop esi
ret

Function at 0x51ddc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x51de23
mov edx, dword [esp + 0x10]
test edx, edx
je 0x51de23
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0x14]
cmp edx, ebx
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x51ddf1
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x1c], al
inc ecx
cmp ecx, ebx
jb 0x51dde5
mov eax, dword [edi + 0x14]
cmp edx, eax
jbe 0x51de21
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor eax, eax
test edx, edx
je 0x51de21
nop word [eax + eax]
mov ecx, dword [edi + 0x14]
add ecx, eax
mov cl, byte [ecx + esi]
xor byte [edi + eax + 0x3c], cl
inc eax
cmp eax, edx
jb 0x51de10
pop edi
pop ebx
pop esi
ret
Function at 0x51e040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x74
call fcn.00581be0
mov eax, dword [0x635f14]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x78]
mov edx, 0x10
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov esi, dword [ecx + 0x94]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
movups xmm0, xmmword [esi + 0x3c]
mov dword [esp + 0x14], ecx
mov ecx, 1
push edi
mov dword [esp + 0x14], eax
movups xmmword [esp + 0x1c], xmm0
nop
movzx eax, byte [edx + esi + 0x3b]
dec edx
add ecx, eax
mov byte [edx + esi + 0x3c], cl
shr ecx, 8
test edx, edx
jne 0x51e0a0
movups xmm0, xmmword [esi + 0x3c]
movups xmmword [esp + 0x2c], xmm0
cmp dword [esi + 0x14], 0x10
jne 0x51e0c6
mov al, 0x20
jmp 0x51e0ee
mov edx, 0x10
mov ecx, 1
movzx eax, byte [edx + esi + 0x3b]
dec edx
add ecx, eax
mov byte [edx + esi + 0x3c], cl
shr ecx, 8
test edx, edx
jne 0x51e0d0
movups xmm0, xmmword [esi + 0x3c]
mov al, 0x30
movups xmmword [esp + 0x3c], xmm0
movzx edi, al
lea eax, [esp + 0x1c]
push edi
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esi]
call fcn.004595a0
add esp, 0x14
test eax, eax
je 0x51e21e
cmp dword [esp + 0x10], edi
jne 0x51e21e
push ebx
push dword [esi + 0x14]
lea eax, [esp + 0x54]
push eax
lea ebx, [esi + 0x1c]
push ebx
call fcn.00583ec0
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp dword [esi + 0x18], 0
movups xmm0, xmmword [esp + eax + 0x50]
movups xmmword [esi + 0x3c], xmm0
je 0x51e19f
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x51e15f
test ecx, ecx
jne 0x51e15f
test eax, eax
je 0x51e182
push dword [esp + 0x98]
push eax
push dword [esp + 0xa8]
push ecx
push edi
push ebp
push esi
call fcn.0051de30
add esp, 0x1c
test eax, eax
je 0x51e209
test edi, edi
je 0x51e1c2
mov eax, dword [esp + 0x1c]
push dword [eax + 0x8c]
lea eax, [esi + 0x60]
push eax
push esi
call fcn.0051ddc0
add esp, 0xc
jmp 0x51e1c2
push dword [esp + 0x90]
push ebp
push esi
call fcn.0051ddc0
push dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.0051ddc0
add esp, 0x18
push 0xffffffffffffffff
push 0
push ebx
push 0
push 0
push dword [esi]
call fcn.00459570
add esp, 0x18
test eax, eax
je 0x51e209
push 0xffffffffffffffff
push 0
push ebx
push 0
push 0
push dword [esi + 4]
call fcn.00459570
add esp, 0x18
test eax, eax
je 0x51e209
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00581392
add esp, 0x74
ret
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00581392
add esp, 0x74
ret
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00581392
add esp, 0x74
ret
Function at 0x5218d2
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x5217ed
xor eax, eax
pop ebx
ret
push edi
push dword [ebx + 4]
push 0
push dword [ebx + 8]
push dword [ebx]
call fcn.0048ee70
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x521834
call fcn.0046b260
push str.ecx_gen
push 0x258
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.0046b2b0
push edi
push 0x80010
push 0x39
call fcn.0046b2e0
add esp, 0x18
xor eax, eax
pop edi
pop ebx
ret
test byte [ebx + 0xc], 3
je 0x52187f
push esi
push edi
call fcn.0048ee00
mov esi, eax
add esp, 4
test esi, esi
jne 0x521882
call fcn.0046b260
push str.ecx_gen
push 0x261
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.0046b2b0
push esi
push 0x80010
push 0x39
call fcn.0046b2e0
add esp, 0x18
push edi
call fcn.0048ee20
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5218af
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x5218af
mov edx, dword [ebx + 8]
cmp edx, 2
je 0x521873
cmp edx, 3
je 0x521873
push ecx
push eax
push esi
push edi
call fcn.0052d020
add esp, 0x10
test eax, eax
je 0x521873
jmp 0x5218c3
push 0
push dword [edi + 0x4c]
push esi
push dword [ebx]
call fcn.0045e880
add esp, 0x10
test eax, eax
jle 0x521873
mov eax, dword [ebx + 8]
cmp eax, 3
ja case.default.0x5218cb
jmp dword [eax*4 + 0x52194c]
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
lea eax, [edi + 0xc]
push esi
push eax
call fcn.004b2390
add esp, 8
mov eax, edi
or dword [edi + 8], 1
pop esi
pop edi
pop ebx
ret
and byte [esi], 0xfc
lea eax, [edi + 0xc]
or byte [esi + 0x37], 0x80
push esi
push eax
call fcn.004bb4b0
add esp, 8
mov eax, edi
or dword [edi + 8], 1
pop esi
pop edi
pop ebx
ret
push dword [ebx + 4]
lea eax, [edi + 0xc]
push esi
push eax
push dword [ebx]
call fcn.004b1cd0
jmp 0x521934
push dword [ebx + 4]
lea eax, [edi + 0xc]
push esi
push eax
push dword [ebx]
call fcn.004b9bf0
add esp, 0x10
test eax, eax
je 0x521873
or dword [edi + 8], 1
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x52d020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x54
call fcn.00581be0
mov eax, dword [0x635f14]
xor eax, esp
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
mov edx, str.X25519
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, dword [esp + 0x6c]
push edi
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [ecx + 0x50], ebx
mov eax, str.X448
mov dword [esp + 0x14], ecx
cmove eax, edx
push eax
call fcn.00503fe0
mov ebp, dword [esp + 0x78]
mov esi, eax
add esp, 4
cmp ebp, dword [esi + 0x1c]
jae 0x52d0af
call fcn.0046b260
push str.ossl_ecx_dhkem_derive_private
push 0x15d
push str.providersimplementationskemecx_kem.c
call fcn.0046b2b0
push dword [esi + 0x1c]
push ebp
push str.ikm_length_is_:_zu__should_be_at_least__zu
push 0xe6
push 0x39
call fcn.0046b2e0
add esp, 0x20
jmp 0x52d156
mov eax, dword [esp + 0x14]
push dword [eax + 4]
push dword [eax]
push dword [esi + 0xc]
push str.HKDF
call fcn.00504440
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x52d0e1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00581392
add esp, 0x54
ret
movzx eax, byte [esi + 1]
push ebp
push dword [esp + 0x1c]
mov byte [esp + 0x18], al
movzx eax, byte [esi]
push str.dkp_prk
push 2
mov byte [esp + 0x21], al
lea eax, [esp + 0x20]
push eax
push 0x6087a8
push 0
push 0
push dword [esi + 0x10]
lea eax, [esp + 0x44]
push eax
push edi
call fcn.00504290
add esp, 0x2c
test eax, eax
je 0x52d156
push 0
push 0
push 0x608894
push 2
lea eax, [esp + 0x20]
push eax
push 0x6087a8
push dword [esi + 0x10]
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x1c]
push dword [esp + 0x40]
push edi
call fcn.005040c0
add esp, 0x2c
mov ecx, 1
test eax, eax
cmovne ebx, ecx
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.00401320
push edi
call fcn.004e9b10
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00581392
add esp, 0x54
ret
Function at 0x5453e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00581be0
mov eax, dword [0x635f14]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov esi, dword [eax]
test esi, esi
jns 0x545431
mov dword [eax], 0xffffffff
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00581392
add esp, 0x2c
ret
push ebx
movzx ebx, byte [ecx]
push ebp
lea ebp, [ecx + 1]
shl ebx, 0x18
mov edx, ebp
mov dword [esp + 0x1c], ebp
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov byte [esp + 0x2b], bl
movzx eax, byte [edx + 6]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], ebx
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [esp + 0x28], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x29], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2a], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov byte [esp + 0x2f], dl
test eax, eax
je 0x5455a0
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x40]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
dec eax
mov dword [esp + 0x48], eax
test esi, esi
jne 0x545548
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
call fcn.005449b0
mov ebx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x5454e3
test ebp, ebp
mov ebp, dword [esp + 0x20]
pop edi
je 0x5455a0
mov ecx, dword [esp + 0x20]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
mov dword [eax], esi
pop esi
xor ecx, esp
call fcn.00581392
add esp, 0x2c
ret
Function at 0x5455c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, 0x400
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, 0x80
mov esi, edx
mov ecx, edi
mov byte [ebp], 0
cmp dword [esp + 0x18], ecx
cmovle ecx, dword [esp + 0x18]
test eax, eax
cmovg esi, eax
cmp esi, edx
cmovg esi, edx
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x545615
mov ebx, dword [esp + 0x1c]
mov edx, ebp
sub ebx, ebp
mov esi, ecx
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x545603
mov esi, dword [esp + 0x14]
movzx ebx, byte [ecx + ebp - 1]
cmp ecx, edi
jge 0x54563a
mov edx, ebp
movzx eax, byte [edx]
lea edx, [edx + 1]
add eax, ebx
movzx eax, al
movzx ebx, byte [eax + 0x6140e8]
mov byte [ecx + ebp], bl
inc ecx
cmp ecx, edi
jl 0x545620
mov ecx, dword [esp + 0x14]
lea ebx, [esi + 7]
sar ebx, 3
neg ecx
sub edi, ebx
and ecx, 7
movzx eax, byte [edi + ebp]
lea esi, [edi + ebp]
mov edx, 0xff
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x6140e8]
mov byte [esi], cl
test edi, edi
je 0x545688
nop dword [eax + eax]
movzx eax, byte [esi + ebx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x6140e8]
mov byte [esi], cl
sub edi, 1
jne 0x545670
lea esi, [ebp + 0xfc]
mov edi, 0x40
lea edx, [ebp + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x545696
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x54c9e0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x54c9f4
mov dword [esp + 0x18], fcn.0054b1b0
jmp fcn.0049a5b0
mov dword [esp + 0x18], fcn.0054a450
jmp fcn.0049a2e0
Function at 0x54edd0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.0054e3c0
add esp, 4
test eax, eax
jne 0x54ede4
pop esi
ret
lea eax, [esi + 0x5c]
pop esi
mov dword [esp + 4], eax
jmp fcn.004ef350

Function at 0x5567e0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x78
push 0
push esi
call fcn.00584440
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
movzx eax, byte [ecx]
mov dword [esi + 0x74], eax
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [esi + 4], eax
mov eax, dword [ecx + 8]
xor dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
xor dword [esi + 0x1c], eax
pop esi
ret

Function at 0x561850
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, dword [edi + 0x28]
cmp dword [ebx], 5
je 0x561870
push ebx
push edi
call fcn.00562410
add esp, 8
test eax, eax
jle 0x5618f2
cmp dword [ebx + 0x28], 0
push esi
je 0x5618ab
push 0xf
push edi
call fcn.0045d1f0
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [ebx + 0x28]
call fcn.0045e0c0
push 0xf
push dword [ebx + 0x28]
mov esi, eax
call fcn.0045e080
push eax
push edi
call fcn.0045e070
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebx
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.0045d1f0
add esp, 8
test esi, esi
jg 0x5618ef
push esi
call fcn.004c3780
add esp, 4
test eax, eax
je 0x5618ef
push 0xa
push edi
call fcn.0045e070
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x5681e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.00581be0
mov eax, dword [0x635f14]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
push ebp
movups xmm0, xmmword [eax]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
push edi
xor edi, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
movups xmmword [esp + 0x1c], xmm0
test ebp, ebp
je 0x568298
push 0x10
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
push dword [ecx]
call fcn.00459f80
add esp, 0x14
neg eax
sbb eax, eax
inc dword [esp + 0x1c]
inc eax
or edi, eax
mov eax, 0x10
mov dword [esp + 0x10], edi
mov edi, ebp
sub edi, ebx
cmp edi, 0x10
cmova edi, eax
xor edx, edx
test edi, edi
je 0x568289
lea eax, [esi + ebx]
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x14]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [esp + edx + 0x2c]
inc edx
mov byte [eax - 1], cl
cmp edx, edi
jb 0x568273
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add ebx, 0x10
mov ecx, dword [esp + 0x18]
cmp ebx, ebp
jb 0x568221
mov ecx, dword [esp + 0x3c]
xor eax, eax
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
xor ecx, esp
call fcn.00581392
add esp, 0x30
ret

Function at 0x568840
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x568852
xor eax, eax
pop edi
ret
push esi
push dword [edi]
call fcn.00469e40
mov esi, eax
add esp, 4
test esi, esi
jns 0x568868
pop esi
xor eax, eax
pop edi
ret
mov eax, dword [esp + 0x14]
test eax, eax
je 0x568872
mov dword [eax], esi
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x56890c
mov ecx, dword [edi + 0x84]
push ebx
cmp ecx, esi
jne 0x5688ab
test esi, esi
jle 0x5688ea
mov edx, ebp
lea ecx, [edi + 4]
mov ebx, esi
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x568895
jmp 0x5688ea
mov eax, esi
mov byte [ecx + edi + 0x64], 0x80
sub eax, ecx
cmp eax, 1
jle 0x5688cb
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.00584440
add esp, 0xc
test esi, esi
jle 0x5688ea
mov edx, ebp
lea ecx, [edi + 0x24]
mov ebx, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x5688d6
push esi
push ebp
push ebp
push dword [edi]
call fcn.0046a760
add esp, 0x10
pop ebx
test eax, eax
jg 0x56890c
push esi
push ebp
call fcn.00401320
add esp, 8
xor eax, eax
pop ebp
pop esi
pop edi
ret
pop ebp
pop esi
mov eax, 1
pop edi
ret
Function at 0x574510
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
mov ebx, dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [ebx + 0x38], 0
je 0x57453d
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x574564
push ebx
call fcn.0047d630
add esp, 4
push eax
push ebx
call fcn.00533d70
add esp, 4
push eax
push 0
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_sendto]
push 0xf
push edi
mov esi, eax
call fcn.0045d1f0
add esp, 8
test esi, esi
jg 0x5745cc
je 0x57457c
cmp esi, 0xffffffff
jne 0x5745cc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
jg 0x574598
je 0x5745af
cmp eax, 4
je 0x5745af
cmp eax, 0xb
je 0x5745af
cmp eax, 0x67
jmp 0x5745a9
sub eax, 0x86
je 0x5745af
sub eax, 6
je 0x5745af
sub eax, 0x26a7
je 0x5745af
xor eax, eax
jmp 0x5745b4
mov eax, 1
test eax, eax
je 0x5745cc
push 0xa
push edi
call fcn.0045e070
add esp, 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx + 0x3c], eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x575060
Capabilities:
Set socket configuration

Disassembly:
mov eax, 8
call fcn.00581be0
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [eax + 0x28]
cmp dword [esi + 0x4c], 0
ja 0x575082
cmp dword [esi + 0x48], 0
jbe 0x5751cf
lea ecx, [esp + 8]
mov dword [esp + 8], 4
push ecx
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push dword [eax + 0x24]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jns 0x5750df
call fcn.0046b260
push str.dgram_adjust_rcv_timeout
push 0x135
push str.crypto_bio_bss_dgram.c
call fcn.0046b2b0
add esp, 0xc
push str.calling_getsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.0046b2e0
add esp, 0xc
jmp 0x5750f8
mov eax, dword [esp + 4]
push 0
cdq
push 0xf4240
push edx
push eax
call fcn.00582310
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
push ebx
push edi
call fcn.0055e170
mov edi, dword [esi + 0x4c]
xor ebx, ebx
mov ecx, dword [esi + 0x48]
cmp edx, edi
jb 0x575116
ja 0x575111
cmp eax, ecx
jbe 0x575116
mov ebx, 1
sub ecx, eax
sbb edi, edx
test ebx, ebx
jne 0x57513a
test edi, edi
ja 0x575141
jb 0x57513a
cmp ecx, 0x3e8
ja 0x575141
test edi, edi
ja 0x575141
jb 0x57513a
cmp ecx, 0x3e8
jae 0x575141
mov ecx, 0x3e8
xor edi, edi
cmp dword [esi + 0x54], 0
ja 0x57514d
cmp dword [esi + 0x50], 0
jbe 0x575167
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x50]
cmp edx, edi
ja 0x575167
jb 0x5751cd
cmp eax, ecx
ja 0x575167
cmp edx, edi
jb 0x5751cd
ja 0x575167
cmp eax, ecx
jb 0x5751cd
push 0
push 0xf4240
push edi
push ecx
call fcn.005823f0
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push 0x1006
push 0xffff
push dword [eax + 0x24]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x5751cd
call fcn.0046b260
push str.dgram_adjust_rcv_timeout
push 0x153
push str.crypto_bio_bss_dgram.c
call fcn.0046b2b0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.0046b2e0
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 8
ret

Function at 0x575250
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x4c], 0
ja 0x575264
cmp dword [eax + 0x48], 0
jbe 0x5752ca
push 0
push 0xf4240
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.005823f0
push 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x1006
push 0xffff
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x5752ca
call fcn.0046b260
push str.dgram_reset_rcv_timeout
push 0x182
push str.crypto_bio_bss_dgram.c
call fcn.0046b2b0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.0046b2e0
add esp, 0xc
pop esi
ret