Function at 0x1001a0f7
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a1a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push esi
push edi
mov dword [ebp - 0x34], 0xe87df2f4
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], 0
jmp 0x1001a147
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x39
jge 0x1001a1f1
mov dword [ebp - 0x17c], 0xfffffff7
push 3
lea ecx, [ebp - 0x204]
call fcn.10013d69
and dword [ebp - 4], 0
mov dword [ebp - 0x194], 0xc407
mov dword [ebp - 0x80], 0
jmp 0x1001a186
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1001a1a2
push dword [ebp - 0x80]
lea ecx, [ebp - 0x204]
call fcn.10013df2
mov dword [eax], 0x31d26ec1
jmp 0x1001a17f
mov dword [ebp - 0x54], 0xfffffff0
jmp 0x1001a1b2
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xc
jl 0x1001a1dd
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x22c], eax
push 0
lea ecx, [ebp - 0x204]
call fcn.10013df2
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x194], eax
jmp 0x1001a1ab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10013dc7
jmp 0x1001a140
mov dword [ebp - 0x9c], 0x39ed080c
mov dword [ebp - 0x94], 1
push 2
lea ecx, [ebp - 0x1cc]
call fcn.10013d69
mov dword [ebp - 4], 1
mov dword [ebp - 0x74], 0x57976326
mov dword [ebp - 0x64], 0
jmp 0x1001a230
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1001a24c
push dword [ebp - 0x64]
lea ecx, [ebp - 0x1cc]
call fcn.10013df2
mov dword [eax], 7
jmp 0x1001a229
mov dword [ebp - 0x74], 0
jmp 0x1001a25c
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jg 0x1001a2c3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x44], 1
jmp 0x1001a279
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1001a2c1
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1cc]
call fcn.10013df2
mov esi, eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1cc]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x1001a2bf
push 0xa0f
push 0x1942
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
jmp 0x1001a272
jmp 0x1001a255
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10013dc7
mov dword [ebp - 0xa4], 0xa1654207
push 2
lea ecx, [ebp - 0x138]
call fcn.10013d69
mov dword [ebp - 4], 2
mov dword [ebp - 0x24], 0
jmp 0x1001a300
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1001a316
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x19c], 0xfffffffe
jmp 0x1001a2f9
mov dword [ebp - 0x24], 0
jmp 0x1001a326
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1001a342
push dword [ebp - 0x24]
lea ecx, [ebp - 0x138]
call fcn.10013df2
mov dword [eax], 0xb58e469a
jmp 0x1001a31f
push 1
lea ecx, [ebp - 0x138]
call fcn.10013df2
and dword [eax], 0
jmp 0x1001a378
push 1
lea ecx, [ebp - 0x138]
call fcn.10013df2
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x138]
call fcn.10013df2
cmp dword [eax], 1
jge 0x1001a3a6
push 1
lea ecx, [ebp - 0x138]
call fcn.10013df2
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x19c], 0xd95e17ca
jmp 0x1001a354
push 0
lea ecx, [ebp - 0x138]
call fcn.10013df2
mov esi, eax
push 0
lea ecx, [ebp - 0x138]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.10013dc7
or dword [ebp - 0x1f8], 0xffffffff
or dword [ebp - 0x1f4], 0xffffffff
or dword [ebp - 0x1f0], 0xffffffff
or dword [ebp - 0x1ec], 0xffffffff
lea ecx, [ebp - 0x8d]
call fcn.10013ee2
push eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x290]
call fcn.10013ee5
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.10013e61
mov dword [ebp - 4], 3
mov dword [ebp - 0x168], 9
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x18], 0xffffffec
jmp 0x1001a458
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff6
jge 0x1001a47e
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1001a47c
push 0x1df7
push 0x2319
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x1001a451
mov dword [ebp - 0x18], 0
jmp 0x1001a48e
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1001a8b2
mov dword [ebp - 0x18c], 0x1783
cmp dword [ebp - 0x18c], 0xa79
jge 0x1001a7c5
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x10007840
call fcn.100405bb
add esp, 0xc
mov byte [ebp - 0x3d], 0
lea eax, [ebp - 0x3d]
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x2b8]
call fcn.10013c1e
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x178]
push 2
lea ecx, [ebp - 0xb8]
call fcn.1001b8d5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.10013c7f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x174], 0
je 0x1001a7b6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x10007840
call fcn.100405bb
add esp, 0xc
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a65f
push dword [ebp - 0x10]
lea eax, [ebp - 0x268]
push eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a5d4
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jle 0x1001a614
mov eax, dword [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x278]
push eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a614
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x8c]
jge 0x1001a65a
mov eax, dword [ebp - 0x10]
inc eax
push eax
lea eax, [ebp - 0x288]
push eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a65a
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
jmp 0x1001a71d
push dword [ebp - 0x10]
lea eax, [ebp - 0x2a8]
push eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a697
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jle 0x1001a6d7
mov eax, dword [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x270]
push eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a6d7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x8c]
jge 0x1001a71d
mov eax, dword [ebp - 0x10]
inc eax
push eax
lea eax, [ebp - 0x298]
push eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
test eax, eax
je 0x1001a71d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013ce3
movzx eax, al
xor ecx, ecx
inc ecx
sub ecx, eax
je 0x1001a756
mov byte [ebp - 0x15c], 1
jmp 0x1001a75d
mov byte [ebp - 0x15c], 0
push dword [ebp - 0x15c]
push dword [ebp - 0x10]
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xb8]
call fcn.1001b8fc
mov ecx, eax
call fcn.10013c9f
mov ecx, eax
call fcn.10013cbe
cmp dword [ebp - 0x14], 0
jg 0x1001a79b
mov dword [ebp - 0x154], 0x100078f8
jmp 0x1001a7a5
mov dword [ebp - 0x154], 0x100078fc
push dword [ebp - 0x154]
call fcn.10041046
pop ecx
jmp 0x1001a522
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.1001b8f7
mov dword [ebp - 0xa0], 3
mov dword [ebp - 0x184], 1
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x18], eax
je 0x1001a7f0
mov dword [ebp - 0xc8], 1
jmp 0x1001a7f7
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0
je 0x1001a80c
mov dword [ebp - 0x110], 1
jmp 0x1001a813
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x110], eax
jne 0x1001a82a
mov dword [ebp - 0xd0], 1
jmp 0x1001a831
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 8
jae 0x1001a846
mov dword [ebp - 0x160], 1
jmp 0x1001a84d
and dword [ebp - 0x160], 0
cmp dword [ebp - 0xa0], 5
jg 0x1001a862
mov dword [ebp - 0x158], 1
jmp 0x1001a869
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x158], eax
jne 0x1001a883
mov dword [ebp - 0x118], 1
jmp 0x1001a88a
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x18], 0
je 0x1001a8ad
jmp 0x1001a8b2
jmp 0x1001a487
push 2
lea ecx, [ebp - 0x228]
call fcn.10013d69
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x140], 0x5196ee4e
push 3
lea ecx, [ebp - 0x1e4]
call fcn.10013d69
mov byte [ebp - 4], 8
mov dword [ebp - 0x6c], 0
jmp 0x1001a8f5
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1001a90e
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1e4]
call fcn.10013df2
or dword [eax], 0xffffffff
jmp 0x1001a8ee
imul eax, dword [ebp - 0x28], 0x9d22
cmp eax, dword [ebp - 0x28]
jl 0x1001a926
mov dword [ebp - 0xe0], 1
jmp 0x1001a92d
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xb2c5
jl 0x1001a951
mov dword [ebp - 0xe8], 1
jmp 0x1001a958
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xe8]
jg 0x1001a96f
mov dword [ebp - 0x120], 1
jmp 0x1001a976
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x120], eax
jle 0x1001a98d
mov dword [ebp - 0xf0], 1
jmp 0x1001a994
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xf0]
jne 0x1001a9ab
mov dword [ebp - 0x150], 1
jmp 0x1001a9b2
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x150], eax
jge 0x1001a9c9
mov dword [ebp - 0xf8], 1
jmp 0x1001a9d0
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jle 0x1001a9ea
mov dword [ebp - 0x128], 1
jmp 0x1001a9f1
and dword [ebp - 0x128], 0
push 2
lea ecx, [ebp - 0x1e4]
call fcn.10013df2
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [eax]
jne 0x1001aa1c
mov esi, dword [ebp - 0x28]
push 2
lea ecx, [ebp - 0x1e4]
call fcn.10013df2
mov dword [eax], esi
jmp 0x1001aa3c
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1001aa3c
push 0
push 0x266b
push 0
push 0x8ad
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1e4]
call fcn.10013dc7
mov dword [ebp - 0x3c], 0x7e2799ac
mov dword [ebp - 0x100], 8
mov dword [ebp - 0x1c0], 0x3ae5d5ec
mov dword [ebp - 0x3c], 0
jmp 0x1001aa76
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffe6
jl 0x1001ab73
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x180], 0x1b44
mov dword [ebp - 0xa8], 5
mov dword [ebp - 0x108], 0x948214d2
xor eax, eax
jne 0x1001aac1
cmp dword [ebp - 0x98], 0xfa5f9c71
jae 0x1001aac1
and dword [ebp - 0x148], 0
jmp 0x1001aacb
mov dword [ebp - 0x148], 1
xor eax, eax
jne 0x1001aae1
cmp dword [ebp - 0x180], 0
jne 0x1001aae1
and dword [ebp - 0x1a0], 0
jmp 0x1001aaeb
mov dword [ebp - 0x1a0], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
add eax, 0x21d7c43f
mov dword [ebp - 0xa8], eax
imul eax, dword [ebp - 0xa8], 0xb604
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x148]
lea eax, [ecx + eax - 1]
test eax, eax
jne 0x1001ab24
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x98], 0
jl 0x1001ab45
mov dword [ebp - 0x188], 1
jmp 0x1001ab4c
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x108], 0xfffffffc
jmp 0x1001aa6f
mov dword [ebp - 0x2c], 0
jmp 0x1001ab83
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1001ab99
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x164], 0x9978f3c
jmp 0x1001ab7c
mov dword [ebp - 0x88], 0xed15
mov dword [ebp - 0xd4], 0xcfce
mov dword [ebp - 0xc4], 0xffcf33f2
mov dword [ebp - 0x198], 0xa85f88e1
mov dword [ebp - 0x7c], 0
jmp 0x1001abd1
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x1001abe7
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x24c], 0x348f4a8
jmp 0x1001abca
cmp dword [ebp - 0x88], 0
ja 0x1001abfc
mov dword [ebp - 0x190], 1
jmp 0x1001ac03
and dword [ebp - 0x190], 0
cmp dword [ebp - 0xd4], 1
jle 0x1001ac18
mov dword [ebp - 0xc0], 1
jmp 0x1001ac1f
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x1001ac47
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x1001ac47
mov dword [ebp - 0xbc], 1
jmp 0x1001ac4e
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xbc]
jne 0x1001ac68
mov dword [ebp - 0x1b0], 1
jmp 0x1001ac6f
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0xd4], 0x6feb9e9d
jge 0x1001ac87
mov dword [ebp - 0xdc], 1
jmp 0x1001ac8e
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x88]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x24c], eax
mov dword [ebp - 0x198], 0xef4a0426
mov dword [ebp - 0x2c], 0
jmp 0x1001acc0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1001acdc
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x228]
call fcn.10013df2
mov dword [eax], 0x3847d228
jmp 0x1001acb9
push 1
lea ecx, [ebp - 0x1bc]
call fcn.10013d69
mov byte [ebp - 4], 9
mov dword [ebp - 0x60], 0
jmp 0x1001acfd
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1001ad19
push dword [ebp - 0x60]
lea ecx, [ebp - 0x1bc]
call fcn.10013df2
mov dword [eax], 0x5b57fd54
jmp 0x1001acf6
push 0
lea ecx, [ebp - 0x1bc]
call fcn.10013df2
and dword [eax], 0
jmp 0x1001ad4f
push 0
lea ecx, [ebp - 0x1bc]
call fcn.10013df2
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xe4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1bc]
call fcn.10013df2
cmp dword [eax], 0xffffffe3
jge 0x1001af02
mov dword [ebp - 0x50], 0xb950ba1b
mov dword [ebp - 0x68], 0
jmp 0x1001ad7c
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1001ad92
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x210], 0xffffffff
jmp 0x1001ad75
mov dword [ebp - 0x50], 0
jmp 0x1001ada2
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jg 0x1001aefd
push 2
lea ecx, [ebp - 0x1ac]
call fcn.10013d69
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x70], 0
jmp 0x1001adcd
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x1001ade9
push dword [ebp - 0x70]
lea ecx, [ebp - 0x1ac]
call fcn.10013df2
mov dword [eax], 1
jmp 0x1001adc6
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10013df2
mov dword [eax], 2
jmp 0x1001ae22
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10013df2
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xec]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10013df2
cmp dword [eax], 0
jl 0x1001aee9
mov dword [ebp - 0x48], 0xbc106ec6
mov dword [ebp - 0x48], 2
jmp 0x1001ae4f
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1001aed2
mov dword [ebp - 0x78], 0x96f377cc
mov dword [ebp - 0x78], 2
jmp 0x1001ae6c
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x1001aebe
mov dword [ebp - 0x58], 0x5457d670
mov dword [ebp - 0x58], 0
jmp 0x1001ae89
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jg 0x1001aea8
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
jmp 0x1001ae82
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp + eax*4 - 0x210]
mov dword [ebp + ecx*4 - 0x210], eax
jmp 0x1001ae65
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x210], 0
je 0x1001aecd
jmp 0x1001aed2
jmp 0x1001ae48
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x1001aee4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1001adfe
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1ac]
call fcn.10013dc7
jmp 0x1001ad9b
jmp 0x1001ad2b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
call fcn.10013dc7
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0xa4], eax
jl 0x1001af41
mov dword [ebp - 0xfc], 1
jmp 0x1001af48
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0x1afa9b64
je 0x1001af60
mov dword [ebp - 0x104], 1
jmp 0x1001af67
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x104]
jge 0x1001af81
mov dword [ebp - 0x10c], 1
jmp 0x1001af88
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x9c]
jne 0x1001afa8
mov dword [ebp - 0x114], 1
jmp 0x1001afaf
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0x6b3e713e
jne 0x1001afc7
mov dword [ebp - 0x124], 1
jmp 0x1001afce
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x11c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x164], ecx
mov esi, dword [ebp - 0x11c]
imul esi, dword [ebp - 0x124]
push 1
lea ecx, [ebp - 0x21c]
call fcn.10013df2
cmp esi, dword [eax]
jne 0x1001b017
mov dword [ebp - 0x12c], 1
jmp 0x1001b01e
and dword [ebp - 0x12c], 0
push 1
lea ecx, [ebp - 0x21c]
call fcn.10013df2
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [eax]
jg 0x1001b04a
cmp dword [ebp - 0x168], 0
je 0x1001b04a
mov dword [ebp - 0x13c], 1
jmp 0x1001b051
and dword [ebp - 0x13c], 0
push 0
lea ecx, [ebp - 0x228]
call fcn.10013df2
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
lea eax, [ebp - 0xa4]
push eax
call fcn.10019f05
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.10013dc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.10013dc7
push 1
lea eax, [ebp - 0x2c4]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10011981
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x258]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x258]
lea edi, [ebp - 0x1d8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], 0x1c76
mov dword [ebp - 0x4c], 0xfffe
mov dword [ebp - 0x5c], 0
jmp 0x1001b0de
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x1001b0f4
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0xac], 0x923ccde6
jmp 0x1001b0d7
cmp dword [ebp - 0x20], 0xbe7e5505
ja 0x1001b133
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
je 0x1001b111
mov dword [ebp - 0x144], 1
jmp 0x1001b118
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x144], eax
jl 0x1001b12a
push 4
pop eax
test eax, eax
jne 0x1001b133
and dword [ebp - 0x14c], 0
jmp 0x1001b13d
mov dword [ebp - 0x14c], 1
cmp dword [ebp - 0x14c], 7
ja 0x1001b152
mov dword [ebp - 0x170], 1
jmp 0x1001b159
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x23c], eax
or eax, 0xffffffff
je 0x1001b1bc
mov dword [ebp - 0x20], 0
jmp 0x1001b177
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x1001b1ba
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0xac], 0
je 0x1001b18c
jmp 0x1001b1ba
mov dword [ebp - 0x4c], 0
jmp 0x1001b19c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x1001b1b8
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0xac]
mov dword [ebp + ecx*4 - 0xac], eax
jmp 0x1001b195
jmp 0x1001b170
jmp 0x1001b1da
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1001b1da
push 0
push 0xd40
push 0x1f21
call dword [sym.imp.GDI32.dll_CreatePen]
cmp dword [ebp - 0x1d8], 0
je 0x1001b1f7
push 5
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
call dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret