Function at 0x10023bce
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ea04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push esi
push edi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10023efe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x254], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x17c]
movzx eax, byte [eax]
test eax, eax
je 0x10023e2e
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x14c], 0x624c
mov dword [ebp - 0x15c], 0x100096e8
cmp dword [ebp - 0x14c], 0x63ac
jle 0x10023d4e
and dword [ebp - 0x74], 0
jmp 0x10023c90
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x3e97
jge 0x10023d4e
and dword [ebp - 0x4c], 0
jmp 0x10023caa
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x1806
jge 0x10023d49
and dword [ebp - 0x5c], 0
jmp 0x10023cc4
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x1537
jge 0x10023d44
and dword [ebp - 0x54], 0
jmp 0x10023cda
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x1dd7
jge 0x10023d3f
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
shl edx, cl
or eax, edx
cdq
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], edx
push dword [ebp - 0x200]
push dword [ebp - 0x204]
lea ecx, [ebp - 0x368]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x368]
call fcn.1002640c
jmp 0x10023cd3
jmp 0x10023cbd
jmp 0x10023ca3
jmp 0x10023c89
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x14c], 0x609a
jge 0x10023d72
push dword [ebp - 0x15c]
call fcn.10079103
pop ecx
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10023e29
lea eax, [ebp - 0x38c]
push eax
call fcn.10012857
pop ecx
mov esi, eax
lea edi, [ebp - 0x330]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x330]
lea edi, [ebp - 0x33c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax]
call fcn.100159e1
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x140]
push dword [eax]
lea eax, [ebp - 0x348]
push eax
call fcn.10019475
add esp, 0x10
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x220], eax
and dword [ebp - 4], 0
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x194]
call fcn.1002688b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x348]
call fcn.100268c0
jmp 0x10023ef9
mov dword [ebp - 0xa4], 0x2710
mov dword [ebp - 0x19c], 0x10009718
cmp dword [ebp - 0xa4], 0x2a8c
jle 0x10023ecd
and dword [ebp - 0x60], 0
jmp 0x10023e5b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x6ade
jge 0x10023ecd
and dword [ebp - 0x40], 0
jmp 0x10023e71
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x3f6e
jge 0x10023ecb
mov eax, dword [ebp - 0x60]
xor eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], edx
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
lea ecx, [ebp - 0x3bc]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x3bc]
call fcn.1002640c
jmp 0x10023e6a
jmp 0x10023e54
mov byte [ebp - 0x21], 0
push 1
push 0
lea eax, [ebp - 0x21]
push eax
call fcn.1001872c
add esp, 0xc
cmp dword [ebp - 0xa4], 0x2588
jge 0x10023ef9
push dword [ebp - 0x19c]
call fcn.10079103
pop ecx
jmp 0x10025023
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x22c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x244], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x244]
movzx eax, byte [eax]
test eax, eax
je 0x10024f0c
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x1c0], eax
push 1
lea ecx, [ebp - 0x2b4]
call fcn.10026750
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0xd5493e6
mov dword [ebp - 0x1c], 0xa0a9f4f9
mov dword [ebp - 0x120], 2
mov dword [ebp - 0x108], 0x113a
mov dword [ebp - 0x1b4], 0x10009758
cmp dword [ebp - 0x108], 0x1477
jle 0x10024072
and dword [ebp - 0x68], 0
jmp 0x10023fdb
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x363d
jge 0x10024072
and dword [ebp - 0x64], 0
jmp 0x10023ff5
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x757e
jge 0x1002406d
and dword [ebp - 0x7c], 0
jmp 0x1002400b
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x13bf
jge 0x1002406b
and dword [ebp - 0x6c], 0
jmp 0x10024021
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x70e4
jge 0x10024069
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
shl eax, cl
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x6c]
sar eax, cl
cdq
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x2d0], 0x100945c0
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1002401a
jmp 0x10024004
jmp 0x10023fee
jmp 0x10023fd4
push 3
lea ecx, [ebp - 0x2a8]
call fcn.10026750
mov byte [ebp - 4], 2
cmp dword [ebp - 0x108], 0xf71
jge 0x1002409f
mov edx, dword [ebp - 0x1b4]
mov ecx, 0x10094c18
call fcn.10029186
mov dword [ebp - 0x1c4], 0xcc3231a2
push 0x3b8a
push 0x2857
lea eax, [ebp - 0x10]
push eax
push 0x6029
push 0x717e
lea eax, [ebp - 0x2b4]
push eax
push 0
call fcn.1001cbc4
add esp, 0x1c
mov dword [ebp - 0x10], 0
jmp 0x100240e2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100240f8
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xb8], 0xfffffffe
jmp 0x100240db
mov dword [ebp - 0x10], 0
jmp 0x10024108
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002411e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c0], 0x3bd791f9
jmp 0x10024101
push 0x12fe
push 0x6929
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x2a8]
push eax
call fcn.1001602b
add esp, 0x18
mov eax, 0xffff0f7b
test eax, eax
je 0x1002415a
cmp dword [ebp - 0x14], 0
je 0x1002415a
mov dword [ebp - 0xc0], 1
jmp 0x10024161
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc0], eax
jle 0x10024178
mov dword [ebp - 0x130], 1
jmp 0x1002417f
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0
jne 0x1002419a
mov eax, 0x5eaf
test eax, eax
jne 0x1002419a
and dword [ebp - 0xc8], 0
jmp 0x100241a4
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc8], eax
jne 0x100241bb
mov dword [ebp - 0x110], 1
jmp 0x100241c2
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xb8]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xb8], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jl 0x100241fb
mov dword [ebp - 0xd0], 1
jmp 0x10024202
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0x1c]
sub eax, 9
cmp eax, dword [ebp - 0x1c]
je 0x1002421f
mov dword [ebp - 0x150], 1
jmp 0x10024226
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x150], eax
jg 0x1002423d
mov dword [ebp - 0xd8], 1
jmp 0x10024244
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd8], eax
je 0x1002425b
mov dword [ebp - 0x118], 1
jmp 0x10024262
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
neg eax
cmp eax, 1
jae 0x1002427b
mov dword [ebp - 0xe0], 1
jmp 0x10024282
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x78ef
jge 0x1002429a
mov dword [ebp - 0x1fc], 1
jmp 0x100242a1
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x14], 0x6cc72b75
jge 0x100242bf
mov dword [ebp - 0x138], 1
jmp 0x100242c6
and dword [ebp - 0x138], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax - 0x2c0], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xb8], 0
jne 0x100242fa
push 4
pop eax
imul eax, eax, 0
or ecx, 0xffffffff
sub ecx, dword [ebp + eax - 0xb8]
je 0x1002430c
cmp dword [ebp - 0x1c], 0
je 0x1002430c
mov dword [ebp - 0xe8], 1
jmp 0x10024313
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x14], eax
jg 0x10024333
mov dword [ebp - 0x1bc], 1
jmp 0x1002433a
and dword [ebp - 0x1bc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2c0]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x2e0], eax
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100267ee
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0xffff
je 0x10024384
mov dword [ebp - 0xf0], 1
jmp 0x1002438b
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb8]
cmp eax, dword [ebp - 0xf0]
jl 0x100243ab
mov dword [ebp - 0x148], 1
jmp 0x100243b2
and dword [ebp - 0x148], 0
push 2
lea ecx, [ebp - 0x2a8]
call fcn.100267ee
mov ecx, dword [ebp - 0x148]
sub ecx, dword [eax]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0xb8]
jle 0x100243e1
mov dword [ebp - 0xf8], 1
jmp 0x100243e8
and dword [ebp - 0xf8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb8]
cmp dword [ebp - 0xf8], eax
jge 0x10024408
mov dword [ebp - 0x128], 1
jmp 0x1002440f
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2c0]
cmp dword [ebp - 0x128], eax
jle 0x10024431
xor eax, eax
inc eax
jne 0x10024431
and dword [ebp - 0x258], 0
jmp 0x1002443b
mov dword [ebp - 0x258], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x1c4], 0xaaf09d89
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.100267d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.100267d2
lea ecx, [ebp - 0x300]
call fcn.10026573
mov dword [ebp - 4], 3
push 0x601
push dword [ebp - 0xf4]
push 1
push 1
lea eax, [ebp - 0x300]
push eax
call fcn.100160ef
add esp, 0x14
mov dword [ebp - 0x28], 0xe2db58e4
mov dword [ebp - 0xe4], 0xffffffff
push 4
lea ecx, [ebp - 0x264]
call fcn.10026750
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0x95aad853
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x190], 0x8e1f9167
push 0x4846
lea eax, [ebp - 0x264]
push eax
push 0x5423
push 1
push 1
push 0x3f43
lea eax, [ebp - 0x38]
push eax
call fcn.10016b74
add esp, 0x1c
mov dword [ebp - 0x38], 0
jmp 0x1002450f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10024525
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x240], 1
jmp 0x10024508
lea eax, [ebp - 0x20]
push eax
push 1
push 0x6902
push 0x32d9
push 1
push 0x2ad7
call fcn.1001624c
add esp, 0x18
mov dword [ebp - 0x28], 0x1d
jmp 0x10024554
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff3
jg 0x10024a0e
mov dword [ebp - 0x100], 0x858
mov dword [ebp - 0x1cc], 0x100097b4
cmp dword [ebp - 0x100], 0x98a
jle 0x10024629
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ExtTextOutA]
and dword [ebp - 0x8c], 0
jmp 0x100245ae
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x5756
jge 0x10024629
and dword [ebp - 0x44], 0
jmp 0x100245c7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7920
jge 0x10024624
mov eax, dword [ebp - 0x8c]
xor eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edx
push dword [ebp - 0x224]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x380]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x380]
call fcn.1002640c
jmp 0x100245c0
jmp 0x100245a1
mov dword [ebp - 0x9c], 0xae7b1b0c
cmp dword [ebp - 0x100], 0x5e0
jge 0x1002464b
push dword [ebp - 0x1cc]
call fcn.10079103
pop ecx
mov dword [ebp - 0xac], 0
push 3
lea ecx, [ebp - 0x27c]
call fcn.10026750
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
jmp 0x10024676
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002468c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x158], 0xb221
jmp 0x1002466f
mov dword [ebp - 0x18], 0
jmp 0x1002469c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100246b8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x27c]
call fcn.100267ee
mov dword [eax], 0xd9978317
jmp 0x10024695
mov dword [ebp - 0x20], 0
jmp 0x100246c8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1a
je 0x100247f5
mov dword [ebp - 0x1d4], 4
push 0x1bb2
push 0x2f2b
lea eax, [ebp - 0xe4]
push eax
push 0x2393
push 0x7d5d
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 1
push 0xe38
push 0x2eec
push 0x16ec
call fcn.10023bce
add esp, 0x30
mov dword [ebp - 0xa8], 0x75b7
mov dword [ebp - 0x214], 0x100097c4
cmp dword [ebp - 0xa8], 0x7769
jle 0x100247ca
push 0
push 0
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
and dword [ebp - 0x48], 0
jmp 0x10024756
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x49c7
jge 0x100247ca
and dword [ebp - 0x50], 0
jmp 0x1002476c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2949
jge 0x100247c8
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
shl eax, cl
cdq
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
push dword [ebp - 0x230]
push dword [ebp - 0x234]
lea ecx, [ebp - 0x3a4]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x3a4]
call fcn.1002640c
jmp 0x10024765
jmp 0x1002474f
cmp dword [ebp - 0x1d4], 0
je 0x100247d8
jmp 0x100246c1
cmp dword [ebp - 0xa8], 0x7455
jge 0x100247f0
push dword [ebp - 0x214]
call fcn.10079103
pop ecx
jmp 0x100246c1
push 1
lea ecx, [ebp - 0x264]
call fcn.100267ee
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x28], 0xffffffff
jbe 0x10024828
mov dword [ebp - 0x168], 1
jmp 0x1002482f
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x2dc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x240]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x2e4], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x158]
cmp dword [ebp + eax - 0x240], ecx
jle 0x10024882
mov dword [ebp - 0xbc], 1
jmp 0x10024889
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xbc], eax
jg 0x100248a0
mov dword [ebp - 0xc4], 1
jmp 0x100248a7
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc4], eax
jl 0x100248be
mov dword [ebp - 0xcc], 1
jmp 0x100248c5
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0xfffffffa
jle 0x100248da
mov dword [ebp - 0x164], 1
jmp 0x100248e1
and dword [ebp - 0x164], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
mov dword [ebp - 0x31c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
mov dword [ebp - 0x320], eax
mov esi, dword [ebp - 0x9c]
dec esi
push 0
lea ecx, [ebp - 0x27c]
call fcn.100267ee
cmp esi, dword [eax]
jne 0x1002492b
mov dword [ebp - 0x180], 1
jmp 0x10024932
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x160], eax
push 2
lea ecx, [ebp - 0x264]
call fcn.100267ee
mov ecx, dword [ebp - 0x160]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x27c]
call fcn.100267ee
mov dword [eax], 0x8a0f
cmp dword [ebp - 0x28], 0x8a0f
jne 0x10024978
mov dword [ebp - 0xd4], 1
jmp 0x1002497f
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x240]
jne 0x100249b2
cmp dword [ebp - 0x98], 0
jne 0x100249b2
and dword [ebp - 0xdc], 0
jmp 0x100249bc
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x158], 0xdcfec76e
jae 0x100249e7
mov dword [ebp - 0xec], 1
jmp 0x100249ee
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.100267d2
jmp 0x1002454d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.100267d2
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
jae 0x10024d7f
mov dword [ebp - 0x29c], 1
mov dword [ebp - 0x298], 1
mov dword [ebp - 0x294], 1
mov dword [ebp - 0x290], 1
lea ecx, [ebp - 0x91]
call fcn.100267fd
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x350]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x270]
call fcn.100267ac
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], 0xf23e5250
mov dword [ebp - 0x58], 1
push 3
lea ecx, [ebp - 0x288]
call fcn.10026750
mov byte [ebp - 4], 7
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x34], 0xae857b1a
push 0x5586
push 1
push 0x4369
push 0x1349
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x308]
push eax
push 1
call fcn.100169a3
add esp, 0x1c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x318], eax
push 1
lea ecx, [ebp - 0x270]
call fcn.100267ee
mov dword [eax], 0xaa165420
mov eax, 0xaa165420
cmp eax, 0x71b35d56
jl 0x10024b1d
mov dword [ebp - 0xfc], 1
jmp 0x10024b24
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xfc], eax
jg 0x10024b3b
mov dword [ebp - 0xa0], 1
jmp 0x10024b42
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x288]
call fcn.100267ee
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
cmp dword [ebp - 0xa0], 0
jne 0x10024b6f
cmp dword [ebp - 0x58], 0
jne 0x10024b6f
and dword [ebp - 0x104], 0
jmp 0x10024b79
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x310], eax
push 3
lea ecx, [ebp - 0x270]
call fcn.100267ee
cmp dword [eax], 0xe80c6548
jne 0x10024ba3
mov dword [ebp - 0x10c], 1
jmp 0x10024baa
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jbe 0x10024bc8
mov dword [ebp - 0x114], 1
jmp 0x10024bcf
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x114]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x62d50c85
jg 0x10024bf1
mov dword [ebp - 0x11c], 1
jmp 0x10024bf8
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x11c], eax
jl 0x10024c99
mov dword [ebp - 0x1a0], 0xffffffff
push 3
lea ecx, [ebp - 0x2cc]
call fcn.10026750
mov byte [ebp - 4], 8
mov dword [ebp - 0x198], 1
push 1
lea eax, [ebp - 0x2cc]
push eax
push 0x6f9f
push 0xccf
lea eax, [ebp - 0x2e8]
push eax
push 1
call fcn.1001717b
add esp, 0x18
push 0x100e
push 1
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.100175b2
add esp, 0x24
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2cc]
call fcn.100267d2
jmp 0x10024cd4
mov dword [ebp - 0x34], 0
jmp 0x10024ca9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x10024cd4
mov dword [ebp - 0x2c], 0
jmp 0x10024cbf
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x10024cd2
push 1
push 0
call fcn.1001e920
pop ecx
pop ecx
jmp 0x10024cb8
jmp 0x10024ca2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.100267d2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.100267d2
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1a8], eax
push 0
call fcn.10023318
pop ecx
and dword [ebp - 0x78], 0
jmp 0x10024d1a
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x78], 2
jae 0x10024d69
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
xor edx, edx
div dword [0x100945d4]
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10012816
mov ecx, dword [ebp - 0x1a8]
add ecx, dword [ebp - 0x78]
mov byte [ecx], al
jmp 0x10024d0c
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x300]
call fcn.1002660b
jmp 0x10024a21
push 0
push 0x636e
push 0x7657
push 0x642e
push 0x1451
call fcn.1001d0ae
add esp, 0x14
mov dword [ebp - 0x134], 0x1c97
mov dword [ebp - 0x1c8], 0x100097f0
cmp dword [ebp - 0x134], 0x1ce0
jle 0x10024eba
and dword [ebp - 0x80], 0
jmp 0x10024dce
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x5eb9
jge 0x10024eba
and dword [ebp - 0x88], 0
jmp 0x10024df1
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x1eb6
jge 0x10024eb5
and dword [ebp - 0x90], 0
jmp 0x10024e17
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x217b
jge 0x10024eb0
and dword [ebp - 0x84], 0
jmp 0x10024e3d
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x172a
jge 0x10024eab
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0x84]
xor eax, ecx
cdq
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], edx
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x3d4]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x3d4]
call fcn.1002640c
jmp 0x10024e30
jmp 0x10024e0a
jmp 0x10024de4
jmp 0x10024dc7
lea eax, [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x1c0]
call fcn.100265ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x300]
call fcn.100265e3
jmp 0x10025023
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 3
jmp 0x10024f4f
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jl 0x10025023
push 2
lea ecx, [ebp - 0x174]
call fcn.10026750
mov dword [ebp - 4], 9
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x304]
push eax
push 0
push 0x364
call fcn.10025033
add esp, 0x10
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x13c]
call fcn.100267ee
mov esi, eax
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x13c]
call fcn.100267ee
mov ecx, dword [esi]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x174]
call fcn.100267ee
and dword [eax], 0
jmp 0x10024fe8
push 1
lea ecx, [ebp - 0x174]
call fcn.100267ee
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x144]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x174]
call fcn.100267ee
cmp dword [eax], 3
jg 0x1002500f
push 1
push 0x7284
push 1
push 1
call fcn.10016507
add esp, 0x10
jmp 0x10024fc4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.100267d2
jmp 0x10024f44
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret