Function at 0x1006c204
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f7d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x27c
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1006d125
lea eax, [ebp + 0x28]
mov dword [ebp - 0x168], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0xd0], 0x75f9
mov dword [ebp - 0x150], 0x10010044
cmp dword [ebp - 0xd0], 0x79cf
jle 0x1006c320
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
and dword [ebp - 0x80], 0
jmp 0x1006c290
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x53eb
jge 0x1006c316
and dword [ebp - 0x40], 0
jmp 0x1006c2a6
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2fe7
jge 0x1006c311
and dword [ebp - 0x34], 0
jmp 0x1006c2bc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x74cd
jge 0x1006c30f
and dword [ebp - 0x60], 0
jmp 0x1006c2d2
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x3cfe
jge 0x1006c30d
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x80]
cdq
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
push dword [ebp - 0x180]
push dword [ebp - 0x184]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1006c2cb
jmp 0x1006c2b5
jmp 0x1006c29f
jmp 0x1006c289
push 0
push 0
call dword [sym.imp.GDI32.dll_GetClipBox]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0xd0], 0x723c
jge 0x1006c345
mov edx, dword [ebp - 0x150]
mov ecx, 0x10094c18
call fcn.10029186
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x1c8]
movzx eax, byte [eax]
test eax, eax
je 0x1006c3c4
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
movzx eax, byte [eax]
test eax, eax
je 0x1006c3bf
push 0x1fd
push 1
push 1
push 0xe3e
push 1
push 0x7d00
push 0x2a5c
push 0x5d2c
push 0x1f41
push 0x19f1
push 0x38fe
call fcn.1006aab3
add esp, 0x2c
jmp 0x1006d123
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x1f0], 0x96dd1e1e
mov dword [ebp - 0x1ec], 0x96dd1e1e
mov dword [ebp - 0x1e8], 0x96dd1e1e
mov dword [ebp - 0x1e4], 0x96dd1e1e
lea ecx, [ebp - 0x86]
call fcn.100267fd
push eax
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x238]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xe0]
call fcn.100267ac
and dword [ebp - 4], 0
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0xa4], 0xffffffff
push 0x5b9d
push 1
lea eax, [ebp - 0xe0]
push eax
push 0
call fcn.1005dcec
add esp, 0x10
mov dword [ebp - 0x48], 3
jmp 0x1006c49a
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1006ca78
mov dword [ebp - 0x18], 0x121ac488
mov dword [ebp - 0x94], 0x2eaf
mov dword [ebp - 0x188], 0x10010058
cmp dword [ebp - 0x94], 0x31ac
jle 0x1006c592
and dword [ebp - 0x68], 0
jmp 0x1006c4dc
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x5db3
jge 0x1006c592
and dword [ebp - 0x50], 0
jmp 0x1006c4f6
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2a47
jge 0x1006c58d
and dword [ebp - 0x2c], 0
jmp 0x1006c510
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3b5f
jge 0x1006c588
and dword [ebp - 0x78], 0
jmp 0x1006c526
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x5190
jge 0x1006c586
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x50]
xor eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x78]
cdq
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
lea ecx, [ebp - 0x258]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x258]
call fcn.1002640c
jmp 0x1006c51f
jmp 0x1006c509
jmp 0x1006c4ef
jmp 0x1006c4d5
mov dword [ebp - 0x18], 0
jmp 0x1006c5a2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x1006ca5b
mov dword [ebp - 0x10], 0
push 0x7254
push 0x7ae5
lea eax, [ebp - 0x10]
push eax
push 1
push 0x1e4b
push 0x34e0
push 0
push 0x34d6
push 0x63c
push 0xbad
push 0x5a83
push 0x2ca8
push 0x530d
push 0x1165
push 0x5764
push 0x5976
call fcn.1004da56
add esp, 0x40
mov dword [ebp - 0x10], 3
jmp 0x1006c614
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1006ca56
mov dword [ebp - 0x1dc], 2
mov dword [ebp - 0x1d8], 2
mov dword [ebp - 0x1d4], 2
mov dword [ebp - 0x1d0], 2
lea ecx, [ebp - 0x85]
call fcn.100267fd
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x240]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.100267ac
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x1006c68f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1006c6a2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], 1
jmp 0x1006c688
mov dword [ebp - 0x14], 0
jmp 0x1006c6b2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1006c6c8
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x224], 0xb2a93f04
jmp 0x1006c6ab
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x58], 3
jmp 0x1006c6ed
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0
jl 0x1006ca42
mov dword [ebp - 0x114], 0x34a0
mov dword [ebp - 0x14c], 0x10010098
cmp dword [ebp - 0x114], 0x36c3
jle 0x1006c7c6
and dword [ebp - 0x70], 0
jmp 0x1006c72f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x3b13
jge 0x1006c7b6
and dword [ebp - 0x30], 0
jmp 0x1006c745
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x772d
jge 0x1006c7b1
and dword [ebp - 0x3c], 0
jmp 0x1006c75b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x402
jge 0x1006c7af
and dword [ebp - 0x44], 0
jmp 0x1006c771
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x4e8c
jge 0x1006c7ad
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x44]
sar eax, cl
cdq
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1006c76a
jmp 0x1006c754
jmp 0x1006c73e
jmp 0x1006c728
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
mov dword [ebp - 0x20], 0xffffffff
cmp dword [ebp - 0x114], 0x33ba
jge 0x1006c7e9
mov edx, dword [ebp - 0x14c]
mov ecx, 0x10094c18
call fcn.10029186
mov dword [ebp - 0xe8], 0x61e33ecd
mov dword [ebp - 0x20], 0
jmp 0x1006c803
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x1006ca3d
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
jg 0x1006c821
mov dword [ebp - 0x9c], 1
jmp 0x1006c828
and dword [ebp - 0x9c], 0
imul eax, dword [ebp - 0x9c], 0xb2c4
cmp eax, dword [ebp - 0x18]
jle 0x1006c843
mov dword [ebp - 0xd4], 1
jmp 0x1006c84a
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xa4]
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe0]
call fcn.100267ee
cmp esi, dword [eax]
je 0x1006c87a
mov dword [ebp - 0x108], 1
jmp 0x1006c881
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x108], eax
jg 0x1006c898
mov dword [ebp - 0xac], 1
jmp 0x1006c89f
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb4], eax
push 2
lea ecx, [ebp - 0x21c]
call fcn.100267ee
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xe8], eax
mov esi, dword [ebp - 0xe8]
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe0]
call fcn.100267ee
mov eax, dword [eax]
add eax, dword [ebp - 0xb4]
cmp eax, esi
jge 0x1006c8f5
mov dword [ebp - 0x100], 1
jmp 0x1006c8fc
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0x1fa6
jl 0x1006c924
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe0]
call fcn.100267ee
cmp dword [eax], 0
jne 0x1006c924
and dword [ebp - 0xbc], 0
jmp 0x1006c92e
mov dword [ebp - 0xbc], 1
cmp dword [ebp - 0xbc], 0xb5e4
jne 0x1006c946
mov dword [ebp - 0xf0], 1
jmp 0x1006c94d
and dword [ebp - 0xf0], 0
mov esi, dword [ebp - 0xf0]
sub esi, 0x781b
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe0]
call fcn.100267ee
cmp esi, dword [eax]
jl 0x1006c977
mov dword [ebp - 0xc4], 1
jmp 0x1006c97e
and dword [ebp - 0xc4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe0]
call fcn.100267ee
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
je 0x1006c9a2
mov dword [ebp - 0x110], 1
jmp 0x1006c9a9
and dword [ebp - 0x110], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0xe0]
call fcn.100267ee
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [eax]
jne 0x1006c9cd
mov dword [ebp - 0xcc], 1
jmp 0x1006c9d4
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0x3c5a4a10
jge 0x1006c9e6
cmp dword [ebp - 0x18], 0
je 0x1006c9fd
mov dword [ebp - 0x1b8], 0x5533f2a6
cmp dword [ebp - 0x1b8], 0
je 0x1006c9fb
jmp 0x1006ca3d
jmp 0x1006ca38
mov dword [ebp - 0x154], 0xffffffff
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x224], ecx
jle 0x1006ca25
mov dword [ebp - 0xf8], 1
jmp 0x1006ca2c
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x154], eax
jmp 0x1006c7fc
jmp 0x1006c6d8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.100267d2
jmp 0x1006c60d
jmp 0x1006c59b
cmp dword [ebp - 0x94], 0x2ceb
jge 0x1006ca73
push dword [ebp - 0x188]
call fcn.10079103
pop ecx
jmp 0x1006c493
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.100267d2
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x1ac]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + section.skbkbo]
mov ecx, dword [ebp - 0x164]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x8c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10c], 0x5f4b3f4b
push 4
lea ecx, [ebp - 0x1fc]
call fcn.10026750
mov dword [ebp - 4], 2
mov dword [ebp - 0x148], 9
mov dword [ebp - 0x140], 0xfffb
mov dword [ebp - 0x158], 0xed4d
push 0xb63
push 1
push 0x6143
push 0xba7
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x1fc]
push eax
call fcn.10056a31
add esp, 0x1c
mov dword [ebp - 0x1c], 0xc
jmp 0x1006cb30
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1a
jne 0x1006d097
mov dword [ebp - 0x98], 0x5d8b
mov dword [ebp - 0x16c], 0x100100c8
cmp dword [ebp - 0x98], 0x5e26
jle 0x1006cc29
and dword [ebp - 0x64], 0
jmp 0x1006cb6b
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x1738
jge 0x1006cc29
and dword [ebp - 0x4c], 0
jmp 0x1006cb85
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2e6e
jge 0x1006cc24
and dword [ebp - 0x54], 0
jmp 0x1006cb9f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x4b05
jge 0x1006cc1f
and dword [ebp - 0x5c], 0
jmp 0x1006cbb5
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x4387
jge 0x1006cc1a
mov eax, dword [ebp - 0x4c]
cdq
idiv dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
shl edx, cl
and edx, dword [ebp - 0x64]
mov eax, edx
cdq
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
lea ecx, [ebp - 0x270]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x270]
call fcn.1002640c
jmp 0x1006cbae
jmp 0x1006cb98
jmp 0x1006cb7e
jmp 0x1006cb64
push 2
lea ecx, [ebp - 0x120]
call fcn.10026750
mov byte [ebp - 4], 3
cmp dword [ebp - 0x98], 0x5bf7
jge 0x1006cc52
push dword [ebp - 0x16c]
call fcn.10079103
pop ecx
mov dword [ebp - 0xa0], 0x70e7
mov dword [ebp - 0x174], 0x10010118
cmp dword [ebp - 0xa0], 0x71fa
jle 0x1006ccf7
and dword [ebp - 0x6c], 0
jmp 0x1006cc83
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x7745
jge 0x1006ccf7
and dword [ebp - 0x74], 0
jmp 0x1006cc99
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x74bb
jge 0x1006ccf5
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
shl eax, cl
cdq
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x288]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x288]
call fcn.1002640c
jmp 0x1006cc92
jmp 0x1006cc7c
push 2
lea ecx, [ebp - 0x208]
call fcn.10026750
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa0], 0x70a4
jge 0x1006cd20
push dword [ebp - 0x174]
call fcn.10079103
pop ecx
lea eax, [ebp - 0x120]
push eax
push 0x585f
push 0
push 0x6694
push 0x7695
push 0xdcf
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.10053871
add esp, 0x20
mov dword [ebp - 0xa8], 0x1ef0
mov dword [ebp - 0x1a0], 0x1001015c
cmp dword [ebp - 0xa8], 0x21cf
jle 0x1006ce0e
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
and dword [ebp - 0x38], 0
jmp 0x1006cd8a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x51e5
jge 0x1006ce00
and dword [ebp - 0x7c], 0
jmp 0x1006cda0
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x5acd
jge 0x1006cdfe
and dword [ebp - 0x84], 0
jmp 0x1006cdbf
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x40cb
jge 0x1006cdfc
mov eax, dword [ebp - 0x7c]
and eax, dword [ebp - 0x84]
xor eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], edx
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1006cdb2
jmp 0x1006cd99
jmp 0x1006cd83
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov dword [ebp - 0x24], 0
jmp 0x1006ce1e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1006ce34
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x230], 5
jmp 0x1006ce17
cmp dword [ebp - 0xa8], 0x1e4d
jge 0x1006ce50
mov edx, dword [ebp - 0x1a0]
mov ecx, 0x10094c18
call fcn.10029186
push 1
push 0x43c5
push 0xd14
push 0x16a4
push 0x2dd5
push 0x32a9
push 0
push 0x3216
lea eax, [ebp - 0x24]
push eax
push 0x34e2
push 0x28c1
push 0x29
push 0x3d15
push 0x1d1d
push 0x7afb
push 0x2f8
push 1
lea eax, [ebp - 0x208]
push eax
push 0x3688
call fcn.100549d4
add esp, 0x4c
push 0
lea ecx, [ebp - 0x120]
call fcn.100267ee
and dword [eax], 0
jmp 0x1006cee2
push 0
lea ecx, [ebp - 0x120]
call fcn.100267ee
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x120]
call fcn.100267ee
cmp dword [eax], 9
jg 0x1006d074
mov dword [ebp - 0x28], 0xfff7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x230], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xb8]
jle 0x1006cf32
mov dword [ebp - 0xc0], 1
jmp 0x1006cf39
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0x2280643b
jne 0x1006cf51
mov dword [ebp - 0xc8], 1
jmp 0x1006cf58
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
inc eax
cmp eax, 0x4dde9a
je 0x1006cf72
mov dword [ebp - 0x90], 1
jmp 0x1006cf79
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x90], eax
je 0x1006cf90
mov dword [ebp - 0x144], 1
jmp 0x1006cf97
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xe4], eax
push 0
lea ecx, [ebp - 0x208]
call fcn.100267ee
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
cmp dword [ebp - 0xe4], 0
jne 0x1006cfd6
cmp dword [ebp - 0x28], 0
jne 0x1006cfd6
and dword [ebp - 0xec], 0
jmp 0x1006cfe0
mov dword [ebp - 0xec], 1
push 1
lea ecx, [ebp - 0x120]
call fcn.100267ee
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [eax]
jg 0x1006d00c
mov eax, 0xb969b42c
test eax, eax
je 0x1006d00c
mov dword [ebp - 0xf4], 1
jmp 0x1006d013
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xf4]
je 0x1006d039
push 0
lea ecx, [ebp - 0x120]
call fcn.100267ee
cmp dword [eax], 0
jne 0x1006d039
and dword [ebp - 0xfc], 0
jmp 0x1006d043
mov dword [ebp - 0xfc], 1
mov eax, dword [ebp - 0x28]
neg eax
cmp eax, dword [ebp - 0xfc]
jle 0x1006d05c
mov dword [ebp - 0x104], 1
jmp 0x1006d063
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
jmp 0x1006cebe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x208]
call fcn.100267d2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.100267d2
jmp 0x1006cb29
push 0
push 0x12bd
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x7749
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x3e44
lea eax, [ebp - 0x158]
push eax
call fcn.100558de
add esp, 0x2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.100267d2
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1006d123
push 0
push 0x52b
push 1
push 0x71e9
call fcn.1005aa11
add esp, 0x10
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
jmp 0x1006d15c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x130], eax
push 1
push dword [ebp - 0x130]
push 0x7f6b
push 0x4f6c
push 0x40b4
push dword [ebp - 0x138]
call fcn.1005ac71
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret