Function at 0x1003ce70
Capabilities:
Contain obfuscated stackstrings
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b54a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6bc], 0x9869ec42
mov dword [ebp - 0xdc], 0x1e6e2bfb
mov dword [ebp - 0x530], 0x59008cf5
mov dword [ebp - 0x6b4], 1
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x268], 0x6d39c7c6
mov dword [ebp - 0x91c], 0xfffffffa
mov dword [ebp - 0x5a0], 0xffffffff
mov dword [ebp - 0x8f0], 0
mov dword [ebp - 0xb4], 0xfc6088b9
mov dword [ebp - 0x13c], 0x9968cb66
mov dword [ebp - 0x258], 0x37d660f1
mov dword [ebp - 0x528], 1
mov dword [ebp - 0x19c], 0
jmp 0x1003cf30
mov eax, dword [ebp - 0x19c]
inc eax
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 3
jge 0x1003cf4c
mov eax, dword [ebp - 0x19c]
mov dword [ebp + eax*4 - 0x754], 0xfffffff9
jmp 0x1003cf23
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x1003cf7a
mov dword [ebp - 0x600], 1
jmp 0x1003cf81
and dword [ebp - 0x600], 0
cmp dword [ebp - 0xb4], 0xffffffff
jne 0x1003cf96
mov dword [ebp - 0x2c0], 1
jmp 0x1003cf9d
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x2c0], eax
jg 0x1003cfb4
cmp dword [ebp - 0xb4], 0
je 0x1003cfc9
mov eax, 0xa0e1
test eax, eax
je 0x1003cfc9
mov dword [ebp - 0x568], 1
jmp 0x1003cfd0
and dword [ebp - 0x568], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x754]
add eax, dword [ebp - 0x568]
mov dword [ebp - 0x570], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x570]
mov dword [ebp + eax - 0x754], ecx
cmp dword [ebp - 0x570], 0
jne 0x1003d00e
cmp dword [ebp - 0x530], 0
je 0x1003d017
cmp dword [ebp - 0xb4], 0
jne 0x1003d029
cmp dword [ebp - 0x5a0], 0
jne 0x1003d029
and dword [ebp - 0x58c], 0
jmp 0x1003d033
mov dword [ebp - 0x58c], 1
mov eax, dword [ebp - 0x5a0]
cmp dword [ebp - 0x58c], eax
jle 0x1003d04d
mov dword [ebp - 0x434], 1
jmp 0x1003d054
and dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x434], eax
jge 0x1003d06b
cmp dword [ebp - 0x6b4], 0
jne 0x1003d074
cmp dword [ebp - 0x258], 0
je 0x1003d089
cmp dword [ebp - 0x258], 0
je 0x1003d089
mov dword [ebp - 0x508], 1
jmp 0x1003d090
and dword [ebp - 0x508], 0
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x1003d0b7
cmp dword [ebp - 0x268], 0
jne 0x1003d0b7
and dword [ebp - 0x510], 0
jmp 0x1003d0c1
mov dword [ebp - 0x510], 1
mov eax, dword [ebp - 0x6bc]
cmp eax, dword [ebp - 0x510]
jl 0x1003d0db
mov dword [ebp - 0x518], 1
jmp 0x1003d0e2
and dword [ebp - 0x518], 0
mov eax, dword [ebp - 0x268]
cmp dword [ebp - 0x518], eax
je 0x1003d0fc
mov dword [ebp - 0x270], 1
jmp 0x1003d103
and dword [ebp - 0x270], 0
cmp dword [ebp - 0x270], 0xfb41
jg 0x1003d11b
mov dword [ebp - 0x520], 1
jmp 0x1003d122
and dword [ebp - 0x520], 0
mov eax, dword [ebp - 0x528]
cmp dword [ebp - 0x520], eax
je 0x1003d13c
mov dword [ebp - 0x278], 1
jmp 0x1003d143
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x278]
add eax, 0x7bc7
cmp eax, dword [ebp - 0x528]
jge 0x1003d162
mov dword [ebp - 0x280], 1
jmp 0x1003d169
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x530], eax
mov dword [ebp - 0xdc], 2
jmp 0x1003d18e
mov eax, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jl 0x1003d1e0
mov dword [ebp - 0x8d0], 0xffffffff
xor eax, eax
inc eax
je 0x1003d1c4
mov byte [ebp - 0x9c], 0
movzx eax, byte [ebp - 0x9c]
test eax, eax
je 0x1003d1c2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x1003d1de
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x754]
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + ecx*4 - 0x754], eax
jmp 0x1003d181
mov dword [ebp - 0x78], 0xb9f9b319
mov dword [ebp - 0x50], 0
jmp 0x1003d1f7
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1003d20d
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x7b8], 0xacda2a4f
jmp 0x1003d1f0
mov dword [ebp - 0x50], 0
jmp 0x1003d21d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1003d233
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x5d4], 8
jmp 0x1003d216
mov dword [ebp - 0x78], 0
jmp 0x1003d243
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfffffff6
jl 0x1003d834
mov dword [ebp - 0x88], 0xc6f1bf50
mov dword [ebp - 0x7a0], 0x693e93
mov dword [ebp - 0x79c], 0x693e93
mov dword [ebp - 0x798], 0x693e93
mov dword [ebp - 0x794], 0x693e93
lea ecx, [ebp - 0x221]
call fcn.1000f95b
push eax
lea eax, [ebp - 0x790]
push eax
lea eax, [ebp - 0x7a0]
push eax
lea ecx, [ebp - 0xa20]
call fcn.1000f95e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x5e0]
call fcn.1000f90a
and dword [ebp - 4], 0
mov dword [ebp - 0x2cc], 0x6f861669
mov dword [ebp - 0x740], 0xffffffff
mov dword [ebp - 0x748], 0xb62e56c
mov dword [ebp - 0x4fc], 0xffffffff
mov dword [ebp - 0x2b4], 0xafca19ab
push 3
lea ecx, [ebp - 0x7ac]
call fcn.1000f8ae
mov byte [ebp - 4], 1
mov dword [ebp - 0x298], 0xc7da
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x738], 0x2bf4
mov dword [ebp - 0x70], 0
jmp 0x1003d329
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x1003d33f
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x99c], 0x8187147d
jmp 0x1003d322
mov dword [ebp - 0x70], 0
jmp 0x1003d34f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x1003d368
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7ac]
call fcn.1000f94c
and dword [eax], 0
jmp 0x1003d348
mov dword [ebp - 0x88], 0
jmp 0x1003d381
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xfffffffc
jge 0x1003d57d
mov dword [ebp - 0xf0], 0xffffffff
mov dword [ebp - 0x6c4], 0xbd55fd0a
mov dword [ebp - 0x1dc], 0x413e458c
mov dword [ebp - 0x200], 0x9eb11de2
mov dword [ebp - 0x730], 0x85ffff3
push 2
lea ecx, [ebp - 0x5e0]
call fcn.1000f94c
cmp dword [eax], 0
je 0x1003d3d7
jmp 0x1003d57d
cmp dword [ebp - 0xf0], 0
jne 0x1003d4f2
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x6c4], eax
cmp dword [ebp - 0x1dc], 0
jne 0x1003d414
push 2
lea ecx, [ebp - 0x5e0]
call fcn.1000f94c
cmp dword [eax], 0
jne 0x1003d414
and dword [ebp - 0x6cc], 0
jmp 0x1003d41e
mov dword [ebp - 0x6cc], 1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x944], eax
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 0x200]
jle 0x1003d444
mov dword [ebp - 0x288], 1
jmp 0x1003d44b
and dword [ebp - 0x288], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x288]
mov dword [ebp + eax - 0x7b8], ecx
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8e4], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x95c], eax
cmp dword [ebp - 0x88], 0xfffffffd
jge 0x1003d494
mov dword [ebp - 0x538], 1
jmp 0x1003d49b
and dword [ebp - 0x538], 0
cmp dword [ebp - 0x538], 0xffffffff
je 0x1003d4b0
mov dword [ebp - 0x290], 1
jmp 0x1003d4b7
and dword [ebp - 0x290], 0
mov esi, dword [ebp - 0xf0]
imul esi, dword [ebp - 0x290]
push 2
lea ecx, [ebp - 0x5e0]
call fcn.1000f94c
add esi, dword [eax]
mov dword [ebp - 0x1dc], esi
cmp dword [ebp - 0x1dc], 0
cmp dword [ebp - 0xf0], 0
jne 0x1003d4f2
and dword [ebp - 0x540], 0
jmp 0x1003d4fc
mov dword [ebp - 0x540], 1
mov esi, dword [ebp - 0x78]
push 2
lea ecx, [ebp - 0x5e0]
call fcn.1000f94c
mov ecx, dword [ebp - 0x540]
add ecx, dword [eax]
cmp ecx, esi
jg 0x1003d524
mov dword [ebp - 0x6d4], 1
jmp 0x1003d52b
and dword [ebp - 0x6d4], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8ec], eax
cmp dword [ebp - 0x88], 0
jne 0x1003d556
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7b8], 0
jne 0x1003d556
and dword [ebp - 0x6dc], 0
jmp 0x1003d560
mov dword [ebp - 0x6dc], 1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x824], eax
mov eax, dword [ebp - 0x1dc]
add eax, 4
mov dword [ebp - 0x730], eax
jmp 0x1003d374
mov eax, 0xfffe
test eax, eax
je 0x1003d782
mov eax, dword [ebp - 0x2b4]
imul eax, dword [ebp - 0x298]
test eax, eax
je 0x1003d5b8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x99c], 0
je 0x1003d5b8
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x5d4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x298]
cmp ecx, dword [ebp + eax - 0x5d4]
jl 0x1003d5d9
mov dword [ebp - 0x548], 1
jmp 0x1003d5e0
and dword [ebp - 0x548], 0
mov eax, dword [ebp - 0x738]
cmp dword [ebp - 0x548], eax
jl 0x1003d5fa
mov dword [ebp - 0x2a0], 1
jmp 0x1003d601
and dword [ebp - 0x2a0], 0
cmp dword [ebp - 0x2a0], 0xc7d0b67
jge 0x1003d619
mov dword [ebp - 0x240], 1
jmp 0x1003d620
and dword [ebp - 0x240], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x240]
mov dword [ebp + eax - 0x7b8], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5d4]
cmp eax, dword [ebp - 0x240]
jg 0x1003d654
mov dword [ebp - 0x550], 1
jmp 0x1003d65b
and dword [ebp - 0x550], 0
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x550]
mov edx, dword [ebp - 0x144]
inc edx
mov dword [ebp - 0x144], edx
cmp eax, ecx
je 0x1003d68a
cmp dword [ebp - 0x740], 0
jne 0x1003d68a
and dword [ebp - 0x2a8], 0
jmp 0x1003d694
mov dword [ebp - 0x2a8], 1
cmp dword [ebp - 0x2a8], 0xfffffff9
jle 0x1003d6a9
mov dword [ebp - 0x558], 1
jmp 0x1003d6b0
and dword [ebp - 0x558], 0
mov esi, dword [ebp - 0x88]
push 1
lea ecx, [ebp - 0x7ac]
call fcn.1000f94c
mov ecx, dword [ebp - 0x558]
sub ecx, dword [eax]
cmp ecx, esi
je 0x1003d6db
mov dword [ebp - 0x560], 1
jmp 0x1003d6e2
and dword [ebp - 0x560], 0
cmp dword [ebp - 0x560], 0
jne 0x1003d6fd
cmp dword [ebp - 0x2b4], 0
jne 0x1003d6fd
and dword [ebp - 0x5a8], 0
jmp 0x1003d707
mov dword [ebp - 0x5a8], 1
mov eax, dword [ebp - 0x4fc]
cmp dword [ebp - 0x5a8], eax
je 0x1003d721
mov dword [ebp - 0x2bc], 1
jmp 0x1003d728
and dword [ebp - 0x2bc], 0
cmp dword [ebp - 0x2bc], 0x3d6e0afc
jle 0x1003d740
mov dword [ebp - 0x43c], 1
jmp 0x1003d747
and dword [ebp - 0x43c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5d4]
imul eax, dword [ebp - 0x43c]
cmp eax, 0xffff
ja 0x1003d76e
mov dword [ebp - 0x2c4], 1
jmp 0x1003d775
and dword [ebp - 0x2c4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5d4]
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x828], eax
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x838], eax
mov esi, dword [ebp - 0x144]
push 2
lea ecx, [ebp - 0x5e0]
call fcn.1000f94c
cmp esi, dword [eax]
jl 0x1003d7c9
mov dword [ebp - 0x444], 1
jmp 0x1003d7d0
and dword [ebp - 0x444], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x5d4]
add ecx, dword [ebp - 0x444]
cmp ecx, dword [ebp + eax - 0x5d4]
je 0x1003d7fe
mov dword [ebp - 0x2d4], 1
jmp 0x1003d805
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x748], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7ac]
call fcn.1000f930
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5e0]
call fcn.1000f930
jmp 0x1003d23c
cmp dword [0x109e3b08], 0
jne 0x1003ffe6
mov dword [ebp - 0x3c], 0x13923ccd
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x44c], 1
mov dword [ebp - 0x65c], 0xde0f4c9f
mov dword [ebp - 0x840], 0xe568
mov dword [ebp - 0x1bc], 0
jmp 0x1003d889
mov eax, dword [ebp - 0x1bc]
inc eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 4
jge 0x1003d8a5
mov eax, dword [ebp - 0x1bc]
mov dword [ebp + eax*4 - 0x7f0], 0x737a30b9
jmp 0x1003d87c
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x3c]
jne 0x1003d8b9
mov dword [ebp - 0x2f4], 1
jmp 0x1003d8c0
and dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x3c], 0
jne 0x1003d8d2
mov dword [ebp - 0x55c], 1
jmp 0x1003d8d9
and dword [ebp - 0x55c], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x55c]
je 0x1003d8f0
mov dword [ebp - 0x2dc], 1
jmp 0x1003d8f7
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x2dc], eax
jg 0x1003d90e
mov dword [ebp - 0x680], 1
jmp 0x1003d915
and dword [ebp - 0x680], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jne 0x1003d93a
cmp dword [ebp - 0xc8], 0
mov eax, 0xd04c
test eax, eax
je 0x1003d958
cmp dword [ebp - 0xc8], 0
je 0x1003d958
mov dword [ebp - 0x2e4], 1
jmp 0x1003d95f
and dword [ebp - 0x2e4], 0
imul eax, dword [ebp - 0x2e4], 0xa83
cmp eax, dword [ebp - 0x3c]
jne 0x1003d97a
mov dword [ebp - 0x504], 1
jmp 0x1003d981
and dword [ebp - 0x504], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x504], eax
jg 0x1003d998
mov dword [ebp - 0x2ec], 1
jmp 0x1003d99f
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x2ec], eax
jge 0x1003d9b9
mov dword [ebp - 0x454], 1
jmp 0x1003d9c0
and dword [ebp - 0x454], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x454], eax
jl 0x1003d9da
mov dword [ebp - 0x594], 1
jmp 0x1003d9e1
and dword [ebp - 0x594], 0
mov eax, dword [ebp - 0x2f4]
imul eax, dword [ebp - 0x594]
cmp eax, dword [ebp - 0x3c]
je 0x1003d9ff
mov dword [ebp - 0x2fc], 1
jmp 0x1003da06
and dword [ebp - 0x2fc], 0
imul eax, dword [ebp - 0x2fc], 0xed69
cmp eax, 1
jge 0x1003da21
mov dword [ebp - 0x608], 1
jmp 0x1003da28
and dword [ebp - 0x608], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x850], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x7f0]
mov dword [ebp - 0x858], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
push 4
pop edx
imul edx, edx, 3
mov edx, dword [ebp + edx - 0x7f0]
sub edx, 0x7b9d8ae4
sub edx, dword [ebp + ecx - 0x7f0]
cmp edx, dword [ebp + eax - 0x7f0]
jne 0x1003da7f
mov dword [ebp - 0x45c], 1
jmp 0x1003da86
and dword [ebp - 0x45c], 0
mov eax, dword [ebp - 0x45c]
dec eax
cmp eax, dword [ebp - 0xc8]
jl 0x1003daa1
mov dword [ebp - 0x304], 1
jmp 0x1003daa8
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x30], 0xfffffff9
mov dword [ebp - 0x208], 0xffffffff
mov dword [ebp - 0x23c], 0xfffffffd
mov dword [ebp - 0x14c], 0
jmp 0x1003dae8
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 1
jge 0x1003db01
mov eax, dword [ebp - 0x14c]
mov dword [ebp + eax*4 - 0x58], 0xfffffff8
jmp 0x1003dadb
mov dword [ebp - 0x30], 0
jmp 0x1003db11
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x1003dd0a
mov dword [ebp - 0x5b8], 0x32bb11ac
mov dword [ebp - 0x5b4], 0x32bb11ac
mov dword [ebp - 0x5b0], 0x32bb11ac
mov dword [ebp - 0x5ac], 0x32bb11ac
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x5b8], 0
jmp 0x1003db71
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5b8]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x5b8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x5b8], 0
jg 0x1003dd05
mov dword [ebp - 0x6b8], 0x52487223
mov dword [ebp - 0x1d4], 0
jmp 0x1003dba8
mov eax, dword [ebp - 0x1d4]
inc eax
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 3
jge 0x1003dbc4
mov eax, dword [ebp - 0x1d4]
mov dword [ebp + eax*4 - 0x9c0], 0x80366e52
jmp 0x1003db9b
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x868], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp + eax*4 - 0x58], 0
je 0x1003dc2c
mov dword [ebp - 0x6b8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp + eax*4 - 0x58], 0xd35da2a
jg 0x1003dc2c
cmp dword [ebp - 0x23c], 0
je 0x1003dc2c
mov dword [ebp - 0x50c], 1
jmp 0x1003dc33
and dword [ebp - 0x50c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5b8]
mov eax, dword [ebp + eax*4 - 0x58]
imul eax, dword [ebp - 0x50c]
add eax, 0x7fb0
je 0x1003dc6b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0
je 0x1003dc6b
mov dword [ebp - 0x30c], 1
jmp 0x1003dc72
and dword [ebp - 0x30c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30c]
sub edx, dword [ebp + ecx*4 - 0x58]
sub edx, dword [ebp + eax - 0x58]
jne 0x1003dc9b
push 2
pop eax
test eax, eax
jne 0x1003dc9b
and dword [ebp - 0x464], 0
jmp 0x1003dca5
mov dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x464]
add eax, 0xfff9
jne 0x1003dccf
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5b8]
cmp dword [ebp + eax*4 - 0x58], 0
jne 0x1003dccf
and dword [ebp - 0x314], 0
jmp 0x1003dcd9
mov dword [ebp - 0x314], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x314]
sub ecx, dword [ebp + eax - 0x5b8]
add ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x30]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x9c0], ecx
jmp 0x1003db56
jmp 0x1003db0a
mov dword [ebp - 0x208], 0xa7fcc65
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x10f], 0x8a
mov byte [ebp - 0x10e], 1
mov byte [ebp - 0x10d], 0x36
mov byte [ebp - 0x10c], 7
mov byte [ebp - 0x10b], 0x79
mov byte [ebp - 0x10a], 1
mov byte [ebp - 0x109], 0x57
mov byte [ebp - 0x108], 6
mov byte [ebp - 0x107], 0x56
mov byte [ebp - 0x106], 3
mov byte [ebp - 0x105], 0x5d
mov byte [ebp - 0x104], 5
mov byte [ebp - 0x103], 2
mov byte [ebp - 0x102], 0xb
mov byte [ebp - 0x101], 0
mov byte [ebp - 0x100], 9
mov byte [ebp - 0xff], 8
mov byte [ebp - 0xfe], 2
mov byte [ebp - 0xfd], 0x16
mov byte [ebp - 0xfc], 0xa
mov byte [ebp - 0xfb], 0x1e
mov byte [ebp - 0xfa], 4
mov byte [ebp - 0xf9], 9
mov byte [ebp - 0xf8], 8
mov byte [ebp - 0xf7], 0x4b
mov dword [ebp - 0xd0], 0x951ad386
mov dword [ebp - 0xd0], 0x8ec0ae97
mov dword [ebp - 0xd0], 0xfffffff7
jmp 0x1003ddf7
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x1d
jg 0x1003de1c
mov byte [ebp - 0x9e], 0
movzx eax, byte [ebp - 0x9e]
test eax, eax
je 0x1003de1a
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
jmp 0x1003ddea
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x110]
and eax, 0xc1
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x110]
or ecx, 0xc1
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x110]
mov word [ebp + eax*2 - 0x81c], cx
mov dword [ebp - 0x18], 2
and dword [ebp - 0xd4], 0
jmp 0x1003de73
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1a
jae 0x1003e217
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x110]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003df0b
mov dword [ebp - 0x870], 0xa6318529
mov byte [ebp - 0xa0], 0
movzx eax, byte [ebp - 0xa0]
test eax, eax
je 0x1003debe
push 1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov byte [ebp - 0xab], 0
movzx eax, byte [ebp - 0xab]
test eax, eax
je 0x1003dedf
push 0
push 0x1c1c
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x110]
inc eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x110]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1003de6b
mov dword [ebp - 0x7c], 0x6a53
push 2
lea ecx, [ebp - 0x6fc]
call fcn.1000f8ae
mov dword [ebp - 4], 2
push 3
lea ecx, [ebp - 0x6ec]
call fcn.1000f8ae
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], 0
jmp 0x1003df47
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x1003df63
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6fc]
call fcn.1000f94c
mov dword [eax], 0x16df251d
jmp 0x1003df40
mov dword [ebp - 0x6c], 0
jmp 0x1003df73
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1003df8f
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6ec]
call fcn.1000f94c
mov dword [eax], 0xe327439c
jmp 0x1003df6c
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x7c], 0
jmp 0x1003dfa6
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jg 0x1003e164
mov dword [ebp - 0x778], 0xffffffff
mov dword [ebp - 0x774], 0xffffffff
mov dword [ebp - 0x770], 0xffffffff
mov dword [ebp - 0x76c], 0xffffffff
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x6fc]
call fcn.1000f94c
cmp dword [eax], 0
je 0x1003dff0
jmp 0x1003e164
push 0
lea ecx, [ebp - 0x6fc]
call fcn.1000f94c
mov esi, eax
push 0
lea ecx, [ebp - 0x6ec]
call fcn.1000f94c
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x1003e01e
mov dword [ebp - 0x564], 1
jmp 0x1003e025
and dword [ebp - 0x564], 0
cmp dword [ebp - 0x564], 7
jg 0x1003e0d6
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x778], 0
jne 0x1003e04e
mov dword [ebp - 0x31c], 1
jmp 0x1003e055
and dword [ebp - 0x31c], 0
push 4
pop eax
imul eax, eax, 3
mov esi, dword [ebp + eax - 0x778]
imul esi, dword [ebp - 0x31c]
push 1
lea ecx, [ebp - 0x6ec]
call fcn.1000f94c
cmp dword [eax], esi
jg 0x1003e086
mov dword [ebp - 0x46c], 1
jmp 0x1003e08d
and dword [ebp - 0x46c], 0
cmp dword [ebp - 0x46c], 3
jne 0x1003e0d6
mov byte [ebp - 0xa1], 0
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x1003e0b7
push 0
push 0
push 0x168e
call dword [sym.imp.GDI32.dll_SelectPalette]
mov byte [ebp - 0x8f], 0
movzx eax, byte [ebp - 0x8f]
test eax, eax
je 0x1003e0d1
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x1003e15f
mov dword [ebp - 0xe4], 0
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x6fc]
call fcn.1000f94c
cmp dword [eax], 0
je 0x1003e0f5
jmp 0x1003e164
mov dword [ebp - 0xe4], 2
jmp 0x1003e10e
mov eax, dword [ebp - 0xe4]
dec eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jl 0x1003e15f
mov dword [ebp - 0x154], 0x4dfecbe9
mov dword [ebp - 0x154], 0
jmp 0x1003e13a
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 2
jg 0x1003e15d
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x6ec]
call fcn.1000f94c
cmp dword [eax], 0
je 0x1003e15b
jmp 0x1003e15d
jmp 0x1003e12d
jmp 0x1003e101
jmp 0x1003df9f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6ec]
call fcn.1000f930
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6fc]
call fcn.1000f930
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xd4]
movzx eax, byte [ebp + eax - 0x112]
movzx eax, word [ebp + eax*2 - 0x81c]
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x10f]
and ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xd4]
movzx eax, byte [ebp + eax - 0x112]
movzx eax, word [ebp + eax*2 - 0x81c]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x10f]
and edx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xd4]
movzx eax, byte [ebp + eax - 0x112]
movzx eax, word [ebp + eax*2 - 0x81c]
mov esi, dword [ebp - 0x18]
movzx esi, byte [ebp + esi - 0x10f]
add esi, eax
sub esi, edx
sub esi, ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x110]
mov word [ebp + eax*2 - 0x81c], si
and dword [ebp - 0xd4], 0
jmp 0x1003de6b
mov dword [ebp - 0x198], 0xf5540d7f
mov dword [ebp - 0x8f8], 0xb9da4d07
mov dword [ebp - 0x900], 7
push 2
lea ecx, [ebp - 0x890]
call fcn.1000f8ae
mov dword [ebp - 4], 4
mov dword [ebp - 0x324], 0x4e5a
mov dword [ebp - 0x60], 0
jmp 0x1003e263
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x1003e279
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0xa6c], 8
jmp 0x1003e25c
mov dword [ebp - 0x60], 0
jmp 0x1003e289
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x1003e2a5
push dword [ebp - 0x60]
lea ecx, [ebp - 0x890]
call fcn.1000f94c
mov dword [eax], 0x568be135
jmp 0x1003e282
mov dword [ebp - 0x198], 0xffffffe8
jmp 0x1003e2be
mov eax, dword [ebp - 0x198]
dec eax
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0xffffffe3
jge 0x1003e356
mov dword [ebp - 0x908], 0x5ba7723
mov dword [ebp - 0x910], 0xf40fc027
mov dword [ebp - 0x918], 0
push 3
lea ecx, [ebp - 0x880]
call fcn.1000f8ae
mov byte [ebp - 4], 5
mov dword [ebp - 0x15c], 0
jmp 0x1003e313
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 3
jge 0x1003e335
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x880]
call fcn.1000f94c
mov dword [eax], 7
jmp 0x1003e306
mov eax, dword [ebp - 0x324]
inc eax
mov dword [ebp - 0x324], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x880]
call fcn.1000f930
jmp 0x1003e2b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.1000f930
push 2
pop eax
imul eax, eax, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x81c], cx
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0xa38]
call fcn.1004ad8e
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0x610]
mov dword [ebp - 0x734], eax
mov dword [ebp - 4], 6
push dword [ebp - 0x734]
call fcn.10035eba
pop ecx
mov dword [ebp - 0x2d8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa38]
call fcn.1001d292
mov dword [ebp - 0x7e0], 0x7eede0b4
mov dword [ebp - 0x7dc], 0x7eede0b4
mov dword [ebp - 0x7d8], 0x7eede0b4
mov dword [ebp - 0x7d4], 0x7eede0b4
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x474], 0x121f90ef
mov dword [ebp - 0x5a4], 0x188e17b8
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x618], 0xcf415d72
mov dword [ebp - 0x514], 0xffff
cmp dword [ebp - 0x514], 0x891c
jg 0x1003e43d
mov dword [ebp - 0x32c], 1
jmp 0x1003e444
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x474], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x7e0]
cmp eax, dword [ebp - 0x474]
jle 0x1003e470
mov dword [ebp - 0x334], 1
jmp 0x1003e477
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x618], eax
mov byte [ebp - 0x91], 0
movzx eax, byte [ebp - 0x91]
test eax, eax
je 0x1003e4bf
push 0xf86
push 0xe21
push 0
call dword [sym.imp.USER32.dll_InflateRect]
and dword [ebp - 0x1a0], 0
jmp 0x1003e4d5
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xd
jae 0x1003e5f0
push 2
lea ecx, [ebp - 0x8a0]
call fcn.1000f8ae
mov dword [ebp - 4], 7
mov dword [ebp - 0x920], 0xffffffff
mov dword [ebp - 0x928], 9
mov dword [ebp - 0x930], 9
mov dword [ebp - 0x938], 6
mov dword [ebp - 0x940], 0xc9ed9ba0
mov dword [ebp - 0x948], 0xffffffff
mov dword [ebp - 0x960], 0xfffffffb
mov dword [ebp - 0x954], 0
mov dword [ebp - 0x47c], 0xfffc
mov dword [ebp - 0x48], 0
jmp 0x1003e560
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1003e57c
push dword [ebp - 0x48]
lea ecx, [ebp - 0x8a0]
call fcn.1000f94c
mov dword [eax], 0x1f9c28ad
jmp 0x1003e559
mov dword [ebp - 0x48], 0
jmp 0x1003e58c
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1003e5a2
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x820], 0x7a5b7d8c
jmp 0x1003e585
mov byte [ebp - 0x8d], 0
movzx eax, byte [ebp - 0x8d]
test eax, eax
je 0x1003e5bf
push 0x21d
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov eax, dword [ebp - 0x47c]
dec eax
mov dword [ebp - 0x47c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8a0]
call fcn.1000f930
xor eax, eax
mov ecx, dword [ebp - 0x1a0]
mov word [ebp + ecx*2 - 0x81c], ax
jmp 0x1003e4c8
mov dword [ebp - 0x68], 6
mov dword [ebp - 0x68], 0
jmp 0x1003e607
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xfffffffa
jle 0x1003e62b
mov byte [ebp - 0xad], 0
movzx eax, byte [ebp - 0xad]
test eax, eax
je 0x1003e629
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1003e600
mov dword [ebp - 0x68], 0
jmp 0x1003e63b
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xfffffff7
jge 0x1003e660
mov dword [ebp - 0x6c0], 0x42a1e948
cmp dword [ebp - 0x6c0], 0
je 0x1003e656
jmp 0x1003e660
cmp dword [ebp - 0x68], 0
je 0x1003e65e
jmp 0x1003e634
jmp 0x1003e634
cmp dword [ebp - 0x2d8], 0
je 0x1003ffe6
mov dword [ebp - 0x164], 0xa8eac8b
mov dword [ebp - 0x164], 0
jmp 0x1003e690
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0xffffffe9
jge 0x1003e748
push 2
lea ecx, [ebp - 0x8b0]
call fcn.1000f8ae
mov dword [ebp - 4], 8
mov dword [ebp - 0x16c], 0x942a1e94
mov dword [ebp - 0x1a8], 0
jmp 0x1003e6d4
mov eax, dword [ebp - 0x1a8]
inc eax
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 2
jge 0x1003e6f6
push dword [ebp - 0x1a8]
lea ecx, [ebp - 0x8b0]
call fcn.1000f94c
mov dword [eax], 0xfffffffd
jmp 0x1003e6c7
mov dword [ebp - 0x16c], 1
jmp 0x1003e70f
mov eax, dword [ebp - 0x16c]
dec eax
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jl 0x1003e734
mov byte [ebp - 0x93], 0
movzx eax, byte [ebp - 0x93]
test eax, eax
je 0x1003e732
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1003e702
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b0]
call fcn.1000f930
jmp 0x1003e683
mov byte [ebp - 0x95], 0
movzx eax, byte [ebp - 0x95]
test eax, eax
je 0x1003e765
push 0xfa9
call dword [sym.imp.GDI32.dll_EndDoc]
mov dword [ebp - 0x14], 0xc38b6b0e
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xb8], 0x6cd04cd0
mov eax, 0xd4e
test eax, eax
je 0x1003e8a9
cmp dword [ebp - 0x14], 0
jne 0x1003e827
cmp dword [ebp - 0x14], 1
jge 0x1003e7a9
mov dword [ebp - 0x344], 1
jmp 0x1003e7b0
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x14]
jl 0x1003e7cb
mov dword [ebp - 0x51c], 1
jmp 0x1003e7d2
and dword [ebp - 0x51c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x51c], eax
je 0x1003e7e9
mov dword [ebp - 0x34c], 1
jmp 0x1003e7f0
and dword [ebp - 0x34c], 0
cmp dword [ebp - 0x34c], 6
je 0x1003e805
mov dword [ebp - 0x620], 1
jmp 0x1003e80c
and dword [ebp - 0x620], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x92c], eax
mov eax, 0xb994b748
test eax, eax
jne 0x1003e827
and dword [ebp - 0x710], 0
jmp 0x1003e831
mov dword [ebp - 0x710], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jl 0x1003e84e
mov dword [ebp - 0x628], 1
jmp 0x1003e855
and dword [ebp - 0x628], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x1003e876
cmp dword [ebp - 0x14], 0
jne 0x1003e876
and dword [ebp - 0x484], 0
jmp 0x1003e880
mov dword [ebp - 0x484], 1
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x14]
jne 0x1003e8a9
cmp dword [ebp - 0x14], 0
je 0x1003e8a9
mov dword [ebp - 0x354], 1
jmp 0x1003e8b0
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x354], eax
jne 0x1003e8c7
mov dword [ebp - 0x56c], 1
jmp 0x1003e8ce
and dword [ebp - 0x56c], 0
cmp dword [ebp - 0x56c], 0
je 0x1003e9f2
mov dword [ebp - 0x494], 0xfffffff6
mov byte [ebp - 0xa9], 0
movzx eax, byte [ebp - 0xa9]
test eax, eax
je 0x1003e904
push 0
push 0xc4e
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xb8], 0x428464d9
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb8]
je 0x1003e928
mov dword [ebp - 0x524], 1
jmp 0x1003e92f
and dword [ebp - 0x524], 0
mov eax, dword [ebp - 0x14]
sub eax, 0x3a3d0ffe
cmp eax, dword [ebp - 0x494]
jne 0x1003e94b
mov dword [ebp - 0x35c], 1
jmp 0x1003e952
and dword [ebp - 0x35c], 0
imul eax, dword [ebp - 0x35c], 0xffff
cmp eax, 0x1fd2
jg 0x1003e96f
mov dword [ebp - 0x48c], 1
jmp 0x1003e976
and dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x48c]
test eax, eax
jne 0x1003e993
cmp dword [ebp - 0x14], 0
jne 0x1003e993
and dword [ebp - 0x6c8], 0
jmp 0x1003e99d
mov dword [ebp - 0x6c8], 1
mov eax, dword [ebp - 0xc0]
dec eax
cmp eax, dword [ebp - 0x14]
jl 0x1003e9b5
mov dword [ebp - 0x364], 1
jmp 0x1003e9bc
and dword [ebp - 0x364], 0
cmp dword [ebp - 0x364], 0x2196db35
jl 0x1003e9d4
mov dword [ebp - 0x36c], 1
jmp 0x1003e9db
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x524]
add eax, dword [ebp - 0x36c]
mov dword [ebp - 0x494], eax
jmp 0x1003ec01
mov dword [ebp - 0xbc], 0x5e2d0b18
mov dword [ebp - 0x52c], 0xfffffff6
cmp dword [ebp - 0xbc], 0
je 0x1003ea6f
mov dword [ebp - 0x1b0], 0
jmp 0x1003ea28
mov eax, dword [ebp - 0x1b0]
inc eax
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 4
jge 0x1003ea44
mov eax, dword [ebp - 0x1b0]
mov dword [ebp + eax*4 - 0xa18], 1
jmp 0x1003ea1b
mov dword [ebp - 0x14], 0
jmp 0x1003ea54
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1003ea6a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xa18], 0xadfe
jmp 0x1003ea4d
jmp 0x1003ec01
mov dword [ebp - 0x630], 0x2968
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x174], 0
jmp 0x1003ea9c
mov eax, dword [ebp - 0x174]
inc eax
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 3
jge 0x1003eab8
mov eax, dword [ebp - 0x174]
mov dword [ebp + eax*4 - 0x8c0], 8
jmp 0x1003ea8f
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x1003eb9b
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xbc]
jge 0x1003eae9
mov dword [ebp - 0x374], 1
jmp 0x1003eaf0
and dword [ebp - 0x374], 0
cmp dword [ebp - 0x374], 0x90f9cf50
jb 0x1003eb08
mov dword [ebp - 0x59c], 1
jmp 0x1003eb0f
and dword [ebp - 0x59c], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x59c], eax
je 0x1003eb29
mov dword [ebp - 0x37c], 1
jmp 0x1003eb30
and dword [ebp - 0x37c], 0
imul eax, dword [ebp - 0x37c], 0xffffffff
add eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xb8], eax
jg 0x1003eb57
cmp dword [ebp - 0x630], 0
jne 0x1003eb57
and dword [ebp - 0x714], 0
jmp 0x1003eb61
mov dword [ebp - 0x714], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c0]
mov dword [ebp - 0x8f4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c0]
mov dword [ebp - 0x834], eax
mov eax, 0x41960cc1
test eax, eax
je 0x1003eb9b
mov dword [ebp - 0x49c], 1
jmp 0x1003eba2
and dword [ebp - 0x49c], 0
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x49c], eax
jl 0x1003ebbc
mov dword [ebp - 0x384], 1
jmp 0x1003ebc3
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x384]
add eax, 0x13dec24e
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
cmp eax, dword [ebp - 0xbc]
jg 0x1003ebee
mov dword [ebp - 0x38c], 1
jmp 0x1003ebf5
and dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x38], 0xf1d8987f
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x3ac], 0xbd907c4
mov dword [ebp - 0x53c], 0xcb17
mov dword [ebp - 0x650], 0xf611
mov dword [ebp - 0x1c8], 0xffffffff
mov dword [ebp - 0x94c], 0x66a4
mov dword [ebp - 0x1b8], 0
jmp 0x1003ec67
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 1
jge 0x1003ec83
mov eax, dword [ebp - 0x1b8]
mov dword [ebp + eax*4 - 0x4c4], 0x5e34605d
jmp 0x1003ec5a
cmp dword [ebp - 0x38], 0
jne 0x1003ede8
mov dword [ebp - 0x228], 0x57a67d92
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x38]
jl 0x1003ecae
mov dword [ebp - 0x4a4], 1
jmp 0x1003ecb5
and dword [ebp - 0x4a4], 0
cmp dword [ebp - 0x4a4], 0x659e
jge 0x1003eccd
mov dword [ebp - 0x6d0], 1
jmp 0x1003ecd4
and dword [ebp - 0x6d0], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x38]
jge 0x1003ecf4
mov dword [ebp - 0x394], 1
jmp 0x1003ecfb
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x394], eax
je 0x1003ed12
mov dword [ebp - 0x574], 1
jmp 0x1003ed19
and dword [ebp - 0x574], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x574], eax
jg 0x1003ed30
mov dword [ebp - 0x39c], 1
jmp 0x1003ed37
and dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0xbc56e700
jbe 0x1003ed4f
mov dword [ebp - 0x640], 1
jmp 0x1003ed56
and dword [ebp - 0x640], 0
cmp dword [ebp - 0x38], 0x586f
jge 0x1003ed6b
mov dword [ebp - 0x4ac], 1
jmp 0x1003ed72
and dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x4ac], eax
jl 0x1003ed89
mov dword [ebp - 0x728], 1
jmp 0x1003ed90
and dword [ebp - 0x728], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x38]
jge 0x1003eda4
mov dword [ebp - 0x3a4], 1
jmp 0x1003edab
and dword [ebp - 0x3a4], 0
mov dword [ebp - 0x210], 0x2ab7
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x3a4]
jl 0x1003edcf
mov dword [ebp - 0x648], 1
jmp 0x1003edd6
and dword [ebp - 0x648], 0
mov eax, 0x844b
test eax, eax
jne 0x1003ede8
and dword [ebp - 0x534], 0
jmp 0x1003edf2
mov dword [ebp - 0x534], 1
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
imul eax, dword [ebp - 0x38]
test eax, eax
jne 0x1003ee15
mov eax, 0xbbda
test eax, eax
je 0x1003ee54
mov eax, 0xffff
test eax, eax
je 0x1003ee54
mov byte [ebp - 0x97], 0
movzx eax, byte [ebp - 0x97]
test eax, eax
je 0x1003ee4f
push 0x23ec
push 0x1b83
push 0x1051
push 0x127c
push 0x187f
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
jmp 0x1003f19c
mov dword [ebp - 0x4b4], 0x1b9a
mov dword [ebp - 0x67c], 0x10008eb0
cmp dword [ebp - 0x4b4], 0x1bf3
jle 0x1003eeeb
and dword [ebp - 0x17c], 0
jmp 0x1003ee8a
mov eax, dword [ebp - 0x17c]
inc eax
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0x73fc
jge 0x1003eeeb
and dword [ebp - 0x1c0], 0
jmp 0x1003eeac
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0x6caa
jge 0x1003eee9
mov eax, dword [ebp - 0x17c]
and eax, dword [ebp - 0x1c0]
cdq
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x664], edx
push dword [ebp - 0x664]
push dword [ebp - 0x668]
mov ecx, 0x10612078
call fcn.1000f645
jmp 0x1003ee9f
jmp 0x1003ee7d
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 4], 9
cmp dword [ebp - 0x4b4], 0x1891
jge 0x1003ef18
mov edx, dword [ebp - 0x67c]
mov ecx, 0x10612078
call fcn.10011cee
jmp 0x1003ef34
or dword [ebp - 4], 0xffffffff
jmp 0x1003ef3e
mov dword [ebp - 0x238], 0x74d9070a
mov dword [ebp - 0x8fc], 0x8c37f2e4
mov dword [ebp - 0x684], 0x48cb009
mov dword [ebp - 0x184], 0
jmp 0x1003ef75
mov eax, dword [ebp - 0x184]
inc eax
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 3
jge 0x1003ef91
mov eax, dword [ebp - 0x184]
mov dword [ebp + eax*4 - 0x9a8], 0xa3fe
jmp 0x1003ef68
cmp dword [ebp - 0xc4], 0
je 0x1003f087
cmp dword [ebp - 0xc4], 0
je 0x1003f072
mov eax, dword [ebp - 0x210]
add eax, 0x18177c4
cmp eax, dword [ebp - 0xc4]
jg 0x1003efd7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c4], 0
jne 0x1003efd7
and dword [ebp - 0x3b4], 0
jmp 0x1003efe1
mov dword [ebp - 0x3b4], 1
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x3b4], eax
je 0x1003effb
mov dword [ebp - 0x588], 1
jmp 0x1003f002
and dword [ebp - 0x588], 0
mov eax, dword [ebp - 0x53c]
cmp eax, dword [ebp - 0x588]
jl 0x1003f01c
mov dword [ebp - 0x3bc], 1
jmp 0x1003f023
and dword [ebp - 0x3bc], 0
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x3bc]
jne 0x1003f041
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x1003f041
and dword [ebp - 0x4bc], 0
jmp 0x1003f04b
mov dword [ebp - 0x4bc], 1
mov eax, dword [ebp - 0x4bc]
sub eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x238]
jge 0x1003f06b
mov dword [ebp - 0x3c4], 1
jmp 0x1003f072
and dword [ebp - 0x3c4], 0
mov eax, dword [ebp - 0x53c]
inc eax
je 0x1003f087
mov dword [ebp - 0x3cc], 1
jmp 0x1003f08e
and dword [ebp - 0x3cc], 0
cmp dword [ebp - 0x3cc], 0xffffffff
jl 0x1003f0a0
cmp dword [ebp - 0x650], 0
je 0x1003f0c8
mov byte [ebp - 0xaf], 0
movzx eax, byte [ebp - 0xaf]
test eax, eax
je 0x1003f0c3
push 0
push 0
push 0x99
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1003f19c
mov dword [ebp - 0x844], 0xe76e4046
cmp dword [ebp - 0x238], 1
jle 0x1003f0e7
mov dword [ebp - 0x218], 1
jmp 0x1003f0ee
and dword [ebp - 0x218], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x218]
mov dword [ebp + eax - 0x4c4], ecx
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x218], eax
jne 0x1003f128
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9a8], 0
jne 0x1003f128
and dword [ebp - 0x3d4], 0
jmp 0x1003f132
mov dword [ebp - 0x3d4], 1
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x684], eax
mov dword [ebp - 0x1c8], 0xffffffe7
jmp 0x1003f157
mov eax, dword [ebp - 0x1c8]
inc eax
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0x21
jg 0x1003f19c
mov byte [ebp - 0x99], 0
movzx eax, byte [ebp - 0x99]
test eax, eax
je 0x1003f17a
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
mov byte [ebp - 0xae], 0
movzx eax, byte [ebp - 0xae]
test eax, eax
je 0x1003f19a
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
jmp 0x1003f14a
mov byte [ebp - 0x130], 9
mov byte [ebp - 0x12f], 0x2c
mov byte [ebp - 0x12e], 0
mov byte [ebp - 0x12d], 0x23
mov byte [ebp - 0x12c], 5
mov byte [ebp - 0x12b], 0x28
mov byte [ebp - 0x12a], 1
mov byte [ebp - 0x129], 0xa
mov byte [ebp - 0x128], 6
mov byte [ebp - 0x127], 6
mov byte [ebp - 0x126], 8
mov byte [ebp - 0x125], 7
mov byte [ebp - 0x124], 0xb
mov byte [ebp - 0x123], 1
mov byte [ebp - 0x122], 0xa
mov byte [ebp - 0x121], 0x17
mov byte [ebp - 0x120], 4
mov byte [ebp - 0x11f], 0
mov byte [ebp - 0x11e], 2
mov byte [ebp - 0x11d], 6
mov byte [ebp - 0x11c], 0xd
mov byte [ebp - 0x11b], 7
mov byte [ebp - 0x11a], 3
mov byte [ebp - 0x119], 0x23
mov byte [ebp - 0x118], 0xc
mov byte [ebp - 0x117], 0x23
mov byte [ebp - 0x116], 7
mov byte [ebp - 0x115], 0x32
mov dword [ebp - 0x18c], 0x8c6a53d0
mov byte [ebp - 0x9b], 0
movzx eax, byte [ebp - 0x9b]
test eax, eax
je 0x1003f29d
push 0
push 0x1592
push 0x96f
push 0xe59
push 0x20f4
push 0x11ef
call dword [sym.imp.GDI32.dll_PatBlt]
mov dword [ebp - 0x18c], 0
jmp 0x1003f2b6
mov eax, dword [ebp - 0x18c]
dec eax
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0xffffffee
jne 0x1003f3b3
push 4
lea ecx, [ebp - 0x760]
call fcn.1000f8ae
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x194], 0xffffffff
mov dword [ebp - 0x1d0], 0
jmp 0x1003f2fa
mov eax, dword [ebp - 0x1d0]
inc eax
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 4
jge 0x1003f31c
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x760]
call fcn.1000f94c
mov dword [eax], 0x8a13
jmp 0x1003f2ed
mov dword [ebp - 0x194], 0
jmp 0x1003f335
mov eax, dword [ebp - 0x194]
inc eax
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 3
jg 0x1003f379
mov dword [ebp - 0xd8], 0xdfe4b283
mov dword [ebp - 0xd8], 3
jmp 0x1003f361
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jl 0x1003f377
cmp dword [ebp - 0xd8], 0
je 0x1003f375
jmp 0x1003f377
jmp 0x1003f354
jmp 0x1003f328
push 1
lea ecx, [ebp - 0x760]
call fcn.1000f94c
cmp dword [eax], 0
je 0x1003f39f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x760]
call fcn.1000f930
jmp 0x1003f2a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x760]
call fcn.1000f930
jmp 0x1003f2a9
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x130]
and eax, 0x48
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x130]
or ecx, 0x48
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x130]
mov byte [ebp + eax - 0x5fc], cl
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x20], 0xffffffff
cmp dword [ebp - 0x74], 0xe60f
jge 0x1003f40f
mov dword [ebp - 0x584], 1
jmp 0x1003f416
and dword [ebp - 0x584], 0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x584]
jge 0x1003f42d
mov dword [ebp - 0x3dc], 1
jmp 0x1003f434
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
jge 0x1003f455
mov dword [ebp - 0x544], 1
jmp 0x1003f45c
and dword [ebp - 0x544], 0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x20]
jne 0x1003f470
mov dword [ebp - 0x4cc], 1
jmp 0x1003f477
and dword [ebp - 0x4cc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4cc], eax
jl 0x1003f48e
mov dword [ebp - 0x3e4], 1
jmp 0x1003f495
and dword [ebp - 0x3e4], 0
cmp dword [ebp - 0x3e4], 0xb263
jne 0x1003f4ad
mov dword [ebp - 0x3ec], 1
jmp 0x1003f4b4
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x544]
cmp eax, dword [ebp - 0x3ec]
je 0x1003f4ce
mov dword [ebp - 0x4d4], 1
jmp 0x1003f4d5
and dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4d4], eax
jg 0x1003f639
push 3
lea ecx, [ebp - 0x70c]
call fcn.1000f8ae
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x68c], 0x3a7ef23e
mov dword [ebp - 0x1d8], 0
jmp 0x1003f51b
mov eax, dword [ebp - 0x1d8]
inc eax
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 3
jge 0x1003f53a
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x70c]
call fcn.1000f94c
or dword [eax], 0xffffffff
jmp 0x1003f50e
mov dword [ebp - 0x74], 0x12
jmp 0x1003f54a
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x18
jne 0x1003f57b
mov byte [ebp - 0xac], 0
movzx eax, byte [ebp - 0xac]
test eax, eax
je 0x1003f579
push 0x306
push 0x191e
push 0x154d
push 0
call dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x1003f543
cmp dword [ebp - 0x74], 0
je 0x1003f60a
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x74]
add eax, 0xfffe
cmp eax, 4
jne 0x1003f5a2
mov dword [ebp - 0x658], 1
jmp 0x1003f5a9
and dword [ebp - 0x658], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x934], eax
push 2
lea ecx, [ebp - 0x70c]
call fcn.1000f94c
mov esi, eax
push 0
lea ecx, [ebp - 0x70c]
call fcn.1000f94c
mov eax, dword [eax]
cmp eax, dword [esi]
jg 0x1003f5e0
mov dword [ebp - 0x3f4], 1
jmp 0x1003f5e7
and dword [ebp - 0x3f4], 0
push 0
lea ecx, [ebp - 0x70c]
call fcn.1000f94c
mov ecx, dword [ebp - 0x3f4]
add ecx, dword [eax]
je 0x1003f60a
mov dword [ebp - 0x590], 1
jmp 0x1003f611
and dword [ebp - 0x590], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x590]
add eax, dword [ebp - 0x68c]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x20], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.1000f930
jmp 0x1003f691
mov byte [ebp - 0x9d], 0
movzx eax, byte [ebp - 0x9d]
test eax, eax
je 0x1003f65f
push 0xec9
push 0
push 0
push 0x1707
call dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [ebp - 0x20], 0
jmp 0x1003f66f
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffef
jne 0x1003f691
mov byte [ebp - 0xaa], 0
movzx eax, byte [ebp - 0xaa]
test eax, eax
je 0x1003f68f
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1003f668
mov dword [ebp - 0x44], 2
and dword [ebp - 0x230], 0
jmp 0x1003f6a9
mov eax, dword [ebp - 0x44]
inc eax
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1c
jae 0x1003f7b7
mov dword [ebp - 0x134], 0
jmp 0x1003f6cc
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 3
jge 0x1003f6e8
mov eax, dword [ebp - 0x134]
mov dword [ebp + eax*4 - 0xa5c], 0xfffffffa
jmp 0x1003f6bf
mov byte [ebp - 0x9f], 0
movzx eax, byte [ebp - 0x9f]
test eax, eax
je 0x1003f70e
push 0x4ba
push 0
push 0xc92
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
mov byte [ebp - 0x8e], 0
movzx eax, byte [ebp - 0x8e]
test eax, eax
je 0x1003f72a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x230]
movzx eax, byte [ebp + eax - 0x132]
movsx eax, byte [ebp + eax - 0x5fc]
mov ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0x12f]
and ecx, eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x230]
movzx eax, byte [ebp + eax - 0x132]
movsx eax, byte [ebp + eax - 0x5fc]
mov edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0x12f]
and edx, eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x230]
movzx eax, byte [ebp + eax - 0x132]
movsx eax, byte [ebp + eax - 0x5fc]
mov esi, dword [ebp - 0x44]
movzx ebx, byte [ebp + esi - 0x12f]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x44]
movzx eax, byte [ebp + eax - 0x130]
mov byte [ebp + eax - 0x5fc], bl
jmp 0x1003f6a1
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c4], 0
jmp 0x1003f7d7
mov eax, dword [ebp - 0x1c4]
inc eax
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 1
jge 0x1003f7f3
mov eax, dword [ebp - 0x1c4]
mov dword [ebp + eax*4 - 0x1f0], 0x40d7
jmp 0x1003f7ca
mov dword [ebp - 0x2c], 0
jmp 0x1003f803
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jg 0x1003f865
mov dword [ebp - 0x1a4], 0
jmp 0x1003f822
mov eax, dword [ebp - 0x1a4]
inc eax
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 4
jge 0x1003f83e
mov eax, dword [ebp - 0x1a4]
mov dword [ebp + eax*4 - 0x9d0], 5
jmp 0x1003f815
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x9d0], 0x72304b25
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x1f0]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + ecx*4 - 0x1f0], eax
jmp 0x1003f7fc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
jg 0x1003f882
mov dword [ebp - 0x3fc], 1
jmp 0x1003f889
and dword [ebp - 0x3fc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f0]
cmp eax, dword [ebp - 0x3fc]
jg 0x1003f8aa
mov dword [ebp - 0x4dc], 1
jmp 0x1003f8b1
and dword [ebp - 0x4dc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp + eax - 0x1f0]
jne 0x1003f8db
cmp dword [ebp - 0x2c], 0
je 0x1003f8db
mov dword [ebp - 0x404], 1
jmp 0x1003f8e2
and dword [ebp - 0x404], 0
imul eax, dword [ebp - 0x404], 0xfffe
cmp dword [ebp - 0x2c], eax
jge 0x1003f8fd
mov dword [ebp - 0x54c], 1
jmp 0x1003f904
and dword [ebp - 0x54c], 0
mov eax, dword [ebp - 0x54c]
mov dword [ebp - 0x2c], eax
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x5fc], 0
mov dword [ebp - 0x84], 0x5c68ec0a
mov dword [ebp - 0x660], 1
mov dword [ebp - 0x1ac], 0
jmp 0x1003f948
mov eax, dword [ebp - 0x1ac]
inc eax
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 4
jge 0x1003f964
mov eax, dword [ebp - 0x1ac]
mov dword [ebp + eax*4 - 0x9f8], 0
jmp 0x1003f93b
mov dword [ebp - 0x84], 0xf
jmp 0x1003f97d
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffed
je 0x1003f9c7
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe0], 0
jmp 0x1003f9a9
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 4
jge 0x1003f9c5
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x9f8], 0x5cd53bc6
jmp 0x1003f99c
jmp 0x1003f970
mov dword [ebp - 0x84], 0xffffffee
jmp 0x1003f9e0
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x11
jne 0x1003f9f5
mov dword [ebp - 0x660], 0x8f6c74aa
jmp 0x1003f9d3
lea eax, [ebp - 0x5fc]
push eax
lea ecx, [ebp - 0x9e8]
call fcn.1000f791
mov dword [ebp - 4], 0xd
mov dword [ebp - 0xcc], 0x6a205b29
mov dword [ebp - 0x8c], 0x4bc9c3d0
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0xcc]
je 0x1003fa3c
mov dword [ebp - 0x40c], 1
jmp 0x1003fa43
and dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x40c]
sub eax, dword [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x8c]
jle 0x1003fa6f
mov dword [ebp - 0x4e4], 1
jmp 0x1003fa76
and dword [ebp - 0x4e4], 0
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x4e4]
test eax, eax
jne 0x1003fa99
cmp dword [ebp - 0xcc], 0
jne 0x1003fa99
and dword [ebp - 0x414], 0
jmp 0x1003faa3
mov dword [ebp - 0x414], 1
cmp dword [ebp - 0x414], 0xfffc
jne 0x1003fabb
mov dword [ebp - 0x598], 1
jmp 0x1003fac2
and dword [ebp - 0x598], 0
cmp dword [ebp - 0x598], 0x54c3c69a
jl 0x1003fada
mov dword [ebp - 0x41c], 1
jmp 0x1003fae1
and dword [ebp - 0x41c], 0
cmp dword [ebp - 0x41c], 0xffffffff
jne 0x1003faf6
mov dword [ebp - 0x688], 0x3eca4f83
mov dword [ebp - 0x4c], 0
jmp 0x10040000
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10040016
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0xa00], 0xfffffffe
jmp 0x1003fff9
mov dword [ebp - 0x4c], 0
jmp 0x10040026
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1004003c
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x768], 0
jmp 0x1004001f
mov dword [ebp - 0x688], 0xffffffff
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x768]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x768], eax
cmp dword [0x109e3b08], 0
je 0x1004162a
mov dword [ebp - 0x78c], 1
mov dword [ebp - 0x788], 1
mov dword [ebp - 0x784], 1
mov dword [ebp - 0x780], 1
lea ecx, [ebp - 0x229]
call fcn.1000f95b
push eax
lea eax, [ebp - 0x77c]
push eax
lea eax, [ebp - 0x78c]
push eax
lea ecx, [ebp - 0xa08]
call fcn.1000f95e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1fc]
call fcn.1000f90a
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x874], 0xc535718a
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
and dword [eax], 0
jmp 0x10040119
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
cmp dword [eax], 6
je 0x10040180
mov dword [ebp - 0x744], 1
mov byte [ebp - 0x94], 0
movzx eax, byte [ebp - 0x94]
test eax, eax
je 0x10040153
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
cmp dword [ebp - 0x744], 0xfe5f
jl 0x1004016b
mov dword [ebp - 0x2e8], 1
jmp 0x10040172
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x28], eax
jmp 0x100400f5
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
cmp dword [eax], 1
jg 0x1004019e
mov dword [ebp - 0x2f8], 1
jmp 0x100401a5
and dword [ebp - 0x2f8], 0
mov eax, 0xeb8e136d
test eax, eax
je 0x10040218
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
mov esi, eax
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
mov edi, dword [eax]
imul edi, dword [esi]
push 2
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
cmp edi, dword [eax]
jne 0x100401f9
mov dword [ebp - 0x2f0], 1
jmp 0x10040200
and dword [ebp - 0x2f0], 0
cmp dword [ebp - 0x2f0], 0xcf8b874b
je 0x10040218
mov dword [ebp - 0x300], 1
jmp 0x1004021f
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x2f8]
cmp eax, dword [ebp - 0x300]
jl 0x10040239
mov dword [ebp - 0x690], 1
jmp 0x10040240
and dword [ebp - 0x690], 0
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
cmp dword [ebp - 0x28], 0xda2a4f2a
je 0x10040262
mov dword [ebp - 0x308], 1
jmp 0x10040269
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x308]
sub eax, 0xcec
je 0x1004027a
cmp dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xfff9
jne 0x1004028f
mov dword [ebp - 0x310], 1
jmp 0x10040296
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x310]
inc eax
mov dword [ebp - 0x318], eax
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
mov ecx, dword [ebp - 0x318]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x318], eax
je 0x100402cf
mov dword [ebp - 0x320], 1
jmp 0x100402d6
and dword [ebp - 0x320], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x320]
cmp eax, dword [ebp - 0x28]
jle 0x100402f0
mov dword [ebp - 0x328], 1
jmp 0x100402f7
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x328]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x28]
jl 0x1004036c
mov dword [ebp - 0x28], 0
jmp 0x10040315
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x11
jle 0x10040367
mov dword [ebp - 0x6e0], 0xff323e62
mov dword [ebp - 0x698], 0xe6c1cc49
mov esi, dword [ebp - 0x6e0]
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
cmp dword [eax], esi
jne 0x10040352
mov dword [ebp - 0x330], 1
jmp 0x10040359
and dword [ebp - 0x330], 0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x698], eax
jmp 0x1004030e
jmp 0x1004055b
mov dword [ebp - 0x338], 0x91e53bdb
mov dword [ebp - 0x72c], 0x1d04
cmp dword [ebp - 0x72c], 0x1331
jge 0x1004050a
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x6f0]
push eax
mov ecx, 0x10612198
call fcn.1004ac30
mov ecx, eax
call fcn.1004ac30
push 0x10008fdc
lea ecx, [ebp - 0x990]
call fcn.1000f5ec
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xf4], 1
jmp 0x100403dc
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x6a0]
jge 0x10040487
mov eax, dword [ebp - 0xf4]
add eax, 0x61
push eax
mov eax, dword [ebp - 0xf4]
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp - 0x978]
call fcn.100109f3
mov byte [ebp - 4], 0x12
mov byte [ebp - 0x19], 0x61
lea ecx, [ebp - 0x978]
call fcn.1000f835
dec eax
mov dword [ebp - 0x158], eax
jmp 0x10040438
mov eax, dword [ebp - 0x158]
dec eax
dec eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
jl 0x10040461
push dword [ebp - 0x158]
lea ecx, [ebp - 0x978]
call fcn.10010b76
mov cl, byte [ebp - 0x19]
mov byte [eax], cl
mov al, byte [ebp - 0x19]
add al, 1
mov byte [ebp - 0x19], al
jmp 0x1004042a
lea eax, [ebp - 0x978]
push eax
lea ecx, [ebp - 0x990]
call fcn.1004ac1d
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x978]
call fcn.1000f61b
jmp 0x100403cf
mov edx, 0x10008fdc
mov ecx, 0x10612078
call fcn.10011cee
and dword [ebp - 0x160], 0
jmp 0x100404ac
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x6f0]
dec eax
cmp dword [ebp - 0x160], eax
jge 0x100404ec
lea ecx, [ebp - 0x990]
call fcn.1000f835
mov ecx, eax
mov eax, dword [ebp - 0x160]
xor edx, edx
div ecx
push edx
lea ecx, [ebp - 0x990]
call fcn.10010b76
mov dl, byte [eax]
mov ecx, 0x10612078
call fcn.1004cb82
jmp 0x1004049f
push 0x1004cd38
mov ecx, 0x10612078
call fcn.1004ad82
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x990]
call fcn.1000f61b
mov dword [ebp - 0x6a8], 0x58390a34
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x338], eax
xor eax, eax
sub eax, dword [ebp - 0x6a8]
cmp dword [ebp - 0x338], eax
jg 0x10040539
mov dword [ebp - 0x340], 1
jmp 0x10040540
and dword [ebp - 0x340], 0
mov esi, dword [ebp - 0x340]
add esi, 0x4633be61
push 0
lea ecx, [ebp - 0x1fc]
call fcn.1000f94c
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.1000f930
mov eax, dword [ebp + 8]
mov dword [ebp - 0x614], eax
push 2
lea ecx, [ebp - 0x24c]
call fcn.1000f8ae
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x114], 0x62c5d177
mov dword [ebp - 0x20c], 0xffff
mov dword [ebp - 0x6b0], 0xfffffffd
mov dword [ebp - 0x168], 0
jmp 0x100405e6
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 2
jge 0x10040608
push dword [ebp - 0x168]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
mov dword [eax], 7
jmp 0x100405d9
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1ec], 0
jmp 0x10040633
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1ec]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1ec], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1ec], 1
jg 0x10040d78
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x54], 0x4aafbebf
mov dword [ebp - 0x40], 0x9a18
mov dword [ebp - 0x204], 0xd0ce47c
mov dword [ebp - 0x80], 1
jmp 0x10040675
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jl 0x10040d73
mov dword [ebp - 0xe8], 0x9fcb6ea4
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x1ec]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
push 0
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
cmp dword [eax], 0
jne 0x1004082d
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x1ec]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
cmp dword [eax], 0xd945
jne 0x100406e6
mov dword [ebp - 0x368], 1
jmp 0x100406ed
and dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x10040740
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp + eax - 0x1ec]
jle 0x10040716
mov dword [ebp - 0x348], 1
jmp 0x1004071d
and dword [ebp - 0x348], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1ec]
imul eax, dword [ebp - 0x348]
test eax, eax
je 0x10040740
mov dword [ebp - 0x350], 1
jmp 0x10040747
and dword [ebp - 0x350], 0
cmp dword [ebp - 0x350], 0x2a41
jne 0x1004075f
mov dword [ebp - 0x358], 1
jmp 0x10040766
and dword [ebp - 0x358], 0
cmp dword [ebp - 0x358], 1
jge 0x1004077b
mov dword [ebp - 0x360], 1
jmp 0x10040782
and dword [ebp - 0x360], 0
cmp dword [ebp - 0x360], 6
jl 0x10040797
mov dword [ebp - 0x370], 1
jmp 0x1004079e
and dword [ebp - 0x370], 0
mov eax, dword [ebp - 0x368]
cmp eax, dword [ebp - 0x370]
jge 0x100407be
cmp dword [ebp - 0x80], 0
je 0x100407be
mov dword [ebp - 0x378], 1
jmp 0x100407c5
and dword [ebp - 0x378], 0
cmp dword [ebp - 0x378], 0x9195
jl 0x100407dd
mov dword [ebp - 0x380], 1
jmp 0x100407e4
and dword [ebp - 0x380], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ec]
add eax, dword [ebp - 0x380]
cmp eax, dword [ebp - 0xe8]
je 0x1004080f
push 5
pop eax
test eax, eax
jne 0x1004080f
and dword [ebp - 0x388], 0
jmp 0x10040819
mov dword [ebp - 0x388], 1
mov eax, dword [ebp - 0x388]
sub eax, dword [ebp - 0x40]
jne 0x1004082d
and dword [ebp - 0x73c], 0
jmp 0x10040837
mov dword [ebp - 0x73c], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x958], eax
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x40]
je 0x10040857
mov dword [ebp - 0x390], 1
jmp 0x1004085e
and dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x390]
sub eax, dword [ebp - 0xe8]
je 0x10040a45
mov dword [ebp - 0x3e8], 0x2634d7f4
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x10040895
cmp dword [ebp - 0x54], 0
jne 0x10040895
and dword [ebp - 0x398], 0
jmp 0x1004089f
mov dword [ebp - 0x398], 1
cmp dword [ebp - 0x398], 0xc232
jle 0x100408b7
mov dword [ebp - 0x3a0], 1
jmp 0x100408be
and dword [ebp - 0x3a0], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x3a0]
cmp eax, dword [ebp - 0x80]
jne 0x100408d8
mov dword [ebp - 0x3a8], 1
jmp 0x100408df
and dword [ebp - 0x3a8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x3a8]
sub ecx, dword [ebp + eax - 0x1ec]
cmp ecx, 0xa125
jl 0x10040905
mov dword [ebp - 0x3b0], 1
jmp 0x1004090c
and dword [ebp - 0x3b0], 0
mov eax, dword [ebp - 0x3e8]
cmp dword [ebp - 0x3b0], eax
jle 0x10040926
mov dword [ebp - 0x3b8], 1
jmp 0x1004092d
and dword [ebp - 0x3b8], 0
mov eax, dword [ebp - 0x204]
cmp dword [ebp - 0x3b8], eax
jg 0x1004094d
cmp dword [ebp - 0x114], 0
jne 0x1004094d
and dword [ebp - 0x3c0], 0
jmp 0x10040957
mov dword [ebp - 0x3c0], 1
mov eax, dword [ebp - 0x3c0]
sub eax, 0x944fd8d
cmp eax, 1
je 0x10040973
mov dword [ebp - 0x3c8], 1
jmp 0x1004097a
and dword [ebp - 0x3c8], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x3c8], eax
jge 0x10040994
mov dword [ebp - 0x3d0], 1
jmp 0x1004099b
and dword [ebp - 0x3d0], 0
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x1ec]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
mov ecx, dword [ebp - 0x3d0]
cmp ecx, dword [eax]
jg 0x100409c8
mov dword [ebp - 0x3d8], 1
jmp 0x100409cf
and dword [ebp - 0x3d8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1ec]
cmp dword [ebp - 0x3d8], eax
jl 0x100409f0
mov dword [ebp - 0x3e0], 1
jmp 0x100409f7
and dword [ebp - 0x3e0], 0
cmp dword [ebp - 0x3e0], 0xfffffffe
jl 0x10040a0c
mov dword [ebp - 0x3f0], 1
jmp 0x10040a13
and dword [ebp - 0x3f0], 0
mov eax, dword [ebp - 0x3e8]
cmp dword [ebp - 0x3f0], eax
jg 0x10040a2d
mov dword [ebp - 0x3f8], 1
jmp 0x10040a34
and dword [ebp - 0x3f8], 0
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x20c], eax
jmp 0x10040d6e
push 3
lea ecx, [ebp - 0x5ec]
call fcn.1000f8ae
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x170], 0
jmp 0x10040a6f
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 3
jge 0x10040a8e
push dword [ebp - 0x170]
lea ecx, [ebp - 0x5ec]
call fcn.1000f94c
and dword [eax], 0
jmp 0x10040a62
mov dword [ebp - 0x40], 0x1b
jmp 0x10040a9e
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffe7
jle 0x10040c28
mov dword [ebp - 0x234], 0xf0d54df9
push 2
lea ecx, [ebp - 0x5ec]
call fcn.1000f94c
cmp dword [eax], 0
jne 0x10040b3d
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x884], eax
mov esi, dword [ebp - 0x80]
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x1ec]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
cmp esi, dword [eax]
jge 0x10040afa
mov dword [ebp - 0x400], 1
jmp 0x10040b01
and dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x400]
mov dword [ebp - 0x114], eax
jne 0x10040b3d
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x1ec]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
cmp dword [eax], 0
jne 0x10040b3d
mov dword [ebp - 0x408], 1
jmp 0x10040b44
and dword [ebp - 0x408], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x408]
cmp eax, dword [ebp - 0x6b0]
jne 0x10040b62
mov dword [ebp - 0x410], 1
jmp 0x10040b69
and dword [ebp - 0x410], 0
mov eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x410]
jg 0x10040b92
push 0
lea ecx, [ebp - 0x5ec]
call fcn.1000f94c
cmp dword [eax], 0
jne 0x10040b92
and dword [ebp - 0x418], 0
jmp 0x10040b9c
mov dword [ebp - 0x418], 1
cmp dword [ebp - 0x418], 0
jl 0x10040bb7
cmp dword [ebp - 0x234], 0
jne 0x10040bb7
and dword [ebp - 0x420], 0
jmp 0x10040bc1
mov dword [ebp - 0x420], 1
cmp dword [ebp - 0x420], 0x168b3ad7
jne 0x10040bd9
mov dword [ebp - 0x428], 1
jmp 0x10040be0
and dword [ebp - 0x428], 0
imul eax, dword [ebp - 0x428], 0
cmp eax, dword [ebp - 0x20c]
jge 0x10040bfb
mov dword [ebp - 0x700], 1
jmp 0x10040c02
and dword [ebp - 0x700], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x8c8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x894], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x54], eax
jmp 0x10040a97
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1ec]
mov dword [ebp - 0x8cc], eax
cmp dword [ebp - 0x204], 0xffffffff
jne 0x10040c4f
mov dword [ebp - 0x438], 1
jmp 0x10040c56
and dword [ebp - 0x438], 0
cmp dword [ebp - 0x54], 0xbe81b992
ja 0x10040c6b
mov dword [ebp - 0x430], 1
jmp 0x10040c72
and dword [ebp - 0x430], 0
mov eax, dword [ebp - 0x430]
neg eax
cmp dword [ebp - 0x438], eax
jge 0x10040c8e
mov dword [ebp - 0x440], 1
jmp 0x10040c95
and dword [ebp - 0x440], 0
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x1ec]
lea ecx, [ebp - 0x24c]
call fcn.1000f94c
mov ecx, dword [ebp - 0x440]
cmp ecx, dword [eax]
je 0x10040cc2
mov dword [ebp - 0x448], 1
jmp 0x10040cc9
and dword [ebp - 0x448], 0
cmp dword [ebp - 0x448], 0xd996
jg 0x10040ce1
mov dword [ebp - 0x450], 1
jmp 0x10040ce8
and dword [ebp - 0x450], 0
push 2
lea ecx, [ebp - 0x5ec]
call fcn.1000f94c
mov esi, dword [ebp - 0x450]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x5ec]
call fcn.1000f94c
cmp esi, dword [eax]
je 0x10040d1a
mov dword [ebp - 0x604], 1
jmp 0x10040d21
and dword [ebp - 0x604], 0
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x20c]
je 0x10040d42
mov dword [ebp - 0x60c], 0xe7ca
mov dword [ebp - 0x60c], 0xfffffff8
jmp 0x10040d5f
mov byte [ebp - 0x96], 0
movzx eax, byte [ebp - 0x96]
test eax, eax
je 0x10040d5f
push 0x25ac
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5ec]
call fcn.1000f930
jmp 0x1004066e
jmp 0x1004061a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1000f930
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x624], eax
mov eax, dword [ebp - 0x614]
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x34], 0xfffffff9
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x214], 0xfffffffd
mov dword [ebp - 0x178], 0
jmp 0x10040dd0
mov eax, dword [ebp - 0x178]
inc eax
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 1
jge 0x10040de9
mov eax, dword [ebp - 0x178]
mov dword [ebp + eax*4 - 0x5c], 0xfffffff8
jmp 0x10040dc3
mov dword [ebp - 0x34], 0
jmp 0x10040df9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jg 0x10040ff2
mov dword [ebp - 0x5c8], 0x32bb11ac
mov dword [ebp - 0x5c4], 0x32bb11ac
mov dword [ebp - 0x5c0], 0x32bb11ac
mov dword [ebp - 0x5bc], 0x32bb11ac
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x5c8], 0
jmp 0x10040e59
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5c8]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x5c8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x5c8], 0
jg 0x10040fed
mov dword [ebp - 0x61c], 0x52487223
mov dword [ebp - 0x180], 0
jmp 0x10040e90
mov eax, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 3
jge 0x10040eac
mov eax, dword [ebp - 0x180]
mov dword [ebp + eax*4 - 0x9b4], 0x80366e52
jmp 0x10040e83
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x5c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x5c]
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x8d4], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x5c], 0
je 0x10040f14
mov dword [ebp - 0x61c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x5c], 0xd35da2a
jg 0x10040f14
cmp dword [ebp - 0x214], 0
je 0x10040f14
mov dword [ebp - 0x458], 1
jmp 0x10040f1b
and dword [ebp - 0x458], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5c8]
mov eax, dword [ebp + eax*4 - 0x5c]
imul eax, dword [ebp - 0x458]
add eax, 0x7fb0
je 0x10040f53
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
je 0x10040f53
mov dword [ebp - 0x460], 1
jmp 0x10040f5a
and dword [ebp - 0x460], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x460]
sub edx, dword [ebp + ecx*4 - 0x5c]
sub edx, dword [ebp + eax - 0x5c]
jne 0x10040f83
push 2
pop eax
test eax, eax
jne 0x10040f83
and dword [ebp - 0x468], 0
jmp 0x10040f8d
mov dword [ebp - 0x468], 1
mov eax, dword [ebp - 0x468]
add eax, 0xfff9
jne 0x10040fb7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5c8]
cmp dword [ebp + eax*4 - 0x5c], 0
jne 0x10040fb7
and dword [ebp - 0x470], 0
jmp 0x10040fc1
mov dword [ebp - 0x470], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x470]
sub ecx, dword [ebp + eax - 0x5c8]
add ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 0x34]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x9b4], ecx
jmp 0x10040e3e
jmp 0x10040df2
mov dword [ebp - 0x21c], 0xa7fcc65
mov eax, dword [ebp - 0x624]
mov dword [ebp - 0x634], eax
push 2
lea ecx, [ebp - 0x580]
call fcn.1000f8ae
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x478], 0x3948b081
mov dword [ebp - 0x62c], 0x28ea3888
push 2
lea ecx, [ebp - 0x7d0]
call fcn.1000f8ae
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x4c0], 3
mov dword [ebp - 0x498], 0xffffffff
push 3
lea ecx, [ebp - 0x7c4]
call fcn.1000f8ae
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x4e8], 0x96559653
mov dword [ebp - 0x24], 0
jmp 0x10041080
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1004109c
push dword [ebp - 0x24]
lea ecx, [ebp - 0x580]
call fcn.1000f94c
mov dword [eax], 0xaad8530d
jmp 0x10041079
mov dword [ebp - 0x24], 0
jmp 0x100410ac
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x100410c8
push dword [ebp - 0x24]
lea ecx, [ebp - 0x7d0]
call fcn.1000f94c
mov dword [eax], 0xc8dfba22
jmp 0x100410a5
mov dword [ebp - 0x24], 0
jmp 0x100410d8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x100410f1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x7c4]
call fcn.1000f94c
or dword [eax], 0xffffffff
jmp 0x100410d1
push 1
lea ecx, [ebp - 0x580]
call fcn.1000f94c
mov ecx, 0x8ee41b66
sub ecx, dword [eax]
imul eax, ecx, 0x985
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x480], eax
push 0
lea ecx, [ebp - 0x7d0]
call fcn.1000f94c
mov ecx, dword [ebp - 0x480]
mov dword [eax], ecx
mov eax, dword [ebp - 0x478]
cmp eax, dword [ebp - 0x480]
jle 0x1004114c
mov dword [ebp - 0x4b8], 1
jmp 0x10041153
and dword [ebp - 0x4b8], 0
push 0
lea ecx, [ebp - 0x580]
call fcn.1000f94c
cmp dword [eax], 0x5fa2ef7
jg 0x10041174
mov dword [ebp - 0x488], 1
jmp 0x1004117b
and dword [ebp - 0x488], 0
push 1
lea ecx, [ebp - 0x580]
call fcn.1000f94c
mov ecx, dword [ebp - 0x488]
cmp ecx, dword [eax]
jle 0x100411b0
push 1
lea ecx, [ebp - 0x580]
call fcn.1000f94c
cmp dword [eax], 0
je 0x100411b0
mov dword [ebp - 0x490], 1
jmp 0x100411b7
and dword [ebp - 0x490], 0
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x4a0], eax
push 2
lea ecx, [ebp - 0x7c4]
call fcn.1000f94c
mov ecx, dword [ebp - 0x4a0]
mov dword [eax], ecx
cmp dword [ebp - 0x4a0], 0
jne 0x100411ff
mov eax, 0x1af9
test eax, eax
jne 0x100411ff
and dword [ebp - 0x4a8], 0
jmp 0x10041209
mov dword [ebp - 0x4a8], 1
push 0
lea ecx, [ebp - 0x580]
call fcn.1000f94c
mov ecx, dword [ebp - 0x4a8]
cmp ecx, dword [eax]
jge 0x1004122c
mov dword [ebp - 0x4b0], 1
jmp 0x10041233
and dword [ebp - 0x4b0], 0
push 1
lea ecx, [ebp - 0x580]
call fcn.1000f94c
mov ecx, dword [ebp - 0x4b0]
cmp ecx, dword [eax]
je 0x10041256
mov dword [ebp - 0x4c8], 1
jmp 0x1004125d
and dword [ebp - 0x4c8], 0
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x4c0]
cmp eax, dword [ebp - 0x4c8]
jge 0x10041283
mov dword [ebp - 0x4d0], 1
jmp 0x1004128a
and dword [ebp - 0x4d0], 0
mov eax, dword [ebp - 0x4e8]
cmp dword [ebp - 0x4d0], eax
jg 0x100412a4
mov dword [ebp - 0x4d8], 1
jmp 0x100412ab
and dword [ebp - 0x4d8], 0
imul eax, dword [ebp - 0x4d8], 0x36a5
cmp eax, 0xadc
jl 0x100412c8
mov dword [ebp - 0x4e0], 1
jmp 0x100412cf
and dword [ebp - 0x4e0], 0
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 0x98], 0
movzx eax, byte [ebp - 0x98]
test eax, eax
je 0x100412f7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x7c4]
call fcn.1000f930
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x7d0]
call fcn.1000f930
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x580]
call fcn.1000f930
push dword [ebp - 0x634]
push dword [ebp - 0x63c]
call dword [0x109e3b08]
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x274], 0xfffffffd
mov dword [ebp - 0xa8], 0x7f1a969a
mov dword [ebp - 0x190], 0xfffffff7
mov dword [ebp - 0x188], 0xfeae2151
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x800], 0xb9c309ab
mov dword [ebp - 0x7fc], 0xb9c309ab
mov dword [ebp - 0x7f8], 0xb9c309ab
mov dword [ebp - 0x7f4], 0xb9c309ab
mov dword [ebp - 0x8b4], 0x9942
mov dword [ebp - 0x64], 0
jmp 0x100413b0
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x100413c6
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x25c], 0
jmp 0x100413a9
mov dword [ebp - 0x64], 0
jmp 0x100413d6
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x100413ec
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x8dc], 0xfffffffa
jmp 0x100413cf
cmp dword [ebp - 0xa8], 0
je 0x10041487
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x8e0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0xa8]
jne 0x1004142b
mov dword [ebp - 0x4f0], 1
jmp 0x10041432
and dword [ebp - 0x4f0], 0
cmp dword [ebp - 0x4f0], 0xb5b3
je 0x1004144a
mov dword [ebp - 0x4f8], 1
jmp 0x10041451
and dword [ebp - 0x4f8], 0
mov eax, dword [ebp - 0x4f8]
neg eax
cmp eax, dword [ebp - 0xa8]
jne 0x1004146d
mov dword [ebp - 0x500], 1
jmp 0x10041474
and dword [ebp - 0x500], 0
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0x500]
mov dword [ebp - 0xa8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x25c], 0
jne 0x100414a3
mov dword [ebp - 0x254], 1
jmp 0x100414aa
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
imul eax, dword [ebp - 0x188]
mov dword [ebp - 0x264], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x264]
mov dword [ebp + eax - 0x25c], ecx
cmp dword [ebp - 0x264], 1
jl 0x100414e5
mov dword [ebp - 0x26c], 1
jmp 0x100414ec
and dword [ebp - 0x26c], 0
mov dword [ebp - 0x274], 0x42374b1b
imul eax, dword [ebp - 0x26c], 0
cmp dword [ebp - 0x274], eax
jl 0x10041511
mov dword [ebp - 0x27c], 1
jmp 0x10041518
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 1
jb 0x10041539
mov dword [ebp - 0x644], 1
jmp 0x10041540
and dword [ebp - 0x644], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x188]
jge 0x10041566
mov dword [ebp - 0x28c], 1
jmp 0x1004156d
and dword [ebp - 0x28c], 0
cmp dword [ebp - 0x28c], 0
je 0x10041582
mov dword [ebp - 0x64c], 1
jmp 0x10041589
and dword [ebp - 0x64c], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x8e8], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x294], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x294]
mov dword [ebp + eax - 0x800], ecx
cmp dword [ebp - 0x294], 0
jne 0x100415cf
mov eax, 0xb8d8131d
test eax, eax
jne 0x100415cf
and dword [ebp - 0x29c], 0
jmp 0x100415d9
mov dword [ebp - 0x29c], 1
cmp dword [ebp - 0x29c], 3
jne 0x100415ee
mov dword [ebp - 0x2a4], 1
jmp 0x100415f5
and dword [ebp - 0x2a4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp + eax - 0x8dc], ecx
mov byte [ebp - 0x9a], 0
movzx eax, byte [ebp - 0x9a]
test eax, eax
je 0x10041622
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x654]
jmp 0x1004162c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret