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

Disassembly:
mov eax, 0x10065bb7
call fcn.100641d4
sub esp, 0x108
mov byte [ebp - 0x54], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x100355c4
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 3
cmp dword [ecx], 0
jl 0x10035ef1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [eax], 0x462751c7
dec dword [ecx]
cmp dword [ecx], 0
jge 0x100355b0
jmp 0x10035ef1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [0x10084100]
test al, 1
jne 0x1003561c
or dword [0x100854a4], 0xffffffff
or eax, 1
mov ecx, 0x1571
mov dword [0x10084100], eax
xor edx, edx
mov dword [0x10084124], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10084124], ecx
inc edx
cmp edx, 0x270
jl 0x100355f3
mov dword [0x10084120], 0x270
mov dword [ebp - 0x14], 0x517e
xor ebx, ebx
cmp dword [ebp - 0x14], 0x5402
jle 0x1003567b
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov ecx, edi
mov dword [ebp - 0x2c], esi
sar esi, cl
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x10080d38
cdq
push edx
push eax
call fcn.1000b7ed
inc edi
cmp edi, 0x3984
jl 0x10035641
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x6464
jl 0x10035638
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x750c
jl 0x10035633
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x4e40
jge 0x100356b4
mov edx, str.rejov_lbtxun_pkazxa_owxatvnf_dvoznqkjl_apj_xgnibr_wmrlow_kit_qxzr_xvxhp
mov ecx, 0x10080d38
call fcn.1000da64
jmp 0x100356b4
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
mov dword [ebp - 0x28], 0x6f1b
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x48], 0xfffffffa
mov dword [ebp - 0x64], 0xfffffff7
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x28], 4
mov eax, dword [ebp - 0x28]
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
mov eax, dword [ebp - 0x28]
setl cl
imul ecx, ecx, 0xc383
neg eax
sbb eax, eax
inc eax
cmp eax, ecx
jne 0x100357af
push 2
lea ecx, [ebp - 0xb4]
call fcn.1000ba05
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 2
push eax
push ecx
push 0x37d7
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x50], 5
push eax
push ebx
call fcn.10033edd
mov eax, dword [ebp - 0x28]
add esp, 0x14
neg eax
je 0x10035767
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jg 0x10035784
cmp dword [ebp - 0x28], ebx
je 0x10035777
cmp dword [ebp - 0x28], 7
je 0x10035777
xor eax, eax
inc eax
jmp 0x10035779
mov eax, ebx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], ebx
jne 0x10035784
mov eax, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 1
push eax
push ecx
push ecx
push 1
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0xb4]
call fcn.10035f02
add esp, 0x10
lea ecx, [ebp - 0xb4]
jmp 0x1003592d
mov dword [ebp - 0x2c], 0xacda
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x38], 0xde0d6158
push 1
call fcn.1000ba05
push 0x76
push ecx
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x5c], 4
push ebx
push eax
call fcn.10034267
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 0x38]
add esp, 0x14
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x70]
add edx, dword [eax]
mov eax, dword [ebp - 0x28]
cmp edx, eax
mov edx, dword [ebp - 0x70]
setne cl
xor eax, eax
cmp ecx, dword [edx]
setl al
xor ebx, ebx
cmp eax, 0x319b885b
mov eax, dword [ebp - 0x48]
setg bl
xor ecx, ecx
cmp ebx, eax
mov dword [edx], ebx
setg cl
xor ebx, ebx
cmp dword [ebp - 0x2c], ecx
jne 0x100358c7
xor ecx, ecx
inc ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x2c], 0x5ef7b606
mov dword [ebp - 0x14], ebx
jmp 0x1003584f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x80], 0xca52c43d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x10035841
push ecx
lea eax, [ebp - 0x60]
mov edx, 0x5e12
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x3312
push ebx
push 0x11aa
push 0x775c
lea eax, [ebp - 0x70]
push eax
push ebx
lea ecx, [ebp - 0x5c]
call fcn.10034de0
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
add esp, 0x28
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x70]
cmp dword [edx], 2
setle cl
xor eax, eax
cmp ecx, 0x3d22
setg al
xor ecx, ecx
add eax, 0xedf21916
cmp eax, 0x6b74
mov dword [edx], eax
setne cl
cmp ecx, 0xa480d8aa
sbb eax, eax
inc eax
mov dword [ebp - 0x48], eax
jmp 0x100358f8
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x100358e4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x94], 0x6311489d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x100358d3
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x38], 0xfffffffc
jmp 0x10035924
push 0x45d1
push ecx
push ecx
push ebx
mov edx, 0x1bf0
mov ecx, 0x2a1e
call fcn.10035f02
mov eax, dword [ebp - 0xec]
add esp, 0x10
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x30
jge 0x10035901
lea ecx, [ebp - 0x70]
or dword [ebp - 4], 0xffffffff
call fcn.1000ba88
mov eax, 0x6182eac4
xor edx, edx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x20], 0x2f76ec75
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setle dl
xor ecx, ecx
cmp edx, 0x5b29
setle cl
sub ecx, 0xffff
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp esi, ecx
mov ecx, dword [ebp - 0x20]
setl al
imul ecx, eax
mov eax, dword [ebp - 0x20]
imul eax, ecx
cmp eax, dword [ebp - 0x20]
jge 0x10035a9a
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], 0xc
je 0x10035a82
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10035a58
push 0x3a28
push ebx
push 1
push 0x5be3
push 0x4395
mov edx, 0x26e1
xor cl, cl
call fcn.10035f78
mov dword [ebp - 0x30], 0x2f35
add esp, 0x14
cmp dword [ebp - 0x30], 0x2f98
jle 0x10035a35
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov dword [ebp - 0x18], 0x2e37
mov dword [ebp - 0x24], edi
mov esi, edi
mov edi, 0x26c5
mov eax, esi
mov ecx, 0x10080d38
cdq
push edx
push eax
call fcn.1000b7ed
inc esi
dec edi
jne 0x10035a06
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
add edi, esi
dec dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
jne 0x100359ff
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x85a
jl 0x100359f3
mov dword [ebp - 4], 4
cmp dword [ebp - 0x30], 0x2c8d
jge 0x10035a54
mov edx, str.maswpojsk_kaerkrmsp_hvrmrs_awybsypnh_efhtgei_doiskarxz_pafgrpp_efwgmuugh_fztercfdt_hhefs_tjjs_abpwnsxn_ixabpiqsu
mov ecx, 0x10080d38
call fcn.1000da64
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x20]
jmp 0x100359a8
push ecx
lea eax, [ebp - 0x31]
mov byte [ebp - 0x31], bl
push eax
mov edx, 0x39e4
xor cl, cl
call fcn.10034071
pop ecx
pop ecx
jmp 0x10035af4
push 1
lea ecx, [ebp - 0xe4]
call fcn.1000ba05
mov dword [ebp - 4], 6
mov dword [ebp - 0x14], ebx
jmp 0x10035ac6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe4]
mov dword [eax + ecx*4], 0x58331c58
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x10035ab3
push ecx
push 0x36cd
lea eax, [ebp - 0xe4]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.10033daf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
add esp, 0x10
call fcn.1000ba88
mov dword [ebp - 0x20], 0xfffffffa
jmp 0x10035b0a
mov dword [ebp - 0xa0], 0x997b09b3
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffff6
jle 0x10035afd
cmp byte [0x10083fdc], 0
jne 0x10035d59
push 0x48ff
push 0x696f
push 0x10084120
xor cl, cl
call fcn.10033e20
add esp, 0xc
mov dword [ebp - 0x18], 0xb26bdde0
mov dword [ebp - 0x64], 0xcf33f23e
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x58], 0xfeb9e9d6
mov dword [ebp - 0x58], 0x5256ee97
mov dword [ebp - 0x2c], 0xffffffff
push 2
call fcn.1000ba05
push ecx
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - 0x98], 0xa2ef
lea edx, [ebp - 0x40]
mov dword [ebp - 0x58], 0xdfce9586
push ecx
call fcn.10036743
add esp, 0xc
mov dword [ebp - 0x40], ebx
jmp 0x10035ba8
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0xc0], 0x4891023f
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 3
jl 0x10035b97
mov dword [ebp - 0x18], 6
cmp dword [ebp - 0x18], 0xffffffe3
jge 0x10035cf7
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x14], 0x348f4a8
cmp dword [ebp - 0x18], ebx
je 0x10035bea
mov eax, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
dec dword [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
neg edx
mov dword [ebp - 0x30], 3
mov eax, dword [ebp - 0x98]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
sete cl
cmp ecx, 0xfffb
mov ecx, dword [ebp - 0x30]
sbb eax, eax
inc eax
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], 0x488e
cmp dword [ebp - 0x4c], 0x4b7d
jle 0x10035cb7
mov edi, ebx
mov dword [ebp - 0x14], ebx
mov esi, ebx
mov dword [ebp - 0x24], ebx
mov edx, edi
mov dword [ebp - 0x8c], ebx
mov ecx, esi
mov edi, ebx
sar edx, cl
mov dword [ebp - 0x30], edx
mov esi, ebx
mov eax, esi
lea ecx, [ebp - 0x114]
or eax, edi
or eax, edx
cdq
push edx
push eax
call fcn.10001aa5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10035c6f
mov eax, dword [eax]
push eax
call fcn.1004c12c
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x114]
call fcn.1000bdc4
mov edx, dword [ebp - 0x30]
inc esi
cmp esi, 0x5c1c
jl 0x10035c51
inc edi
cmp edi, 0x531c
jl 0x10035c4f
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x5a09
jl 0x10035c3e
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x363b
jl 0x10035c39
mov byte [ebp - 0x19], bl
cmp dword [ebp - 0x4c], 0x46a4
jge 0x10035cce
push str.efdsa_azbtdee_ithi_ecyti_hzkfh_gsz_dkbr_ibmvsu
call fcn.1004c12c
pop ecx
mov dword [ebp - 4], 7
cmp byte [ebp - 0x19], 0
je 0x10035cef
push ebx
push ecx
push 0x2d7d
mov ecx, 0x6f44
call fcn.100367dc
add esp, 0xc
dec dword [ebp - 0x18]
jmp 0x10035bb5
mov eax, dword [ebp - 0xbc]
xor ecx, ecx
cmp eax, 0xce22
mov eax, dword [ebp - 0x2c]
setg cl
xor edx, edx
neg ecx
add ecx, ecx
cmp ecx, eax
setle dl
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
neg edx
cmp edx, eax
mov eax, dword [ebp - 0xcc]
setle cl
xor edx, edx
cmp ecx, 0x58a
lea ecx, [ebp - 0xcc]
setg dl
or dword [ebp - 4], 0xffffffff
mov dword [eax], edx
call fcn.1000ba88
push ebx
push ecx
mov edx, 0x10083fdc
call fcn.1003416c
pop ecx
pop ecx
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xd8]
push 2
call fcn.1000ba05
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x44], ebx
jmp 0x10035d87
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x7c], 1
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 3
jl 0x10035d79
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10036033
pop ecx
pop ecx
mov dword [ebp - 0x78], 0xe
jmp 0x10035dce
push 0x5166
push ebx
push 1
lea eax, [ebp - 0x39]
mov byte [ebp - 0x39], bl
push eax
push 0x5908
mov edx, 0x19d2
mov cl, 1
call fcn.10035f78
add esp, 0x14
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], 0x11
jne 0x10035da8
mov dword [ebp - 0x14], ebx
jmp 0x10035e42
mov dword [ebp - 0x24], 0x96673e7e
mov dword [ebp - 0x18], ebx
jmp 0x10035df6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x88], 0xcf5a8b06
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10035de5
cmp dword [ebp - 0x14], ebx
jne 0x10035e36
mov eax, dword [ebp - 0x14]
xor edx, edx
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0xd8]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x24]
setne dl
sub eax, edx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
jne 0x10035e36
mov eax, ebx
jmp 0x10035e39
xor eax, eax
inc eax
mov dword [ebp - 0x84], eax
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffed
jle 0x10035dd9
lea ecx, [ebp - 0xd8]
call fcn.1000ba88
mov eax, dword [0x10084120]
cmp eax, 0x270
jne 0x10035e9f
mov edx, 0x10084128
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, 0x10084ae8
jl 0x10035e64
jmp 0x10035eab
cmp eax, 0x4e0
jb 0x10035eb0
call fcn.10036a8d
mov eax, dword [0x10084120]
mov edx, dword [eax*4 + 0x10084124]
inc eax
mov dword [0x10084120], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x100854a4]
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 - 0x90]
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