Function at 0x1004b844
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067dfa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x618
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c0], 8
push 3
lea ecx, [ebp - 0x4a4]
call fcn.10019f2a
and dword [ebp - 4], 0
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x51c]
push eax
call fcn.1004ab9b
pop ecx
pop ecx
lea eax, [ebp - 0x3c0]
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.1004abe3
pop ecx
pop ecx
mov byte [ebp - 0x41], 0
push 0x8e5
push 1
push 1
push 0x92c
lea eax, [ebp - 0x41]
push eax
push 0x7a0
push 0x6525
call fcn.1003a42e
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a4]
call fcn.10019fac
and dword [ebp - 0x28], 0
mov dword [ebp - 0x3c8], 0x1265
mov dword [ebp - 0x3d0], 0xfffffffc
mov dword [ebp - 0x5c0], 0xaaaeb9ae
mov dword [ebp - 0x5bc], 0xaaaeb9ae
mov dword [ebp - 0x5b8], 0xaaaeb9ae
mov dword [ebp - 0x5b4], 0xaaaeb9ae
push 0x49fc
push 0
lea eax, [ebp - 0x3c8]
push eax
push 0xb9b
push 0x78ee
push 1
lea eax, [ebp - 0x3d0]
push eax
push 0x78b3
push 0x2be5
push 0x6f12
call fcn.1003d21c
add esp, 0x28
call fcn.1004ac0b
mov dword [ebp - 0x1e4], 0x5836
mov dword [ebp - 0x44c], 0x1000b968
cmp dword [ebp - 0x1e4], 0x5925
jle 0x1004b9fa
and dword [ebp - 0x130], 0
jmp 0x1004b998
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x7ec0
jge 0x1004b9fa
and dword [ebp - 0x138], 0
jmp 0x1004b9ba
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x7f14
jge 0x1004b9f8
mov eax, dword [ebp - 0x130]
imul eax, dword [ebp - 0x138]
cdq
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3d8], edx
push dword [ebp - 0x3d8]
push dword [ebp - 0x3dc]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x1004b9ad
jmp 0x1004b98b
push 3
lea ecx, [ebp - 0x4bc]
call fcn.10019f2a
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1e4], 0x56c1
jge 0x1004ba2e
mov edx, dword [ebp - 0x44c]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1004ba4a
mov dword [ebp - 4], 1
jmp 0x1004ba5a
mov dword [ebp - 0x7c], 0xcb13638e
mov dword [ebp - 0x45c], 0xd68f9855
mov dword [ebp - 0x454], 0xb89b
mov dword [ebp - 0x464], 0xb168f92
mov dword [ebp - 0x360], 0xfffffffc
mov dword [ebp - 0xcc], 0
jmp 0x1004baa2
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 3
jge 0x1004bac4
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x4bc]
call fcn.10019fc8
mov dword [eax], 0x3342eb90
jmp 0x1004ba95
mov dword [ebp - 0x7c], 2
jmp 0x1004bad4
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x1004bb0e
mov byte [ebp - 0x3d], 0
push 0x4167
push 1
push 0x3a3f
push 0x3a87
push 1
push 0x24e4
lea eax, [ebp - 0x3d]
push eax
push 0x551c
push 0x78b3
call fcn.1003a8fe
add esp, 0x24
jmp 0x1004bacd
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.1004ac44
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4bc]
call fcn.10019fac
mov dword [ebp - 0x48c], 0xf9b3198a
mov dword [ebp - 0x488], 0xf9b3198a
mov dword [ebp - 0x484], 0xf9b3198a
mov dword [ebp - 0x480], 0xf9b3198a
lea ecx, [ebp - 0x139]
call fcn.10019fd7
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.10019fda
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x554]
call fcn.10019f86
mov dword [ebp - 4], 4
mov dword [ebp - 0x400], 0xffffffff
mov dword [ebp - 0x518], 1
mov dword [ebp - 0x558], 0xfffffff8
mov dword [ebp - 0x36c], 0
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x554]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.1004ad66
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x554]
call fcn.10019fac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004bfe7
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0x98], 0x7249aaed
mov dword [ebp - 0x174], 0x98aaf0a9
mov dword [ebp - 0x14], 0xfffffffc
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x37c], 0x54ab1007
mov dword [ebp - 0x444], 0xfffffff9
mov dword [ebp - 0xb8], 0
jmp 0x1004bc87
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x1004bca3
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0xa0], 0xe17b844a
jmp 0x1004bc7a
cmp dword [ebp - 0xf8], 0x90ef307d
je 0x1004bcbb
mov dword [ebp - 0x16c], 1
jmp 0x1004bcc2
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0xf8]
imul eax, dword [ebp - 0x174]
add eax, dword [ebp - 0x174]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xe1c5a3d7
jne 0x1004bcf6
mov eax, 0x30a9
test eax, eax
je 0x1004bcf6
mov dword [ebp - 0x374], 1
jmp 0x1004bcfd
and dword [ebp - 0x374], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x16c]
mov dword [ebp + eax - 0xa0], ecx
mov eax, dword [ebp - 0xf8]
imul eax, dword [ebp - 0x16c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x520], eax
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1004bd43
mov dword [ebp - 0x330], 1
jmp 0x1004bd4a
and dword [ebp - 0x330], 0
cmp dword [ebp - 0x330], 0xffffffff
jle 0x1004bd5f
mov dword [ebp - 0x338], 1
jmp 0x1004bd66
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x338], eax
jne 0x1004bd80
mov dword [ebp - 0x2d4], 1
jmp 0x1004bd87
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x14], 1
jmp 0x1004bdb5
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004bfe0
mov dword [ebp - 0x74], 0xffff
mov dword [ebp - 0x38c], 0x5adf6f6d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x328]
mov dword [ebp + eax*4 - 0xa0], ecx
cmp dword [ebp - 0x328], 0xffffffff
jge 0x1004bfa7
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xa0]
cmp eax, dword [ebp - 0x74]
je 0x1004be30
mov dword [ebp - 0x18c], 1
jmp 0x1004be37
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x444]
cmp dword [ebp - 0x18c], eax
jge 0x1004be51
mov dword [ebp - 0x190], 1
jmp 0x1004be58
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x190], eax
jg 0x1004be6f
mov dword [ebp - 0x268], 1
jmp 0x1004be76
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
neg eax
je 0x1004be92
cmp dword [ebp - 0x74], 0
je 0x1004be92
mov dword [ebp - 0x384], 1
jmp 0x1004be99
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x568], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x4d8], eax
xor eax, eax
inc eax
je 0x1004bedd
push 3
pop eax
test eax, eax
je 0x1004bedd
mov dword [ebp - 0x198], 1
jmp 0x1004bee4
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x1004bf0b
cmp dword [ebp - 0x74], 0
je 0x1004bf0b
mov dword [ebp - 0x3fc], 1
jmp 0x1004bf12
and dword [ebp - 0x3fc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x4f4], eax
mov eax, 0x725dc8ff
test eax, eax
je 0x1004bf44
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0xa0], 0
je 0x1004bf44
mov dword [ebp - 0x2d0], 1
jmp 0x1004bf4b
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xa0]
add ecx, dword [ebp - 0x2d0]
cmp ecx, dword [ebp + eax*4 - 0xa0]
jge 0x1004bf76
mov dword [ebp - 0x1a0], 1
jmp 0x1004bf7d
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x1a0]
cmp ecx, dword [ebp + eax*4 - 0xa0]
jge 0x1004bfa7
mov eax, 0xbe49
test eax, eax
je 0x1004bfa7
mov dword [ebp - 0x270], 1
jmp 0x1004bfae
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x270]
sub eax, dword [ebp - 0x74]
cmp eax, 1
je 0x1004bfc8
mov dword [ebp - 0x1a8], 1
jmp 0x1004bfcf
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x38c], eax
jmp 0x1004bdae
xor eax, eax
jmp 0x1004e466
push 1
push 0x2f14
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 8]
push eax
push 0x6056
push 0x6425
push 0x45a2
push 0x2d85
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.1003a9aa
add esp, 0x28
call fcn.1004ade4
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0x4550
je 0x1004c032
xor eax, eax
jmp 0x1004e466
mov dword [ebp - 0x34], 0x6da5043c
mov dword [ebp - 0x6c], 0xf9d44c03
mov dword [ebp - 0x460], 0xffffffff
push 2
lea ecx, [ebp - 0x564]
call fcn.10019f2a
mov dword [ebp - 4], 5
mov dword [ebp - 0x4c], 0xfffe
mov dword [ebp - 0x404], 0x5e42506e
mov dword [ebp - 0x448], 0xffffffff
mov dword [ebp - 0x8c], 0
jmp 0x1004c092
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 4
jge 0x1004c0ae
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x5d8], 0xc4a8
jmp 0x1004c085
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x564]
push eax
push 1
push 0x6407
push 0
call fcn.1003d073
add esp, 0x14
push 0x6514
push 1
push 0x6cce
push 0x30e1
push 1
push 0x5beb
push 0x28d1
call fcn.1003ae0a
add esp, 0x1c
mov dword [ebp - 0x288], 0x7c8a
mov dword [ebp - 0x3a4], 0x1000b9b8
cmp dword [ebp - 0x288], 0x7d1c
jle 0x1004c1f9
and dword [ebp - 0x108], 0
jmp 0x1004c12c
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x1033
jge 0x1004c1f1
and dword [ebp - 0xc0], 0
jmp 0x1004c152
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x7bda
jge 0x1004c1ec
and dword [ebp - 0x100], 0
jmp 0x1004c178
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0x3163
jge 0x1004c1e7
and dword [ebp - 0xb0], 0
jmp 0x1004c19a
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x7d79
jge 0x1004c1e5
mov ecx, dword [ebp - 0xc0]
add ecx, dword [ebp - 0x100]
add ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x108]
shl eax, cl
cdq
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], edx
push dword [ebp - 0x3e4]
push dword [ebp - 0x3e8]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x1004c18d
jmp 0x1004c16b
jmp 0x1004c145
jmp 0x1004c11f
push 0
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x1004c214
cmp dword [ebp - 0x34], 0
jne 0x1004c214
and dword [ebp - 0x32c], 0
jmp 0x1004c21e
mov dword [ebp - 0x32c], 1
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x32c], eax
je 0x1004c235
mov dword [ebp - 0x1b0], 1
jmp 0x1004c23c
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0x1536
jg 0x1004c254
mov dword [ebp - 0x278], 1
jmp 0x1004c25b
and dword [ebp - 0x278], 0
imul eax, dword [ebp - 0x278], 0
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x460]
jge 0x1004c279
mov dword [ebp - 0x1b8], 1
jmp 0x1004c280
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x1b8]
je 0x1004c297
mov dword [ebp - 0x2dc], 1
jmp 0x1004c29e
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x2dc]
imul eax, dword [ebp - 0x34]
cmp eax, 0xbf0b
jne 0x1004c2bf
mov dword [ebp - 0x1c0], 1
jmp 0x1004c2c6
and dword [ebp - 0x1c0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x5d8]
cmp dword [ebp - 0x1c0], eax
jle 0x1004c2e6
mov dword [ebp - 0x280], 1
jmp 0x1004c2ed
and dword [ebp - 0x280], 0
cmp dword [ebp - 0x280], 0x112def90
je 0x1004c327
mov dword [ebp - 0x394], 0x2401dbda
push 0x3ff
push 1
push 1
push 1
lea eax, [ebp - 0x394]
push eax
push 0x5acd
call fcn.1003af7f
add esp, 0x18
jmp 0x1004c481
push 1
lea ecx, [ebp - 0x35c]
call fcn.10019f2a
mov byte [ebp - 4], 6
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.1004af96
pop ecx
pop ecx
push 0x6ec9
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x35c]
push eax
push 0x40dc
push 0x1a46
push 0x77ec
push 0x5c68
push 0x971
push 1
push 0x1437
call fcn.1003b175
add esp, 0x2c
mov dword [ebp - 0x4c], 0xd
jmp 0x1004c397
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2d
je 0x1004c472
mov dword [ebp - 0x39c], 0xfffffffd
cmp dword [ebp - 0x34], 0
je 0x1004c3e6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x504], eax
cmp dword [ebp - 0x4c], 1
ja 0x1004c3cc
mov dword [ebp - 0x1c8], 1
jmp 0x1004c3d3
and dword [ebp - 0x1c8], 0
mov esi, dword [ebp - 0x404]
push 0
lea ecx, [ebp - 0x35c]
call fcn.10019fc8
mov eax, 0x1d9
cmp eax, 0xfffffff6
jg 0x1004c3fc
mov dword [ebp - 0x30c], 1
jmp 0x1004c403
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x39c], 0xd0cd8a6c
je 0x1004c424
mov dword [ebp - 0x1d0], 1
jmp 0x1004c42b
and dword [ebp - 0x1d0], 0
push 0
lea ecx, [ebp - 0x35c]
call fcn.10019fc8
mov ecx, dword [ebp - 0x1d0]
cmp ecx, dword [eax]
jl 0x1004c458
push 0
lea ecx, [ebp - 0x35c]
call fcn.10019fc8
cmp dword [eax], 0
je 0x1004c456
jmp 0x1004c472
jmp 0x1004c45d
call fcn.1004afdb
mov dword [ebp - 0x6c], 0xfffffffd
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x448], eax
jmp 0x1004c390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x35c]
call fcn.10019fac
mov byte [ebp - 4], 7
cmp dword [ebp - 0x288], 0x7c6d
jge 0x1004c4a1
mov edx, dword [ebp - 0x3a4]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1004c4bd
mov dword [ebp - 4], 5
jmp 0x1004c4cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x564]
call fcn.10019fac
push 1
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x70]
push 0x5983
push 1
call fcn.10037419
add esp, 0x14
mov dword [ebp - 0x24], 0xf6b8
mov dword [ebp - 0x20], 0
push 3
lea ecx, [ebp - 0xac]
call fcn.10019f2a
mov dword [ebp - 4], 9
mov dword [ebp - 0x60], 0xe5b14f4e
mov dword [ebp - 0x104], 0
jmp 0x1004c539
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 3
jge 0x1004c55b
push dword [ebp - 0x104]
lea ecx, [ebp - 0xac]
call fcn.10019fc8
mov dword [eax], 0x896e
jmp 0x1004c52c
cmp dword [ebp - 0x24], 0xfffc
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jg 0x1004c576
mov dword [ebp - 0x1d8], 1
jmp 0x1004c57d
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1d8]
jne 0x1004c594
mov dword [ebp - 0x2e4], 1
jmp 0x1004c59b
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
cmp esi, dword [eax]
jge 0x1004c5c4
mov dword [ebp - 0x410], 1
jmp 0x1004c5cb
and dword [ebp - 0x410], 0
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50c], eax
mov esi, dword [ebp - 0x20]
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
cmp esi, dword [eax]
jle 0x1004c601
mov dword [ebp - 0x1e0], 1
jmp 0x1004c608
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x60], eax
mov esi, dword [ebp - 0x60]
push 1
lea ecx, [ebp - 0xac]
call fcn.10019fc8
cmp esi, dword [eax]
jl 0x1004c800
mov dword [ebp - 0xd4], 0xc9d94031
mov dword [ebp - 0x12c], 6
mov dword [ebp - 0x1e8], 0xd073d4c4
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x2ec], 0xde6b786a
mov esi, dword [ebp - 0x12c]
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
cmp esi, dword [eax]
je 0x1004c67e
mov dword [ebp - 0x290], 1
jmp 0x1004c685
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x290], eax
jne 0x1004c69a
cmp dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
mov eax, dword [eax]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd4]
sub ecx, eax
cmp ecx, 0xfffffffb
jl 0x1004c6e0
mov dword [ebp - 0x324], 1
jmp 0x1004c6e7
and dword [ebp - 0x324], 0
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
mov ecx, dword [ebp - 0x324]
cmp ecx, dword [eax]
jg 0x1004c70a
mov dword [ebp - 0x1f0], 1
jmp 0x1004c711
and dword [ebp - 0x1f0], 0
mov dword [ebp - 0x60], 0xe283d1f0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x1f0]
jle 0x1004c72f
mov dword [ebp - 0x298], 1
jmp 0x1004c736
and dword [ebp - 0x298], 0
cmp dword [ebp - 0x298], 3
jbe 0x1004c74b
mov dword [ebp - 0x1f8], 1
jmp 0x1004c752
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
je 0x1004c76f
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x514], eax
mov esi, dword [ebp - 0x12c]
push 0
lea ecx, [ebp - 0xac]
call fcn.10019fc8
cmp dword [eax], esi
jge 0x1004c79e
mov dword [ebp - 0x200], 1
jmp 0x1004c7a5
and dword [ebp - 0x200], 0
push 2
lea ecx, [ebp - 0xac]
call fcn.10019fc8
mov ecx, dword [ebp - 0x200]
cmp ecx, dword [eax]
je 0x1004c7c5
cmp dword [ebp - 0x12c], 0
je 0x1004c7ee
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x1004c7ec
push 1
push 1
push 0x5c73
push 0x170e
push 0x70c1
call fcn.1003b3ee
add esp, 0x14
jmp 0x1004c7fb
lea eax, [ebp - 0x12c]
push eax
call fcn.1004b011
pop ecx
jmp 0x1004ca88
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x24], 0
jmp 0x1004c81a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1004ca63
push 1
lea ecx, [ebp - 0x470]
call fcn.10019f2a
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.1004b06e
pop ecx
pop ecx
push 1
push 0x688c
push 1
push 0x465f
lea eax, [ebp - 0xac]
push eax
push 0x42d1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.1003be3e
add esp, 0x20
mov dword [ebp - 0x20], 2
jmp 0x1004c887
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004ca4f
mov dword [ebp - 0x3b4], 0xd14c
mov dword [ebp - 0x2a0], 0x4297
mov dword [ebp - 0x458], 0x1000b9e8
cmp dword [ebp - 0x2a0], 0x460d
jle 0x1004c99e
and dword [ebp - 0xdc], 0
jmp 0x1004c8d5
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x51d8
jge 0x1004c996
and dword [ebp - 0x10c], 0
jmp 0x1004c8fb
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x1911
jge 0x1004c991
and dword [ebp - 0xe4], 0
jmp 0x1004c921
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x6a9f
jge 0x1004c98c
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x10c]
sar eax, cl
or eax, dword [ebp - 0xe4]
cdq
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], edx
push dword [ebp - 0x408]
push dword [ebp - 0x40c]
lea ecx, [ebp - 0x600]
call fcn.1000d08a
pop ecx
pop ecx
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
call fcn.10019cd9
push eax
call fcn.10051966
pop ecx
lea ecx, [ebp - 0x600]
call fcn.10019ccf
jmp 0x1004c914
jmp 0x1004c8ee
jmp 0x1004c8c8
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [ebp - 0x41c], 0x379de568
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2a0], 0x4119
jge 0x1004c9c4
push dword [ebp - 0x458]
call fcn.10051966
pop ecx
jmp 0x1004c9e0
mov dword [ebp - 4], 0xa
jmp 0x1004c9f0
mov dword [ebp - 0x3bc], 0xffffffff
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1004b0b6
pop ecx
pop ecx
lea eax, [ebp - 0x3b4]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.1004b113
add esp, 0x24
jmp 0x1004c880
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x470]
call fcn.10019fac
jmp 0x1004c813
cmp dword [ebp - 0x208], 9
ja 0x1004ca78
mov dword [ebp - 0x314], 1
jmp 0x1004ca7f
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x20], eax
push 0x1361
lea eax, [ebp - 0xac]
push eax
push 1
push 0x212a
push 1
push 0x2694
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.1003c940
add esp, 0x20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.10019fac
cmp dword [ebp - 0x120], 0
jne 0x1004cc47
mov dword [ebp - 0xec], 0x32b1cecb
mov dword [ebp - 0x124], 0
jmp 0x1004caef
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 4
jge 0x1004cb0b
mov eax, dword [ebp - 0x124]
mov dword [ebp + eax*4 - 0x628], 0xffffffff
jmp 0x1004cae2
call fcn.1004b3c6
mov dword [ebp - 0xec], 0
jmp 0x1004cb29
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 3
jg 0x1004cc25
push 1
lea ecx, [ebp - 0x440]
call fcn.10019f2a
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x114], 0
jmp 0x1004cb63
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 1
jge 0x1004cb85
push dword [ebp - 0x114]
lea ecx, [ebp - 0x440]
call fcn.10019fc8
mov dword [eax], 0x9f7fd1e8
jmp 0x1004cb56
mov byte [ebp - 0x45], 0
lea eax, [ebp - 0x45]
push eax
call fcn.1004b4bb
pop ecx
push 0
lea ecx, [ebp - 0x440]
call fcn.10019fc8
mov dword [eax], 3
jmp 0x1004cbcc
push 0
lea ecx, [ebp - 0x440]
call fcn.10019fc8
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x210]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x440]
call fcn.10019fc8
cmp dword [eax], 0
jl 0x1004cc11
push 1
push 0x27b0
push 0x28a9
push 0x215b
push 1
call fcn.1003cf23
add esp, 0x14
push 0x44e9
push 0x1e56
push 1
push 1
call fcn.1003cffe
add esp, 0x10
jmp 0x1004cba8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10019fac
jmp 0x1004cb1c
push 0x2308
push 0x874
push 1
push 0x6340
push 1
call fcn.1003d073
add esp, 0x14
xor eax, eax
jmp 0x1004e466
mov dword [ebp - 0x148], 0x4ad72d76
mov dword [ebp - 0x3cc], 0xd11023dc
mov dword [ebp - 0x3ec], 3
mov dword [ebp - 0x3d4], 0x7c7be02
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x3c4], 0xfffffffc
mov dword [ebp - 0x524], 0x65f4e26c
push 2
lea ecx, [ebp - 0x434]
call fcn.10019f2a
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x2a8], 0x4594
mov dword [ebp - 0x450], 0x1000ba2c
cmp dword [ebp - 0x2a8], 0x45ce
jle 0x1004cd7a
push 0x5bb
call dword [sym.imp.USER32.dll_GetKeyboardType]
and dword [ebp - 0xfc], 0
jmp 0x1004cce6
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x2d89
jge 0x1004cd7a
and dword [ebp - 0xf4], 0
jmp 0x1004cd0c
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xbf3
jge 0x1004cd75
and dword [ebp - 0x134], 0
jmp 0x1004cd2e
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0x1441
jge 0x1004cd73
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x134]
shl eax, cl
and eax, dword [ebp - 0xfc]
cdq
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], edx
push dword [ebp - 0x414]
push dword [ebp - 0x418]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x1004cd21
jmp 0x1004ccff
jmp 0x1004ccd9
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x2a8], 0x42c8
jge 0x1004cd9a
mov edx, dword [ebp - 0x450]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1004cdb6
mov dword [ebp - 4], 0xe
jmp 0x1004cdc6
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x4cc], 1
mov dword [ebp - 0x4c8], 1
mov dword [ebp - 0x4c4], 1
mov dword [ebp - 0x4c0], 1
push 1
push 0x5127
push 0x4511
push 1
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x434]
push eax
push 0xef1
push 0x65f5
call fcn.100492f1
add esp, 0x20
mov dword [ebp - 0x90], 0
jmp 0x1004ce3f
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
jge 0x1004ce5b
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x84], 0x5051
jmp 0x1004ce32
mov dword [ebp - 0x148], 1
cmp dword [ebp - 0x148], 0
jne 0x1004ce80
cmp dword [ebp - 0x148], 0
jne 0x1004ce80
and dword [ebp - 0x2b0], 0
jmp 0x1004ce8a
mov dword [ebp - 0x2b0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x84]
dec ecx
push 4
pop edx
imul edx, edx, 0
mov dword [ebp + edx - 0x84], ecx
cmp eax, 0x7bff
jl 0x1004cecb
cmp dword [ebp - 0x3c4], 0
jne 0x1004cecb
and dword [ebp - 0x218], 0
jmp 0x1004ced5
mov dword [ebp - 0x218], 1
mov esi, dword [ebp - 0x428]
mov edi, dword [ebp - 0x3cc]
push 0
lea ecx, [ebp - 0x434]
call fcn.10019fc8
mov eax, dword [eax]
add eax, edi
imul eax, esi
cmp dword [ebp - 0x218], eax
jne 0x1004cf09
mov dword [ebp - 0x2f4], 1
jmp 0x1004cf10
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x3ec]
jg 0x1004cf36
mov dword [ebp - 0x170], 1
jmp 0x1004cf3d
and dword [ebp - 0x170], 0
push 0
lea ecx, [ebp - 0x434]
call fcn.10019fc8
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
cmp dword [ebp - 0x170], 0
je 0x1004cf77
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
je 0x1004cf77
mov dword [ebp - 0x228], 1
jmp 0x1004cf7e
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x228]
je 0x1004cf98
mov dword [ebp - 0x334], 1
jmp 0x1004cf9f
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x3d4]
cmp dword [ebp - 0x334], eax
jne 0x1004cfbd
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
jne 0x1004cfd8
push 0
lea ecx, [ebp - 0x434]
call fcn.10019fc8
cmp dword [eax], 0
jne 0x1004cfd8
and dword [ebp - 0x230], 0
jmp 0x1004cfe2
mov dword [ebp - 0x230], 1
cmp dword [ebp - 0x230], 0xfffa
jb 0x1004cffa
mov dword [ebp - 0x2b8], 1
jmp 0x1004d001
and dword [ebp - 0x2b8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp + eax - 0x4cc], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.10019fac
push 1
push 0x1baa
lea eax, [ebp - 0x52c]
push eax
push 0x5c73
push dword [ebp - 0x70]
push 0x5b21
push 1
push 0x7001
push 1
push 0x45
push 0x6612
lea eax, [ebp - 0x120]
push eax
push 0x5a3e
push dword [ebp - 0x150]
lea eax, [ebp - 0x28]
push eax
call fcn.10037524
add esp, 0x3c
push 1
push 0x47f9
push 0xc94
push 0x5277
push 0x7ab0
push 0x5970
push 1
push dword [ebp - 0x70]
push 0
push 0x2516
push dword [ebp + 8]
push 0x3f7b
push dword [ebp - 0x28]
push 0x261d
push 0x66be
call fcn.10037524
add esp, 0x3c
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xc8], 0x65925ef2
mov dword [ebp - 0x248], 0x465ee6d5
mov dword [ebp - 0x168], 0xae65c342
mov dword [ebp - 0x19c], 0x50ba4309
mov dword [ebp - 0x11c], 0
jmp 0x1004d102
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 2
jge 0x1004d11e
mov eax, dword [ebp - 0x11c]
mov dword [ebp + eax*4 - 0x478], 0xbc106ec6
jmp 0x1004d0f5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x478]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x478], eax
cmp dword [ebp - 0x3c], 1
jne 0x1004d14b
mov dword [ebp - 0x304], 1
jmp 0x1004d152
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0xc8]
jg 0x1004d170
mov dword [ebp - 0x238], 1
jmp 0x1004d177
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp - 0x248]
add eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x168]
jge 0x1004d1b5
mov dword [ebp - 0x2fc], 1
jmp 0x1004d1bc
and dword [ebp - 0x2fc], 0
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x544], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5ac], eax
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x3c]
imul ecx, eax
cmp ecx, 0x9dcb
jl 0x1004d206
mov dword [ebp - 0x240], 1
jmp 0x1004d20d
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x240], 0x74fd5744
jg 0x1004d225
mov dword [ebp - 0x2c0], 1
jmp 0x1004d22c
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x2c0], eax
jge 0x1004d243
mov dword [ebp - 0x31c], 1
jmp 0x1004d24a
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x31c], eax
je 0x1004d264
mov dword [ebp - 0x250], 1
jmp 0x1004d26b
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x250], eax
jne 0x1004d285
mov dword [ebp - 0x2c8], 1
jmp 0x1004d28c
and dword [ebp - 0x2c8], 0
cmp dword [ebp - 0x2c8], 0xead2
je 0x1004d2a4
mov dword [ebp - 0x258], 1
jmp 0x1004d2ab
and dword [ebp - 0x258], 0
cmp dword [ebp - 0x258], 1
je 0x1004d2c7
push 3
pop eax
test eax, eax
je 0x1004d2c7
mov dword [ebp - 0x260], 1
jmp 0x1004d2ce
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x304]
cmp eax, dword [ebp - 0x260]
jg 0x1004d2e8
mov dword [ebp - 0x188], 1
jmp 0x1004d2ef
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x19c]
jl 0x1004d30d
mov dword [ebp - 0x184], 1
jmp 0x1004d314
and dword [ebp - 0x184], 0
imul eax, dword [ebp - 0x184], 0x6b7d
cmp eax, 0xca7b
jne 0x1004d331
mov dword [ebp - 0x194], 1
jmp 0x1004d338
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0xc8], 0
je 0x1004d374
push 0xebf
push 1
push 0x4460
push 0x3aa9
push 1
push 0x45cd
push 1
call fcn.1004940e
add esp, 0x1c
jmp 0x1004d417
mov dword [ebp - 0x2c], 0
jmp 0x1004d384
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1004d39a
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x574], 0x316d0046
jmp 0x1004d37d
mov dword [ebp - 0x2c], 0
jmp 0x1004d3aa
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004d3c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x4e4], 1
jmp 0x1004d3a3
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x574]
mov dword [ebp - 0x3c], eax
mov eax, 0x133d496
test eax, eax
je 0x1004d3fd
mov eax, 0x2319
test eax, eax
je 0x1004d3fd
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x574], 0
je 0x1004d3fd
mov dword [ebp - 0x1a4], 1
jmp 0x1004d404
and dword [ebp - 0x1a4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp + eax - 0x4e4], ecx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x120]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x2c4], ecx
push 1
lea ecx, [ebp - 0x344]
call fcn.10019f2a
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x3f0], 0x70ed
mov dword [ebp - 0x154], 0xfffffff6
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x3e0], 0
push 1
push 0x59b5
push 0x3fbc
push 0x3531
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x530]
push eax
push 1
push 0x58b7
push 0x75a3
call fcn.10049535
add esp, 0x24
mov dword [ebp - 0x38], 0
jmp 0x1004d4b9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1004d91e
mov dword [ebp - 0x58], 0xb0ceafd
push 3
lea ecx, [ebp - 0x350]
call fcn.10019f2a
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x50], 0x390a341a
push 0x2538
push 1
push 0xf73
push 0x1d41
push 0x7b9c
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x4ec]
push eax
push 1
call fcn.100497e4
add esp, 0x20
mov dword [ebp - 0x58], 0
jmp 0x1004d52a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x1004d615
mov dword [ebp - 0xd0], 0
jmp 0x1004d54d
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 4
jge 0x1004d569
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x5e8], 0xfffffff8
jmp 0x1004d540
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1004d57a
call fcn.1004b4e9
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x5e8], 0xffff
mov eax, 0xffff
test eax, eax
je 0x1004d5cd
cmp dword [ebp - 0x38], 0
je 0x1004d5cd
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1ac], eax
push 1
lea ecx, [ebp - 0x350]
call fcn.10019fc8
mov ecx, dword [ebp - 0x1ac]
mov dword [eax], ecx
cmp dword [ebp - 0x1ac], 0
je 0x1004d5cd
mov dword [ebp - 0x1b4], 1
jmp 0x1004d5d4
and dword [ebp - 0x1b4], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x344]
call fcn.10019fc8
mov eax, dword [eax]
add eax, dword [ebp - 0x1b4]
cmp eax, 0x23d1bca9
je 0x1004d5fd
mov dword [ebp - 0x1bc], 1
jmp 0x1004d604
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x140], eax
jmp 0x1004d523
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.1004b4f4
add esp, 0x28
mov dword [ebp - 0x50], 0
jmp 0x1004d66a
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x1004d90a
mov dword [ebp - 0x178], 0xfffffffb
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x14c], 0x88ee1efb
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 0x368], 0
cmp dword [ebp - 0x144], 0
jne 0x1004d704
push 0
lea ecx, [ebp - 0x344]
call fcn.10019fc8
cmp dword [eax], 0
jne 0x1004d6d3
cmp dword [ebp - 0x178], 0
jne 0x1004d6d3
and dword [ebp - 0x158], 0
jmp 0x1004d6dd
mov dword [ebp - 0x158], 1
push 1
lea ecx, [ebp - 0x350]
call fcn.10019fc8
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
cmp dword [ebp - 0x158], 0
jne 0x1004d704
and dword [ebp - 0x1c4], 0
jmp 0x1004d70e
mov dword [ebp - 0x1c4], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x1c4], eax
jle 0x1004d725
mov dword [ebp - 0x1cc], 1
jmp 0x1004d72c
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x1cc], eax
jne 0x1004d746
mov dword [ebp - 0x1d4], 1
jmp 0x1004d74d
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x1d4], eax
jle 0x1004d776
push 1
lea ecx, [ebp - 0x350]
call fcn.10019fc8
cmp dword [eax], 0
jne 0x1004d776
and dword [ebp - 0x1dc], 0
jmp 0x1004d780
mov dword [ebp - 0x1dc], 1
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x1dc], eax
jl 0x1004d79a
mov dword [ebp - 0x180], 1
jmp 0x1004d7a1
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0x2215
jge 0x1004d7b9
mov dword [ebp - 0x1ec], 1
jmp 0x1004d7c0
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x3e0]
imul eax, dword [ebp - 0x1ec]
cmp eax, dword [ebp - 0x140]
jl 0x1004d7e1
mov dword [ebp - 0x1f4], 1
jmp 0x1004d7e8
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x1f4], eax
je 0x1004d808
cmp dword [ebp - 0x154], 0
jne 0x1004d808
and dword [ebp - 0x1fc], 0
jmp 0x1004d812
mov dword [ebp - 0x1fc], 1
push 0
lea ecx, [ebp - 0x344]
call fcn.10019fc8
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [eax]
je 0x1004d835
mov dword [ebp - 0x204], 1
jmp 0x1004d83c
and dword [ebp - 0x204], 0
cmp dword [ebp - 0x204], 0x4084
jle 0x1004d854
mov dword [ebp - 0x20c], 1
jmp 0x1004d85b
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 0xffffffff
jl 0x1004d870
mov dword [ebp - 0x214], 1
jmp 0x1004d877
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
imul eax, dword [ebp - 0x21c]
cmp eax, 0xe3b9
jle 0x1004d8a0
cmp dword [ebp - 0x224], 0
je 0x1004d8f0
mov dword [ebp - 0x364], 0xd8cacf64
push 1
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x368]
push eax
push 0xd6d
lea eax, [ebp - 0x344]
push eax
push 0x55ae
lea eax, [ebp - 0x154]
push eax
call fcn.10049abb
add esp, 0x2c
jmp 0x1004d905
mov dword [ebp - 0x370], 0x122bf4b
cmp dword [ebp - 0x370], 0
je 0x1004d905
jmp 0x1004d90a
jmp 0x1004d663
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x350]
call fcn.10019fac
jmp 0x1004d4b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.10019fac
cmp dword [ebp - 0x2c4], 0
je 0x1004df16
mov dword [ebp - 0x54], 0xbf34
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0x836
mov dword [ebp - 0x22c], 0x1f8e
mov dword [ebp - 0x380], 0x1000ba94
cmp dword [ebp - 0x22c], 0x2357
jle 0x1004da84
and dword [ebp - 0xe8], 0
jmp 0x1004d990
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x68c
jge 0x1004da84
and dword [ebp - 0xf0], 0
jmp 0x1004d9b6
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x63c3
jge 0x1004da7f
and dword [ebp - 0xd8], 0
jmp 0x1004d9dc
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xacb
jge 0x1004da7a
and dword [ebp - 0xe0], 0
jmp 0x1004da02
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x67da
jge 0x1004da75
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xe0]
sar eax, cl
mov ecx, dword [ebp - 0xe8]
and ecx, dword [ebp - 0xf0]
or eax, ecx
cdq
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], edx
push dword [ebp - 0x420]
push dword [ebp - 0x424]
lea ecx, [ebp - 0x618]
call fcn.1000d08a
pop ecx
pop ecx
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
call fcn.10019cd9
push eax
call fcn.10051966
pop ecx
lea ecx, [ebp - 0x618]
call fcn.10019ccf
jmp 0x1004d9f5
jmp 0x1004d9cf
jmp 0x1004d9a9
jmp 0x1004d983
mov dword [ebp - 0x15c], 8
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x22c], 0x1e72
jge 0x1004daad
push dword [ebp - 0x380]
call fcn.10051966
pop ecx
jmp 0x1004dac9
or dword [ebp - 4], 0xffffffff
jmp 0x1004dad3
mov dword [ebp - 0x398], 0xfffffffe
mov dword [ebp - 0xb4], 0
jmp 0x1004daf6
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x1004db0f
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x68], 0x77dd6887
jmp 0x1004dae9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x598], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4e8], eax
mov eax, dword [ebp - 0x78]
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp - 0x388], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x388]
mov dword [ebp + eax - 0x68], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4f0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x578], eax
mov eax, 0xffff
cmp eax, 0xe6c8
jb 0x1004db86
mov dword [ebp - 0x234], 1
jmp 0x1004db8d
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x234]
jge 0x1004dbab
mov dword [ebp - 0x23c], 1
jmp 0x1004dbb2
and dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 0xfffffffb
jle 0x1004dbe0
mov dword [ebp - 0x1c], 0
jmp 0x1004dbcb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004dbde
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x68], 0
jmp 0x1004dbc4
jmp 0x1004dc16
mov dword [ebp - 0x18], 0xfffffffd
jmp 0x1004dbf0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
jg 0x1004dc16
mov byte [ebp - 0x40], 0
movzx eax, byte [ebp - 0x40]
test eax, eax
je 0x1004dc0f
push 0
push 0x247c
call dword [sym.imp.USER32.dll_GetSystemMenu]
call fcn.1004b714
jmp 0x1004dbe9
cmp dword [ebp - 0x54], 0
je 0x1004dd06
cmp dword [ebp - 0x54], 0
jl 0x1004dc32
mov dword [ebp - 0x244], 1
jmp 0x1004dc39
and dword [ebp - 0x244], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x244], eax
jne 0x1004dc57
mov dword [ebp - 0x24c], 1
jmp 0x1004dc5e
and dword [ebp - 0x24c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x24c], eax
jl 0x1004dc82
cmp dword [ebp - 0x18], 0
je 0x1004dc82
mov dword [ebp - 0x390], 1
jmp 0x1004dc89
and dword [ebp - 0x390], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
neg eax
sub eax, 8
cmp eax, 0x184b
jg 0x1004dcca
mov dword [ebp - 0x254], 1
jmp 0x1004dcd1
and dword [ebp - 0x254], 0
cmp dword [ebp - 0x254], 3
jbe 0x1004dce6
mov dword [ebp - 0x25c], 1
jmp 0x1004dced
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x1004dd06
cmp dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp - 0x500], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x35fa
imul ecx, dword [ebp + eax - 0x68]
cmp ecx, dword [ebp - 0x18]
jle 0x1004dd3b
mov dword [ebp - 0x264], 1
jmp 0x1004dd42
and dword [ebp - 0x264], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x264]
sub ecx, dword [ebp + eax - 0x68]
cmp ecx, 0xfffd
jbe 0x1004dd66
mov dword [ebp - 0x26c], 1
jmp 0x1004dd6d
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x26c], eax
jg 0x1004dd84
mov dword [ebp - 0x274], 1
jmp 0x1004dd8b
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x274]
jle 0x1004dda2
mov dword [ebp - 0x27c], 1
jmp 0x1004dda9
and dword [ebp - 0x27c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x27c], eax
jg 0x1004ddc7
mov dword [ebp - 0x164], 1
jmp 0x1004ddce
and dword [ebp - 0x164], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x164]
mov dword [ebp + eax - 0x68], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x164], eax
je 0x1004ddf5
mov dword [ebp - 0x284], 1
jmp 0x1004ddfc
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
dec eax
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
je 0x1004de18
mov dword [ebp - 0x28c], 1
jmp 0x1004de1f
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28c]
jne 0x1004de36
mov dword [ebp - 0x294], 1
jmp 0x1004de3d
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1004de5e
mov eax, 0xfddc
test eax, eax
jne 0x1004de5e
and dword [ebp - 0x29c], 0
jmp 0x1004de68
mov dword [ebp - 0x29c], 1
mov eax, dword [ebp - 0x29c]
sub eax, dword [ebp - 0x54]
je 0x1004de8c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x68], 0
je 0x1004de8c
mov dword [ebp - 0x2a4], 1
jmp 0x1004de93
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x2a4], 7
jle 0x1004dea8
mov dword [ebp - 0x2ac], 1
jmp 0x1004deaf
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2ac], eax
jg 0x1004dec6
mov dword [ebp - 0x2b4], 1
jmp 0x1004decd
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
add eax, 0x98d6
cmp eax, dword [ebp - 0x18]
jg 0x1004dee9
mov dword [ebp - 0x2bc], 1
jmp 0x1004def0
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x398], eax
push 0
push 1
push dword [ebp - 0x2c4]
push 0x8ca
push dword [ebp - 0x28]
call fcn.1003b3ee
add esp, 0x14
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x3a0], 0x4dd03248
push 1
lea ecx, [ebp - 0x498]
call fcn.10019f2a
mov dword [ebp - 4], 0x15
push 3
lea ecx, [ebp - 0x584]
call fcn.10019f2a
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x30], 0
jmp 0x1004df5c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004df78
push dword [ebp - 0x30]
lea ecx, [ebp - 0x498]
call fcn.10019fc8
mov dword [eax], 0xa9c4c8d3
jmp 0x1004df55
mov dword [ebp - 0x30], 0
jmp 0x1004df88
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004dfa4
push dword [ebp - 0x30]
lea ecx, [ebp - 0x584]
call fcn.10019fc8
mov dword [eax], 0xbf8f0aa6
jmp 0x1004df81
mov dword [ebp - 0x80], 0xffffffe8
jmp 0x1004dfb4
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x12
jne 0x1004e009
lea eax, [ebp - 0x498]
push eax
push 0x72da
push 0x2045
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x7430
push 1
push 0x6fdd
push 1
push 1
push 0x3602
push 0x763f
push 0x7c76
push 0xa03
push 0x6cf1
call fcn.1004a29e
add esp, 0x3c
jmp 0x1004dfad
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x584]
call fcn.10019fac
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x498]
call fcn.10019fac
push dword [ebp - 0x28]
call fcn.10034f85
pop ecx
test eax, eax
jne 0x1004e2fa
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0x5c], 0xf5ed9a92
mov dword [ebp - 0x88], 0x6de0
mov dword [ebp - 0x310], 1
mov dword [ebp - 0x3a8], 9
mov dword [ebp - 0xbc], 0
jmp 0x1004e080
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 3
jge 0x1004e09c
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x4b0], 9
jmp 0x1004e073
mov dword [ebp - 0xc4], 0
jmp 0x1004e0b5
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 2
jg 0x1004e189
mov dword [ebp - 0x110], 0x70ade216
mov dword [ebp - 0x5b0], 0
push 3
lea ecx, [ebp - 0x594]
call fcn.10019f2a
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.1004b751
pop ecx
pop ecx
mov dword [ebp - 0x110], 2
jmp 0x1004e118
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jl 0x1004e175
mov dword [ebp - 0x118], 0
jmp 0x1004e13a
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 1
jge 0x1004e156
mov eax, dword [ebp - 0x118]
mov dword [ebp + eax*4 - 0x548], 0xfffffffe
jmp 0x1004e12d
push 0x4518
push 1
push 0x6588
push 1
lea eax, [ebp - 0x88]
push eax
call fcn.1004a72a
add esp, 0x14
jmp 0x1004e10b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x594]
call fcn.10019fac
jmp 0x1004e0a8
mov eax, dword [ebp - 0x88]
inc eax
imul eax, dword [ebp - 0x5c]
cmp eax, 0x487972e7
jle 0x1004e1a7
mov dword [ebp - 0x2cc], 1
jmp 0x1004e1ae
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x2cc], eax
jl 0x1004e1c5
mov dword [ebp - 0x2d8], 1
jmp 0x1004e1cc
and dword [ebp - 0x2d8], 0
cmp dword [ebp - 0x2d8], 0x93d
je 0x1004e1e4
mov dword [ebp - 0x2e0], 1
jmp 0x1004e1eb
and dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x2e0]
sub eax, dword [ebp - 0x310]
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x88]
imul edx, dword [ebp + ecx - 0x4b0]
sub edx, eax
cmp edx, dword [ebp - 0x5c]
jl 0x1004e21e
mov dword [ebp - 0x2e8], 1
jmp 0x1004e225
and dword [ebp - 0x2e8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4b0]
cmp dword [ebp - 0x2e8], eax
jne 0x1004e245
mov dword [ebp - 0x2f0], 1
jmp 0x1004e24c
and dword [ebp - 0x2f0], 0
push 4
pop eax
shl eax, 1
imul ecx, dword [ebp - 0x2f0], 0xde45
cmp ecx, dword [ebp + eax - 0x4b0]
jle 0x1004e270
mov dword [ebp - 0x2f8], 1
jmp 0x1004e277
and dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
sub eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x88]
sub ecx, eax
cmp ecx, dword [ebp - 0x5c]
jle 0x1004e2a5
cmp dword [ebp - 0x3a8], 0
jne 0x1004e2a5
and dword [ebp - 0x300], 0
jmp 0x1004e2af
mov dword [ebp - 0x300], 1
cmp dword [ebp - 0x300], 0x3a21b78c
jne 0x1004e2c7
mov dword [ebp - 0x3b0], 1
jmp 0x1004e2ce
and dword [ebp - 0x3b0], 0
cmp dword [ebp - 0x5c], 0xfffffffb
jle 0x1004e2e0
mov dword [ebp - 0x308], 1
jmp 0x1004e2e7
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x310], eax
xor eax, eax
jmp 0x1004e466
push 0x63ec
push 0x16b6
push 1
push dword [ebp - 0x28]
push 0x7c71
push 0
call fcn.1002fe22
add esp, 0x18
mov dword [ebp - 0x510], 0x5d6c05ba
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
call fcn.1004b799
pop ecx
mov byte [ebp - 0x3e], 0
lea eax, [ebp - 0x3e]
push eax
call fcn.1004b7c7
pop ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1004e395
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x120]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x318], ecx
jne 0x1004e366
xor eax, eax
jmp 0x1004e466
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x318]
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
jne 0x1004e38b
xor eax, eax
jmp 0x1004e466
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x10], 1
push 3
lea ecx, [ebp - 0x5a4]
call fcn.10019f2a
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x5a4]
push eax
lea eax, [ebp - 0x588]
push eax
call fcn.1004b7ff
pop ecx
pop ecx
mov dword [ebp - 0x128], 0
jmp 0x1004e3e1
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 2
jg 0x1004e436
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x1004e434
push 0x380d
push 0x521d
push 0x1971
push 0x7758
push 0x7b5
push 1
push 0x6e25
push 0x109c
push 0x4758
push 0x62d4
push 1
push 0x51ab
call fcn.1004aabc
add esp, 0x30
jmp 0x1004e3d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.10019fac
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
je 0x1004e459
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x320], eax
jmp 0x1004e460
and dword [ebp - 0x320], 0
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret