Function at 0x10028350
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 0x100cca0b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xf8], edi
mov esi, dword [edi + 8]
mov dword [ebp - 0x11c], esi
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x118], esi
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x114], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x110], esi
call fcn.1002dc60
cmp dword [eax + 0x3e4], 1
jne 0x100283f8
mov eax, dword [edi + 0x70]
test eax, eax
je 0x10028431
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x118], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x114], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x110], ecx
jmp 0x10028431
call fcn.1002dc60
cmp dword [eax + 0x3e4], 3
jne 0x10028431
mov eax, dword [edi + 0x68]
test eax, eax
je 0x10028431
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x118], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
movzx eax, word [edi + 0x9a]
mov dword [ebp - 0x124], eax
test ax, ax
je 0x10028a3d
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0x35
je 0x10028a3d
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], 0
push 0x28
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
call fcn.10091630
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 - 0x10c], eax
mov byte [ebp - 4], 1
call fcn.10024850
lea ecx, [ebp - 0x10c]
push ecx
push dword [ebp - 0x104]
mov ecx, eax
call fcn.10024ee0
mov esi, dword [ebp - 0x10c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x100285d0
nop dword [eax + eax]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x48]
call fcn.10003430
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
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 0x1002853a
cmp edi, 0x10
lea eax, [edx + 1]
mov dword [ebp - 0x1c], eax
cmovae ecx, dword [ebp - 0x2c]
mov al, byte [0x100e86d0]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x1002854e
push 1
push 0x100e86d0
push dword [ebp - 0x128]
push 1
call fcn.10008d20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10028586
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002857c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028a65
push ecx
push edx
call fcn.1009197a
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100285ac
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100285a8
cmp esi, dword [eax + 8]
jne 0x100285a8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10028598
mov esi, eax
jmp 0x100285c0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100285c0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100285b6
cmp byte [esi + 0xd], 0
je 0x100284f0
mov edi, dword [ebp - 0xf8]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1002869b
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
setae byte [ebp - 0xf1]
test esi, esi
je 0x10028649
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2c
jne 0x1002860d
cmp ecx, edx
je 0x10028649
dec ecx
cmp byte [ecx], 0x2c
je 0x10028603
sub ecx, edx
cmp ecx, 0xffffffff
je 0x10028649
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, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push eax
movups xmmword [ebp - 0x48], xmm0
call fcn.1000ad50
jmp 0x10028655
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10003430
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10028689
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002867f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028a65
push ecx
push edx
call fcn.1009197a
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.10091bda
add esp, 4
mov esi, eax
mov dword [ebp - 0x128], esi
push 0x800
push 0
push esi
call fcn.10093d00
add esp, 0xc
mov dword [ebp - 0x13c], esi
mov byte [ebp - 4], 3
call fcn.1008fc5e
push 0
push 0x2710
push edx
push eax
call fcn.100c0c10
lea esi, [edi + 0x20]
mov dword [ebp - 0x138], eax
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x134], edx
call fcn.10003430
mov byte [ebp - 4], 4
cmp dword [edi + 0x48], 0
je 0x10028838
add edi, 0x38
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x10028710
mov ecx, dword [edi]
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0xfc], esi
jb 0x1002872d
mov edx, dword [esi]
mov dword [ebp - 0xfc], edx
push dword [edi + 0x10]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.10017040
add esp, 8
test al, al
jne 0x10028832
mov ecx, dword [ebp - 0x120]
mov eax, bind
sub eax, ecx
cmp eax, 1
jb 0x10028a5b
cmp dword [esi + 0x14], 0x10
jb 0x10028767
mov esi, dword [esi]
push 1
push 0x100e8724
push ecx
push esi
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x78]
call fcn.10007390
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
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 - 0x130], xmm1
movups xmmword [ebp - 0x40], xmm0
cmp ecx, 0x10
jb 0x100287f1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100287db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028a60
push ecx
push edx
call fcn.1009197a
movups xmm0, xmmword [ebp - 0x40]
add esp, 8
movq xmm1, qword [ebp - 0x130]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
movq qword [ebp - 0x50], xmm1
movups xmmword [ebp - 0x60], xmm0
cmp ecx, 0x10
jb 0x10028832
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10028828
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028a60
push ecx
push edx
call fcn.1009197a
add esp, 8
mov edi, dword [ebp - 0xf8]
mov eax, dword [edi + 0x18]
push dword [ebp - 0x124]
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x120], eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [ebp - 0x4c], 0x10
lea esi, [ebp - 0x60]
mov ecx, dword [ebp - 0x104]
lea edi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x60]
cmp dword [ebp - 0x18], 0x10
movzx eax, ax
cmovae edi, dword [ebp - 0x2c]
mov dword [ebp - 0x124], eax
movzx eax, byte [ebp - 0xfd]
mov dword [ebp - 0xf8], eax
movzx eax, byte [ebp - 0xfe]
mov dword [ebp - 0x100], eax
movzx eax, ch
mov dword [ebp - 0x104], eax
movzx eax, cl
mov dword [ebp - 0x12c], eax
call fcn.1002dc60
movaps xmm0, xmmword [0x100eb050]
xor ecx, ecx
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xc0], 0x3e677f3e
movaps xmm0, xmmword [0x100eae60]
lea edx, [eax + 0x7c]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xbc], 0x386e7777
movaps xmm0, xmmword [0x100eb030]
movups xmmword [ebp - 0xd0], xmm0
mov byte [ebp - 0xb8], 0
nop word [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 0x10028900
push dword [ebp - 0x120]
lea eax, [ebp - 0xb7]
mov byte [ebp - 0x80], 0
push dword [ebp - 0xfc]
push dword [ebp - 0x124]
push esi
push edi
push dword [ebp - 0xf8]
mov esi, dword [ebp - 0x128]
push dword [ebp - 0x100]
push dword [ebp - 0x104]
push dword [ebp - 0x12c]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push edx
push eax
push 0x800
push esi
call fcn.10023fe0
add esp, 0x4c
call fcn.1005be10
push esi
mov ecx, eax
call fcn.1005bf90
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x100289cb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100289c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028a65
push ecx
push edx
call fcn.1009197a
add esp, 8
push esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.100919ab
mov eax, dword [ebp - 0x10c]
add esp, 4
push dword [eax + 4]
lea eax, [ebp - 0x10c]
push eax
mov ecx, eax
call fcn.10023cc0
push 0x28
push dword [ebp - 0x10c]
call fcn.1009197a
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, 0x10
jb 0x10028a3d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10028a33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028a65
push ecx
push edx
call fcn.1009197a
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.10091622
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100030c0
call fcn.1009d81f
call fcn.1009d81f
int3