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

Disassembly:
mov eax, 0x10063991
call fcn.10062184
sub esp, 0xb8
cmp byte [ebp + 0x30], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x50], ebx
je 0x1003b3dc
mov dword [ebp - 0x18], 0x357d
cmp dword [ebp - 0x18], 0x393f
jle 0x1003b2d4
xor esi, esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov eax, esi
xor ecx, ecx
cdq
idiv edi
mov dword [ebp - 0x24], ecx
mov eax, edx
mov dword [ebp - 0x14], eax
cdq
xor ebx, ebx
idiv ecx
mov esi, 0x573f
mov dword [ebp - 0x30], edx
mov edi, edx
mov eax, ebx
mov ecx, 0x1007f278
cdq
push edx
push eax
call fcn.1000b2a8
add ebx, edi
dec esi
jne 0x1003b28d
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x308e
jl 0x1003b27e
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x1c29
jl 0x1003b26f
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x1e9e
jl 0x1003b26a
mov ebx, dword [ebp - 0x50]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x3232
jge 0x1003b30f
mov edx, str.xsrvx_cyemsmr_sqijv_gfkzafg_ikqfvuh_fatjlsagj_qkfpqh_fcjhqyw_xsmdcnjt_hduwe_cdcmw
mov ecx, 0x1007f278
call fcn.1000ee32
jmp 0x1003b30f
cmp byte [ebp + 0x1c], 0
je 0x1003b3af
mov esi, dword [ebp + 0xc]
xor edx, edx
mov edi, dword [ebp + 0x20]
mov eax, dword [esi]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [ebp + 0x28]
setle dl
mov dword [eax], edx
mov eax, dword [edi]
mov eax, dword [ebx]
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x2c]
mov eax, dword [eax]
inc dword [ebx]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edx], eax
mov ecx, dword [esi]
mov eax, dword [ebx]
xor ebx, ebx
mov esi, dword [ebp + 8]
cmp ecx, eax
mov eax, dword [edx]
setne bl
xor ecx, ecx
cmp eax, 0x1dbcabeb
mov eax, dword [esi]
setg cl
xor edx, edx
cmp ebx, ecx
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [edi]
setle bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x50]
setge cl
cmp ecx, dword [eax]
jge 0x1003b395
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x1003b395
xor ecx, ecx
xor edx, edx
inc ecx
jmp 0x1003b39a
xor ecx, ecx
inc ecx
mov edx, ecx
mov dword [esi], edx
test edx, edx
je 0x1003b3a5
cmp dword [eax], 0
jne 0x1003b3a7
xor ecx, ecx
mov eax, dword [ebp + 0x34]
jmp 0x1003bbb2
mov edx, dword [ebp + 0x24]
push 3
pop edi
mov dword [edx], 0
cmp dword [edx], edi
jge 0x1003bbc2
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 7
inc dword [edx]
cmp dword [edx], edi
jl 0x1003b3c6
jmp 0x1003bbc2
cmp byte [ebp + 0x38], 0
je 0x1003bbb6
xor ebx, ebx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x78], ebx
push 1
mov dword [ebp - 0x7c], 0xffffffff
call fcn.10001647
push ecx
push 0x700
push ebx
push 0x1e03
lea edx, [ebp - 0x90]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.1003bce0
add esp, 0xc
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x7c]
push eax
call fcn.1003bbeb
pop ecx
xor esi, esi
inc esi
push esi
push ecx
push ecx
call fcn.1003adb6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
add esp, 0x10
call fcn.100016a4
mov eax, dword [0x10081984]
test al, 1
jne 0x1003b4a0
or eax, esi
mov ecx, 0x1571
or dword [0x10081974], 0xffffffff
mov edx, esi
mov dword [0x10081984], eax
mov edi, 0x270
mov dword [0x100805f4], ecx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x100805f4], ecx
inc edx
cmp edx, edi
jl 0x1003b47f
mov dword [0x100805f0], edi
push esi
lea ecx, [ebp - 0xa8]
call fcn.10001647
push 3
pop edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x80], 0xafa9b64f
mov dword [ebp - 0x54], 0x5d870a32
mov dword [ebp - 0x18], ebx
jmp 0x1003b4d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1003b4c5
push ecx
push ebx
push ecx
push ecx
call fcn.1003adb6
add esp, 0xc
lea eax, [ebp - 0xa8]
mov edx, 0x7f04
mov ecx, 0x1237
push eax
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.1003bce0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
add esp, 0x10
call fcn.100016a4
cmp byte [0x10080436], 0
jne 0x1003b8fe
mov dword [ebp - 0x14], 0xecb45710
mov dword [ebp - 0x3c], 0xeded
mov dword [ebp - 0x28], 0xe69d0863
push 4
mov dword [ebp - 0x20], 0xffffffff
pop ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x1003b554
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x4c], 0x841b3c69
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x1003b546
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], ebx
jl 0x1003b76f
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x24], 0x6c9f93b7
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0x4c]
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4c], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp dword [ebp - 0x4c], ebx
je 0x1003b5c0
mov eax, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x4c]
mov eax, dword [ebp - 0x40]
cmp eax, esi
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x4c]
cmp edx, eax
mov edx, esi
setl cl
cmp ecx, 0xffffffff
jl 0x1003b5c2
mov edx, ebx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp edx, eax
setne cl
neg ecx
cmp ecx, esi
jne 0x1003b5dd
mov eax, dword [ebp - 0x14]
mov ecx, esi
cmp dword [ebp + eax*4 - 0x4c], ebx
jne 0x1003b5df
mov ecx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x4c]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x4c]
cmp edx, eax
setne cl
imul ecx, dword [ebp - 0x14]
add ecx, 0xfffd
cmp ecx, 0x8b4b72b4
sbb eax, eax
xor ecx, ecx
inc eax
imul eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x4c]
test eax, eax
setle cl
add ecx, dword [ebp - 0x14]
cmp ecx, 0x479e
je 0x1003b638
mov ecx, esi
cmp dword [ebp - 0x14], ebx
jne 0x1003b63a
mov ecx, ebx
mov eax, dword [ebp - 0x14]
sub ecx, eax
je 0x1003b662
push ecx
push ecx
push esi
lea eax, [ebp - 0x28]
mov edx, 0x578f
push 0x2506
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003c0f4
add esp, 0x14
jmp 0x1003b766
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x9c]
push 2
call fcn.10001647
mov dword [ebp - 0x20], ebx
jmp 0x1003b68a
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x9c]
mov dword [eax + ecx*4], 0x89a43d54
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x1003b677
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp dword [ebp - 0x3c], eax
jge 0x1003b6af
cmp dword [ebp - 0x40], ebx
je 0x1003b6af
mov ebx, esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp ebx, eax
mov eax, dword [ebp - 0x18]
sete cl
xor edx, edx
cmp ecx, eax
setg dl
xor ecx, ecx
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
cmp eax, edx
mov eax, dword [ebp - 0x18]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x44]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setl cl
xor edx, edx
cmp ecx, 0xfe74
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, 0x8fc4
setl al
xor edx, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x58]
cmp dword [ecx + 4], eax
mov eax, dword [ebp - 0x48]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x1c]
setne bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x3c]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
setg dl
mov eax, dword [ebp + eax*4 - 0x4c]
imul eax, edx
mov dword [ebp - 0x18], eax
call fcn.100016a4
xor ebx, ebx
dec dword [ebp - 0x14]
jns 0x1003b565
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, 0xaa41
push 0xeda
setle cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, 0xee06
push 0x1c
setge dl
xor ecx, ecx
cmp edx, eax
setl cl
xor dl, dl
mov dword [ebp - 0x14], ecx
mov ecx, 0x100805f0
call fcn.1003c148
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x74]
call fcn.10001647
push 0x242c
push ebx
push 0x376f
push 0x2add
push 0x3b3e
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x20], 0xfffffffc
push eax
mov dword [ebp - 0x24], ebx
mov edx, 0x3555
push 0x3b2e
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, 0x2e1f
mov dword [ebp - 0x1c], 0xfffffffa
push 0x6d99
mov dword [ebp - 0x1c], 0x8aae07ea
mov dword [ebp - 0x1c], ebx
push 0xcd9
call fcn.1003b1f8
xor edx, edx
mov dword [ebp - 0x34], ebx
add esp, 0x28
inc edx
jmp 0x1003b85a
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x84], ebx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], edx
jl 0x1003b84d
mov esi, dword [ebp - 0x74]
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
neg eax
cmp eax, dword [ecx + 4]
je 0x1003b880
cmp dword [ebp - 0x20], ebx
jne 0x1003b882
mov edx, ebx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x74]
setne dl
xor ecx, ecx
cmp edx, dword [eax]
mov eax, dword [ebp - 0x24]
setg cl
imul eax, ecx
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x14b11f38
setle cl
xor eax, eax
cmp dword [esi + 8], ecx
setle al
xor ecx, ecx
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0x1c], 0x6b3
mov edx, dword [esi + 8]
sub eax, 0x6fbf3c0d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, edx
setg cl
add ecx, edx
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x74]
or dword [ebp - 4], 0xffffffff
call fcn.100016a4
xor eax, eax
inc eax
mov byte [0x10080436], al
jmp 0x1003b901
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], 0xfffffffc
push edi
call fcn.10001647
mov dword [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x24], 0xffff
inc esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], ebx
jmp 0x1003b93e
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x2c], 0xbe197e7c
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], esi
jl 0x1003b930
mov dword [ebp - 0x30], 0x555e
cmp dword [ebp - 0x30], 0x57d2
jle 0x1003b9c6
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov eax, ebx
mov dword [ebp - 0x1c], ebx
mov edx, edi
mov dword [ebp - 0x58], ebx
mov ecx, eax
mov edi, ebx
shl edx, cl
mov dword [ebp - 0x54], edx
mov eax, edx
mov ecx, edi
sar eax, cl
lea ecx, [ebp - 0xc4]
cdq
push edx
push eax
call fcn.10001351
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003b989
mov eax, dword [eax]
push eax
call fcn.10049280
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xc4]
call fcn.100017dc
mov edx, dword [ebp - 0x54]
inc edi
cmp edi, 0x592b
jl 0x1003b96b
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x38c4
jl 0x1003b95d
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x540f
jl 0x1003b958
lea eax, [ebp - 0x38]
xor dl, dl
push eax
lea ecx, [ebp - 0x68]
call fcn.1003c093
cmp dword [ebp - 0x30], 0x54d8
pop ecx
jge 0x1003b9e9
push str.ofq_zeqrfuta_qfgtiu_umicla_ammzaycag
call fcn.10049280
pop ecx
mov dword [ebp - 4], 5
xor edx, edx
dec dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, 0x74fa
mov ecx, dword [ebp - 0x68]
setne dl
sub edx, dword [ecx + 8]
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, dword [ecx]
setne al
add eax, 0x36ec2c9f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfff7
mov eax, dword [ebp - 0x20]
sbb ecx, ecx
inc ecx
sub eax, ecx
jne 0x1003ba34
mov eax, dword [ebp - 0x68]
mov edx, ebx
cmp dword [eax], ebx
je 0x1003ba36
mov edx, esi
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x14]
cmp edx, eax
mov eax, dword [ebp - 0x68]
setge cl
xor edx, edx
cmp ecx, dword [eax]
setle dl
cmp dword [ebp - 0x20], edx
jne 0x1003ba59
cmp dword [ebp - 0x2c], ebx
jne 0x1003ba61
cmp dword [ebp - 0x1c], ebx
jne 0x1003ba61
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0x1f90ef30
mov eax, dword [ebp - 0x2c]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x20]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x2c]
setle cl
xor edx, edx
add eax, ecx
mov dword [ebp - 0x2c], eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x68]
setg dl
cmp edx, dword [eax]
je 0x1003bb05
mov dword [ebp - 0x14], ebx
jmp 0x1003bafe
push ebx
push 0x64e1
push ebx
push 0x6305
push 0x3d9c
push 0x3d9
push 0x7cf0
push esi
push 0x367c
push 0x70a3
push 0x6209
push 0x1a94
push 0x5e0f
mov edx, 0x629b
mov ecx, 0x7c5e
call fcn.1003b22d
add esp, 0x34
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x1003bab4
jmp 0x1003bb11
push esi
mov edx, 0x24d6
call fcn.1003ac6a
pop ecx
lea ecx, [ebp - 0x68]
call fcn.100016a4
mov eax, dword [0x100805f0]
cmp eax, 0x270
jne 0x1003bb65
mov edx, 0x100805f8
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, 0x10080fb8
jl 0x1003bb2a
jmp 0x1003bb71
cmp eax, 0x4e0
jb 0x1003bb76
call fcn.1003d37a
mov eax, dword [0x100805f0]
mov edx, dword [eax*4 + 0x100805f4]
inc eax
mov dword [0x100805f0], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10081974]
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 + 0x18]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
jmp 0x1003bbc2
lea edx, [ebp + 0x33]
mov byte [ebp + 0x33], 0
call fcn.1003cc60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret