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

Disassembly:
mov eax, 0x1005fa36
call fcn.1005e378
sub esp, 0x9c
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
je 0x1003427a
mov edi, dword [ebp + 0x18]
xor edx, edx
inc edx
cmp dword [edi], edx
jne 0x10034215
cmp dword [edi], 0
jne 0x10034215
xor esi, esi
jmp 0x10034217
mov esi, edx
xor ecx, ecx
mov dword [ebx], esi
mov eax, dword [edi]
cmp esi, eax
setge cl
imul eax, ecx, 0xffff
cmp eax, 0xffff
ja 0x10034234
cmp dword [ebx], 0
jne 0x10034236
xor edx, edx
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
sub edx, eax
mov eax, dword [edi]
sub edx, 0x6ad9
neg edx
sbb edx, edx
lea ecx, [edx + 2]
xor edx, edx
cmp eax, ecx
mov eax, dword [edi]
mov ecx, dword [edi]
setne dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [edi]
setl bl
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
setg dl
xor ecx, ecx
cmp edx, ebx
setle cl
sub ecx, eax
mov eax, dword [ebp + 8]
jmp 0x1003474a
mov dword [ebp - 0x14], 0xf1a
xor ebx, ebx
cmp dword [ebp - 0x14], 0x10c2
jle 0x100342c8
mov esi, ebx
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [edi + esi]
xor eax, ecx
mov ecx, 0x1007acd8
cdq
push edx
push eax
call fcn.1000e15c
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x7f98
jl 0x10034295
inc edi
cmp edi, 0x85c
jl 0x10034290
inc esi
cmp esi, 0x5dd
jl 0x1003428e
mov eax, dword [0x10a06aac]
test al, 1
jne 0x100342eb
or dword [0x10a06aa4], 0xffffffff
or eax, 1
push ecx
push 0x1571
mov dword [0x10a06aac], eax
call fcn.10036613
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0xb85
jge 0x10034306
mov edx, str.xrkmz_cackx_ddkw_evmyzmyem_txux_wimbb_psylhqd_vogfhvt_sxpxbws
mov ecx, 0x1007acd8
call fcn.10010ea8
or dword [ebp - 4], 0xffffffff
push ecx
push 0xb6d
push 0x67ea
mov dword [ebp - 0x24], 0xfe38
xor dl, dl
push 0x55cb
call fcn.10034f6d
add esp, 0x10
mov byte [ebp - 0x1e], bl
lea ecx, [ebp - 0x1e]
call fcn.1003475d
mov dword [ebp - 0x38], 0x28b4
cmp dword [ebp - 0x38], 0x2c06
jle 0x1003438d
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [ebp - 0xa8]
and eax, esi
cdq
push edx
push eax
call fcn.10001a9f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10034366
mov eax, dword [eax]
push eax
call fcn.10046233
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.1000ebf5
inc edi
cmp edi, 0x2425
jl 0x1003434a
inc esi
cmp esi, 0x784d
jl 0x10034348
push 1
lea ecx, [ebp - 0x90]
call fcn.1000e43e
push 2
pop edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x80]
push 4
pop eax
mov dword [ebp - 0x24], 0xd9d75405
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0xfffffffe
mov dword [ebp - 0x3c], ebx
push eax
call fcn.1000e43e
push 3
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.1000e43e
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0xb6fb96f
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], 0x8600
mov dword [ebp - 0x40], 0xa10b
mov dword [ebp - 0x1c], ebx
jmp 0x10034422
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2c], 0xfffffff7
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10034414
lea eax, [ebp - 0x90]
xor cl, cl
push eax
push 0x6264
lea edx, [ebp - 0x1c]
call fcn.10034d89
lea eax, [ebp - 0x1c]
mov edx, 0x330f
push eax
lea eax, [ebp - 0x80]
xor cl, cl
push 0x6983
push eax
call fcn.10034f9f
lea eax, [ebp - 0x1c]
xor dl, dl
push eax
lea eax, [ebp - 0x68]
mov cl, 1
push eax
push ebx
call fcn.10033930
mov eax, dword [ebp - 0x28]
add esp, 0x20
dec eax
neg eax
sbb eax, eax
xor edx, edx
neg eax
inc edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], ebx
jl 0x100345c1
mov dword [ebp - 0x14], ebx
jmp 0x1003449a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1003448c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + eax*4 - 0x2c]
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c], ecx
test ecx, ecx
je 0x10034577
mov dword [ebp - 0x14], 0xc3e5f88
mov dword [ebp - 0x48], 0x1552d49a
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], 0xffff0002
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp dword [ebp - 0x4c], ebx
je 0x100344f5
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x2c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x50], ebx
je 0x10034535
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x3c], 0xffff7caf
test eax, eax
jne 0x10034522
mov esi, ebx
cmp dword [ebp - 0x48], ebx
je 0x10034524
mov esi, edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, esi
setl cl
cmp ecx, dword [ebp - 0x14]
jne 0x10034535
mov ebx, edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x2c]
mov eax, dword [ebp - 0x14]
add ecx, ebx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setg bl
xor edx, edx
cmp ecx, eax
setge dl
imul ebx, edx
sub ebx, 0x319f
jne 0x1003456d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x14], eax
jmp 0x100345b5
push 0x5d35
push 0x25ce
push 0x4705
mov ecx, 0x463
call fcn.1003498d
push 0x189c
push ebx
push 0x35
push 0x7cb1
push 0x3a1
mov edx, 0x654a
mov byte [ebp - 0x1d], bl
lea ecx, [ebp - 0x1d]
call fcn.1003565b
add esp, 0x20
dec dword [ebp - 0x18]
push 1
pop edx
jns 0x10034487
lea ecx, [ebp - 0x68]
call fcn.1000e4c1
lea ecx, [ebp - 0x80]
call fcn.1000e4c1
lea ecx, [ebp - 0x90]
call fcn.1000e4c1
cmp dword [ebp - 0x38], 0x25d3
jge 0x100345f0
push str.dqfiwea_wyva_ufmlv_akdmiaqd_mbomgjosz_dhzvmh
call fcn.10046233
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [0x10a05584], 0
jne 0x100346b1
push 0x36df
xor eax, eax
xor dl, dl
inc eax
push 0x2ab3
push eax
mov cl, al
call fcn.10033930
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push eax
call fcn.10036613
push edi
lea ecx, [ebp - 0x74]
call fcn.1000e43e
push 0x1fe1
push 0x63f4
push 0x7396
push 0x17df
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 7
push eax
push ecx
push 0x5514
push 0x114e
push 0xaac
lea eax, [ebp - 0x74]
mov dword [ebp - 0x44], 0xdf1febae
push eax
push 0xdc7
mov edx, 0x6257
call fcn.10034df4
push ebx
lea edx, [ebp - 0x44]
mov ecx, 0x22f8
call fcn.10034a4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
add esp, 0x30
call fcn.1000e4c1
push ecx
push 0x557e
mov edx, 0x504a
mov ecx, 0x10a05584
call fcn.10035ae4
pop ecx
pop ecx
mov eax, dword [0x10a05720]
cmp eax, 0x270
jne 0x100346fd
mov edx, 0x10a05728
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, 4
cmp edx, 0x10a060e8
jl 0x100346c2
jmp 0x10034709
cmp eax, 0x4e0
jb 0x1003470e
call fcn.1003664e
mov eax, dword [0x10a05720]
mov edx, dword [eax*4 + 0x10a05724]
inc eax
mov dword [0x10a05720], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10a06aa4]
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 + 0xc]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret