Function at 0x10058287
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x36c
push esi
mov dword [ebp - 0x290], 0xfffffffb
mov dword [ebp - 0x28c], 0xfffffffb
mov dword [ebp - 0x288], 0xfffffffb
mov dword [ebp - 0x284], 0xfffffffb
lea ecx, [ebp - 0xa2]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x378]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x90]
call fcn.10018ee6
and dword [ebp - 4], 0
mov dword [ebp - 0x238], 0x96f377cc
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x70], 0xffff
mov dword [ebp - 0xe0], 0x2ff7a2d4
mov dword [ebp - 0x1e4], 0x2fdd
mov dword [ebp - 0x1e8], 0xb334fe9d
mov dword [ebp - 0x20], 0
jmp 0x1005834d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10058360
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x10], 0x184c506d
jmp 0x10058346
mov dword [ebp - 0x20], 0
jmp 0x10058370
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10058386
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xf8], 0x3196add8
jmp 0x10058369
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x10], 3
jmp 0x100583ab
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x10], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jl 0x1005898e
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x268], 0xbbfefa2e
mov dword [ebp - 0x264], 0xbbfefa2e
mov dword [ebp - 0x260], 0xbbfefa2e
mov dword [ebp - 0x25c], 0xbbfefa2e
push 3
lea ecx, [ebp - 0xc4]
call fcn.10018e8a
mov byte [ebp - 4], 1
mov dword [ebp - 0x74], 0
jmp 0x1005840c
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x10058428
push dword [ebp - 0x74]
lea ecx, [ebp - 0xc4]
call fcn.10018f28
mov dword [eax], 2
jmp 0x10058405
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x10]
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov dword [eax], esi
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x238], eax
jg 0x10058475
mov dword [ebp - 0x10c], 1
jmp 0x1005847c
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x300], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x340], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov ecx, dword [ebp - 0x38]
cmp dword [eax], ecx
jle 0x10058784
mov dword [ebp - 0x50], 5
cmp dword [ebp - 0x50], 0
mov eax, 0x2e7c650b
cmp eax, 0xfffffff7
jbe 0x100584eb
mov dword [ebp - 0x1ec], 1
jmp 0x100584f2
and dword [ebp - 0x1ec], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x268], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x70], eax
jge 0x10058532
cmp dword [ebp - 0x50], 0
je 0x10058547
mov eax, 0xd4965da1
test eax, eax
je 0x10058547
mov dword [ebp - 0x1ac], 1
jmp 0x1005854e
and dword [ebp - 0x1ac], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov esi, eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov ecx, dword [esi]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x1ac]
jle 0x10058593
mov dword [ebp - 0x1c0], 1
jmp 0x1005859a
and dword [ebp - 0x1c0], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c0]
je 0x100585c5
mov dword [ebp - 0x1c8], 1
jmp 0x100585cc
and dword [ebp - 0x1c8], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov ecx, dword [ebp - 0x1c8]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov eax, dword [eax]
sub eax, 7
cmp eax, 0xfff8
ja 0x10058616
mov dword [ebp - 0x1d0], 1
jmp 0x1005861d
and dword [ebp - 0x1d0], 0
imul eax, dword [ebp - 0x1d0], 0xffffffff
imul eax, dword [ebp - 0x50]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x7c], eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
mov dword [ebp - 0x1a4], eax
push 1
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [eax]
mov dword [ecx], eax
push 4
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0xf8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xdc]
cmp dword [eax], 0
je 0x100586ad
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
cmp dword [eax], 0
je 0x100586ad
mov dword [ebp - 0x158], 1
jmp 0x100586b4
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0x70fc
je 0x100586cc
mov dword [ebp - 0xe8], 1
jmp 0x100586d3
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xe8], eax
je 0x100586fc
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
cmp dword [eax], 0
je 0x100586fc
mov dword [ebp - 0x1f4], 1
jmp 0x10058703
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30c], eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
cmp dword [eax], 0
jne 0x10058739
mov eax, 0xd8bac8e9
test eax, eax
jne 0x10058739
and dword [ebp - 0x1b0], 0
jmp 0x10058743
mov dword [ebp - 0x1b0], 1
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x1b0], eax
jne 0x1005876b
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov dword [eax], 0x72ea1289
jmp 0x1005877f
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1005877f
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1005897a
push 3
lea ecx, [ebp - 0x2dc]
call fcn.10018e8a
mov byte [ebp - 4], 2
mov dword [ebp - 0x94], 0x86206571
mov dword [ebp - 0x228], 0xffffffff
mov dword [ebp - 0x80], 0
jmp 0x100587b9
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x100587d5
push dword [ebp - 0x80]
lea ecx, [ebp - 0x2dc]
call fcn.10018f28
mov dword [eax], 6
jmp 0x100587b2
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x31c], eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
cmp dword [ebp - 0x94], 0xa730
jne 0x10058812
mov dword [ebp - 0x230], 1
jmp 0x10058819
and dword [ebp - 0x230], 0
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
cmp dword [eax], 0
jne 0x1005883d
cmp dword [ebp - 0x94], 0
jne 0x1005883d
and dword [ebp - 0xa0], 0
jmp 0x10058847
mov dword [ebp - 0xa0], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0x268], ecx
cmp dword [ebp - 0xa0], 0xffffffff
jle 0x1005886f
mov dword [ebp - 0xf0], 1
jmp 0x10058876
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0xf0], eax
jne 0x10058890
mov dword [ebp - 0x160], 1
jmp 0x10058897
and dword [ebp - 0x160], 0
push 2
lea ecx, [ebp - 0x2dc]
call fcn.10018f28
mov eax, dword [eax]
cmp eax, dword [ebp - 0x160]
jle 0x100588ba
mov dword [ebp - 0x240], 1
jmp 0x100588c1
and dword [ebp - 0x240], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf8]
mov dword [ebp - 0x348], eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.10018f28
mov ecx, dword [ebp - 0x70]
cmp dword [eax], ecx
jge 0x100588f4
mov dword [ebp - 0x224], 1
jmp 0x100588fb
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x32c], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10018f28
mov esi, eax
push 2
lea ecx, [ebp - 0xc4]
call fcn.10018f28
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1005893a
mov dword [ebp - 0x198], 1
jmp 0x10058941
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x1e8]
cmp dword [ebp - 0x198], eax
jle 0x1005895b
mov dword [ebp - 0x100], 1
jmp 0x10058962
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2dc]
call fcn.10018f0c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10018f0c
jmp 0x10058396
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10018f0c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1005925c
mov dword [ebp - 0x1c], 0xa61928c1
mov dword [ebp - 0x1f0], 0xcf7921e1
mov dword [ebp - 0x118], 0xfffffffb
mov dword [ebp - 0x108], 0xc6578637
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100589e2
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 0x1c], 0
jmp 0x100589f2
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff8
je 0x10058b68
mov dword [ebp - 0xb4], 4
mov dword [ebp - 0x110], 0xcf5aa05
cmp dword [ebp - 0x1c], 0
jne 0x10058b08
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0xb4]
add eax, 0x5466bc65
je 0x10058a48
cmp dword [ebp - 0x118], 0
je 0x10058a48
mov dword [ebp - 0x168], 1
jmp 0x10058a4f
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
neg eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jge 0x10058a83
mov dword [ebp - 0x1c4], 1
jmp 0x10058a8a
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x270e7ad5
jl 0x10058aae
mov dword [ebp - 0x170], 1
jmp 0x10058ab5
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x170], eax
je 0x10058acc
mov dword [ebp - 0x1a0], 1
jmp 0x10058ad3
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x1a0], eax
jne 0x10058aed
mov dword [ebp - 0x120], 1
jmp 0x10058af4
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x120]
jne 0x10058b08
and dword [ebp - 0x178], 0
jmp 0x10058b12
mov dword [ebp - 0x178], 1
cmp dword [ebp - 0x178], 1
je 0x10058b27
mov dword [ebp - 0x128], 1
jmp 0x10058b2e
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x128]
jge 0x10058b4f
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10058b4d
push 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x10058b63
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10058b63
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
jmp 0x100589eb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x204], eax
or dword [ebp - 0x2b8], 0xffffffff
or dword [ebp - 0x2b4], 0xffffffff
or dword [ebp - 0x2b0], 0xffffffff
or dword [ebp - 0x2ac], 0xffffffff
lea ecx, [ebp - 0xb5]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x368]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x250]
call fcn.10018ee6
mov dword [ebp - 4], 3
mov dword [ebp - 0x68], 0x7555b7ce
mov dword [ebp - 0x27c], 0xfffffffe
mov dword [ebp - 0x278], 0xfffffffe
mov dword [ebp - 0x274], 0xfffffffe
mov dword [ebp - 0x270], 0xfffffffe
lea ecx, [ebp - 0xa1]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x360]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x318]
call fcn.10018ee6
mov byte [ebp - 4], 4
mov dword [ebp - 0x304], 0x4d0289a6
push 3
lea ecx, [ebp - 0x2f4]
call fcn.10018e8a
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], 0
jmp 0x10058c5c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10058c72
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x358], 0xb5f0b101
jmp 0x10058c55
mov dword [ebp - 0x28], 0
jmp 0x10058c82
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10058c9e
push dword [ebp - 0x28]
lea ecx, [ebp - 0x2f4]
call fcn.10018f28
mov dword [eax], 0xffff
jmp 0x10058c7b
push 0
lea ecx, [ebp - 0x250]
call fcn.10018f28
mov dword [eax], 0xe
jmp 0x10058cd7
push 0
lea ecx, [ebp - 0x250]
call fcn.10018f28
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x250]
call fcn.10018f28
cmp dword [eax], 2
jne 0x10058e34
mov dword [ebp - 0x2fc], 1
mov dword [ebp - 0x2f8], 0xfffffffe
mov dword [ebp - 0x210], 0xfffffffb
push 0
lea ecx, [ebp - 0x2f4]
call fcn.10018f28
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
cmp dword [ebp - 0x210], 0
je 0x10058dd0
mov dword [ebp - 0x1f8], 0x5a592c6e
cmp dword [ebp - 0x1f8], 0
je 0x10058d6d
push 2
lea ecx, [ebp - 0x318]
call fcn.10018f28
cmp dword [eax], 0
je 0x10058d6d
mov dword [ebp - 0x180], 1
jmp 0x10058d74
and dword [ebp - 0x180], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x180]
mov dword [ebp + eax - 0x358], ecx
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10058dce
push 0x18b3
push 0x1eff
push 0x178c
push 0x7b5
push 0xf15
push 0x23ff
push 0x17f6
push 0x2227
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Arc]
jmp 0x10058e2f
mov dword [ebp - 0x68], 0xa
jmp 0x10058de0
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x19
jle 0x10058e1b
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10058e01
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10058e19
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
jmp 0x10058dd9
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10058e2f
push 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10058cb3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f4]
call fcn.10018f0c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x318]
call fcn.10018f0c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.10018f0c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x220], 0xa77b69c9
push 1
lea ecx, [ebp - 0x2d0]
call fcn.10018e8a
mov dword [ebp - 4], 6
mov dword [ebp - 0x18], 0
jmp 0x10058ea2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10058eb5
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x58], 0xc204e2db
jmp 0x10058e9b
mov dword [ebp - 0x18], 0
jmp 0x10058ec5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10058edb
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1b8], 0x38bea122
jmp 0x10058ebe
mov dword [ebp - 0x18], 0
jmp 0x10058eeb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10058f07
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2d0]
call fcn.10018f28
mov dword [eax], 0xe731e7bf
jmp 0x10058ee4
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x58], 0
jmp 0x10058f2c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0xfffffffb
jle 0x100591fd
mov dword [ebp - 0x54], 0xfffffff6
mov dword [ebp - 0xa8], 0xfffffffd
mov dword [ebp - 0x2a4], 3
mov dword [ebp - 0x2a0], 3
mov dword [ebp - 0x29c], 3
mov dword [ebp - 0x298], 3
lea ecx, [ebp - 0x99]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x370]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2e8]
call fcn.10018ee6
mov byte [ebp - 4], 7
mov dword [ebp - 0x54], 0xfffffffc
jmp 0x10058fbf
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jg 0x100590ea
mov dword [ebp - 0x84], 0x3a0b8ee4
mov dword [ebp - 0x84], 0
jmp 0x10058fec
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jg 0x100590e5
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x4c], 0
jmp 0x10059010
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x100590e0
mov dword [ebp - 0x1e0], 0x8b081589
mov dword [ebp - 0x1dc], 0x8b081589
mov dword [ebp - 0x1d8], 0x8b081589
mov dword [ebp - 0x1d4], 0x8b081589
mov eax, dword [ebp - 0x4c]
cmp dword [ebp + eax*4 - 0x1b8], 0
je 0x10059054
jmp 0x100590e0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1e0], 0
jmp 0x10059082
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1e0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1e0], 1
jg 0x100590db
mov dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e0]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + eax*4 - 0x1b8]
mov dword [ebp + ecx*4 - 0x1b8], eax
mov dword [ebp - 0x78], 0
jmp 0x100590c7
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xf
jle 0x100590d9
mov dword [ebp - 0xa8], 1
jmp 0x100590c0
jmp 0x10059067
jmp 0x10059009
jmp 0x10058fdf
jmp 0x10058fb8
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1b8]
mov dword [ebp - 0x308], eax
push 2
lea ecx, [ebp - 0x2e8]
call fcn.10018f28
cmp dword [ebp - 0x54], 0
je 0x10059163
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x58]
push 2
lea ecx, [ebp - 0x2e8]
call fcn.10018f28
cmp esi, dword [eax]
jge 0x10059144
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1b8], 0
jne 0x10059144
and dword [ebp - 0x138], 0
jmp 0x1005914e
mov dword [ebp - 0x138], 1
cmp dword [ebp - 0x138], 0
je 0x10059163
mov dword [ebp - 0x1a8], 1
jmp 0x1005916a
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x1a8]
jl 0x10059190
mov dword [ebp - 0x140], 1
jmp 0x10059197
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xffffffff
jle 0x100591ac
mov dword [ebp - 0x188], 1
jmp 0x100591b3
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x188], eax
je 0x100591cd
mov dword [ebp - 0x148], 1
jmp 0x100591d4
and dword [ebp - 0x148], 0
push 0
lea ecx, [ebp - 0x2d0]
call fcn.10018f28
mov ecx, dword [ebp - 0x148]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.10018f0c
jmp 0x10058f17
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.10018f0c
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0
jmp 0x10059237
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 1
jge 0x10059257
mov eax, dword [ebp - 0x5c]
push dword [eax]
mov ecx, dword [ebp - 0x20c]
call fcn.10018f28
mov dword [eax], 0xd7d393e7
jmp 0x1005922c
jmp 0x10059a00
mov eax, dword [ebp + 8]
mov dword [ebp - 0x208], eax
push 3
lea ecx, [ebp - 0x48]
call fcn.10018e8a
mov dword [ebp - 4], 8
mov dword [ebp - 0x60], 0
push 3
lea ecx, [ebp - 0xd0]
call fcn.10018e8a
mov byte [ebp - 4], 9
mov dword [ebp - 0x64], 0xc6200d40
mov dword [ebp - 0x33c], 0xfffffff9
mov dword [ebp - 0x21c], 9
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x234], 2
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x17c], 0x94cf7123
mov dword [ebp - 0x194], 0xffffffff
mov dword [ebp - 0x200], 0x326e24e1
mov dword [ebp - 0x14], 0
jmp 0x100592f5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1005930b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.10018f28
or dword [eax], 0xffffffff
jmp 0x100592ee
mov dword [ebp - 0x14], 0
jmp 0x1005931b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10059337
push dword [ebp - 0x14]
lea ecx, [ebp - 0xd0]
call fcn.10018f28
mov dword [eax], 6
jmp 0x10059314
mov dword [ebp - 0x14], 0
jmp 0x10059347
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1005935d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x258], 0xd895a5d7
jmp 0x10059340
push 0
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov esi, eax
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x10059385
mov dword [ebp - 0x1cc], 1
jmp 0x1005938c
and dword [ebp - 0x1cc], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov eax, dword [eax]
add eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x2b82
jle 0x100593c2
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
cmp dword [eax], 0
jne 0x100593c2
and dword [ebp - 0x150], 0
jmp 0x100593cc
mov dword [ebp - 0x150], 1
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov eax, dword [eax]
cmp eax, dword [ebp - 0x150]
jle 0x100593ec
mov dword [ebp - 0x190], 1
jmp 0x100593f3
and dword [ebp - 0x190], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov esi, dword [ebp - 0x190]
sub esi, dword [eax]
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
sub esi, dword [eax]
jne 0x1005942b
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
cmp dword [eax], 0
jne 0x1005942b
and dword [ebp - 0xd8], 0
jmp 0x10059435
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
neg eax
je 0x10059450
xor eax, eax
inc eax
je 0x10059450
mov dword [ebp - 0xe4], 1
jmp 0x10059457
and dword [ebp - 0xe4], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax]
jge 0x10059477
mov dword [ebp - 0xec], 1
jmp 0x1005947e
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0xfffffff9
jae 0x10059493
mov dword [ebp - 0xf4], 1
jmp 0x1005949a
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
add eax, 0x4f804f83
imul esi, eax, 0xfffa
push 0
lea ecx, [ebp - 0x48]
call fcn.10018f28
add esi, dword [eax]
jne 0x100594c5
mov dword [ebp - 0xfc], 1
jmp 0x100594cc
and dword [ebp - 0xfc], 0
push 1
lea ecx, [ebp - 0xd0]
call fcn.10018f28
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
je 0x100594ef
mov dword [ebp - 0x22c], 1
jmp 0x100594f6
and dword [ebp - 0x22c], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10018f28
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov esi, eax
push 1
lea ecx, [ebp - 0xd0]
call fcn.10018f28
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1005952b
mov dword [ebp - 0x104], 1
jmp 0x10059532
and dword [ebp - 0x104], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [eax]
jge 0x10059552
mov dword [ebp - 0xd4], 1
jmp 0x10059559
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.10018f28
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax]
jl 0x1005957c
mov dword [ebp - 0x114], 1
jmp 0x10059583
and dword [ebp - 0x114], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.10018f28
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [eax]
jl 0x100595a0
cmp dword [ebp - 0x64], 0
je 0x100595f8
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
cmp dword [eax], 0
je 0x100595f8
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x100595c7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x100595f3
push 0
push 0x968
push 0xd17
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
jmp 0x1005981e
push 4
lea ecx, [ebp - 0x328]
call fcn.10018e8a
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x6c], 0
jmp 0x10059619
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x10059632
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x328]
call fcn.10018f28
or dword [eax], 0xffffffff
jmp 0x10059612
mov dword [ebp - 0x64], 0x1c
jmp 0x10059642
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff4
jl 0x1005980f
mov dword [ebp - 0x124], 0x2684
push 4
lea ecx, [ebp - 0x2c4]
call fcn.10018e8a
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x24], 0
jmp 0x10059677
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1005968d
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xb0], 9
jmp 0x10059670
mov dword [ebp - 0x24], 0
jmp 0x1005969d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x100596b9
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2c4]
call fcn.10018f28
mov dword [eax], 0xc590cb25
jmp 0x10059696
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov dword [ebp - 0x214], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb0], eax
cmp dword [ebp - 0x214], 0xaed0f12a
jb 0x100596ff
mov dword [ebp - 0x11c], 1
jmp 0x10059706
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x60], eax
or eax, 0xffffffff
je 0x100597df
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xb0]
cmp dword [ebp + eax - 0xb0], ecx
jle 0x10059740
mov dword [ebp - 0x134], 1
jmp 0x10059747
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x124], eax
jg 0x10059765
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xb0], 0
je 0x10059775
xor eax, eax
je 0x10059775
mov dword [ebp - 0x12c], 1
jmp 0x1005977c
and dword [ebp - 0x12c], 0
push 2
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [eax]
cmp ecx, 3
je 0x1005979f
mov dword [ebp - 0x23c], 1
jmp 0x100597a6
and dword [ebp - 0x23c], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x344], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
add eax, dword [ebp - 0x134]
je 0x100597df
mov dword [ebp - 0x13c], 1
jmp 0x100597e6
and dword [ebp - 0x13c], 0
push 2
lea ecx, [ebp - 0x2c4]
call fcn.10018f28
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
call fcn.10018f0c
jmp 0x1005963b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x328]
call fcn.10018f0c
push 0
lea ecx, [ebp - 0xd0]
call fcn.10018f28
xor eax, eax
inc eax
je 0x10059845
cmp dword [ebp - 0x184], 0
je 0x10059845
mov dword [ebp - 0x144], 1
jmp 0x1005984c
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x144], eax
jle 0x10059866
mov dword [ebp - 0x14c], 1
jmp 0x1005986d
and dword [ebp - 0x14c], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov esi, dword [ebp - 0x14c]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0xd0]
call fcn.10018f28
cmp esi, dword [eax]
jne 0x1005989c
mov dword [ebp - 0x154], 1
jmp 0x100598a3
and dword [ebp - 0x154], 0
mov esi, dword [ebp - 0x234]
imul esi, dword [ebp - 0x154]
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
cmp esi, dword [eax]
jg 0x100598ca
mov dword [ebp - 0x15c], 1
jmp 0x100598d1
and dword [ebp - 0x15c], 0
push 1
lea ecx, [ebp - 0xd0]
call fcn.10018f28
mov ecx, dword [ebp - 0x15c]
cmp ecx, dword [eax]
jl 0x100598f4
mov dword [ebp - 0x98], 1
jmp 0x100598fb
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x258], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 1
jb 0x1005992f
mov dword [ebp - 0x16c], 1
jmp 0x10059936
and dword [ebp - 0x16c], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10018f28
mov ecx, dword [ebp - 0x16c]
sub ecx, dword [eax]
cmp ecx, 0xfffffff7
jne 0x10059959
mov dword [ebp - 0x174], 1
jmp 0x10059960
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0xffffffff
jge 0x10059981
mov dword [ebp - 0x18c], 1
jmp 0x10059988
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x184]
cmp dword [ebp - 0x18c], eax
jne 0x100599a2
mov dword [ebp - 0x1fc], 1
jmp 0x100599a9
and dword [ebp - 0x1fc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
call fcn.10018f0c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10018f0c
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret