Function at 0x102679c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x1c8], eax
test ebx, ebx
je 0x10267c5e
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
call fcn.102b8670
lea ecx, [esp + 0x1a0]
test eax, eax
je 0x10267a2c
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
jmp 0x10267a37
push 0x20
push ecx
call fcn.102b86a0
add esp, 8
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax]
xor byte [esp + eax + 0x1a0], cl
inc eax
cmp eax, 0x20
jne 0x10267a40
lea eax, [esp + 0x78]
push 0x128
push 0xff
push eax
call fcn.102f7d80
add esp, 0xc
push 1
call fcn.102b7f90
add esp, 4
test eax, eax
je 0x10267a96
mov esi, eax
add eax, 0x120
mov dword [esp + 4], eax
cmp dword [esi + 0x120], 0xfff
jbe 0x10267b4b
jmp 0x10267b59
push 0x128
call fcn.10270d90
add esp, 4
test eax, eax
je 0x10267abd
mov esi, eax
push 0x10268640
push eax
push 1
call fcn.102b8030
add esp, 0xc
test eax, eax
jne 0x10267ac1
lea esi, [esp + 0x78]
mov dword [esi + 0x124], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.102b86a0
add esp, 8
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x48]
push eax
push esi
call fcn.10267e70
add esp, 0x10
test eax, eax
je 0x10267c74
lea eax, [esi + 0x120]
mov dword [esp + 4], eax
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x118]
or eax, dword [esi + 0x11c]
je 0x10267bc8
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.102b86a0
add esp, 8
mov ecx, esi
lea edx, [esp + 0x40]
push 0x30
call fcn.10268120
add esp, 4
test eax, eax
je 0x10267c74
mov dword [esi + 0x110], 1
mov dword [esi + 0x114], 0
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
cmp ebx, 0x10000
mov ecx, 0x10000
cmovb ecx, ebx
push 0x20
lea eax, [esp + 0x1a4]
push eax
mov dword [esp + 0x14], ecx
push ecx
push edi
mov dword [esp + 0x18], esi
push esi
call fcn.10268410
add esp, 0x14
test eax, eax
je 0x10267c74
mov eax, dword [esp + 4]
inc dword [eax]
mov eax, dword [esp + 0xc]
sub ebx, eax
je 0x10267c46
add edi, eax
nop word [eax + eax]
cmp ebx, 0x10000
mov esi, 0x10000
cmovb esi, ebx
push 0
lea eax, [esp + 0x1a4]
push eax
push esi
push edi
push dword [esp + 0x18]
call fcn.10268410
add esp, 0x14
test eax, eax
je 0x10267c74
add edi, esi
mov eax, dword [esp + 4]
inc dword [eax]
sub ebx, esi
jne 0x10267c10
lea eax, [esp + 0x78]
cmp dword [esp + 8], eax
jne 0x10267c5e
push 0x118
push eax
call fcn.10270e20
add esp, 8
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.102f4c53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10308bbb
int3