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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9bf84b
mov eax, dword fs:[0]
push eax
mov eax, 0x1554
call fcn.009a0650
mov eax, dword [0x9d104c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov byte [ebp - 0x13fc], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x13fc]
call fcn.0099d770
add esp, 4
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.00993510
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00992ef0
push eax
lea ecx, [ebp - 0x58]
call fcn.00993510
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x995790
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x995786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x995a70
push edx
push ecx
call fcn.0099f831
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x9957ce
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x9957c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x995a75
push edx
push ecx
call fcn.0099f831
add esp, 8
sub esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x14b0]
lea eax, [ebp - 0x58]
push 2
push eax
call fcn.0099b680
mov byte [ebp - 4], 4
call fcn.0099eec8
mov dword [ebp - 0x74], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x13f4], eax
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ebp + ecx*4 - 0x13f4], eax
inc ecx
cmp ecx, 0x270
jb 0x995811
lea eax, [ebp - 0x13f8]
mov dword [ebp - 0x13f8], 0x270
push eax
lea ecx, [ebp - 0x1400]
mov dword [ebp - 0x1400], 0x2710
mov dword [ebp - 0x13fc], 0x1869f
call fcn.0099bbf0
push ecx
lea ecx, [ebp - 0x1560]
mov esi, eax
call fcn.00996ed0
push esi
lea ecx, [ebp - 0x1550]
mov byte [ebp - 4], 5
call fcn.00998330
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1560]
call fcn.00996df0
lea ecx, [ebp - 0x1560]
call fcn.00994d50
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1460], 0
je 0x9959cf
mov edx, 0x9cd028
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd098
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd108
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd180
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd1f0
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd240
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd2e0
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd330
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd350
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd394
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd3c8
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
mov edx, 0x9cd3f4
lea ecx, [ebp - 0x14b0]
call fcn.0099b7c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x14b0]
call fcn.0099d7a0
add esp, 4
lea ecx, [ebp - 0x14b0]
mov edx, 0x9cd40c
call fcn.0099b7c0
lea ecx, [ebp - 0x14ac]
call fcn.00999b90
test eax, eax
jne 0x9959cf
mov eax, dword [ebp - 0x14b0]
lea ecx, [ebp - 0x14b0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00992b40
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x995a03
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x9959f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x995a7a
push edx
push ecx
call fcn.0099f831
add esp, 8
lea ecx, [ebp - 0x14b0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00994540
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x995a56
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x995a4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x995a7a
push edx
push ecx
call fcn.0099f831
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0099f7ee
mov esp, ebp
pop ebp
ret
call fcn.009a7c25
call fcn.009a7c25
call fcn.009a7c25
int3