Function at 0x10020d32
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a572
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x51c
push esi
push edi
mov dword [ebp - 0x154], 0x39ed080c
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x134], 0xa1654207
or dword [ebp - 0x414], 0xffffffff
or dword [ebp - 0x410], 0xffffffff
or dword [ebp - 0x40c], 0xffffffff
or dword [ebp - 0x408], 0xffffffff
lea ecx, [ebp - 0x11d]
call fcn.10013ee2
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x520]
call fcn.10013ee5
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x480]
call fcn.10013e61
and dword [ebp - 4], 0
mov dword [ebp - 0x37c], 9
mov dword [ebp - 0x3ac], 0x1517
cmp dword [ebp - 0x3ac], 0x55d
jge 0x10020e97
lea ecx, [ebp - 0x4e8]
call fcn.10013754
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.10013754
mov byte [ebp - 4], 2
lea edx, [ebp - 0x4e8]
mov ecx, 0x1064b9d0
call fcn.1001853a
lea edx, [ebp - 0x518]
mov ecx, eax
call fcn.1001853a
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x214]
add ecx, dword [eax + 4]
call fcn.100095eb
movzx eax, al
test eax, eax
je 0x10020e79
lea edx, [ebp - 0x518]
lea ecx, [ebp - 0x4e8]
call fcn.10024919
movzx eax, al
test eax, eax
je 0x10020e6c
push 0x10007e08
call fcn.10040c03
pop ecx
jmp 0x10020e77
push 0x10007e0c
call fcn.10040c03
pop ecx
jmp 0x10020e07
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.100137b7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e8]
call fcn.100137b7
push 2
lea ecx, [ebp - 0x474]
call fcn.10013d69
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], 0
jmp 0x10020eb8
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x10020ece
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x374], 0x9978f3c
jmp 0x10020eb1
mov dword [ebp - 0x40], 0
jmp 0x10020ede
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x10020efa
push dword [ebp - 0x40]
lea ecx, [ebp - 0x474]
call fcn.10013df2
mov dword [eax], 0x3847d228
jmp 0x10020ed7
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x154]
cmp dword [ebp - 0x134], eax
jl 0x10020f2a
mov dword [ebp - 0x2b8], 1
jmp 0x10020f31
and dword [ebp - 0x2b8], 0
cmp dword [ebp - 0x2b8], 0x1afa9b64
je 0x10020f49
mov dword [ebp - 0x2c0], 1
jmp 0x10020f50
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x2c0]
jge 0x10020f6a
mov dword [ebp - 0x2b0], 1
jmp 0x10020f71
and dword [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x154]
jne 0x10020f91
mov dword [ebp - 0x190], 1
jmp 0x10020f98
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x6b3e713e
jne 0x10020fb0
mov dword [ebp - 0x230], 1
jmp 0x10020fb7
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x194], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x194]
mov dword [ebp + eax - 0x374], ecx
mov esi, dword [ebp - 0x194]
imul esi, dword [ebp - 0x230]
push 1
lea ecx, [ebp - 0x480]
call fcn.10013df2
cmp esi, dword [eax]
jne 0x10021000
mov dword [ebp - 0x19c], 1
jmp 0x10021007
and dword [ebp - 0x19c], 0
push 1
lea ecx, [ebp - 0x480]
call fcn.10013df2
mov ecx, dword [ebp - 0x19c]
cmp ecx, dword [eax]
jg 0x10021033
cmp dword [ebp - 0x37c], 0
je 0x10021033
mov dword [ebp - 0x234], 1
jmp 0x1002103a
and dword [ebp - 0x234], 0
push 0
lea ecx, [ebp - 0x474]
call fcn.10013df2
mov ecx, dword [ebp - 0x234]
mov dword [eax], ecx
mov dword [ebp - 0x134], 0xdb2b058e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x474]
call fcn.10013dc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.10013dc7
mov dword [ebp - 0x384], 0x2287
cmp dword [ebp - 0x384], 0x131e
jge 0x100212e7
push 9
push 1
push 0x10710b78
call fcn.1001fc66
add esp, 0xc
and dword [ebp - 0xf4], 0
jmp 0x100210b8
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 3
jge 0x10021105
and dword [ebp - 0x100], 0
jmp 0x100210d7
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 3
jge 0x10021103
imul eax, dword [ebp - 0xf4], 0xc
mov ecx, dword [ebp - 0x100]
lea eax, [eax + ecx*4 + 0x1064d528]
push eax
push 0x10007800
call fcn.100405bb
pop ecx
pop ecx
jmp 0x100210ca
jmp 0x100210ab
and dword [ebp - 0x38], 0
jmp 0x10021112
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x10021278
and dword [ebp - 0x3c], 0
jmp 0x10021129
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x10021273
imul eax, dword [ebp - 0x38], 0xc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4 + 0x1064d528]
mov dword [ebp - 0x38c], eax
imul eax, dword [ebp - 0x38], 0xc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4 + 0x1064d528]
dec eax
imul ecx, dword [ebp - 0x38], 0xc
mov edx, dword [ebp - 0x3c]
mov dword [ecx + edx*4 + 0x1064d528], eax
cmp dword [ebp - 0x38c], 0
je 0x1002126e
imul eax, dword [ebp - 0x38], 3
mov ecx, dword [ebp - 0x3c]
movzx eax, byte [eax + ecx + 0x10710b78]
test eax, eax
jne 0x10021190
mov dword [ebp - 0x1a4], 1
jmp 0x10021197
and dword [ebp - 0x1a4], 0
imul eax, dword [ebp - 0x38], 3
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x1a4]
mov byte [eax + ecx + 0x10710b78], dl
and dword [ebp - 0x8c], 0
jmp 0x100211c1
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 4
jge 0x10021269
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax*4 + 0x1064b050]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax*4 + 0x1064b060]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xb0], 0
jl 0x10021264
cmp dword [ebp - 0xb0], 3
jge 0x10021264
cmp dword [ebp - 0xe8], 0
jl 0x10021264
cmp dword [ebp - 0xe8], 3
jge 0x10021264
imul eax, dword [ebp - 0xb0], 3
mov ecx, dword [ebp - 0xe8]
movzx eax, byte [eax + ecx + 0x10710b78]
test eax, eax
jne 0x10021243
mov dword [ebp - 0x27c], 1
jmp 0x1002124a
and dword [ebp - 0x27c], 0
imul eax, dword [ebp - 0xb0], 3
mov ecx, dword [ebp - 0xe8]
mov dl, byte [ebp - 0x27c]
mov byte [eax + ecx + 0x10710b78], dl
jmp 0x100211b4
jmp 0x10021133
jmp 0x10021122
jmp 0x1002110b
and dword [ebp - 0xb8], 0
jmp 0x10021299
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
push 0x1000776d
call fcn.10041046
pop ecx
cmp dword [ebp - 0xb8], 3
jge 0x100212e7
and dword [ebp - 0x9c], 0
jmp 0x100212b8
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x100212e5
imul eax, dword [ebp - 0xb8], 3
mov ecx, dword [ebp - 0x9c]
movzx eax, byte [eax + ecx + 0x10710b78]
push eax
push 0x10007800
call fcn.10040c03
pop ecx
pop ecx
jmp 0x100212ab
jmp 0x10021281
mov dword [ebp - 0x13c], 0x39ed080c
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x15c], 0xa1654207
or dword [ebp - 0x400], 0xffffffff
or dword [ebp - 0x3fc], 0xffffffff
or dword [ebp - 0x3f8], 0xffffffff
or dword [ebp - 0x3f4], 0xffffffff
lea ecx, [ebp - 0x169]
call fcn.10013ee2
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x528]
call fcn.10013ee5
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x444]
call fcn.10013e61
mov dword [ebp - 4], 4
mov dword [ebp - 0x39c], 9
push 2
lea ecx, [ebp - 0x45c]
call fcn.10013d69
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
jmp 0x10021388
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002139e
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x394], 0x9978f3c
jmp 0x10021381
mov dword [ebp - 0x30], 0
jmp 0x100213ae
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100213ca
push dword [ebp - 0x30]
lea ecx, [ebp - 0x45c]
call fcn.10013df2
mov dword [eax], 0x3847d228
jmp 0x100213a7
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x15c], eax
jl 0x100213fa
mov dword [ebp - 0x1ac], 1
jmp 0x10021401
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0x1afa9b64
je 0x10021419
mov dword [ebp - 0x23c], 1
jmp 0x10021420
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x23c]
jge 0x1002143a
mov dword [ebp - 0x1b4], 1
jmp 0x10021441
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x168]
add eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x13c]
jne 0x10021461
mov dword [ebp - 0x2c4], 1
jmp 0x10021468
and dword [ebp - 0x2c4], 0
cmp dword [ebp - 0x2c4], 0x6b3e713e
jne 0x10021480
mov dword [ebp - 0x244], 1
jmp 0x10021487
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1bc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp + eax - 0x394], ecx
mov esi, dword [ebp - 0x1bc]
imul esi, dword [ebp - 0x244]
push 1
lea ecx, [ebp - 0x444]
call fcn.10013df2
cmp esi, dword [eax]
jne 0x100214d0
mov dword [ebp - 0x1c4], 1
jmp 0x100214d7
and dword [ebp - 0x1c4], 0
push 1
lea ecx, [ebp - 0x444]
call fcn.10013df2
mov ecx, dword [ebp - 0x1c4]
cmp ecx, dword [eax]
jg 0x10021503
cmp dword [ebp - 0x39c], 0
je 0x10021503
mov dword [ebp - 0x284], 1
jmp 0x1002150a
and dword [ebp - 0x284], 0
push 0
lea ecx, [ebp - 0x45c]
call fcn.10013df2
mov ecx, dword [ebp - 0x284]
mov dword [eax], ecx
mov dword [ebp - 0x15c], 0xdb2b058e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x45c]
call fcn.10013dc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.10013dc7
mov dword [ebp - 0x28], 0x1c76
mov dword [ebp - 0x70], 0xfffe
mov dword [ebp - 0x110], 0
jmp 0x1002156e
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 1
jge 0x1002158a
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x144], 0x923ccde6
jmp 0x10021561
cmp dword [ebp - 0x28], 0xbe7e5505
ja 0x100215c9
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
je 0x100215a7
mov dword [ebp - 0x1cc], 1
jmp 0x100215ae
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x1cc], eax
jl 0x100215c0
push 4
pop eax
test eax, eax
jne 0x100215c9
and dword [ebp - 0x24c], 0
jmp 0x100215d3
mov dword [ebp - 0x24c], 1
cmp dword [ebp - 0x24c], 7
ja 0x100215e8
mov dword [ebp - 0x3a4], 1
jmp 0x100215ef
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4a8], eax
or eax, 0xffffffff
je 0x10021652
mov dword [ebp - 0x28], 0
jmp 0x1002160d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x10021650
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x144], 0
je 0x10021622
jmp 0x10021650
mov dword [ebp - 0x70], 0
jmp 0x10021632
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jg 0x1002164e
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x144]
mov dword [ebp + ecx*4 - 0x144], eax
jmp 0x1002162b
jmp 0x10021606
jmp 0x10021670
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x10021670
push 0
push 0xd40
push 0x1f21
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x20], 0x1c76
mov dword [ebp - 0x88], 0xfffe
mov dword [ebp - 0xc0], 0
jmp 0x1002169a
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 1
jge 0x100216b6
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x14c], 0x923ccde6
jmp 0x1002168d
cmp dword [ebp - 0x20], 0xbe7e5505
ja 0x100216f5
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
je 0x100216d3
mov dword [ebp - 0x1d4], 1
jmp 0x100216da
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1d4], eax
jl 0x100216ec
push 4
pop eax
test eax, eax
jne 0x100216f5
and dword [ebp - 0x2ac], 0
jmp 0x100216ff
mov dword [ebp - 0x2ac], 1
cmp dword [ebp - 0x2ac], 7
ja 0x10021714
mov dword [ebp - 0x304], 1
jmp 0x1002171b
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4d0], eax
or eax, 0xffffffff
je 0x10021a48
mov dword [ebp - 0x20], 0
jmp 0x10021740
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10021a46
mov dword [ebp - 0x36c], 0x17f8
cmp dword [ebp - 0x36c], 0x12e4
jge 0x100219f7
lea eax, [ebp - 0x164]
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x344], 0
je 0x100219f7
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0x1000782c
call fcn.100405bb
add esp, 0x10
push dword [ebp - 0x50]
lea ecx, [ebp - 0x300]
call fcn.10013d69
mov dword [ebp - 4], 6
and dword [ebp - 0xf0], 0
jmp 0x100217e4
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x50]
jge 0x1002180f
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x300]
call fcn.10013df2
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
jmp 0x100217d7
push dword [ebp - 0x50]
lea ecx, [ebp - 0x42c]
call fcn.10013d69
mov byte [ebp - 4], 7
and dword [ebp - 0xc8], 0
jmp 0x10021837
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x50]
jge 0x10021862
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x42c]
call fcn.10013df2
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
jmp 0x1002182a
push dword [ebp - 0x50]
lea ecx, [ebp - 0x420]
call fcn.10013d69
mov byte [ebp - 4], 8
and dword [ebp - 0x80], 0
jmp 0x10021881
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x50]
jge 0x100218c6
push dword [ebp - 0x80]
lea ecx, [ebp - 0x42c]
call fcn.10013df2
mov eax, dword [eax]
dec eax
cdq
idiv dword [ebp - 0x31c]
mov esi, eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x300]
call fcn.10013df2
imul esi, dword [eax]
push dword [ebp - 0x80]
lea ecx, [ebp - 0x420]
call fcn.10013df2
mov dword [eax], esi
jmp 0x1002187a
and dword [ebp - 0x108], 0
jmp 0x100218dc
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x50]
jge 0x10021902
push dword [ebp - 0x108]
lea ecx, [ebp - 0x420]
call fcn.10013df2
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
jmp 0x100218cf
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x300]
call fcn.10013dda
push dword [eax]
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x300]
call fcn.10013dcc
push dword [eax]
call fcn.100186df
pop ecx
pop ecx
cmp dword [ebp - 0x7c], 0
jle 0x10021943
mov dword [ebp - 0x1dc], 1
jmp 0x1002194a
and dword [ebp - 0x1dc], 0
mov al, byte [ebp - 0x1dc]
mov byte [ebp - 0x19], al
and dword [ebp - 0xd0], 0
jmp 0x10021969
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x50]
jge 0x1002199b
cmp dword [ebp - 0x7c], 0
jg 0x10021980
mov byte [ebp - 0x19], 0
jmp 0x1002199b
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x300]
call fcn.10013df2
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
jmp 0x1002195c
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100219af
mov dword [ebp - 0x254], 0x10007824
jmp 0x100219b9
mov dword [ebp - 0x254], 0x10007828
push dword [ebp - 0x254]
call fcn.10041046
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x420]
call fcn.10013dc7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x42c]
call fcn.10013dc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x300]
call fcn.10013dc7
jmp 0x10021777
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x14c], 0
je 0x10021a06
jmp 0x10021a46
mov dword [ebp - 0x88], 0
jmp 0x10021a1f
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jg 0x10021a41
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x14c]
mov dword [ebp + ecx*4 - 0x14c], eax
jmp 0x10021a12
jmp 0x10021739
jmp 0x10021a66
mov byte [ebp - 0x6a], 0
movzx eax, byte [ebp - 0x6a]
test eax, eax
je 0x10021a66
push 0
push 0xd40
push 0x1f21
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x60], 0xe87df2f4
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x60], 0
jmp 0x10021a9c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x39
jge 0x10021b64
mov dword [ebp - 0x318], 0xfffffff7
push 3
lea ecx, [ebp - 0x438]
call fcn.10013d69
mov dword [ebp - 4], 9
mov dword [ebp - 0x390], 0xc407
mov dword [ebp - 0xf8], 0
jmp 0x10021ae7
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 3
jge 0x10021b09
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x438]
call fcn.10013df2
mov dword [eax], 0x31d26ec1
jmp 0x10021ada
mov dword [ebp - 0x94], 0xfffffff0
jmp 0x10021b22
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xc
jl 0x10021b50
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x494], eax
push 0
lea ecx, [ebp - 0x438]
call fcn.10013df2
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x390], eax
jmp 0x10021b15
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10013dc7
jmp 0x10021a95
movzx eax, byte [0x10805190]
test eax, eax
je 0x10021b82
mov esi, 0x1064b100
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x10023240
mov dword [ebp - 0x4cc], 0x1064b100
mov dword [ebp - 0x68], 0xe87df2f4
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x68], 0
jmp 0x10021bc2
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x39
jge 0x10021c8a
mov dword [ebp - 0x320], 0xfffffff7
push 3
lea ecx, [ebp - 0x450]
call fcn.10013d69
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x370], 0xc407
mov dword [ebp - 0xd8], 0
jmp 0x10021c0d
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jge 0x10021c2f
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x450]
call fcn.10013df2
mov dword [eax], 0x31d26ec1
jmp 0x10021c00
mov dword [ebp - 0x90], 0xfffffff0
jmp 0x10021c48
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xc
jl 0x10021c76
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x4b4], eax
push 0
lea ecx, [ebp - 0x450]
call fcn.10013df2
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x370], eax
jmp 0x10021c3b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.10013dc7
jmp 0x10021bbb
mov dword [ebp - 0x328], 0x1d83
cmp dword [ebp - 0x328], 0x912
push 2
lea ecx, [ebp - 0x3e0]
call fcn.10013d69
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xe0], 0x57976326
mov dword [ebp - 0x118], 0
jmp 0x10021cd5
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 2
jge 0x10021cf7
push dword [ebp - 0x118]
lea ecx, [ebp - 0x3e0]
call fcn.10013df2
mov dword [eax], 7
jmp 0x10021cc8
mov dword [ebp - 0xe0], 0
jmp 0x10021d10
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 1
jg 0x10021d92
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x84], 1
jmp 0x10021d3c
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jl 0x10021d8d
push dword [ebp - 0x84]
lea ecx, [ebp - 0x3e0]
call fcn.10013df2
mov esi, eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x3e0]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x10021d8b
push 0xa0f
push 0x1942
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
jmp 0x10021d2f
jmp 0x10021d03
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e0]
call fcn.10013dc7
mov dword [ebp - 0x4a4], 0x1064b104
push 2
lea ecx, [ebp - 0x2d0]
call fcn.10013d69
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x44], 0
jmp 0x10021dcf
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10021de5
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x3b0], 0xfffffffe
jmp 0x10021dc8
mov dword [ebp - 0x44], 0
jmp 0x10021df5
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10021e11
push dword [ebp - 0x44]
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
mov dword [eax], 0xb58e469a
jmp 0x10021dee
push 1
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
and dword [eax], 0
jmp 0x10021e47
push 1
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
cmp dword [eax], 1
jge 0x10021e75
push 1
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x3b0], 0xd95e17ca
jmp 0x10021e23
push 0
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
mov esi, eax
push 0
lea ecx, [ebp - 0x2d0]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.10013dc7
push 2
lea ecx, [ebp - 0x3d4]
call fcn.10013d69
mov dword [ebp - 4], 0xd
mov dword [ebp - 0xac], 0x57976326
mov dword [ebp - 0xa4], 0
jmp 0x10021edb
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jge 0x10021efd
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x3d4]
call fcn.10013df2
mov dword [eax], 7
jmp 0x10021ece
mov dword [ebp - 0xac], 0
jmp 0x10021f16
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 1
jg 0x10021f80
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x74], 1
jmp 0x10021f36
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x10021f7e
push dword [ebp - 0x74]
lea ecx, [ebp - 0x3d4]
call fcn.10013df2
mov esi, eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x3d4]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 0x6c], 0
movzx eax, byte [ebp - 0x6c]
test eax, eax
je 0x10021f7c
push 0xa0f
push 0x1942
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
jmp 0x10021f2f
jmp 0x10021f09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d4]
call fcn.10013dc7
mov byte [0x10805190], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x14], 0xffffffec
jmp 0x10021fb7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff6
jge 0x10021fdd
mov byte [ebp - 0x5c], 0
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x10021fdb
push 0x1df7
push 0x2319
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x10021fb0
mov dword [ebp - 0x330], 0x2122
cmp dword [ebp - 0x330], 0x824
jge 0x10022156
lea eax, [ebp - 0xbc]
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x2f4]
call fcn.10013d69
mov dword [ebp - 4], 0xe
and dword [ebp - 0xb4], 0
jmp 0x10022038
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xbc]
jge 0x10022066
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x2f4]
call fcn.10013df2
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
jmp 0x1002202b
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x2f4]
call fcn.10013df2
mov esi, eax
lea ecx, [ebp - 0x2f4]
call fcn.10024338
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x100220ad
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
jmp 0x1002207a
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x2f4]
call fcn.10013df2
mov esi, eax
push 0
lea ecx, [ebp - 0x2f4]
call fcn.10013df2
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x100220e2
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
jmp 0x100220ad
mov eax, dword [ebp - 0xbc]
dec eax
sub eax, dword [ebp - 0xc4]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x28c]
cmp eax, dword [ebp - 0x1ec]
jle 0x1002211d
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x25c], eax
jmp 0x10022129
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x378], eax
push dword [ebp - 0x378]
push 0x10007838
call fcn.10040c03
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.10013dc7
mov dword [ebp - 0x14], 0
jmp 0x10022166
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1002225d
mov dword [ebp - 0x124], 3
mov dword [ebp - 0x398], 1
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x14], eax
je 0x1002219b
mov dword [ebp - 0x1f4], 1
jmp 0x100221a2
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0
je 0x100221b7
mov dword [ebp - 0x2bc], 1
jmp 0x100221be
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2bc], eax
jne 0x100221d5
mov dword [ebp - 0x1fc], 1
jmp 0x100221dc
and dword [ebp - 0x1fc], 0
cmp dword [ebp - 0x1fc], 8
jae 0x100221f1
mov dword [ebp - 0x338], 1
jmp 0x100221f8
and dword [ebp - 0x338], 0
cmp dword [ebp - 0x124], 5
jg 0x1002220d
mov dword [ebp - 0x264], 1
jmp 0x10022214
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x264], eax
jne 0x1002222e
mov dword [ebp - 0x294], 1
jmp 0x10022235
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
add eax, dword [ebp - 0x294]
mov dword [ebp - 0x398], eax
cmp dword [ebp - 0x14], 0
je 0x10022258
jmp 0x1002225d
jmp 0x1002215f
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x1064b110
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x26c], 0x5196ee4e
push 3
lea ecx, [ebp - 0x3ec]
call fcn.10013d69
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xd4], 0
jmp 0x100222af
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 3
jge 0x100222ce
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x3ec]
call fcn.10013df2
or dword [eax], 0xffffffff
jmp 0x100222a2
imul eax, dword [ebp - 0x4c], 0x9d22
cmp eax, dword [ebp - 0x4c]
jl 0x100222e6
mov dword [ebp - 0x20c], 1
jmp 0x100222ed
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xb2c5
jl 0x10022311
mov dword [ebp - 0x184], 1
jmp 0x10022318
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x184]
jg 0x1002232f
mov dword [ebp - 0x2b4], 1
jmp 0x10022336
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x2b4], eax
jle 0x1002234d
mov dword [ebp - 0x21c], 1
jmp 0x10022354
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x21c]
jne 0x1002236b
mov dword [ebp - 0x274], 1
jmp 0x10022372
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x274], eax
jge 0x10022389
mov dword [ebp - 0x224], 1
jmp 0x10022390
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], eax
jle 0x100223aa
mov dword [ebp - 0x22c], 1
jmp 0x100223b1
and dword [ebp - 0x22c], 0
push 2
lea ecx, [ebp - 0x3ec]
call fcn.10013df2
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [eax]
jne 0x100223dc
mov esi, dword [ebp - 0x4c]
push 2
lea ecx, [ebp - 0x3ec]
call fcn.10013df2
mov dword [eax], esi
jmp 0x100223fc
mov byte [ebp - 0x69], 0
movzx eax, byte [ebp - 0x69]
test eax, eax
je 0x100223fc
push 0
push 0x266b
push 0
push 0x8ad
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ec]
call fcn.10013dc7
push 2
lea ecx, [ebp - 0x2a4]
call fcn.10013d69
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x48], 0
jmp 0x1002242f
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10022445
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x340], 0xfffffffe
jmp 0x10022428
mov dword [ebp - 0x48], 0
jmp 0x10022455
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x10022471
push dword [ebp - 0x48]
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
mov dword [eax], 0xb58e469a
jmp 0x1002244e
push 1
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
and dword [eax], 0
jmp 0x100224a7
push 1
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18c]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
cmp dword [eax], 1
jge 0x100224d5
push 1
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x340], 0xd95e17ca
jmp 0x10022483
push 0
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
mov esi, eax
push 0
lea ecx, [ebp - 0x2a4]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.10013dc7
mov dword [ebp - 0x54], 0x7e2799ac
mov dword [ebp - 0x188], 8
mov dword [ebp - 0x350], 0x3ae5d5ec
mov dword [ebp - 0x54], 0
jmp 0x1002252f
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffe6
jl 0x1002262c
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x380], 0x1b44
mov dword [ebp - 0x130], 5
mov dword [ebp - 0x1a0], 0x948214d2
xor eax, eax
jne 0x1002257a
cmp dword [ebp - 0x128], 0xfa5f9c71
jae 0x1002257a
and dword [ebp - 0x198], 0
jmp 0x10022584
mov dword [ebp - 0x198], 1
xor eax, eax
jne 0x1002259a
cmp dword [ebp - 0x380], 0
jne 0x1002259a
and dword [ebp - 0x348], 0
jmp 0x100225a4
mov dword [ebp - 0x348], 1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
add eax, 0x21d7c43f
mov dword [ebp - 0x130], eax
imul eax, dword [ebp - 0x130], 0xb604
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x198]
lea eax, [ecx + eax - 1]
test eax, eax
jne 0x100225dd
cmp dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x128], 0
jl 0x100225fe
mov dword [ebp - 0x3a8], 1
jmp 0x10022605
and dword [ebp - 0x3a8], 0
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1a0], 0xfffffffc
jmp 0x10022528
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x1064b110
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x140], 0xed15
mov dword [ebp - 0x1c0], 0xcfce
mov dword [ebp - 0x1b0], 0xffcf33f2
mov dword [ebp - 0x388], 0x1f68
cmp dword [ebp - 0x388], 0x100e
jge 0x10022905
lea eax, [ebp - 0x18]
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2dc]
call fcn.10013d69
mov dword [ebp - 4], 0x11
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2e8]
call fcn.10013d69
mov byte [ebp - 4], 0x12
and dword [ebp - 0xdc], 0
jmp 0x100226c2
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x18]
jge 0x100226ed
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x2dc]
call fcn.10013df2
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
jmp 0x100226b5
and dword [ebp - 0xe4], 0
jmp 0x10022703
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x18]
jge 0x1002272e
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x2e8]
call fcn.10013df2
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
jmp 0x100226f6
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.10013dcc
push dword [eax]
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.10013dda
push dword [eax]
call fcn.10024969
pop ecx
pop ecx
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.10013dcc
push dword [eax]
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.10013dda
push dword [eax]
call fcn.10024969
pop ecx
pop ecx
and dword [ebp - 0x2c], 0
and dword [ebp - 0x24], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x180], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x178], xmm0
and dword [ebp - 0x138], 0
jmp 0x100227c2
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x18]
jge 0x100228c0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jge 0x1002280d
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jge 0x1002283f
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jge 0x1002283f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2dc]
call fcn.10013df2
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2e8]
call fcn.10013df2
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1002283f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2dc]
call fcn.10013df2
mov eax, dword [eax]
cdq
add eax, dword [ebp - 0x180]
adc edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x10022846
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jge 0x10022882
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jge 0x100228b4
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jge 0x100228b4
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2e8]
call fcn.10013df2
mov esi, eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2dc]
call fcn.10013df2
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x100228b4
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2e8]
call fcn.10013df2
mov eax, dword [eax]
cdq
add eax, dword [ebp - 0x178]
adc edx, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100228bb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x100227b5
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x17c]
sbb ecx, dword [ebp - 0x174]
push ecx
push eax
push 0x10007d94
call fcn.10040c03
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2e8]
call fcn.10013dc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2dc]
call fcn.10013dc7
mov dword [ebp - 0x310], 0xa85f88e1
mov dword [ebp - 0xec], 0
jmp 0x10022928
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 3
jge 0x10022944
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x500], 0x348f4a8
jmp 0x1002291b
cmp dword [ebp - 0x140], 0
ja 0x10022959
mov dword [ebp - 0x358], 1
jmp 0x10022960
and dword [ebp - 0x358], 0
cmp dword [ebp - 0x1c0], 1
jle 0x10022975
mov dword [ebp - 0x1a8], 1
jmp 0x1002297c
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x100229a4
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x100229a4
mov dword [ebp - 0x1b8], 1
jmp 0x100229ab
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x1b8]
jne 0x100229c5
mov dword [ebp - 0x3a0], 1
jmp 0x100229cc
and dword [ebp - 0x3a0], 0
cmp dword [ebp - 0x1c0], 0x6feb9e9d
jge 0x100229e4
mov dword [ebp - 0x1c8], 1
jmp 0x100229eb
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
sub eax, dword [ebp - 0x140]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x500], eax
mov dword [ebp - 0x310], 0xef4a0426
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x10], 0xffffffec
jmp 0x10022a2e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff6
jge 0x10022a54
mov byte [ebp - 0x61], 0
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x10022a52
push 0x1df7
push 0x2319
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x10022a27
mov dword [ebp - 0x10], 0
jmp 0x10022a64
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10022b5b
mov dword [ebp - 0x148], 3
mov dword [ebp - 0x30c], 1
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x10], eax
je 0x10022a99
mov dword [ebp - 0x1d0], 1
jmp 0x10022aa0
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 0
je 0x10022ab5
mov dword [ebp - 0x1d8], 1
jmp 0x10022abc
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1d8], eax
jne 0x10022ad3
mov dword [ebp - 0x1e0], 1
jmp 0x10022ada
and dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], 8
jae 0x10022aef
mov dword [ebp - 0x314], 1
jmp 0x10022af6
and dword [ebp - 0x314], 0
cmp dword [ebp - 0x148], 5
jg 0x10022b0b
mov dword [ebp - 0x1e8], 1
jmp 0x10022b12
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x1e8], eax
jne 0x10022b2c
mov dword [ebp - 0x1f8], 1
jmp 0x10022b33
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
add eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x10], 0
je 0x10022b56
jmp 0x10022b5b
jmp 0x10022a5d
push 1
lea ecx, [ebp - 0x368]
call fcn.10013d69
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xa0], 0
jmp 0x10022b88
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x10022baa
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x368]
call fcn.10013df2
mov dword [eax], 0x5b57fd54
jmp 0x10022b7b
push 0
lea ecx, [ebp - 0x368]
call fcn.10013df2
and dword [eax], 0
jmp 0x10022be0
push 0
lea ecx, [ebp - 0x368]
call fcn.10013df2
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x200]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x368]
call fcn.10013df2
cmp dword [eax], 0xffffffe3
jge 0x10022de5
mov dword [ebp - 0x98], 0xb950ba1b
mov dword [ebp - 0xfc], 0
jmp 0x10022c19
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 3
jge 0x10022c35
mov eax, dword [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x468], 0xffffffff
jmp 0x10022c0c
mov dword [ebp - 0x98], 0
jmp 0x10022c4e
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jg 0x10022de0
push 2
lea ecx, [ebp - 0x3bc]
call fcn.10013d69
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x104], 0
jmp 0x10022c85
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 2
jge 0x10022ca7
push dword [ebp - 0x104]
lea ecx, [ebp - 0x3bc]
call fcn.10013df2
mov dword [eax], 1
jmp 0x10022c78
push 0
lea ecx, [ebp - 0x3bc]
call fcn.10013df2
mov dword [eax], 2
jmp 0x10022ce0
push 0
lea ecx, [ebp - 0x3bc]
call fcn.10013df2
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x208]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x3bc]
call fcn.10013df2
cmp dword [eax], 0
jl 0x10022dcc
mov dword [ebp - 0x78], 0xbc106ec6
mov dword [ebp - 0x78], 2
jmp 0x10022d0d
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x10022db5
mov dword [ebp - 0x10c], 0x96f377cc
mov dword [ebp - 0x10c], 2
jmp 0x10022d3a
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jl 0x10022d9e
mov dword [ebp - 0x114], 0x5457d670
mov dword [ebp - 0x114], 0
jmp 0x10022d66
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 2
jg 0x10022d88
mov dword [ebp - 0x210], 1
mov eax, dword [ebp - 0x210]
inc eax
mov dword [ebp - 0x210], eax
jmp 0x10022d59
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp + eax*4 - 0x468]
mov dword [ebp + ecx*4 - 0x468], eax
jmp 0x10022d2d
mov eax, dword [ebp - 0x98]
cmp dword [ebp + eax*4 - 0x468], 0
je 0x10022db0
jmp 0x10022db5
jmp 0x10022d06
mov byte [ebp - 0x6b], 0
movzx eax, byte [ebp - 0x6b]
test eax, eax
je 0x10022dc7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x10022cbc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x3bc]
call fcn.10013dc7
jmp 0x10022c41
jmp 0x10022bbc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x368]
call fcn.10013dc7
mov eax, dword [ebp - 0x260]
mov dword [0x1064b100], eax
mov eax, dword [ebp - 0x160]
mov dword [0x1064b104], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x220], 0x5196ee4e
push 3
lea ecx, [ebp - 0x3c8]
call fcn.10013d69
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x11c], 0
jmp 0x10022e48
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 3
jge 0x10022e67
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x3c8]
call fcn.10013df2
or dword [eax], 0xffffffff
jmp 0x10022e3b
imul eax, dword [ebp - 0x34], 0x9d22
cmp eax, dword [ebp - 0x34]
jl 0x10022e7f
mov dword [ebp - 0x218], 1
jmp 0x10022e86
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xb2c5
jl 0x10022eaa
mov dword [ebp - 0x228], 1
jmp 0x10022eb1
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x228]
jg 0x10022ec8
mov dword [ebp - 0x238], 1
jmp 0x10022ecf
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x238], eax
jle 0x10022ee6
mov dword [ebp - 0x240], 1
jmp 0x10022eed
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x240]
jne 0x10022f04
mov dword [ebp - 0x248], 1
jmp 0x10022f0b
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x248], eax
jge 0x10022f22
mov dword [ebp - 0x250], 1
jmp 0x10022f29
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x250]
sub eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], eax
jle 0x10022f43
mov dword [ebp - 0x258], 1
jmp 0x10022f4a
and dword [ebp - 0x258], 0
push 2
lea ecx, [ebp - 0x3c8]
call fcn.10013df2
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [eax]
jne 0x10022f75
mov esi, dword [ebp - 0x34]
push 2
lea ecx, [ebp - 0x3c8]
call fcn.10013df2
mov dword [eax], esi
jmp 0x10022f95
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x10022f95
push 0
push 0x266b
push 0
push 0x8ad
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c8]
call fcn.10013dc7
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x160]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + ecx]
call fcn.10020cf1
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x58], 0x7e2799ac
mov dword [ebp - 0x268], 8
mov dword [ebp - 0x33c], 0x3ae5d5ec
mov dword [ebp - 0x58], 0
jmp 0x10022ff8
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffe6
jl 0x100230f5
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x324], 0x1b44
mov dword [ebp - 0x158], 5
mov dword [ebp - 0x278], 0x948214d2
xor eax, eax
jne 0x10023043
cmp dword [ebp - 0x150], 0xfa5f9c71
jae 0x10023043
and dword [ebp - 0x270], 0
jmp 0x1002304d
mov dword [ebp - 0x270], 1
xor eax, eax
jne 0x10023063
cmp dword [ebp - 0x324], 0
jne 0x10023063
and dword [ebp - 0x32c], 0
jmp 0x1002306d
mov dword [ebp - 0x32c], 1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
add eax, 0x21d7c43f
mov dword [ebp - 0x158], eax
imul eax, dword [ebp - 0x158], 0xb604
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x270]
lea eax, [ecx + eax - 1]
test eax, eax
jne 0x100230a6
cmp dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x150], 0
jl 0x100230c7
mov dword [ebp - 0x334], 1
jmp 0x100230ce
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x278], 0xfffffffc
jmp 0x10022ff1
push dword [ebp - 0x160]
mov edx, 0x1064b0ac
mov ecx, dword [ebp - 0x308]
call fcn.10020cfd
pop ecx
mov dword [ebp - 0x170], 0xed15
mov dword [ebp - 0x298], 0xcfce
mov dword [ebp - 0x288], 0xffcf33f2
mov dword [ebp - 0x35c], 0xa85f88e1
mov dword [ebp - 0xa8], 0
jmp 0x1002314d
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 3
jge 0x10023169
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x4f4], 0x348f4a8
jmp 0x10023140
cmp dword [ebp - 0x170], 0
ja 0x1002317e
mov dword [ebp - 0x34c], 1
jmp 0x10023185
and dword [ebp - 0x34c], 0
cmp dword [ebp - 0x298], 1
jle 0x1002319a
mov dword [ebp - 0x280], 1
jmp 0x100231a1
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
je 0x100231c9
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x100231c9
mov dword [ebp - 0x290], 1
jmp 0x100231d0
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x290]
jne 0x100231ea
mov dword [ebp - 0x354], 1
jmp 0x100231f1
and dword [ebp - 0x354], 0
cmp dword [ebp - 0x298], 0x6feb9e9d
jge 0x10023209
mov dword [ebp - 0x2a8], 1
jmp 0x10023210
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
sub eax, dword [ebp - 0x170]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x4f4], eax
mov dword [ebp - 0x35c], 0xef4a0426
mov esi, 0x1064b100
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret