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

Disassembly:
mov eax, 0x10061ae8
call fcn.100615d8
sub esp, 0x70
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
je 0x10002733
xor ebx, ebx
cmp byte [ebp + 0xc], bl
je 0x10002713
mov dword [ebp - 0x20], 0x6bd3
cmp dword [ebp - 0x20], 0x6d53
jle 0x100026c7
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x28], ebx
mov ecx, ebx
mov dword [ebp - 0x2c], 0x16fe
mov ebx, dword [ebp - 0x28]
mov dword [ebp + 8], ecx
lea eax, [edi + esi]
shl eax, cl
mov ecx, 0x1007dbf8
cdq
push edx
push eax
call fcn.100036f4
mov ecx, dword [ebp + 8]
add ecx, ebx
dec dword [ebp - 0x2c]
mov dword [ebp + 8], ecx
jne 0x10002687
inc ebx
push 0
mov dword [ebp - 0x28], ebx
cmp ebx, 0x7764
pop ebx
jl 0x10002678
inc edi
cmp edi, 0x6765
jl 0x10002675
inc esi
cmp esi, 0x724d
jl 0x10002673
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x20], 0x6b97
jge 0x100026e2
mov edx, str.jxlvxbwbg_ablvu_jnd_ofjej_qus_ryatfzxy_adt_grkp_rqio
mov ecx, 0x1007dbf8
call fcn.10007689
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax]
mov esi, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [ecx + edx*4]
mov dword [ecx + esi*4], eax
jmp 0x10002d73
push ebx
push 0x22f6
push ecx
push ecx
mov edx, 0x7562
mov byte [ebp + 0xb], bl
lea ecx, [ebp + 0xb]
call fcn.10001be3
add esp, 0x10
jmp 0x10002d73
cmp byte [ebp + 0x14], 0
je 0x10002744
mov dword [edx], 0x267a5e2b
jmp 0x10002d73
mov eax, dword [ebp + 0x18]
push ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x1c], 0x8a61928c
mov dword [ebp - 0x3c], 0xb5cabfc3
push ecx
call fcn.1000256d
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
jmp 0x1000277f
mov dword [ebp - 0x3c], 0xc662a2b3
push ecx
call fcn.10002613
dec dword [ebp - 0x1c]
pop ecx
cmp dword [ebp - 0x1c], 0xfffffffd
jge 0x1000276e
mov eax, dword [0x10080844]
xor esi, esi
inc esi
test al, 1
jne 0x100027d5
or eax, esi
mov ecx, 0x1571
or dword [0x10081be4], 0xffffffff
mov edx, esi
mov dword [0x10080844], eax
mov dword [0x10080864], ecx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10080864], ecx
inc edx
cmp edx, 0x270
jl 0x100027ac
mov dword [0x10080860], 0x270
mov dword [ebp - 0x14], 0x2e56
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x24], 0xffffffff
push 4
call fcn.100039a6
push 2
pop edi
mov dword [ebp - 4], edi
push 8
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0xbc46d767
mov dword [ebp - 0x30], 0xef4fc6a3
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x8d7
mov dword [ebp - 0x18], ebx
jmp 0x10002829
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x10002819
cmp dword [ebp - 0x14], ebx
je 0x1000283d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x60]
inc ecx
push 0xfffffffffffffff8
mov dword [eax + 0xc], ecx
pop eax
cmp eax, ecx
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0xf4d4e2
setge cl
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
neg ecx
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x1000288e
mov eax, esi
cmp dword [ebp - 0x28], ebx
jne 0x10002890
mov eax, ebx
mov ecx, dword [ebp - 0x14]
xor edx, edx
imul ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
setge dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
setne dl
sub eax, edx
xor edx, edx
cmp eax, 0x1ddb
mov eax, dword [ebp - 0x14]
setne dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setne cl
xor edx, edx
cmp edx, eax
mov eax, dword [ebp - 0x14]
sbb edx, edx
inc edx
sub edx, ecx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
setl cl
imul eax, ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.10001c21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
add esp, 0x1c
call fcn.10003a29
mov dword [ebp - 0x18], 0xf75d
cmp dword [ebp - 0x18], ebx
je 0x10002946
xor cl, cl
call fcn.10001b9c
jmp 0x10002a74
mov dword [ebp - 0x18], ebx
jmp 0x10002959
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x54], 0xc4d8e5cc
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1000294b
mov dword [ebp - 0x20], 0x3f02
cmp dword [ebp - 0x20], 0x4078
jle 0x100029c6
push 0xca9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov edi, ebx
mov dword [ebp - 0x3c], ebx
mov eax, ebx
mov ecx, 0x1007dbf8
or eax, edi
cdq
push edx
push eax
call fcn.100036f4
inc ebx
cmp ebx, 0x6571
jl 0x10002985
inc edi
push 0
pop ebx
cmp edi, 0x5b84
jl 0x10002982
push ebx
push 0x2436
push 0x1cc
push 0xb6e
push 0x257f
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 0x18], ebx
jmp 0x10002a48
cmp dword [ebp - 0x50], ebx
jne 0x100029d3
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x54]
imul eax, dword [ebp - 0x18]
test eax, eax
je 0x100029e5
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
sub edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x54]
mov ecx, dword [ebp - 0x18]
imul ecx, edx
sub ecx, eax
jne 0x10002a16
mov ecx, ebx
cmp dword [ebp - 0x18], ebx
je 0x10002a18
mov ecx, esi
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x54]
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setl dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x54]
cmp eax, edx
mov eax, dword [ebp - 0x50]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setg dl
mov dword [ebp + eax*4 - 0x54], edx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jle 0x100029cb
mov dword [ebp - 4], 3
cmp dword [ebp - 0x20], 0x3c7f
jge 0x10002a70
mov edx, str.ttrktwrh_bggo_hnujntqzs_lzaloyvg_wgk_mnqe_uyjxt_btyej
mov ecx, 0x1007dbf8
call fcn.10007689
or dword [ebp - 4], 0xffffffff
cmp byte [0x1007ed30], 0
jne 0x10002cbe
push ecx
push ecx
call fcn.10001ce9
mov eax, 0x8ade19d2
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x38], 0x4e6d4f28
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x3c], 0xf5e3d1aa
pop ecx
mov dword [ebp - 0x3c], 0x8ef8a6eb
pop ecx
mov dword [ebp - 0x18], ebx
jmp 0x10002aef
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x6c], 0x623b4709
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10002ae1
mov dword [ebp - 0x18], ebx
jmp 0x10002b08
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c], 0xfffffff6
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x10002afa
mov eax, dword [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0xfffffff3
cmp dword [ebp - 0x18], 0xffffffff
jg 0x10002c64
mov dword [ebp - 0x20], 0x64a11600
mov dword [ebp - 0x3c], 0x669d
cmp dword [ebp - 0x3c], 0x692f
jle 0x10002b8d
mov edi, ebx
mov eax, edi
mov dword [ebp - 0x38], 0x7cbf
mov dword [ebp - 0x34], eax
mov esi, eax
mov ebx, 0x3564
mov eax, esi
mov ecx, 0x1007dbf8
cdq
push edx
push eax
call fcn.100036f4
dec esi
dec ebx
jne 0x10002b53
mov eax, dword [ebp - 0x34]
dec eax
dec dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
jne 0x10002b4c
inc edi
cmp edi, 0x2b77
jl 0x10002b40
push ebx
xor esi, esi
push ebx
inc esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov dword [ebp - 0x38], 4
mov dword [ebp - 4], 5
cmp dword [ebp - 0x3c], 0x6661
jge 0x10002bb3
mov edx, str.iuuheyj_zpr_lnpihd
mov ecx, 0x1007dbf8
call fcn.10007689
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x2c]
cmp eax, 0xfffffffd
setg cl
mov dword [ebp - 0x3c], ecx
cmp edx, dword [ebp - 0x3c]
je 0x10002bd7
mov ecx, ebx
cmp dword [ebp - 0x78], ebx
je 0x10002bd9
mov ecx, esi
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
sete dl
sub edx, 0xffff
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
xor edx, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
setg dl
add ecx, 0x2db8e964
add ecx, edx
xor edx, edx
cmp ecx, eax
setge dl
sub edx, dword [ebp - 0x20]
neg edx
sbb edx, edx
add edx, 0xb
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x20], ebx
jne 0x10002c64
inc dword [ebp - 0x18]
jmp 0x10002b1d
call fcn.10001d11
mov dword [ebp - 0x3c], 0x283d
cmp dword [ebp - 0x3c], 0x29a7
jle 0x10002c9f
mov esi, ebx
mov edi, ebx
lea eax, [edi + esi]
mov ecx, 0x1007dbf8
cdq
push edx
push eax
call fcn.100036f4
inc edi
cmp edi, 0x75db
jl 0x10002c7d
inc esi
cmp esi, 0x5a7a
jl 0x10002c7b
mov dword [ebp - 4], 7
cmp dword [ebp - 0x3c], 0x258b
jge 0x10002cbe
mov edx, str.dcjcw_wtiq_azxd_cshk_knsky_smivjit_kao_cerszgeqc_taoygsz_ufeywrddg_wzilsffj_nzayru_fxhouar
mov ecx, 0x1007dbf8
call fcn.10007689
mov eax, dword [0x10080860]
cmp eax, 0x270
jne 0x10002d24
mov edx, 0x10080868
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, 0x10081228
jl 0x10002ccf
jmp 0x10002d30
cmp eax, 0x4e0
jb 0x10002d35
call fcn.100041fc
mov eax, dword [0x10080860]
mov edx, dword [eax*4 + 0x10080864]
inc eax
mov dword [0x10080860], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10081be4]
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 - 0x4c]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret