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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
cmp byte [ebp + 0x2c], 0
push esi
je 0x1003bf38
mov eax, dword [ebp + 8]
push 0x1a
pop esi
cmp dword [eax], esi
jge 0x1003bf20
movzx edx, word [edx]
add edx, dword [eax]
jmp 0x1003bf2a
mov eax, dword [eax]
cdq
idiv esi
movzx eax, word [ecx]
add edx, eax
mov ecx, dword [ebp + 0x38]
push edx
call fcn.1001120a
jmp 0x1003c2e4
mov eax, dword [0x10077c0c]
or ecx, 0xffffffff
push edi
mov edi, 0x270
test al, 1
jne 0x1003bf87
or eax, 1
mov dword [0x10077c04], ecx
mov ecx, 0x1571
mov dword [0x10077c0c], eax
xor edx, edx
mov dword [0x10076884], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10076884], ecx
inc edx
cmp edx, edi
jl 0x1003bf66
mov dword [0x10076880], edi
xor edi, edi
mov dword [ebp - 0x18], 0x73eb905d
mov dword [ebp - 4], edi
jmp 0x1003bfa3
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1c], 0x504cd453
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jl 0x1003bf95
mov eax, dword [ebp - 0x1c]
push ecx
push 0x4098
push 0x745d
push edi
mov dword [ebp - 0x18], eax
call fcn.1003c351
push 0x5d30
push 0x5c8a
push edi
push 0x4b92
push 0x2852
push 1
push 0x231a
mov edx, 0x57e0
mov cl, 1
call fcn.1003ccb1
add esp, 0x2c
cmp byte [0x100766d2], 0
jne 0x1003c23a
mov dword [ebp - 4], 0xfffffff9
mov dword [ebp - 0xc], 0x373b2c57
mov dword [ebp - 0x14], 0xa61b
mov dword [ebp - 0x18], 0x3c6daafd
mov dword [ebp - 4], edi
jmp 0x1003c027
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x28], 0x147909b7
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1003c019
mov dword [ebp - 4], 0xfffffff7
jmp 0x1003c19c
mov dword [ebp - 0x10], 0xf9e9
mov dword [ebp - 8], 0x40eb4495
mov dword [ebp - 8], 0x315b
cmp dword [ebp - 8], 0x34a3
jle 0x1003c09c
mov esi, edi
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0x50]
cdq
push edx
push eax
call fcn.10001365
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c074
mov eax, dword [eax]
push eax
call fcn.100439ae
pop ecx
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.10001636
inc edi
cmp edi, 0x2376
jl 0x1003c059
inc esi
push 0
pop edi
cmp esi, 0x44ac
jl 0x1003c059
cmp dword [ebp - 8], 0x307d
jge 0x1003c0b0
push str.xvjgkh_sbataqbex_brvqfbn_pkgwlq_waqq_nxkckboc_nounlmdr_hdkgvmfmj_klsi_peijpi_rlnlrelnu_otscrxipr_tierai
call fcn.100439ae
pop ecx
mov dword [ebp - 0x18], 0xbb9a67b
mov dword [ebp - 8], edi
jmp 0x1003c0ca
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x38], 0xd6c34f1d
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x1003c0bc
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
neg edx
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x10]
sbb edx, edx
neg edx
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 4]
setl cl
xor edx, edx
imul ecx, ecx, 7
cmp ecx, eax
setg dl
or eax, 0xffffffff
cmp eax, edx
mov eax, dword [ebp - 4]
sbb edx, edx
xor ecx, ecx
neg edx
cmp esi, eax
setg cl
xor eax, eax
cmp ecx, edx
setne al
cmp eax, 0xa4ba31e
je 0x1003c120
cmp dword [ebp - 0x14], edi
jne 0x1003c120
mov eax, edi
jmp 0x1003c123
xor eax, eax
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], edi
je 0x1003c173
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 8]
cmp eax, ecx
setge dl
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp edx, eax
setge cl
xor edx, edx
imul eax, ecx, 0xff1e
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp eax, ecx
setne dl
or eax, 0xffffffff
cmp edx, eax
jae 0x1003c173
xor eax, eax
inc eax
jmp 0x1003c175
mov eax, edi
mov ecx, 0xffff
cmp ecx, eax
push 0
sbb eax, eax
neg eax
pop edx
sete dl
mov dword [ebp - 0x20], eax
add edx, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp edx, eax
setl cl
mov dword [ebp - 0x18], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jle 0x1003c039
push edi
push 0x10076880
call fcn.1003b8b0
pop ecx
pop ecx
push edi
push ecx
push 0x255c
push ecx
mov edx, 0x100766d2
mov ecx, 0x5a60
call fcn.1003b95b
mov dword [ebp - 0x14], 0x4cee
add esp, 0x10
cmp dword [ebp - 0x14], 0x5008
jle 0x1003c226
mov esi, edi
mov dword [ebp - 0x18], edi
mov edi, esi
mov esi, 0x86d
mov eax, edi
lea ecx, [ebp - 0x68]
cdq
push edx
push eax
call fcn.10001365
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c200
mov eax, dword [eax]
push eax
call fcn.100439ae
pop ecx
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.10001636
dec edi
dec esi
jne 0x1003c1e9
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x63e7
jl 0x1003c1e2
cmp dword [ebp - 0x14], 0x4911
jge 0x1003c23a
push str.zgt_ntsewqwqv_kcybob_xcpewezu_pisnumcyz_zrqt_lewioxnlj
call fcn.100439ae
pop ecx
push 1
push 0x3f51
call fcn.1003b8b0
mov eax, dword [0x10076880]
pop ecx
pop ecx
pop edi
cmp eax, 0x270
jne 0x1003c295
mov edx, 0x10076888
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, 0x10077248
jl 0x1003c25a
jmp 0x1003c2a1
cmp eax, 0x4e0
jb 0x1003c2a6
call fcn.1003d671
mov eax, dword [0x10076880]
mov edx, dword [eax*4 + 0x10076884]
inc eax
mov dword [0x10076880], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10077c04]
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 + 0x28]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret