Function at 0x100274c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10064a6a
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp byte [ebp + 0x24], 0
push ebx
push esi
push edi
je 0x10027945
cmp byte [ebp + 0x30], 0
je 0x10027500
push dword [edx]
call fcn.10018bc7
jmp 0x10027a93
mov eax, dword [0x10645b2c]
or edi, 0xffffffff
test al, 1
jne 0x10027525
push ecx
or eax, 1
mov dword [0x10646ec4], edi
push 0x1571
mov dword [0x10645b2c], eax
call fcn.10029bc5
push dword [esp + 0x2c]
movdqa xmm0, xmmword [0x10072eb0]
lea eax, [esp + 0x8c]
push eax
xor ebx, ebx
lea eax, [esp + 0x80]
push eax
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebx
movdqu xmmword [esp + 0x88], xmm0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.100043b1
push 3
pop esi
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0xc0], ebx
call fcn.10001cd1
push ebx
push ecx
push ecx
push 0x295b
mov byte [esp + 0xcc], 1
lea eax, [esp + 0x6c]
push 0x1ef5
mov dword [esp + 0x4c], 0x4b0ad8ea
lea edx, [esp + 0x50]
push eax
mov ecx, 0x4e3d
mov dword [esp + 0x4c], 0xfffffff9
call fcn.1002978f
mov eax, dword [esp + 0x74]
add esp, 0x18
mov dword [eax], ebx
push dword [esp + 0x3c]
movdqa xmm0, xmmword [0x10072ea0]
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x90]
mov dword [esp + 0x58], ebx
push eax
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], ebx
movdqu xmmword [esp + 0x98], xmm0
mov dword [esp + 0x68], ebx
call fcn.100043b1
push ecx
push ebx
lea eax, [esp + 0x40]
mov byte [esp + 0xc4], 2
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.10026a3d
add esp, 0x18
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x50]
call fcn.10001d54
mov eax, dword [esp + 0x5c]
inc dword [eax]
cmp dword [eax], esi
jle 0x100275b7
lea ecx, [esp + 0x5c]
call fcn.10001d54
lea ecx, [esp + 0x44]
mov dword [esp + 0xbc], edi
call fcn.10001d54
cmp byte [0x10645a41], 0
jne 0x10027773
push esi
lea ecx, [esp + 0x6c]
call fcn.10001cd1
push ebx
push 1
push 0x6ed7
push 0x7c75
push ebx
lea eax, [esp + 0x7c]
mov dword [esp + 0xd0], esi
push eax
push 0x667f
push 0x4617
lea eax, [esp + 0x94]
mov dword [esp + 0x30], 0xf57a7c20
push eax
push 0x781
push 0x1e6e
push 0xfa1
mov edx, 0x4346
mov ecx, 0x6045
call fcn.100274c0
push 0x321a
push 1
lea eax, [esp + 0x56]
mov byte [esp + 0x56], bl
push 0x5c13
push eax
xor dl, dl
xor cl, cl
call fcn.100299dd
add esp, 0x40
mov dword [esp + 0x10], ebx
jmp 0x100276f2
push ecx
push ecx
call fcn.10029636
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
cmp dword [eax + ecx*4], ebx
jne 0x100276f9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jle 0x100276d8
lea ecx, [esp + 0x68]
mov dword [esp + 0xbc], edi
call fcn.10001d54
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10029bc5
mov dword [esp + 0x10], ebx
mov dword [esp + 0x10], edi
jmp 0x10027742
push 0x8f5
mov dword [esp + 0x44], 9
lea edx, [esp + 0x44]
push ebx
mov ecx, 0x18c5
call fcn.10027be4
inc dword [esp + 0x18]
pop ecx
pop ecx
cmp dword [esp + 0x10], 0x1c
jl 0x10027720
push ebx
push 0x5d98
push 0xc1a
push 0x6c8f
push ebx
push 0x6c8b
push 1
mov edx, 0x36e8
mov ecx, 0x10645a41
call fcn.10027c0b
add esp, 0x1c
mov dword [esp + 0x24], 0xa2cb51db
mov dword [esp + 0x2c], 0xa13b2885
mov dword [esp + 0x10], ebx
jmp 0x10027799
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x28], 0x47df
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x10027789
dec dword [esp + 0x28]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], ebx
jl 0x100278a5
mov dword [esp + 0x10], 0x43c4ab27
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jl 0x1002781c
push 0x6da9
push 0x512a
push 0x34c7
push 0x7a27
push 0x287f
push 0x4a1f
push 1
push 0x4388
push 0x66ca
lea eax, [esp + 0x43]
mov byte [esp + 0x43], bl
push eax
push 0x12cf
push 0x11b7
push 0x7e92
push ebx
mov dl, 1
mov ecx, 0x1e40
call fcn.10026854
add esp, 0x38
dec dword [esp + 0x10]
jns 0x100277c4
mov dword [esp + 0x10], ebx
jmp 0x10027895
push ebx
push 0xe59
push 0x6392
push 1
push 0x6d30
mov dword [esp + 0x2c], 0x7d2703d9
mov edx, 0x852
push ebx
mov ecx, 0x3382
call fcn.1002951f
mov dword [esp + 0x30], ebx
add esp, 0x18
cmp dword [esp + 0x18], ebx
jl 0x10027891
mov dword [esp + 0x14], 0x7e2f9d44
mov eax, dword [esp + 0x18]
cmp dword [esp + eax*4 + 0x28], ebx
je 0x10027876
cmp dword [esp + 0x10], ebx
je 0x10027876
xor eax, eax
inc eax
jmp 0x10027878
mov eax, ebx
sub esp, 0xc
mov dword [esp + 0x20], eax
lea edx, [esp + 0x38]
call fcn.100298e0
add esp, 0xc
dec dword [esp + 0x18]
jns 0x10027859
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x10027822
dec dword [esp + 0x24]
jns 0x100277b2
mov eax, dword [0x10645b40]
cmp eax, 0x270
jne 0x100278f1
mov edx, 0x10645b48
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, dword [edx - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
add edx, 4
cmp edx, 0x10646508
jl 0x100278b6
jmp 0x100278fd
cmp eax, 0x4e0
jb 0x10027902
call fcn.10029c00
mov eax, dword [0x10645b40]
mov edx, dword [eax*4 + 0x10645b44]
inc eax
mov dword [0x10645b40], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10646ec4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, dword [ebp + 0x10]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
jmp 0x10027a93
cmp byte [ebp + 0x34], 0
je 0x10027a6f
mov dword [esp + 0x14], 0x2f9c
cmp dword [esp + 0x14], 0x30a9
push 0
pop ebx
jle 0x100279f5
mov dword [esp + 0x18], ebx
mov esi, ebx
mov dword [esp + 0x20], ebx
mov edi, ebx
mov eax, esi
mov dword [esp + 0x30], 0x7081
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
or eax, esi
lea ecx, [esp + 0x98]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100279a1
mov eax, dword [eax]
push eax
call fcn.1004b9e4
pop ecx
push ebx
push 1
lea ecx, [esp + 0xa0]
call fcn.10002062
mov eax, dword [esp + 0x10]
add eax, edi
dec dword [esp + 0x30]
mov dword [esp + 0x10], eax
jne 0x10027986
mov esi, dword [esp + 0x20]
dec edi
cmp edi, 0xffffcf16
jg 0x10027974
inc esi
mov dword [esp + 0x20], esi
cmp esi, 0x5728
jl 0x10027972
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x6291
jl 0x1002796c
cmp dword [esp + 0x14], 0x2f10
jge 0x10027a0a
push str.wtaajy_hnm_myylaic_ebtdldsqc_mhdjdoild_lbnvuhs_rjsd_tjbmoh_grjvjp_bcswfpkf_ggs
call fcn.1004b9e4
pop ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], ebx
cmp dword [ecx], 1
jl 0x10027a93
mov esi, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], 0xd5b6062c
mov dword [esp + 0x14], 0x7c0ce695
mov dword [esp + 0x14], 0x6de21e52
mov eax, dword [edx]
mov eax, dword [edx]
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [esp + 0x20]
mov eax, dword [edx]
mov eax, dword [esi]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [edx]
mov eax, dword [esp + 0x20]
imul eax, dword [edx]
mov dword [esi], eax
inc dword [ecx]
cmp dword [ecx], 1
jge 0x10027a1d
jmp 0x10027a93
mov edx, dword [ebp + 0x14]
push 3
pop esi
mov dword [edx], 0
cmp dword [edx], esi
jge 0x10027a93
mov edi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x77862fd4
inc dword [edx]
cmp dword [edx], esi
jl 0x10027a82
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret