Function at 0x10028fd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0abf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xfc], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1010e0b4]
mov edi, dword [esi + 8]
mov dword [ebp - 0x124], edi
mov edi, dword [esi + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010f0c4]
mov dword [ebp - 0x120], edi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x11c], edi
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], ecx
cmp eax, dword [ecx + 4]
jle 0x100290ae
push 0x1010f0c4
call fcn.10095305
mov eax, dword [0x1010f0c4]
add esp, 4
cmp eax, 0xffffffff
jne 0x100290a8
mov dword [ebp - 4], 0
call fcn.10030130
push 0x100da480
call fcn.10095166
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x1010f0c4
call fcn.100952bb
mov eax, dword [0x1010f0c4]
add esp, 4
mov ecx, dword [ebp - 0x114]
cmp dword [0x1010f3d8], 1
jne 0x100290e8
mov eax, dword [esi + 0x74]
test eax, eax
je 0x10029167
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x124], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x120], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x118], ecx
jmp 0x10029167
cmp eax, dword [ecx + 4]
jle 0x10029133
push 0x1010f0c4
call fcn.10095305
add esp, 4
cmp dword [0x1010f0c4], 0xffffffff
jne 0x10029133
mov dword [ebp - 4], 1
call fcn.10030130
push 0x100da480
call fcn.10095166
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x1010f0c4
call fcn.100952bb
add esp, 4
cmp dword [0x1010f3d8], 3
jne 0x10029167
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x10029167
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x124], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x120], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], eax
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
movzx eax, word [esi + 0x9e]
mov dword [ebp - 0x12c], eax
test ax, ax
je 0x100297db
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0x35
je 0x100297db
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
push 0x28
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
call fcn.10094e31
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 3
call fcn.10025390
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 0x108]
mov ecx, eax
call fcn.10025a20
mov esi, dword [ebp - 0x110]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x10029304
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x48]
call fcn.10003430
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.10007d80
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, edi
sub eax, edx
cmp eax, 1
jb 0x1002926b
cmp edi, 0x10
lea eax, [edx + 1]
mov dword [ebp - 0x1c], eax
cmovae ecx, dword [ebp - 0x2c]
mov al, byte [0x100ed684]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x1002927f
push 1
push 0x100ed684
push dword [ebp - 0x130]
push 1
call fcn.10008d20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x100292b7
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100292ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029803
push ecx
push edx
call fcn.1009517b
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100292e4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100292e0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x100292e0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100292d0
mov esi, eax
jmp 0x100292fa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100292fa
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100292f0
cmp byte [esi + 0xd], 0
je 0x10029221
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100293d7
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
setae byte [ebp - 0xf1]
cmovae edx, edi
test esi, esi
je 0x10029385
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2c
jne 0x1002934a
nop dword [eax]
cmp ecx, edx
je 0x10029385
dec ecx
cmp byte [ecx], 0x2c
je 0x10029340
sub ecx, edx
cmp ecx, 0xffffffff
je 0x10029385
inc ecx
mov dword [ebp - 0x38], 0
cmp esi, ecx
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
cmovb ecx, esi
cmp byte [ebp - 0xf1], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x48]
push eax
movups xmmword [ebp - 0x48], xmm0
call fcn.1000ad50
jmp 0x10029391
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10003430
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100293c5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100293bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029803
push ecx
push edx
call fcn.1009517b
add esp, 8
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [ebp - 0x1c], xmm0
push 0x800
call fcn.100953db
add esp, 4
mov edi, eax
mov dword [ebp - 0xf8], edi
push 0x800
push 0
push edi
call fcn.10097780
add esp, 0xc
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 5
call fcn.100934ae
push 0
push 0x2710
push edx
push eax
call fcn.100c4c00
mov esi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x60]
add esi, 0x24
mov dword [ebp - 0x130], eax
push esi
mov dword [ebp - 0x13c], edx
call fcn.10003430
mov eax, dword [ebp - 0xfc]
mov byte [ebp - 4], 6
cmp dword [eax + 0x4c], 0
je 0x10029580
cmp dword [eax + 0x50], 0x10
lea edi, [eax + 0x3c]
mov ecx, edi
jb 0x10029458
mov ecx, dword [edi]
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x100], esi
jb 0x10029475
mov edx, dword [esi]
mov dword [ebp - 0x100], edx
push dword [edi + 0x10]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x100]
call fcn.100170f0
add esp, 8
test al, al
jne 0x1002957a
mov ecx, dword [ebp - 0x128]
mov eax, bind
sub eax, ecx
cmp eax, 1
jb 0x100297f9
cmp dword [esi + 0x14], 0x10
jb 0x100294af
mov esi, dword [esi]
push 1
push 0x100ed6d8
push ecx
push esi
push ecx
push dword [ebp - 0x140]
lea ecx, [ebp - 0x78]
call fcn.10007390
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.10007d80
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x4c]
movq qword [ebp - 0x138], xmm1
movups xmmword [ebp - 0x40], xmm0
cmp ecx, 0x10
jb 0x10029539
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029523
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297fe
push ecx
push edx
call fcn.1009517b
movups xmm0, xmmword [ebp - 0x40]
add esp, 8
movq xmm1, qword [ebp - 0x138]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x64]
movq qword [ebp - 0x50], xmm1
movups xmmword [ebp - 0x60], xmm0
cmp ecx, 0x10
jb 0x1002957a
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029570
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297fe
push ecx
push edx
call fcn.1009517b
add esp, 8
mov edi, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xfc]
push dword [ebp - 0x12c]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xfc], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x128], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x108]
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x2c]
movzx eax, ax
cmovae esi, dword [ebp - 0x60]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x12c], eax
movzx eax, byte [ebp - 0x101]
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0xf8], eax
movzx eax, byte [ebp - 0x102]
mov dword [ebp - 0x104], eax
movzx eax, ch
mov dword [ebp - 0x108], eax
movzx eax, cl
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x134], eax
mov eax, dword [0x1010f0c4]
mov dword [ebp - 0x100], edx
cmp eax, dword [ecx + 4]
jle 0x10029651
push 0x1010f0c4
call fcn.10095305
add esp, 4
cmp dword [0x1010f0c4], 0xffffffff
jne 0x1002964b
mov byte [ebp - 4], 8
call fcn.10030130
push 0x100da480
call fcn.10095166
add esp, 4
mov byte [ebp - 4], 6
push 0x1010f0c4
call fcn.100952bb
add esp, 4
mov edx, dword [ebp - 0x100]
movaps xmm0, xmmword [0x100f0090]
xor ecx, ecx
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xc0], 0xe574f0e
movaps xmm0, xmmword [0x100efc70]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xbc], 0x85e4747
movaps xmm0, xmmword [0x100f0070]
movups xmmword [ebp - 0xd0], xmm0
mov byte [ebp - 0xb8], 0
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0xef]
xor al, byte [ebp - 0xf0]
mov byte [ebp + ecx - 0xb7], al
inc ecx
cmp ecx, 0x37
jb 0x100296a0
push dword [ebp - 0x128]
lea eax, [ebp - 0xb7]
mov byte [ebp - 0x80], 0
push dword [ebp - 0xfc]
push dword [ebp - 0x12c]
push esi
push edx
push dword [ebp - 0xf8]
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push dword [ebp - 0x134]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push dword [ebp - 0x13c]
push dword [ebp - 0x130]
push 0x1010f144
push eax
push 0x800
push edi
call fcn.10024b20
add esp, 0x4c
call fcn.10060be0
push edi
mov ecx, eax
call fcn.10060d60
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x10029769
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002975f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029803
push ecx
push edx
call fcn.1009517b
add esp, 8
push edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.100951ac
mov eax, dword [ebp - 0x110]
add esp, 4
push dword [eax + 4]
lea eax, [ebp - 0x110]
push eax
mov ecx, eax
call fcn.10024800
push 0x28
push dword [ebp - 0x110]
call fcn.1009517b
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, 0x10
jb 0x100297db
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100297d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029803
push ecx
push edx
call fcn.1009517b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100030c0
call fcn.100a129f
call fcn.100a129f
int3