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

Disassembly:
mov eax, 0x1005d25e
call fcn.1005cab0
sub esp, 0xf0
mov byte [ebp - 0x44], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x1000891e
mov eax, dword [ebp + 0xc]
or esi, 0xffffffff
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x20], 0x475ee4c2
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x24], 0xf3922cbd
push 2
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], ebx
pop edi
cmp dword [ebp - 0x14], 3
jge 0x100080e8
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], edi
inc dword [ebp - 0x14]
jmp 0x100080d6
mov dword [ebp - 0x14], ebx
jmp 0x100080fb
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], 0xfffffffe
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100080ed
mov dword [ebp - 0x14], ebx
jmp 0x1000810f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x10008105
mov dword [ebp - 0x14], ebx
jmp 0x1000812b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xac], 0xbc6200d4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1000811a
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], edi
jg 0x100082d7
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x24], 0x3343
cmp dword [ebp - 0x24], 0x3428
jle 0x100081de
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x14]
mov esi, ebx
mov dword [ebp - 0x2c], esi
mov ecx, ebx
mov dword [ebp - 0x34], ebx
mov eax, esi
mov dword [ebp - 0x60], edi
cdq
mov esi, 0x303f
idiv ecx
sub edi, edx
mov eax, edi
lea ecx, [ebp - 0xcc]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10008191
mov eax, dword [eax]
push eax
call fcn.10045eec
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.100052dc
inc edi
dec esi
jne 0x10008177
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
inc ecx
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
cmp ecx, 0x5e83
jl 0x10008168
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0x48ad
jl 0x10008163
mov eax, edi
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x6db6
jl 0x1000815b
push 2
or esi, 0xffffffff
pop edi
mov dword [ebp - 0x14], ebx
jmp 0x100081f1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], 9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x100081e3
cmp dword [ebp - 0x24], 0x2f94
jge 0x1000820b
push str.bfptmaqv_lrxw_jnnxy_chn_myntq_ebpka_mmjsh_fbighu_kfvl
call fcn.10045eec
pop ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ebx
jmp 0x10008221
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x68], 0x6369
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10008213
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x5c], ebx
je 0x1000827a
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
neg eax
je 0x1000824d
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x5c], ebx
je 0x1000824d
mov ecx, ebx
jmp 0x10008250
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov ecx, 0x1330
mov eax, dword [ebp - 0x38]
sub ecx, eax
mov eax, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x24]
dec dword [ebp - 0x64]
cmp eax, ecx
jl 0x1000827a
xor edx, edx
inc edx
jmp 0x1000827c
mov edx, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x40]
setle cl
xor edx, edx
sub ecx, 0x6d42bd36
cmp ecx, eax
setg dl
sub edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
add edx, 0xb6d1
mov eax, dword [ebp + eax*4 - 0x5c]
cmp edx, eax
mov eax, dword [ebp - 0x18]
setge cl
xor edx, edx
imul ecx, ecx, 0x2a90
mov eax, dword [ebp + eax*4 - 0x5c]
cmp ecx, eax
setg dl
xor eax, eax
test edx, edx
setns al
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x18]
jmp 0x10008134
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], ebx
je 0x100082f9
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x28]
jg 0x100082f9
cmp dword [ebp - 0x38], ebx
je 0x100082f9
cmp dword [ebp - 0x20], ebx
je 0x100082f9
xor edx, edx
inc edx
jmp 0x100082fb
mov edx, ebx
xor ecx, ecx
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x54]
cmp edx, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xa8]
setg cl
imul edx, ecx
xor ecx, ecx
push 0xfffffffffffffff6
cmp edx, eax
pop eax
setne cl
cmp eax, ecx
mov eax, dword [ebp - 0x38]
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
mov eax, dword [0x1007a744]
setne cl
mov dword [ebp - 0x18], ecx
test al, 1
jne 0x1000837e
or eax, 1
mov dword [0x1007a724], esi
mov ecx, 0x1571
mov dword [0x1007a744], eax
xor edx, edx
mov dword [0x100793a4], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x100793a4], ecx
inc edx
cmp edx, 0x270
jl 0x10008355
mov dword [0x100793a0], 0x270
mov dword [ebp - 0x18], 0xd526d2e8
mov eax, 0x30045702
mov dword [ebp - 0x1c], 0x76acb8f2
mov dword [ebp - 0x28], 0xfe81720d
mov dword [ebp - 0x1c], 0xfffffffb
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x1c], 0x7e02
cmp dword [ebp - 0x1c], 0x81b7
jle 0x10008416
mov dword [ebp - 0x20], ebx
mov esi, ebx
mov edi, ebx
mov ebx, dword [ebp - 0x20]
lea eax, [esi + ebx]
mov ecx, 0x10077fd8
or eax, edi
cdq
push edx
push eax
call fcn.10004c70
inc edi
cmp edi, 0x4e49
jl 0x100083db
inc esi
push 0
pop ebx
cmp esi, 0x3449
jl 0x100083d6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x480f
jl 0x100083d4
push 2
or esi, 0xffffffff
pop edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 0x7c9b
jge 0x10008455
mov edx, str.kukgjxij_slrtv_wsgcfs_nyzgomj_gmarhbon_misu
mov ecx, 0x10077fd8
call fcn.10007021
jmp 0x10008455
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], ebx
jmp 0x1000846e
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x84], 0xfff6
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1000845d
xor cl, cl
call fcn.100089ab
cmp dword [ebp - 0x18], ebx
jne 0x1000849f
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setne dl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xfffffffe
setg cl
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x1c], 0x96e6c8ca
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x28], 0x339b8842
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x40], 0x983c17a3
mov dword [ebp - 0x18], ebx
jmp 0x10008504
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x90], 1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x100084f3
mov dword [ebp - 0x18], ebx
jmp 0x10008519
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x48], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x1000850f
mov dword [ebp - 0x18], 8
jmp 0x10008556
mov dword [ebp - 0x20], 0x7dd68876
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x20], ebx
jl 0x10008553
lea eax, [ebp - 0x2e]
mov byte [ebp - 0x2e], bl
push 0x5a57
push eax
xor dl, dl
xor cl, cl
call fcn.1000808d
dec dword [ebp - 0x20]
pop ecx
pop ecx
jns 0x10008537
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xc
jg 0x10008528
cmp dword [ebp - 0x18], ebx
je 0x1000859f
mov eax, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 0x48]
setl dl
dec eax
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, 1
setge cl
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov eax, dword [ebp - 0x90]
cmp byte [0x10079368], 0
mov dword [ebp - 0x40], eax
jne 0x10008881
mov dword [ebp - 0x2c], 0x4ba4
cmp dword [ebp - 0x2c], 0x4d0a
jle 0x10008635
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x24], ebx
mov edi, eax
mov dword [ebp - 0x1c], 0x286
mov eax, edi
lea ecx, [ebp - 0xe4]
and eax, esi
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100085fd
mov eax, dword [eax]
push eax
call fcn.10045eec
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xe4]
call fcn.100052dc
dec edi
dec dword [ebp - 0x1c]
jne 0x100085e1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x3374
jl 0x100085d8
inc esi
cmp esi, 0x6091
jl 0x100085d3
push 2
or esi, 0xffffffff
pop edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x2c], 0x49f7
jge 0x1000864c
push str.jciky_cvvdegelt_xcqcw_sbiveazv_meaghrb_cmhbgzxo_kzeafabv_royfkbizd_uvlfvov_nxzwwyg_ldys_oocd
call fcn.10045eec
pop ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 3
jl 0x10008846
mov dword [ebp - 0x34], 0x2533
cmp dword [ebp - 0x34], 0x26ab
jle 0x100086d8
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 0x951
mov edi, ebx
mov eax, esi
mov ecx, 0x10077fd8
and eax, edi
cdq
push edx
push eax
call fcn.10004c70
inc edi
cmp edi, 0x41ef
jl 0x10008687
mov eax, dword [ebp - 0x24]
add esi, eax
dec dword [ebp - 0x1c]
jne 0x10008685
mov esi, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x24], eax
cmp eax, 0xffffa3c9
jg 0x1000867b
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0x423
jl 0x10008678
push 2
pop edi
or esi, 0xffffffff
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 4], 6
cmp dword [ebp - 0x34], 0x24f9
jge 0x1000871b
mov edx, str.pzza_cfmbw_qaks
mov ecx, 0x10077fd8
call fcn.10007021
jmp 0x1000871b
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ebx
jmp 0x10008734
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xb4], 0xb72fd491
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10008723
mov dword [ebp - 0x18], ebx
jmp 0x1000874c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x50], 0xb7cefa9d
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1000873e
cmp dword [ebp - 0x14], ebx
jne 0x10008846
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x4c], 1
jg 0x1000883e
mov dword [ebp - 0x20], ebx
jmp 0x1000877a
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x3c], 1
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jl 0x1000876c
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], ebx
jl 0x10008836
mov dword [ebp - 0x1c], 0x7bc9
cmp dword [ebp - 0x1c], 0x7eab
jle 0x100087dd
push 0x2c4
push 0x1f14
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, ebx
mov edi, ebx
lea eax, [edi + esi]
mov ecx, 0x10077fd8
cdq
push edx
push eax
call fcn.10004c70
inc edi
cmp edi, 0x7dce
jl 0x100087b5
inc esi
cmp esi, 0x4e39
jl 0x100087b3
push 2
or esi, 0xffffffff
pop edi
mov byte [ebp - 0x2d], bl
mov dword [ebp - 4], 8
cmp dword [ebp - 0x1c], 0x77f7
jge 0x10008823
mov edx, str.uwzle_qafigsaz_qnasskr_pil_zugqmndg_tloflkdl_qgs_zxjsrr_euu_ayibtai_godllhu
mov ecx, 0x10077fd8
call fcn.10007021
jmp 0x10008823
lea ecx, [ebp - 0x2d]
mov dword [ebp - 4], esi
call fcn.10007cf0
dec dword [ebp - 0x3c]
jmp 0x10008787
inc dword [ebp - 0x4c]
jmp 0x1000875d
inc dword [ebp - 0x14]
jmp 0x10008652
xor dl, dl
mov ecx, 0x100793a0
call fcn.10007f01
mov dword [ebp - 0x28], 0x198a8f93
lea ecx, [ebp - 0x2f]
mov byte [ebp - 0x2f], bl
xor dl, dl
push 0x2f21
call fcn.10007d37
mov byte [ebp - 0x30], bl
cmp byte [ebp - 0x30], 0
pop ecx
je 0x1000887a
call fcn.10007de2
mov byte [0x10079368], 1
mov eax, dword [0x100793a0]
cmp eax, 0x270
jne 0x100088cd
mov edx, 0x100793a8
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, 0x10079d68
jl 0x10008892
jmp 0x100088d9
cmp eax, 0x4e0
jb 0x100088de
call fcn.1000a644
mov eax, dword [0x100793a0]
mov edx, dword [eax*4 + 0x100793a4]
inc eax
mov dword [0x100793a0], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x1007a724]
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 - 0x6c]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
jmp 0x1000899a
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1000892d
push ecx
call fcn.100089f8
pop ecx
mov dword [ebp - 0x1c], 0x22f6
cmp dword [ebp - 0x1c], 0x23a9
jle 0x10008986
xor ebx, ebx
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [ebp - 0xfc]
or eax, esi
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000895f
mov eax, dword [eax]
push eax
call fcn.10045eec
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.100052dc
inc edi
cmp edi, 0x5496
jl 0x10008943
inc esi
cmp esi, 0x6b4c
jl 0x10008941
cmp dword [ebp - 0x1c], 0x22d7
jge 0x1000899a
push str.pjvga_djmd_arpxhhcyo_rlwkhup_qyooykyt_uwv_fmzpit
call fcn.10045eec
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret