Function at 0x100230e0
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 0x100ca4f3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x520
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x478], ecx
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
cmp esi, 0x40c
jbe 0x10023237
push ecx
lea ecx, [ebp - 0x530]
call fcn.100043e0
mov edx, str._TID:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x520]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [str._zPM]
mov esi, eax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x1e51514a
mov dword [ebp - 0x4c], 0x59505152
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 2
xor ecx, ecx
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x60]
mov byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x17
jb 0x100231a1
lea edx, [ebp - 0x47]
mov byte [ebp - 0x30], 0
mov ecx, esi
call fcn.10006590
mov byte [ebp - 4], 1
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0x530]
lea eax, [ebp - 0x2c]
push eax
call fcn.100042f0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x100231e6
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003d10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10023227
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002321d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002343e
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0x530]
call fcn.10004220
jmp 0x100233ee
push 0x40c
lea eax, [ebp - 0x470]
push 0
push eax
call fcn.10091da0
add esp, 0xc
lea eax, [ebp - 0x470]
push esi
push edi
push eax
call fcn.100917c0
mov al, byte [ebp - 0x46e]
add esp, 0xc
test al, 1
je 0x100233ee
test al, 0x1e
jne 0x100233ee
push dword [ebp - 0x46c]
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
call esi
cmp ax, 1
jne 0x100233ee
movzx ecx, byte [ebp - 0x464]
lea eax, [ebp - 0x464]
test ecx, ecx
je 0x100232ba
nop dword [eax]
inc ecx
add eax, ecx
lea ecx, [ebp - 0x64]
cmp eax, ecx
jae 0x100233ee
movzx ecx, byte [eax]
test ecx, ecx
je 0x100232ba
mov byte [eax], 0x2e
jmp 0x100232a0
lea edi, [ebp - 0x463]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100232c3
sub edi, ecx
movzx eax, word [ebp + edi - 0x462]
push eax
call esi
movzx eax, word [ebp + edi - 0x460]
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x463]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023300
sub ecx, edx
lea eax, [ebp - 0x463]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000ab60
lea ecx, [ebp - 0x45e]
mov byte [ebp - 4], 4
push dword [ebp - 0x46a]
add edi, ecx
xor ecx, ecx
mov dword [ebp - 0x474], ecx
call esi
xor ecx, ecx
cmp cx, ax
jae 0x100233be
movzx eax, word [edi + 2]
push eax
call esi
mov ecx, 1
cmp cx, ax
jne 0x10023396
movzx eax, word [edi + 4]
push eax
call esi
mov ecx, 1
cmp cx, ax
jne 0x10023396
movzx eax, word [edi + 0xa]
push eax
call esi
mov ecx, 4
cmp cx, ax
jne 0x10023396
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100032a0
mov ecx, dword [ebp - 0x478]
push esi
call fcn.10023740
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, word [edi + 0xa]
push eax
call esi
push dword [ebp - 0x46a]
inc dword [ebp - 0x474]
add edi, 0xc
movzx eax, ax
add edi, eax
call esi
movzx eax, ax
cmp dword [ebp - 0x474], eax
jb 0x10023340
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100233ee
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100233e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023443
push ecx
push edx
call fcn.1008f79d
add esp, 8
mov ecx, dword [ebx + 0x24]
cmp ecx, 0x10
jb 0x1002341e
mov edx, dword [ebx + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023414
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023443
push ecx
push edx
call fcn.1008f79d
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.1008f445
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
call fcn.1009b8bf
call fcn.1009b8bf
int3