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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f991
mov eax, dword fs:[0]
push eax
mov eax, 0x1b5c
call fcn.004f5240
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x60c6b4]
lea ecx, [ebp - 0x40]
call fcn.0041efc0
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov edx, 0x60ca14
mov dword [ebp - 4], ebx
call fcn.00430640
mov esi, eax
mov edi, str.e_:
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x40]
call fcn.004222e0
push 0xffffffffffffffff
push ebx
push esi
mov ecx, eax
call fcn.00424980
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040ba40
push edi
lea ecx, [ebp - 0x40]
call fcn.004222e0
push 0xffffffffffffffff
push ebx
push 0x60c74c
mov ecx, eax
call fcn.00424980
push 9
push 0x5b6e90
lea ecx, [ebp - 0x58]
call fcn.004313b0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4399d5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004304e0
pop ecx
pop ecx
mov esi, eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004222e0
push 0xffffffffffffffff
push ebx
push esi
mov ecx, eax
call fcn.00424980
lea ecx, [ebp - 0x28]
call fcn.0040ba40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0040bb00
push 0xc
push 0x5b6e78
lea ecx, [ebp - 0x58]
call fcn.004313b0
mov ecx, eax
push 0x10
pop edi
mov byte [ebp - 4], 4
cmp dword [ecx + 0x14], edi
jb 0x439a2d
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x1b54], esp
push ecx
push eax
call fcn.004304e0
pop ecx
pop ecx
push 4
mov esi, 0x5b6e70
mov byte [ebp - 4], 5
push esi
lea ecx, [ebp - 0x28]
call fcn.004313b0
mov ecx, eax
mov byte [ebp - 4], 6
cmp dword [ecx + 0x14], edi
jb 0x439a62
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x1b5c], esp
push ecx
push eax
call fcn.004304e0
sub esp, 0x10
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00422400
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 8
call fcn.0041a160
add esp, 0x48
lea ecx, [ebp - 0x28]
call fcn.0040bb00
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0040bb00
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040ba80
mov byte [ebp - 4], 9
cmp dword [ebp - 0x78], 0
jne 0x439c40
push 0x5b2cd5
lea ecx, [ebp - 0xa0]
call fcn.0040bb40
mov byte [ebp - 4], 0xa
call fcn.004be06f
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.0040bb00
call fcn.004be06f
or dword [ebp - 0x7cc], 0xffffffff
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x1b4c], edx
inc ecx
mov esi, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x1b4c], edx
inc ecx
cmp ecx, esi
jl 0x439b0f
mov eax, dword [0x60bff4]
lea ecx, [ebp - 0x1b64]
mov dword [ebp - 0x1b60], eax
lea eax, [ebp - 0x1b50]
push eax
mov dword [ebp - 0x1b50], esi
mov dword [ebp - 0x1b64], 1
call fcn.00427b50
push 4
push 0x5b6e70
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.004313b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], edi
jb 0x439b76
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004304e0
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.0040bb00
push 0xc
push 0x5b6e78
lea ecx, [ebp - 0xb8]
call fcn.004313b0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], edi
jb 0x439bae
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004304e0
pop ecx
pop ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.0040bb00
sub esp, 0x18
mov edx, esi
mov ecx, esp
mov dword [ebp - 0x1b58], esp
call fcn.0040de20
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1b5c], esp
mov ecx, esp
push eax
call fcn.00422400
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00422400
lea ecx, [ebp - 0x7c8]
mov byte [ebp - 4], 0x10
call fcn.0041c3f0
add esp, 0x30
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00422400
lea ecx, [ebp - 0x7c8]
call fcn.00419930
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.0040ba40
lea ecx, [ebp - 0x28]
jmp 0x439d45
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0050edc8
pop ecx
push 9
push 0x5b6e64
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1b54], eax
call fcn.004313b0
mov ecx, eax
mov byte [ebp - 4], 0x13
cmp dword [ecx + 0x14], 0x10
jb 0x439c7e
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x1b58], esp
push ecx
push eax
call fcn.004304e0
pop ecx
pop ecx
push 4
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x14
call fcn.004313b0
mov ecx, eax
mov byte [ebp - 4], 0x15
cmp dword [ecx + 0x14], 0x10
jb 0x439cb2
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x1b5c], esp
push ecx
push eax
call fcn.004304e0
sub esp, 0x10
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00422400
lea ecx, [ebp - 0x7c8]
mov byte [ebp - 4], 0x17
call fcn.0041a160
mov esi, eax
lea edi, [ebp - 0x440]
mov ecx, 0xe2
add esp, 0x48
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xb8]
call fcn.0040bb00
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.0040bb00
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040ba80
cmp dword [ebp - 0x60], 0
je 0x439d42
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0050edc8
pop ecx
cmp eax, dword [ebp - 0x1b54]
jl 0x439d42
mov bl, 1
lea ecx, [ebp - 0x70]
call fcn.0040ba40
lea ecx, [ebp - 0x88]
call fcn.0040ba40
lea ecx, [ebp - 0x40]
call fcn.0040ba40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f4655
mov esp, ebp
pop ebp
ret