Function at 0x1002ee56
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ed2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d4
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10031541
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x380]
movzx eax, byte [eax]
test eax, eax
je 0x1002efba
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x288], 0x1e6e2bfb
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x4c], 0x6df7e441
mov dword [ebp - 0x290], 0xffffffff
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x2dc], 1
push 0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.10032fa9
add esp, 0x20
mov dword [ebp - 0x4c], 0xffffffe5
jmp 0x1002ef42
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xc
je 0x1002efb5
mov dword [ebp - 0x3dc], 0xfffffffa
mov dword [ebp - 0x3d4], 3
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 0
push 1
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 0x5f01
push 0x41a7
push 1
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.1003269e
add esp, 0x38
jmp 0x1002ef3b
jmp 0x1003153c
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0xcc], 0xd5e48d32
push 2
lea ecx, [ebp - 0x524]
call fcn.10026750
and dword [ebp - 4], 0
mov dword [ebp - 0x74], 0
jmp 0x1002effd
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x1002f019
push dword [ebp - 0x74]
lea ecx, [ebp - 0x524]
call fcn.100267ee
mov dword [eax], 0xaf72
jmp 0x1002eff6
mov dword [ebp - 0xcc], 2
jmp 0x1002f032
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0xffffffed
jg 0x1002f0ee
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x7c], 0
jmp 0x1002f06a
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jge 0x1002f080
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x5e0], 0x83c8fc55
jmp 0x1002f063
mov dword [ebp - 0x44], 3
jmp 0x1002f090
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1002f0e9
mov dword [ebp - 0x2b0], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp + eax*4 - 0x5e0], 0
je 0x1002f0af
jmp 0x1002f0e9
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp + eax*4 - 0x5e0]
mov dword [ebp - 0x514], eax
mov eax, 0xf5f49900
test eax, eax
jae 0x1002f0d4
mov dword [ebp - 0x274], 1
jmp 0x1002f0db
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x2b0], eax
jmp 0x1002f089
jmp 0x1002f025
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x524]
call fcn.100267d2
mov dword [ebp - 0x174], 0x6754
mov dword [ebp - 0x2b8], 0x1000a294
cmp dword [ebp - 0x174], 0x6b32
jle 0x1002f22f
and dword [ebp - 0x8c], 0
jmp 0x1002f137
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x181c
jge 0x1002f22f
and dword [ebp - 0x10c], 0
jmp 0x1002f15d
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x5018
jge 0x1002f22a
and dword [ebp - 0x84], 0
jmp 0x1002f183
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x60a9
jge 0x1002f225
and dword [ebp - 0xd4], 0
jmp 0x1002f1a9
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x5bdc
jge 0x1002f220
mov eax, dword [ebp - 0x10c]
cdq
idiv dword [ebp - 0x84]
mov ecx, dword [ebp - 0xd4]
shl edx, cl
or edx, dword [ebp - 0x8c]
mov eax, edx
cdq
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], edx
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
lea ecx, [ebp - 0x668]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3c0]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x668]
call fcn.1002640c
jmp 0x1002f19c
jmp 0x1002f176
jmp 0x1002f150
jmp 0x1002f12a
cmp dword [ebp - 0x174], 0x648b
jge 0x1002f247
push dword [ebp - 0x2b8]
call fcn.10079103
pop ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], 0xc
jmp 0x1002f25e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x1a
jne 0x1002f2b2
mov dword [ebp - 0x398], 0xfffffffd
push 0x4521
push 0
push 0
push 0x20bd
push 0x54db
push 0x493d
call fcn.1002b65d
add esp, 0x18
push 1
push 0x6bcd
push 0x4c26
push 0
lea eax, [ebp - 0x398]
push eax
push 0x2acf
call fcn.1002dfbe
add esp, 0x18
jmp 0x1002f257
push 0x5a3
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0x6a7
call fcn.100331a1
add esp, 0x14
push 1
push 0x6c91
lea eax, [ebp - 0x22c]
push eax
push 0
call fcn.1002aadb
add esp, 0x10
push 2
lea ecx, [ebp - 0x3ec]
call fcn.10026750
mov dword [ebp - 4], 1
push 0x117a
push 0x79ae
lea eax, [ebp - 0x59c]
push eax
push 0
push 1
lea eax, [ebp - 0x3ec]
push eax
push 1
call fcn.1002eaa3
add esp, 0x1c
mov dword [ebp - 0x254], 0x219e
mov dword [ebp - 0x3d0], 0x1000a2cc
cmp dword [ebp - 0x254], 0x2303
jle 0x1002f3c8
and dword [ebp - 0xfc], 0
jmp 0x1002f358
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x514a
jge 0x1002f3bc
and dword [ebp - 0x94], 0
jmp 0x1002f37a
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x342f
jge 0x1002f3ba
mov eax, dword [ebp - 0xfc]
cdq
idiv dword [ebp - 0x94]
mov eax, edx
cdq
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], edx
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1002f36d
jmp 0x1002f34b
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_SelectPalette]
push 1
lea ecx, [ebp - 0x3ec]
call fcn.100267ee
mov dword [eax], 0x1d
jmp 0x1002f401
push 1
lea ecx, [ebp - 0x3ec]
call fcn.100267ee
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x204]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x3ec]
call fcn.100267ee
cmp dword [eax], 4
jne 0x1002f554
mov dword [ebp - 0x4d8], 0x2526041
mov dword [ebp - 0x4d4], 0x2526041
mov dword [ebp - 0x4d0], 0x2526041
mov dword [ebp - 0x4cc], 0x2526041
mov dword [ebp - 0x17c], 0x49c
mov dword [ebp - 0x2c0], 0x1000a2ec
cmp dword [ebp - 0x17c], 0x67c
jle 0x1002f511
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x11c], 0
jmp 0x1002f47f
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x8a6
jge 0x1002f511
and dword [ebp - 0xdc], 0
jmp 0x1002f4a5
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xca8
jge 0x1002f50c
and dword [ebp - 0x9c], 0
jmp 0x1002f4c7
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x71ec
jge 0x1002f50a
mov eax, dword [ebp - 0xdc]
and eax, dword [ebp - 0x9c]
or eax, dword [ebp - 0x11c]
cdq
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], edx
push dword [ebp - 0x2fc]
push dword [ebp - 0x300]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1002f4ba
jmp 0x1002f498
jmp 0x1002f472
cmp dword [ebp - 0x17c], 0x339
jge 0x1002f52d
mov edx, dword [ebp - 0x2c0]
mov ecx, 0x10094c18
call fcn.10029186
push 0
push 0x6b85
push 1
call fcn.1002d7e0
add esp, 0xc
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x4d8], 0
je 0x1002f54f
jmp 0x1002f554
jmp 0x1002f3dd
cmp dword [ebp - 0x254], 0x2006
jge 0x1002f570
mov edx, dword [ebp - 0x3d0]
mov ecx, 0x10094c18
call fcn.10029186
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ec]
call fcn.100267d2
cmp dword [ebp - 0x22c], 0
je 0x10031457
mov dword [ebp - 0x1c4], 0x7aa1
mov dword [ebp - 0x3e0], 0x1000a328
cmp dword [ebp - 0x1c4], 0x7add
jle 0x1002f6ab
push 0
call dword [sym.imp.GDI32.dll_RealizePalette]
and dword [ebp - 0xa4], 0
jmp 0x1002f5ce
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x2947
jge 0x1002f6ab
and dword [ebp - 0xe4], 0
jmp 0x1002f5f4
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x231e
jge 0x1002f6a6
and dword [ebp - 0xac], 0
jmp 0x1002f61a
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x1db2
jge 0x1002f6a1
and dword [ebp - 0x60], 0
jmp 0x1002f633
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x655f
jge 0x1002f69c
mov eax, dword [ebp - 0xa4]
xor eax, dword [ebp - 0xe4]
or eax, dword [ebp - 0xac]
or eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], edx
push dword [ebp - 0x308]
push dword [ebp - 0x30c]
lea ecx, [ebp - 0x698]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x698]
call fcn.1002640c
jmp 0x1002f62c
jmp 0x1002f60d
jmp 0x1002f5e7
jmp 0x1002f5c1
mov dword [ebp - 0x184], 0x72b4
mov dword [ebp - 0x2d0], 0x1000a378
cmp dword [ebp - 0x184], 0x766a
jle 0x1002f76f
and dword [ebp - 0x104], 0
jmp 0x1002f6e5
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x2bbb
jge 0x1002f76f
and dword [ebp - 0xb4], 0
jmp 0x1002f707
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x39ea
jge 0x1002f76a
mov eax, dword [ebp - 0x104]
and eax, dword [ebp - 0xb4]
cdq
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edx
push dword [ebp - 0x314]
push dword [ebp - 0x318]
lea ecx, [ebp - 0x620]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x394], eax
mov ecx, dword [ebp - 0x394]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x620]
call fcn.1002640c
jmp 0x1002f6fa
jmp 0x1002f6d8
mov dword [ebp - 0x450], 0x96dd1e1e
mov dword [ebp - 0x44c], 0x96dd1e1e
mov dword [ebp - 0x448], 0x96dd1e1e
mov dword [ebp - 0x444], 0x96dd1e1e
lea ecx, [ebp - 0x132]
call fcn.100267fd
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x154]
call fcn.100267ac
mov dword [ebp - 4], 2
cmp dword [ebp - 0x184], 0x6ed1
jge 0x1002f7eb
push dword [ebp - 0x2d0]
call fcn.10079103
pop ecx
mov dword [ebp - 0xec], 0xfffffff6
mov dword [ebp - 0x194], 0xffffffff
push 3
lea ecx, [ebp - 0x154]
call fcn.100267ee
mov esi, eax
push 1
lea ecx, [ebp - 0x154]
call fcn.100267ee
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ebp - 0xec], 3
jmp 0x1002f838
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jl 0x1002fd24
mov dword [ebp - 0x30], 0x121ac488
mov dword [ebp - 0x30], 0
jmp 0x1002f85c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x1002fd1f
mov dword [ebp - 0x20c], 0x2e47
mov dword [ebp - 0x2d8], 0x1000a3cc
cmp dword [ebp - 0x20c], 0x3089
jle 0x1002f964
and dword [ebp - 0xbc], 0
jmp 0x1002f8a0
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x7969
jge 0x1002f964
and dword [ebp - 0x114], 0
jmp 0x1002f8c6
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x956
jge 0x1002f95f
and dword [ebp - 0xc4], 0
jmp 0x1002f8ec
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x660
jge 0x1002f95a
mov eax, dword [ebp - 0xbc]
cdq
idiv dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc4]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], edx
push dword [ebp - 0x320]
push dword [ebp - 0x324]
lea ecx, [ebp - 0x6c8]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x3bc]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x6c8]
call fcn.1002640c
jmp 0x1002f8df
jmp 0x1002f8b9
jmp 0x1002f893
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x20c], 0x2ccd
jge 0x1002f983
push dword [ebp - 0x2d8]
call fcn.10079103
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x1002f993
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1002f9ac
push 0x7ab0
push 1
push 1
call fcn.1002acb9
add esp, 0xc
jmp 0x1002f98c
mov dword [ebp - 0x10], 3
jmp 0x1002f9bc
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002fd1a
mov dword [ebp - 0x464], 2
mov dword [ebp - 0x460], 2
mov dword [ebp - 0x45c], 2
mov dword [ebp - 0x458], 2
lea ecx, [ebp - 0x129]
call fcn.100267fd
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x608]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x534]
call fcn.100267ac
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
jmp 0x1002fa37
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002fa4a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x6c], 1
jmp 0x1002fa30
mov dword [ebp - 0x18], 0
jmp 0x1002fa5a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002fa70
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x53c], 0xb2a93f04
jmp 0x1002fa53
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x6c], 3
jmp 0x1002fa95
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x6c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 0
jl 0x1002fd06
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x25c], 0x61e33ecd
mov dword [ebp - 0x3c], 0
jmp 0x1002fac7
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jg 0x1002fd01
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x30], eax
jg 0x1002fae5
mov dword [ebp - 0x18c], 1
jmp 0x1002faec
and dword [ebp - 0x18c], 0
imul eax, dword [ebp - 0x18c], 0xb2c4
cmp eax, dword [ebp - 0x30]
jle 0x1002fb07
mov dword [ebp - 0x294], 1
jmp 0x1002fb0e
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x194], eax
mov esi, dword [ebp - 0x194]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x154]
call fcn.100267ee
cmp esi, dword [eax]
je 0x1002fb3e
mov dword [ebp - 0x214], 1
jmp 0x1002fb45
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x214], eax
jg 0x1002fb5c
mov dword [ebp - 0x19c], 1
jmp 0x1002fb63
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1a4], eax
push 2
lea ecx, [ebp - 0x534]
call fcn.100267ee
mov ecx, dword [ebp - 0x1a4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x25c], eax
mov esi, dword [ebp - 0x25c]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x154]
call fcn.100267ee
mov eax, dword [eax]
add eax, dword [ebp - 0x1a4]
cmp eax, esi
jge 0x1002fbb9
mov dword [ebp - 0x21c], 1
jmp 0x1002fbc0
and dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x1fa6
jl 0x1002fbe8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x154]
call fcn.100267ee
cmp dword [eax], 0
jne 0x1002fbe8
and dword [ebp - 0x1ac], 0
jmp 0x1002fbf2
mov dword [ebp - 0x1ac], 1
cmp dword [ebp - 0x1ac], 0xb5e4
jne 0x1002fc0a
mov dword [ebp - 0x27c], 1
jmp 0x1002fc11
and dword [ebp - 0x27c], 0
mov esi, dword [ebp - 0x27c]
sub esi, 0x781b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x154]
call fcn.100267ee
cmp esi, dword [eax]
jl 0x1002fc3b
mov dword [ebp - 0x1b4], 1
jmp 0x1002fc42
and dword [ebp - 0x1b4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x154]
call fcn.100267ee
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1b4]
je 0x1002fc66
mov dword [ebp - 0x224], 1
jmp 0x1002fc6d
and dword [ebp - 0x224], 0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x154]
call fcn.100267ee
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [eax]
jne 0x1002fc91
mov dword [ebp - 0x1bc], 1
jmp 0x1002fc98
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x1bc], 0x3c5a4a10
jge 0x1002fcaa
cmp dword [ebp - 0x30], 0
je 0x1002fcc1
mov dword [ebp - 0x39c], 0x5533f2a6
cmp dword [ebp - 0x39c], 0
je 0x1002fcbf
jmp 0x1002fd01
jmp 0x1002fcfc
mov dword [ebp - 0x2e0], 0xffffffff
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x53c], ecx
jle 0x1002fce9
mov dword [ebp - 0x264], 1
jmp 0x1002fcf0
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x2e0], eax
jmp 0x1002fac0
jmp 0x1002fa80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x534]
call fcn.100267d2
jmp 0x1002f9b5
jmp 0x1002f855
jmp 0x1002f82b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.100267d2
cmp dword [ebp - 0x1c4], 0x773f
jge 0x1002fd4b
push dword [ebp - 0x3e0]
call fcn.10079103
pop ecx
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x4f0]
call fcn.1002654b
mov dword [ebp - 4], 4
push 0
push 0x7e58
push 0x638f
push 0x3f31
push 0x26
push 0x7b2d
push 1
call fcn.1002d8a3
add esp, 0x1c
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.10026ff2
push dword [eax]
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.10027006
push dword [eax]
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.10026ff2
push dword [eax]
mov edx, 0x1002a175
lea ecx, [ebp - 0x5c8]
call fcn.1004bdd4
add esp, 0xc
push 0x8b3
push 0x4571
push 0x2215
push 1
push 1
call fcn.1002a8d6
add esp, 0x14
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x48c], 0xd6c05baf
mov dword [ebp - 0x488], 0xd6c05baf
mov dword [ebp - 0x484], 0xd6c05baf
mov dword [ebp - 0x480], 0xd6c05baf
lea ecx, [ebp - 0x121]
call fcn.100267fd
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x548]
call fcn.100267ac
mov byte [ebp - 4], 5
mov dword [ebp - 0x3a4], 0x97eede0b
push 0x565b
lea eax, [ebp - 0x548]
push eax
push 0
push 0x30eb
push 0
lea eax, [ebp - 0x3a4]
push eax
push 0x651
push 1
call fcn.1002e130
add esp, 0x20
push 1
push 0
push 0x1027
push 0x2968
push 0x4c7b
push 0x6324
push 0x17ee
push 0x65fc
push 0x1582
push 0x6603
call fcn.1002e528
add esp, 0x28
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x548]
call fcn.100267d2
and dword [ebp - 0x148], 0
mov dword [ebp - 0x1cc], 0x3b0
mov dword [ebp - 0x3c4], 0x1000a3f8
cmp dword [ebp - 0x1cc], 0x60e
jle 0x1002ffa8
and dword [ebp - 0x70], 0
jmp 0x1002ff12
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x426
jge 0x1002ffa8
and dword [ebp - 0x78], 0
jmp 0x1002ff2c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x255f
jge 0x1002ffa3
and dword [ebp - 0x64], 0
jmp 0x1002ff42
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x53a8
jge 0x1002ffa1
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x64]
shl eax, cl
cdq
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], edx
push dword [ebp - 0x32c]
push dword [ebp - 0x330]
lea ecx, [ebp - 0x638]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x638]
call fcn.1002640c
jmp 0x1002ff3b
jmp 0x1002ff25
jmp 0x1002ff0b
mov dword [ebp - 0x34], 3
cmp dword [ebp - 0x1cc], 0x219
jge 0x1002ffc7
push dword [ebp - 0x3c4]
call fcn.10079103
pop ecx
and dword [ebp - 0x478], 0
and dword [ebp - 0x474], 0
and dword [ebp - 0x470], 0
and dword [ebp - 0x46c], 0
lea ecx, [ebp - 0x139]
call fcn.100267fd
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x600]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x584]
call fcn.100267ac
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], 0
jmp 0x1003002c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10030042
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x564], 0xc2c9ebf4
jmp 0x10030025
mov dword [ebp - 0x1c], 0
jmp 0x10030052
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10030068
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x574], 0xee4c20f7
jmp 0x1003004b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5d0], eax
push 0
lea ecx, [ebp - 0x584]
call fcn.100267ee
or dword [eax], 0xffffffff
or eax, 0xffffffff
cmp eax, 0xffffffff
jbe 0x10030095
mov dword [ebp - 0x144], 1
jmp 0x1003009c
and dword [ebp - 0x144], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x144]
mov dword [ebp + eax - 0x564], ecx
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x34]
add ecx, eax
cmp ecx, 0x8382bdb9
jb 0x100300d2
mov dword [ebp - 0x28c], 1
jmp 0x100300d9
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x28c], eax
jl 0x100300f0
mov dword [ebp - 0x1d4], 1
jmp 0x100300f7
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x1d4]
cmp eax, dword [ebp - 0x34]
jge 0x10030112
mov dword [ebp - 0x234], 1
jmp 0x10030119
and dword [ebp - 0x234], 0
imul eax, dword [ebp - 0x234], 0xf8d9
cmp eax, dword [ebp - 0x34]
je 0x10030134
mov dword [ebp - 0x1dc], 1
jmp 0x1003013b
and dword [ebp - 0x1dc], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp + eax - 0x574], ecx
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x574], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x584]
call fcn.100267d2
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
jmp 0x10030182
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x26c]
je 0x10031448
mov dword [ebp - 0x20], 0xdd1e1e87
mov dword [ebp - 0x128], 0x27d373ee
mov dword [ebp - 0x68], 0
jmp 0x100301b2
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x100301c8
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x41c], 5
jmp 0x100301ab
mov dword [ebp - 0x20], 0
jmp 0x100301d8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x100302e2
mov dword [ebp - 0x15c], 0x74b28ed4
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x41c]
sub eax, 0xfffc
jne 0x1003024c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x41c]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp + eax*4 - 0x41c], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1e4], eax
jl 0x10030237
mov dword [ebp - 0x23c], 1
jmp 0x1003023e
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x23c]
test eax, eax
je 0x10030267
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x41c], 0
je 0x10030267
mov dword [ebp - 0x1ec], 1
jmp 0x1003026e
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x1ec], eax
jle 0x10030288
mov dword [ebp - 0x284], 1
jmp 0x1003028f
and dword [ebp - 0x284], 0
cmp dword [ebp - 0x284], 4
jbe 0x100302a4
mov dword [ebp - 0x1f4], 1
jmp 0x100302ab
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x128], eax
push 0x4448
lea eax, [ebp - 0x15c]
push eax
push 0
push 0x2c6f
lea eax, [ebp - 0x128]
push eax
call fcn.100316ea
add esp, 0x14
jmp 0x100301d1
lea eax, [ebp - 0x128]
push eax
push 0
push 0x72b5
call fcn.1003333e
add esp, 0xc
push 0x74b2
push 0x7b35
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
call fcn.10031edb
add esp, 0x14
push 1
lea ecx, [ebp - 0x4a4]
call fcn.10026750
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], 0xd5493e6
mov dword [ebp - 0x160], 0x3b3
mov dword [ebp - 0x3ac], 0x1000a448
cmp dword [ebp - 0x160], 0x4bd
jle 0x10030404
and dword [ebp - 0x88], 0
jmp 0x10030369
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x1b4d
jge 0x100303fa
and dword [ebp - 0x90], 0
jmp 0x1003038f
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x2379
jge 0x100303f5
mov eax, dword [ebp - 0x88]
cdq
idiv dword [ebp - 0x90]
mov eax, edx
cdq
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], edx
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
lea ecx, [ebp - 0x650]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x650]
call fcn.1002640c
jmp 0x10030382
jmp 0x1003035c
push 0
push 0
call dword [sym.imp.GDI32.dll_SetROP2]
cmp dword [ebp - 0x160], 0x1de
jge 0x1003041c
push dword [ebp - 0x3ac]
call fcn.10079103
pop ecx
mov dword [ebp - 0x2c], 0xa0a9f4f9
mov dword [ebp - 0x1c8], 2
push 3
lea ecx, [ebp - 0x4b0]
call fcn.10026750
mov byte [ebp - 4], 8
mov dword [ebp - 0x2a0], 0xcc3231a2
push 0x7d79
push 0x5b2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a4]
push eax
push 0
push 0x37c2
push 0x894
push 0
push 0xa92
call fcn.10049de5
add esp, 0x24
mov dword [ebp - 0x14], 0
jmp 0x10030488
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1003049e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x24c], 0xfffffffe
jmp 0x10030481
mov dword [ebp - 0x14], 0
jmp 0x100304ae
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100304c4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4bc], 0x3bd791f9
jmp 0x100304a7
mov dword [ebp - 0x168], 0x794a
mov dword [ebp - 0x3d8], 0x1000a478
cmp dword [ebp - 0x168], 0x7c6c
jle 0x100305bd
and dword [ebp - 0xa8], 0
jmp 0x100304fe
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x1ed9
jge 0x100305bd
and dword [ebp - 0x98], 0
jmp 0x10030524
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x56b6
jge 0x100305b8
and dword [ebp - 0xa0], 0
jmp 0x1003054a
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x2f93
jge 0x100305b3
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0xa0]
and eax, dword [ebp - 0xa8]
cdq
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], edx
push dword [ebp - 0x344]
push dword [ebp - 0x348]
lea ecx, [ebp - 0x680]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x680]
call fcn.1002640c
jmp 0x1003053d
jmp 0x10030517
jmp 0x100304f1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0x2916
push 0x4d0b
push 1
push 0x349f
push 0x14bb
push 0x2065
push 1
call fcn.1002a40d
add esp, 0x24
cmp dword [ebp - 0x168], 0x77d2
jge 0x10030605
push dword [ebp - 0x3d8]
call fcn.10079103
pop ecx
mov eax, 0xffff0f7b
test eax, eax
je 0x10030620
cmp dword [ebp - 0x28], 0
je 0x10030620
mov dword [ebp - 0x170], 1
jmp 0x10030627
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x170], eax
jle 0x1003063e
mov dword [ebp - 0x178], 1
jmp 0x10030645
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0
jne 0x10030660
mov eax, 0x5eaf
test eax, eax
jne 0x10030660
and dword [ebp - 0x180], 0
jmp 0x1003066a
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x180], eax
jne 0x10030681
mov dword [ebp - 0x188], 1
jmp 0x10030688
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x24c]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x24c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], eax
jl 0x100306c1
mov dword [ebp - 0x190], 1
jmp 0x100306c8
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0x2c]
sub eax, 9
cmp eax, dword [ebp - 0x2c]
je 0x100306e5
mov dword [ebp - 0x198], 1
jmp 0x100306ec
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x198], eax
jg 0x10030703
mov dword [ebp - 0x1a0], 1
jmp 0x1003070a
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1a0], eax
je 0x10030721
mov dword [ebp - 0x1a8], 1
jmp 0x10030728
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
neg eax
cmp eax, 1
jae 0x10030741
mov dword [ebp - 0x1b0], 1
jmp 0x10030748
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0x78ef
jge 0x10030760
mov dword [ebp - 0x31c], 1
jmp 0x10030767
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5bc], eax
cmp dword [ebp - 0x28], 0x6cc72b75
jge 0x10030785
mov dword [ebp - 0x1b8], 1
jmp 0x1003078c
and dword [ebp - 0x1b8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp + eax - 0x4bc], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x24c], 0
jne 0x100307c0
push 4
pop eax
imul eax, eax, 0
or ecx, 0xffffffff
sub ecx, dword [ebp + eax - 0x24c]
je 0x100307d2
cmp dword [ebp - 0x2c], 0
je 0x100307d2
mov dword [ebp - 0x1c0], 1
jmp 0x100307d9
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c8]
cmp dword [ebp - 0x28], eax
jg 0x100307f9
mov dword [ebp - 0x3b4], 1
jmp 0x10030800
and dword [ebp - 0x3b4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4bc]
mov dword [ebp - 0x5a0], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x54c], eax
push 0
lea ecx, [ebp - 0x4a4]
call fcn.100267ee
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24c], 0xffff
je 0x1003084a
mov dword [ebp - 0x1d0], 1
jmp 0x10030851
and dword [ebp - 0x1d0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x24c]
cmp eax, dword [ebp - 0x1d0]
jl 0x10030871
mov dword [ebp - 0x1d8], 1
jmp 0x10030878
and dword [ebp - 0x1d8], 0
push 2
lea ecx, [ebp - 0x4b0]
call fcn.100267ee
mov ecx, dword [ebp - 0x1d8]
sub ecx, dword [eax]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x24c]
jle 0x100308a7
mov dword [ebp - 0x1e0], 1
jmp 0x100308ae
and dword [ebp - 0x1e0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x24c]
cmp dword [ebp - 0x1e0], eax
jge 0x100308ce
mov dword [ebp - 0x1e8], 1
jmp 0x100308d5
and dword [ebp - 0x1e8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4bc]
cmp dword [ebp - 0x1e8], eax
jle 0x100308f7
xor eax, eax
inc eax
jne 0x100308f7
and dword [ebp - 0x328], 0
jmp 0x10030901
mov dword [ebp - 0x328], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x518], eax
mov dword [ebp - 0x2a0], 0xaaf09d89
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4b0]
call fcn.100267d2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4a4]
call fcn.100267d2
mov eax, dword [ebp - 0x148]
push dword [eax + 0x28]
lea ecx, [ebp - 0x508]
call fcn.1004ba02
mov byte [ebp - 4], 9
mov dword [ebp - 0x240], 0x4536
mov dword [ebp - 0x364], 0x1000a4e0
cmp dword [ebp - 0x240], 0x46ed
jle 0x100309e3
and dword [ebp - 0xb0], 0
jmp 0x10030980
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xdb3
jge 0x100309e3
and dword [ebp - 0xb8], 0
jmp 0x100309a2
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x12b3
jge 0x100309e1
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb8]
sar eax, cl
cdq
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], edx
push dword [ebp - 0x350]
push dword [ebp - 0x354]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x10030995
jmp 0x10030973
mov dword [ebp - 0x38], 0xe2db58e4
mov dword [ebp - 0x158], 0xffffffff
push 4
lea ecx, [ebp - 0x38c]
call fcn.10026750
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xf8], 0x95aad853
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x3a8], 0x8e1f9167
push 1
push 1
lea eax, [ebp - 0x54]
push eax
push 0x7110
push 0x73d5
push 0
push 0x3cb
lea eax, [ebp - 0x38c]
push eax
call fcn.100319d6
add esp, 0x20
mov dword [ebp - 0x54], 0
jmp 0x10030a5b
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x10030a71
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x378], 1
jmp 0x10030a54
push 0x5fcc
push 0x255
push 1
push 0x57ba
push 0x759f
push 1
push 0x5322
push 0x790e
push 0x6a64
lea eax, [ebp - 0xf8]
push eax
push 0x67
push 1
call fcn.1002ae3b
add esp, 0x30
mov dword [ebp - 0x38], 0x1d
jmp 0x10030abb
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff3
jg 0x10030fb2
mov dword [ebp - 0x130], 0xae7b1b0c
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1f0], 0x7433
mov dword [ebp - 0x334], 0x1000a518
cmp dword [ebp - 0x1f0], 0x7798
jle 0x10030bd9
and dword [ebp - 0xd0], 0
jmp 0x10030b13
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x25d
jge 0x10030bd9
and dword [ebp - 0xc0], 0
jmp 0x10030b39
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x3979
jge 0x10030bd4
and dword [ebp - 0xc8], 0
jmp 0x10030b5f
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x539a
jge 0x10030bcf
and dword [ebp - 0xd8], 0
jmp 0x10030b81
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x7f4b
jge 0x10030bcd
mov ecx, dword [ebp - 0xc0]
imul ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd0]
shl eax, cl
xor eax, dword [ebp - 0xd8]
cdq
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], edx
push dword [ebp - 0x35c]
push dword [ebp - 0x360]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x10030b74
jmp 0x10030b52
jmp 0x10030b2c
jmp 0x10030b06
cmp dword [ebp - 0x1f0], 0x712a
jge 0x10030bf5
mov edx, dword [ebp - 0x334]
mov ecx, 0x10094c18
call fcn.10029186
mov dword [ebp - 0x1f8], 0x54d9
mov dword [ebp - 0x340], 0x1000a568
cmp dword [ebp - 0x1f8], 0x55e1
jle 0x10030cf0
and dword [ebp - 0xe0], 0
jmp 0x10030c2f
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x3749
jge 0x10030cf0
and dword [ebp - 0xe8], 0
jmp 0x10030c55
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x19ae
jge 0x10030ceb
and dword [ebp - 0xf0], 0
jmp 0x10030c7b
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x4f91
jge 0x10030ce6
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe8]
sar eax, cl
or eax, dword [ebp - 0xf0]
cdq
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], edx
push dword [ebp - 0x368]
push dword [ebp - 0x36c]
lea ecx, [ebp - 0x6b0]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x390]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x6b0]
call fcn.1002640c
jmp 0x10030c6e
jmp 0x10030c48
jmp 0x10030c22
push 3
lea ecx, [ebp - 0x404]
call fcn.10026750
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1f8], 0x536b
jge 0x10030d19
push dword [ebp - 0x340]
call fcn.10079103
pop ecx
mov dword [ebp - 0x5c], 0
jmp 0x10030d29
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10030d3f
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x29c], 0xb221
jmp 0x10030d22
push 0
push 0x4f95
push 0x349
push 0x4c23
push 0x5f70
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.1004b25a
add esp, 0x1c
lea eax, [ebp - 0x38c]
push eax
push 0x5b2b
push 0
push 0xd45
lea eax, [ebp - 0x158]
push eax
push 1
lea eax, [ebp - 0xf8]
push eax
call fcn.10033f22
add esp, 0x1c
push 1
lea ecx, [ebp - 0x38c]
call fcn.100267ee
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x550], eax
cmp dword [ebp - 0x38], 0xffffffff
jbe 0x10030dc6
mov dword [ebp - 0x37c], 1
jmp 0x10030dcd
and dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x528], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x378]
mov dword [ebp - 0x558], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x554], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x29c]
cmp dword [ebp + eax - 0x378], ecx
jle 0x10030e20
mov dword [ebp - 0x208], 1
jmp 0x10030e27
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x208], eax
jg 0x10030e41
mov dword [ebp - 0x210], 1
jmp 0x10030e48
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x210], eax
jl 0x10030e62
mov dword [ebp - 0x218], 1
jmp 0x10030e69
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x218], 0xfffffffa
jle 0x10030e7e
mov dword [ebp - 0x34c], 1
jmp 0x10030e85
and dword [ebp - 0x34c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x29c]
mov dword [ebp - 0x5a4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x29c]
mov dword [ebp - 0x55c], eax
mov esi, dword [ebp - 0x130]
dec esi
push 0
lea ecx, [ebp - 0x404]
call fcn.100267ee
cmp esi, dword [eax]
jne 0x10030ecf
mov dword [ebp - 0x3a0], 1
jmp 0x10030ed6
and dword [ebp - 0x3a0], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x358], eax
push 2
lea ecx, [ebp - 0x38c]
call fcn.100267ee
mov ecx, dword [ebp - 0x358]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x404]
call fcn.100267ee
mov dword [eax], 0x8a0f
cmp dword [ebp - 0x38], 0x8a0f
jne 0x10030f1c
mov dword [ebp - 0x220], 1
jmp 0x10030f23
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x378]
jne 0x10030f56
cmp dword [ebp - 0x138], 0
jne 0x10030f56
and dword [ebp - 0x228], 0
jmp 0x10030f60
mov dword [ebp - 0x228], 1
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x158], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x29c], 0xdcfec76e
jae 0x10030f8b
mov dword [ebp - 0x238], 1
jmp 0x10030f92
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x404]
call fcn.100267d2
jmp 0x10030ab4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38c]
call fcn.100267d2
cmp dword [ebp - 0x240], 0x42f4
jge 0x10030fdd
mov edx, dword [ebp - 0x364]
mov ecx, 0x10094c18
call fcn.10029186
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x508]
call fcn.10026ff2
push dword [eax]
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x508]
call fcn.10027006
push dword [eax]
lea eax, [ebp - 0x5ac]
push eax
lea ecx, [ebp - 0x508]
call fcn.10026ff2
push dword [eax]
mov edx, 0x1002a175
lea ecx, [ebp - 0x578]
call fcn.1004bdd4
add esp, 0xc
mov dword [ebp - 0x58], 0xfffffffc
mov dword [ebp - 0x58], 0xffffffe9
jmp 0x10031043
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jg 0x100310f1
push 3
lea ecx, [ebp - 0x4c8]
call fcn.10026750
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x3b8], 0xffffffff
mov dword [ebp - 0x370], 7
mov dword [ebp - 0x3b0], 6
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x4c8]
push eax
push 0
push 1
push 0xa7c
call fcn.1002d321
add esp, 0x14
push 1
push 1
push 0x7c7e
push 0xd75
push 0
call fcn.1002d4ff
add esp, 0x14
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x370]
push eax
push 0
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3b8]
push eax
call fcn.100316b8
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c8]
call fcn.100267d2
jmp 0x1003103c
lea edx, [ebp - 0x508]
lea ecx, [ebp - 0x4f0]
call fcn.1004be3d
movzx eax, al
test eax, eax
je 0x10031434
mov dword [ebp - 0x43c], 1
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 1
lea ecx, [ebp - 0x131]
call fcn.100267fd
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x5f0]
call fcn.10026800
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x428]
call fcn.100267ac
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x108], 0xf23e5250
mov dword [ebp - 0x100], 1
push 3
lea ecx, [ebp - 0x410]
call fcn.10026750
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x48], 0xae857b1a
push 0
lea eax, [ebp - 0x410]
push eax
push 0x2aea
lea eax, [ebp - 0x588]
push eax
push 0
call fcn.10032b8c
add esp, 0x14
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x5b4], eax
push 1
lea ecx, [ebp - 0x428]
call fcn.100267ee
mov dword [eax], 0xaa165420
mov eax, 0xaa165420
cmp eax, 0x71b35d56
jl 0x100311f7
mov dword [ebp - 0x250], 1
jmp 0x100311fe
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x100]
cmp dword [ebp - 0x250], eax
jg 0x10031218
mov dword [ebp - 0x140], 1
jmp 0x1003121f
and dword [ebp - 0x140], 0
push 1
lea ecx, [ebp - 0x410]
call fcn.100267ee
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
cmp dword [ebp - 0x140], 0
jne 0x1003124f
cmp dword [ebp - 0x100], 0
jne 0x1003124f
and dword [ebp - 0x258], 0
jmp 0x10031259
mov dword [ebp - 0x258], 1
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x598], eax
push 3
lea ecx, [ebp - 0x428]
call fcn.100267ee
cmp dword [eax], 0xe80c6548
jne 0x10031286
mov dword [ebp - 0x260], 1
jmp 0x1003128d
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x260]
sub eax, dword [ebp - 0x100]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jbe 0x100312ae
mov dword [ebp - 0x268], 1
jmp 0x100312b5
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x100]
imul eax, dword [ebp - 0x268]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x62d50c85
jg 0x100312da
mov dword [ebp - 0x270], 1
jmp 0x100312e1
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x270], eax
jl 0x10031381
mov dword [ebp - 0x2a8], 0xffffffff
push 3
lea ecx, [ebp - 0x498]
call fcn.10026750
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x2a4], 1
lea eax, [ebp - 0x498]
push eax
push 0x30f9
push 0x7be5
push 0
lea eax, [ebp - 0x5c4]
push eax
call fcn.1003693d
add esp, 0x14
push 1
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.1002eb8d
add esp, 0x20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x498]
call fcn.100267d2
jmp 0x100313db
mov dword [ebp - 0x48], 0
jmp 0x10031391
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x100313db
mov dword [ebp - 0x40], 0
jmp 0x100313a7
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jg 0x100313d9
push 0x7d4c
push 0
push 0x136e
push 0x3b5c
push 0x581f
push 0x59a8
push 0x296b
push 0
call fcn.1002e3bc
add esp, 0x20
jmp 0x100313a0
jmp 0x1003138a
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x410]
call fcn.100267d2
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x428]
call fcn.100267d2
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x278]
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + eax + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x508]
call fcn.100265e3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f0]
call fcn.100265e3
jmp 0x100316a9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x508]
call fcn.100265e3
jmp 0x1003017a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f0]
call fcn.100265e3
push 2
lea ecx, [ebp - 0x594]
call fcn.10026750
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x24], 0
jmp 0x1003147b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10031497
push dword [ebp - 0x24]
lea ecx, [ebp - 0x594]
call fcn.100267ee
mov dword [eax], 0x9b55bb2c
jmp 0x10031474
mov dword [ebp - 0x24], 0
jmp 0x100314a7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x100314bd
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x3f8], 1
jmp 0x100314a0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x3f8], 1
jmp 0x100314eb
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3f8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3f8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3f8], 0
jl 0x1003151f
mov dword [ebp - 0x2b4], 0x17be1879
push 1
push 0x5843
push 1
lea eax, [ebp - 0x2b4]
push eax
call fcn.1002b1e0
add esp, 0x10
jmp 0x100314d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x594]
call fcn.100267d2
mov eax, dword [ebp - 0x278]
and dword [eax], 0
jmp 0x100316a9
jmp 0x100316a9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x280], 0x1b7f
mov dword [ebp - 0x2cc], 0x1000a5a8
cmp dword [ebp - 0x280], 0x1dea
jle 0x1003167c
and dword [ebp - 0x110], 0
jmp 0x10031584
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x2d37
jge 0x1003167c
and dword [ebp - 0x118], 0
jmp 0x100315aa
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x75a5
jge 0x10031677
and dword [ebp - 0x120], 0
jmp 0x100315d0
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x7d2d
jge 0x10031672
and dword [ebp - 0xf4], 0
jmp 0x100315f6
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x2b8d
jge 0x1003166d
mov eax, dword [ebp - 0x110]
cdq
idiv dword [ebp - 0x118]
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xf4]
shl eax, cl
or eax, edx
cdq
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], edx
push dword [ebp - 0x3c8]
push dword [ebp - 0x3cc]
lea ecx, [ebp - 0x6e0]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x6e0]
call fcn.1002640c
jmp 0x100315e9
jmp 0x100315c3
jmp 0x1003159d
jmp 0x10031577
push dword [ebp - 0x2c4]
push 0x37ab
push 0
call fcn.100319ad
add esp, 0xc
cmp dword [ebp - 0x280], 0x18b2
jge 0x100316a9
push dword [ebp - 0x2cc]
call fcn.10079103
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret