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

Disassembly:
mov eax, 0x1005e9d0
call fcn.1005d884
sub esp, 0x8c
push ebx
push esi
mov dword [ebp - 0x24], 0x16d4
xor ebx, ebx
cmp dword [ebp - 0x24], 0x1a2d
push edi
mov dword [ebp - 0x10], esp
jle 0x10026041
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp - 0x44], 0x1bbc
mov dword [ebp - 0x1c], ecx
mov eax, edi
or eax, esi
or eax, ecx
mov ecx, 0x10079a18
cdq
push edx
push eax
call fcn.1000f556
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add ecx, eax
dec dword [ebp - 0x44]
mov dword [ebp - 0x1c], ecx
jne 0x10025ff9
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x7bc8
jl 0x10025fed
inc edi
cmp edi, 0x615a
jl 0x10025fea
inc esi
cmp esi, 0x2d39
jl 0x10025fe8
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
cmp byte [ebp + 0x10], 0
je 0x100264b8
mov eax, dword [0x100dcce8]
test al, 1
jne 0x1002606e
or dword [0x100de074], 0xffffffff
or eax, 1
push ecx
push 0x1571
mov dword [0x100dcce8], eax
call fcn.100285ed
push 3
lea ecx, [ebp - 0x74]
call fcn.1000f845
lea eax, [ebp - 0x74]
mov dword [ebp - 4], ebx
push eax
push 0x546e
push ecx
mov dword [ebp - 0x54], 0x9dada439
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x64], ebx
mov edx, 0x2b65
call fcn.10025f9b
add esp, 0xc
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x64]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.10025ee2
pop ecx
call fcn.100271c7
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x74]
call fcn.1000f91b
push 4
pop edi
mov dword [ebp - 0x58], edi
lea ecx, [ebp - 0x8c]
push 1
call fcn.1000f845
xor eax, eax
lea ecx, [ebp - 0x8c]
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x48], 0x668451f1
push 0x7dfa
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x18], 0xd7c3
push eax
call fcn.10026509
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x30], ebx
inc ecx
jmp 0x10026121
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x94], ecx
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], ecx
jl 0x10026114
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
push ecx
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x58]
call fcn.10027327
add esp, 0xc
lea ecx, [ebp - 0x8c]
inc dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.1000f91b
cmp byte [0x100dcb60], 0
jne 0x100263a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push eax
call fcn.100285ed
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000f845
mov dword [ebp - 4], 2
mov dword [ebp - 0x40], 0xdd5d0881
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0x24], 0x93b76f05
mov dword [ebp - 0x28], ebx
jmp 0x100261a5
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x14], 0x841b
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 1
jl 0x10026197
push 1
push 0x378f
push ecx
lea eax, [ebp - 0x28]
push eax
push 0x5bad
push 0x38dc
lea edx, [ebp - 0x3c]
call fcn.10025e9d
mov esi, dword [ebp - 0x3c]
add esp, 0x18
mov dword [esi], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x80]
push 2
call fcn.1000f845
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
xor dl, dl
lea ecx, [ebp - 0x98]
call fcn.10026fae
mov eax, dword [esi]
pop ecx
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x14]
test eax, eax
setne cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x14], ebx
jne 0x10026251
mov dword [ebp - 0x40], 0xcf7d1649
xor ecx, ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
mov eax, dword [ebp + esi*4 - 0x14]
cmp esi, eax
mov eax, dword [ebp + esi*4 - 0x14]
setl cl
xor edx, edx
cmp ecx, 1
setle dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setne bl
xor ecx, ecx
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x14]
cmp ebx, eax
mov eax, dword [ebp - 0x14]
setle cl
add eax, ecx
jne 0x10026251
xor ecx, ecx
jmp 0x10026254
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x3c]
neg ecx
add ecx, ecx
neg ecx
mov eax, dword [eax]
sbb ecx, ecx
inc ecx
xor edx, edx
cmp ecx, eax
setle dl
sub edx, eax
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
sub edx, dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x14]
cmp edx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
setg cl
imul edx, ecx
mov eax, dword [eax]
neg edx
mov eax, dword [ebp + eax*4 - 0x14]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setl cl
xor edx, edx
mov dword [ebp - 0x24], ecx
mov esi, dword [eax]
mov eax, 0xfff6
sub eax, esi
mov ecx, dword [ebp + esi*4 - 0x14]
cmp eax, ecx
mov eax, dword [ebp + esi*4 - 0x14]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setne bl
xor ecx, ecx
mov eax, dword [eax]
cmp ebx, eax
setge cl
add ecx, 0x32e0
imul ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + eax*4 - 0x14]
cmp ecx, dword [ebp - 0x14]
jle 0x1002635e
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
inc dword [ebp - 0x18]
je 0x1002630a
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, 0x275f
mov eax, dword [ebp - 0x3c]
setle cl
cmp ecx, dword [eax]
jle 0x1002630a
xor edx, edx
inc edx
jmp 0x1002630c
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x14]
cmp edx, eax
setl cl
lea eax, [ecx - 0x38e074f0]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xfffe
mov eax, dword [ebp - 0x1c]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x80]
setg cl
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x1d], bl
call fcn.10025f75
jmp 0x10026372
push 0x945
xor dl, dl
mov ecx, 0x5f03
call fcn.10026f47
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.10027930
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.1000f91b
mov esi, dword [ebp - 0x3c]
dec dword [esi]
jns 0x100261d1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000f91b
mov byte [0x100dcb60], 1
lea eax, [ebp - 0x68]
mov dword [ebp - 0x2c], 0x4dd03248
push eax
push 0x44fe
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], 0x249a
push eax
push 0x1147
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x50], edi
push eax
push 0x3e66
push ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x266d210e
push eax
mov dword [ebp - 0x60], 0xfffffff7
lea edx, [ebp - 0x4c]
push 0x16c7
xor cl, cl
call fcn.10025fbe
add esp, 0x24
mov dword [ebp - 0x2c], ebx
jmp 0x10026407
mov ecx, 0x438e
call fcn.1002721c
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x18
jge 0x100263fa
mov eax, dword [0x100dccf0]
cmp eax, 0x270
jne 0x10026458
mov edx, 0x100dccf8
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, ecx
xor eax, dword [edx + 0x630]
mov dword [edx + 0x9bc], eax
add edx, edi
cmp edx, 0x100dd6b8
jl 0x1002641e
jmp 0x10026464
cmp eax, 0x4e0
jb 0x10026469
call fcn.10028628
mov eax, dword [0x100dccf0]
mov edx, dword [eax*4 + 0x100dccf4]
inc eax
mov dword [0x100dccf0], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x100de074]
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 + 0x24]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
xor edx, edx
mov eax, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
mov eax, dword [ebp + 0x20]
setne dl
mov dword [eax], edx
mov dword [ebp - 4], 4
cmp dword [ebp - 0x24], 0x1382
jge 0x100264a7
mov edx, str.bljwmitr_rnibvvixa_lyap_tapjq_golfdkfv_ndijf
mov ecx, 0x10079a18
call fcn.10012762
jmp 0x100264a7