Function at 0x100369f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1ee0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10105e2d], 0
jne 0x10036c1d
call fcn.10030090
mov esi, dword [0x1010edf4]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.WS2_32.dll_shutdown]
test esi, esi
je 0x10036a5e
push 2
push dword [esi + 0xc]
call ebx
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CancelIoEx]
test eax, eax
jne 0x10036a5e
call edi
mov esi, dword [0x1010edfc]
test esi, esi
je 0x10036a80
push 2
push dword [esi + 0xc]
call ebx
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CancelIoEx]
test eax, eax
jne 0x10036a80
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [0x1010edf8]
test edi, edi
je 0x10036a96
cmp dword [edi + 4], 1
jg 0x10036aa6
mov esi, dword [0x1010ee00]
test esi, esi
je 0x10036aac
cmp dword [esi + 4], 1
jle 0x10036aac
push 0xa
call ebx
jmp 0x10036a86
or ebx, 0xffffffff
mov dword [0x1010edf4], 0
mov dword [0x1010edf8], 0
test edi, edi
je 0x10036aec
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10036ae6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x10036ae6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [0x1010ee00]
mov dword [0x1010edfc], 0
mov dword [0x1010ee00], 0
test esi, esi
je 0x10036b22
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10036b22
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10036b22
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10029810
push ecx
lea ecx, [ebp - 0xe8]
mov byte [0x10105e2d], 1
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efdc0]
mov esi, eax
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x7930
mov byte [ebp - 0x26], 0
mov byte [ebp - 4], 1
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x37]
xor al, byte [ebp - 0x38]
mov byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 0x11
jb 0x10036b90
lea edx, [ebp - 0x25]
mov byte [ebp - 0x14], 0
mov ecx, esi
call fcn.10006770
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10036bd5
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10036c12
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036c08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c3b
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10004400
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
ret
call fcn.100a129f
int3