Function at 0x1004ecf8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087693
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x584
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10051332
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x348], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x30c]
movzx eax, byte [eax]
test eax, eax
je 0x100512ca
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x10], 0xbcd8c45
mov dword [ebp - 0x178], 0x9b2c
mov dword [ebp - 0x174], 0x9b2c
mov dword [ebp - 0x170], 0x9b2c
mov dword [ebp - 0x16c], 0x9b2c
mov dword [ebp - 0x2c], 0x6cdead9b
mov dword [ebp - 0x388], 0x3e67dcaf
mov dword [ebp - 0x320], 0x5826cce7
mov dword [ebp - 0x31c], 0xffffffff
push 2
lea ecx, [ebp - 0x47c]
call fcn.1001ff2e
and dword [ebp - 4], 0
mov dword [ebp - 0x498], 0xff61739b
mov dword [ebp - 0x1c8], 0x46ec
mov dword [ebp - 0x460], 0x1000c800
cmp dword [ebp - 0x1c8], 0x4ac5
jle 0x1004eef0
and dword [ebp - 0x120], 0
jmp 0x1004ee1f
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x3aa8
jge 0x1004eef0
and dword [ebp - 0x68], 0
jmp 0x1004ee3c
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x789a
jge 0x1004eeeb
and dword [ebp - 0xe4], 0
jmp 0x1004ee5f
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x31c7
jge 0x1004eee6
and dword [ebp - 0x70], 0
jmp 0x1004ee78
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x5761
jge 0x1004eee1
mov eax, dword [ebp - 0x120]
cdq
idiv dword [ebp - 0x68]
xor edx, dword [ebp - 0xe4]
or edx, dword [ebp - 0x70]
mov eax, edx
cdq
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], edx
push dword [ebp - 0x398]
push dword [ebp - 0x39c]
lea ecx, [ebp - 0x554]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x554]
call fcn.1001fbea
jmp 0x1004ee71
jmp 0x1004ee52
jmp 0x1004ee35
jmp 0x1004ee12
cmp dword [ebp - 0x1c8], 0x44ef
jge 0x1004ef08
push dword [ebp - 0x460]
call fcn.100714f3
pop ecx
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4e0]
push eax
push 0
call fcn.10063abb
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x1004f2f0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 3
jmp 0x1004ef41
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004f2eb
mov dword [ebp - 0x48], 0x5dae5a60
mov dword [ebp - 0x48], 0
jmp 0x1004ef62
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jg 0x1004f2cb
mov dword [ebp - 0x2e4], 0x2a02
mov dword [ebp - 0x2fc], 0x1000c844
cmp dword [ebp - 0x2e4], 0x2de5
jle 0x1004f07a
and dword [ebp - 0x80], 0
jmp 0x1004ef9d
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x5ffc
jge 0x1004f07a
and dword [ebp - 0x11c], 0
jmp 0x1004efc0
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x7537
jge 0x1004f075
and dword [ebp - 0x78], 0
jmp 0x1004efdd
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x5642
jge 0x1004f070
and dword [ebp - 0xec], 0
jmp 0x1004f000
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x7a96
jge 0x1004f06b
mov ecx, dword [ebp - 0x11c]
add ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0x80]
sar eax, cl
cdq
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], edx
push dword [ebp - 0x3a4]
push dword [ebp - 0x3a8]
lea ecx, [ebp - 0x524]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x524]
call fcn.1001fbea
jmp 0x1004eff3
jmp 0x1004efd6
jmp 0x1004efb3
jmp 0x1004ef96
cmp dword [ebp - 0x2e4], 0x2674
jge 0x1004f092
push dword [ebp - 0x2fc]
call fcn.100714f3
pop ecx
mov dword [ebp - 0x134], 0
jmp 0x1004f0ab
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 3
jge 0x1004f0c7
mov eax, dword [ebp - 0x134]
mov dword [ebp + eax*4 - 0x500], 7
jmp 0x1004f09e
lea eax, [ebp - 0x20]
push eax
push 0
push 0x5f70
push 0x270f
call fcn.1005bcbb
add esp, 0x10
mov dword [ebp - 0x20], 0
jmp 0x1004f0ef
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x1004f2c6
mov dword [ebp - 0x370], 0xf8ab
mov dword [ebp - 0x304], 0x4b58fe4d
mov dword [ebp - 0x2c], 0
jmp 0x1004f11d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jg 0x1004f2c1
cmp dword [ebp - 0x48], 0
jne 0x1004f139
mov dword [ebp - 0x2e0], 1
jmp 0x1004f140
and dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x178]
cmp eax, dword [ebp - 0x2e0]
jne 0x1004f15e
mov dword [ebp - 0x184], 1
jmp 0x1004f165
and dword [ebp - 0x184], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x178], 1
jbe 0x1004f181
mov dword [ebp - 0x2d0], 1
jmp 0x1004f188
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x2d0]
jg 0x1004f1a2
mov dword [ebp - 0x2bc], 1
jmp 0x1004f1a9
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x178]
imul eax, dword [ebp - 0x2bc]
test eax, eax
jne 0x1004f1d0
cmp dword [ebp - 0x370], 0
jne 0x1004f1d0
and dword [ebp - 0x18c], 0
jmp 0x1004f1da
mov dword [ebp - 0x18c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x500]
cmp dword [ebp - 0x18c], eax
je 0x1004f1fb
mov dword [ebp - 0x23c], 1
jmp 0x1004f202
and dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 0x91920b24
jae 0x1004f21a
mov dword [ebp - 0x194], 1
jmp 0x1004f221
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x178]
imul eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x10]
jne 0x1004f243
mov dword [ebp - 0x294], 1
jmp 0x1004f24a
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x294], eax
jle 0x1004f261
mov dword [ebp - 0x19c], 1
jmp 0x1004f268
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x178]
cmp dword [ebp - 0x19c], eax
jg 0x1004f286
mov dword [ebp - 0x244], 1
jmp 0x1004f28d
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 0x907
jle 0x1004f2a5
mov dword [ebp - 0x1a4], 1
jmp 0x1004f2ac
and dword [ebp - 0x1a4], 0
imul eax, dword [ebp - 0x1a4], 0xb54
mov dword [ebp - 0x304], eax
jmp 0x1004f116
jmp 0x1004f0e8
jmp 0x1004ef5b
push 0x2a70
push 0x58b1
push 1
push 0
push 0x1535
call fcn.10065d09
add esp, 0x14
jmp 0x1004ef3a
jmp 0x1004f4ee
mov dword [ebp - 0x2f0], 0xfffd
mov dword [ebp - 0x380], 0xffffffff
mov dword [ebp - 0x10], 3
jmp 0x1004f314
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004f4ee
mov dword [ebp - 0x2d4], 0x54d3
mov dword [ebp - 0x378], 0x1000c860
cmp dword [ebp - 0x2d4], 0x587c
jle 0x1004f3f6
and dword [ebp - 0x90], 0
jmp 0x1004f358
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x7d79
jge 0x1004f3ec
and dword [ebp - 0x88], 0
jmp 0x1004f37e
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x6fb6
jge 0x1004f3e7
and dword [ebp - 0xf4], 0
jmp 0x1004f3a0
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x3396
jge 0x1004f3e5
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xf4]
sar eax, cl
and eax, dword [ebp - 0x90]
cdq
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], edx
push dword [ebp - 0x3b0]
push dword [ebp - 0x3b4]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1004f393
jmp 0x1004f371
jmp 0x1004f34b
push 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0x29c], 0xffffffff
cmp dword [ebp - 0x2d4], 0x5111
jge 0x1004f41c
mov edx, dword [ebp - 0x378]
mov ecx, 0x1008bbb8
call fcn.100228da
mov dword [ebp - 0x130], 0xffffffff
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x178], 0
jne 0x1004f442
mov dword [ebp - 0x1ac], 1
jmp 0x1004f449
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x4d0], eax
cmp dword [ebp - 0x1ac], 0x3c444c9c
jne 0x1004f46d
mov dword [ebp - 0x24c], 1
jmp 0x1004f474
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], eax
jge 0x1004f491
mov dword [ebp - 0x1b4], 1
jmp 0x1004f498
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x1b4]
dec eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x2f0], eax
jl 0x1004f4c3
mov dword [ebp - 0x1bc], 1
jmp 0x1004f4ca
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x29c]
imul eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x130], eax
jmp 0x1004f30d
mov dword [ebp - 0x2d8], 0x7dd
mov dword [ebp - 0x3a0], 0x1000c8ac
cmp dword [ebp - 0x2d8], 0x9e2
jle 0x1004f585
and dword [ebp - 0x98], 0
jmp 0x1004f524
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x1b09
jge 0x1004f585
and dword [ebp - 0xfc], 0
jmp 0x1004f546
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x1257
jge 0x1004f583
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xfc]
cdq
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], edx
push dword [ebp - 0x3bc]
push dword [ebp - 0x3c0]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1004f539
jmp 0x1004f517
cmp dword [ebp - 0x2c], 0
jne 0x1004f6c6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x178], 0xfffb
jne 0x1004f5ae
mov dword [ebp - 0x254], 1
jmp 0x1004f5b5
and dword [ebp - 0x254], 0
cmp dword [ebp - 0x2c], 0xdd18
je 0x1004f5ca
mov dword [ebp - 0x1c4], 1
jmp 0x1004f5d1
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x254]
cmp eax, dword [ebp - 0x1c4]
jge 0x1004f5eb
mov dword [ebp - 0x2c4], 1
jmp 0x1004f5f2
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x388]
cmp dword [ebp - 0x2c4], eax
jle 0x1004f60c
mov dword [ebp - 0x1cc], 1
jmp 0x1004f613
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
add eax, 0x44ca7af7
imul eax, dword [ebp - 0x320]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x178]
cmp eax, dword [ebp - 0x31c]
jg 0x1004f646
mov dword [ebp - 0x25c], 1
jmp 0x1004f64d
and dword [ebp - 0x25c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x178]
cmp dword [ebp - 0x25c], eax
je 0x1004f66e
mov dword [ebp - 0x1d4], 1
jmp 0x1004f675
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1d4], eax
jg 0x1004f68c
mov dword [ebp - 0x2a4], 1
jmp 0x1004f693
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x2a4], 0x4ed9
jl 0x1004f6ab
mov dword [ebp - 0x1dc], 1
jmp 0x1004f6b2
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1dc], eax
jg 0x1004f6c6
and dword [ebp - 0x264], 0
jmp 0x1004f6d0
mov dword [ebp - 0x264], 1
cmp dword [ebp - 0x264], 0xfff8
jb 0x1004f6e8
mov dword [ebp - 0x1e4], 1
jmp 0x1004f6ef
and dword [ebp - 0x1e4], 0
mov esi, 0xeaa4
sub esi, dword [ebp - 0x1e4]
push 0
lea ecx, [ebp - 0x47c]
call fcn.1001ffcc
mov dword [eax], esi
cmp dword [ebp - 0x2d8], 0x765
jge 0x1004f725
mov edx, dword [ebp - 0x3a0]
mov ecx, 0x1008bbb8
call fcn.100228da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.1001ffb0
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x274], 0x3b67
mov dword [ebp - 0x32c], 0x1000c8f0
cmp dword [ebp - 0x274], 0x3d97
jle 0x1004f7ee
push 0
push 0
call dword [sym.imp.USER32.dll_FlashWindow]
and dword [ebp - 0xa0], 0
jmp 0x1004f78b
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x4da
jge 0x1004f7ee
and dword [ebp - 0x128], 0
jmp 0x1004f7ad
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x72a9
jge 0x1004f7ec
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x128]
sar eax, cl
cdq
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], edx
push dword [ebp - 0x3c8]
push dword [ebp - 0x3cc]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1004f7a0
jmp 0x1004f77e
mov dword [ebp - 0x1ec], 0x42de
mov dword [ebp - 0x324], 0x1000c938
cmp dword [ebp - 0x1ec], 0x461a
jle 0x1004f8fc
and dword [ebp - 0xa8], 0
jmp 0x1004f828
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x802c
jge 0x1004f8f0
and dword [ebp - 0x104], 0
jmp 0x1004f84e
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x572a
jge 0x1004f8eb
and dword [ebp - 0xb0], 0
jmp 0x1004f874
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x609
jge 0x1004f8e6
and dword [ebp - 0xbc], 0
jmp 0x1004f896
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x52d2
jge 0x1004f8e4
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0x104]
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0xbc]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], edx
push dword [ebp - 0x3d4]
push dword [ebp - 0x3d8]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1004f889
jmp 0x1004f867
jmp 0x1004f841
jmp 0x1004f81b
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebp - 0x1ec], 0x4253
jge 0x1004f918
mov edx, dword [ebp - 0x324]
mov ecx, 0x1008bbb8
call fcn.100228da
push 2
lea ecx, [ebp - 0x4a4]
call fcn.1001ff2e
mov dword [ebp - 4], 1
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x400], 0xfffffffb
push 3
lea ecx, [ebp - 0x4cc]
call fcn.1001ff2e
mov byte [ebp - 4], 2
push 0x4a9f
push 1
push 0x555c
push 1
push 0x550a
push 0x598f
push 0x45fb
push 0x6801
push 0x6b36
push 0x4c30
push 0x1f46
push 0x7ba1
push 0x3507
push 0
push 0x298d
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x782b
push 0x229a
push 0x7835
call fcn.10056772
add esp, 0x50
mov dword [ebp - 0x34], 0
jmp 0x1004f9c2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1004f9d8
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x2ec], 0xd59e57ad
jmp 0x1004f9bb
lea eax, [ebp - 0x4cc]
push eax
push 0x5052
push 0x70ab
push 1
push 1
push 0x2309
lea eax, [ebp - 0x34]
push eax
call fcn.1004d9a0
add esp, 0x1c
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x2ec], 0
jmp 0x1004fa2c
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2ec]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2ec], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2ec], 1
jg 0x1004fa4c
push 0x7a54
push 0
call fcn.10051bcd
pop ecx
pop ecx
jmp 0x1004fa11
mov dword [ebp - 0x60], 0
jmp 0x1004fa5c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x1c
jge 0x1004fc13
mov dword [ebp - 0x26c], 9
mov dword [ebp - 0x4f0], 1
mov dword [ebp - 0x4d8], 0xffffffff
push 1
lea ecx, [ebp - 0x488]
call fcn.1001ff2e
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0xe731
push 1
lea ecx, [ebp - 0x494]
call fcn.1001ff2e
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 0
jmp 0x1004fac0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004fadc
push dword [ebp - 0x24]
lea ecx, [ebp - 0x488]
call fcn.1001ffcc
mov dword [eax], 8
jmp 0x1004fab9
mov dword [ebp - 0x24], 0
jmp 0x1004faec
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1004fb02
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x50c], 0x5db5a26c
jmp 0x1004fae5
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x494]
push eax
push 0
push 0x4689
push 0x4877
push 0x1643
call fcn.1004dd39
add esp, 0x1c
cmp dword [ebp - 0x26c], 1
jne 0x1004fb3d
mov dword [ebp - 0x138], 1
jmp 0x1004fb44
and dword [ebp - 0x138], 0
push 0
lea ecx, [ebp - 0x488]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x138]
mov dword [eax], ecx
mov eax, dword [ebp - 0x26c]
add eax, dword [ebp - 0x138]
cmp eax, 0x462a
jl 0x1004fb78
mov dword [ebp - 0x1f4], 1
jmp 0x1004fb7f
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
cmp dword [ebp - 0x400], eax
jne 0x1004fba5
mov dword [ebp - 0x1fc], 1
jmp 0x1004fbac
and dword [ebp - 0x1fc], 0
cmp dword [ebp - 0x1fc], 0
jae 0x1004fbc1
mov dword [ebp - 0x14c], 1
jmp 0x1004fbc8
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x50c], ecx
push 0
lea ecx, [ebp - 0x494]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x494]
call fcn.1001ffb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.1001ffb0
jmp 0x1004fa55
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4cc]
call fcn.1001ffb0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a4]
call fcn.1001ffb0
cmp dword [ebp - 0x274], 0x38b6
jge 0x1004fc4d
mov edx, dword [ebp - 0x32c]
mov ecx, 0x1008bbb8
call fcn.100228da
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
push 8
pop ecx
shl ecx, 0
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x204], eax
push 0
call fcn.10056f19
pop ecx
mov eax, dword [ebp - 0x204]
cmp dword [eax + 4], 0
jbe 0x1005106d
push 2
lea ecx, [ebp - 0x4b4]
call fcn.1001ff2e
mov dword [ebp - 4], 5
mov dword [ebp - 0xb8], 0x9bdba76a
mov dword [ebp - 0x3ac], 0xdae8
push 0x3318
lea eax, [ebp - 0x4e8]
push eax
push 0
lea eax, [ebp - 0x4b4]
push eax
call fcn.10066ff1
add esp, 0x10
mov dword [ebp - 0xb8], 0
jmp 0x1004fcd8
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jg 0x1004fcf9
push 0
push 0x1358
lea eax, [ebp - 0x3ac]
push eax
call fcn.1005b8b9
add esp, 0xc
jmp 0x1004fccb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b4]
call fcn.1001ffb0
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0xe0]
add ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2cc], 0x72e0
mov dword [ebp - 0x430], 0x1000c98c
cmp dword [ebp - 0x2cc], 0x74e7
jle 0x1004fe47
and dword [ebp - 0xc0], 0
jmp 0x1004fd53
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x2d9b
jge 0x1004fe47
and dword [ebp - 0xc4], 0
jmp 0x1004fd79
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x2b9d
jge 0x1004fe42
and dword [ebp - 0x10c], 0
jmp 0x1004fd9f
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x45e7
jge 0x1004fe3d
and dword [ebp - 0xcc], 0
jmp 0x1004fdc5
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x2148
jge 0x1004fe38
mov eax, dword [ebp - 0xc0]
imul eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xcc]
sar eax, cl
cdq
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], edx
push dword [ebp - 0x3e0]
push dword [ebp - 0x3e4]
lea ecx, [ebp - 0x53c]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x53c]
call fcn.1001fbea
jmp 0x1004fdb8
jmp 0x1004fd92
jmp 0x1004fd6c
jmp 0x1004fd46
cmp dword [ebp - 0x2cc], 0x70f0
jge 0x1004fe5f
push dword [ebp - 0x430]
call fcn.100714f3
pop ecx
mov dword [ebp - 0x188], 0xda439beb
mov dword [ebp - 0x144], 0xfffffffc
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x114], 0xa7790412
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0x3b8], 1
mov dword [ebp - 0xd4], 3
mov dword [ebp - 0x2dc], 0xb7dc4b54
mov dword [ebp - 0x190], 0x8a41
mov dword [ebp - 0x124], 0
jmp 0x1004fecf
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 1
jge 0x1004feeb
mov eax, dword [ebp - 0x124]
mov dword [ebp + eax*4 - 0x214], 0x58aae07e
jmp 0x1004fec2
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x71a0
jne 0x1004ff90
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xd4], eax
jge 0x1004ff1f
mov dword [ebp - 0x20c], 1
jmp 0x1004ff26
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x20c], eax
jl 0x1004ff38
xor eax, eax
je 0x1004ff54
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x214], 0
je 0x1004ff54
mov dword [ebp - 0x27c], 1
jmp 0x1004ff5b
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x27c]
dec eax
mov dword [ebp - 0x2b4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp + eax - 0x214], ecx
cmp dword [ebp - 0x2b4], 0
je 0x1004ff90
mov dword [ebp - 0x21c], 1
jmp 0x1004ff97
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x21c], eax
jle 0x1004ffae
mov dword [ebp - 0x284], 1
jmp 0x1004ffb5
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x284], eax
jne 0x1004ffcf
mov dword [ebp - 0x224], 1
jmp 0x1004ffd6
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0xdc]
imul eax, eax, 0xfaa3
add eax, 9
cmp eax, dword [ebp - 0x40]
jl 0x1004fffc
mov dword [ebp - 0x33c], 1
jmp 0x10050003
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x2dc]
cmp dword [ebp - 0xdc], eax
jl 0x10050026
mov dword [ebp - 0x22c], 1
jmp 0x1005002d
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x2dc]
cmp dword [ebp - 0x22c], eax
jle 0x10050047
mov dword [ebp - 0x28c], 1
jmp 0x1005004e
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x3b8]
cmp dword [ebp - 0x28c], eax
jne 0x10050068
mov dword [ebp - 0x234], 1
jmp 0x1005006f
and dword [ebp - 0x234], 0
cmp dword [ebp - 0x234], 1
jbe 0x10050084
mov dword [ebp - 0x180], 1
jmp 0x1005008b
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x190]
cmp dword [ebp - 0x40], eax
jg 0x100500b7
mov dword [ebp - 0x344], 1
jmp 0x100500be
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x4ec], eax
xor eax, eax
inc eax
je 0x100500ed
cmp dword [ebp - 0x144], 0
je 0x100500ed
cmp dword [ebp - 0x114], 0
je 0x100500ed
mov dword [ebp - 0x40c], 1
jmp 0x100500f4
and dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x144]
inc ecx
imul ecx, dword [ebp - 0x190]
sub eax, ecx
mov dword [ebp - 0xdc], eax
jmp 0x10050127
mov eax, dword [ebp - 0x3c]
add eax, 0x14
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
call fcn.10048e13
pop ecx
movzx eax, al
test eax, eax
jne 0x1005106d
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0xc], 0
je 0x1005106d
mov dword [ebp - 0x198], 0x62ab
mov dword [ebp - 0x3c4], 0x1000c9ac
cmp dword [ebp - 0x198], 0x65eb
jle 0x10050250
and dword [ebp - 0x74], 0
jmp 0x10050179
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x4a29
jge 0x10050246
and dword [ebp - 0x6c], 0
jmp 0x10050193
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x53b7
jge 0x10050241
and dword [ebp - 0x12c], 0
jmp 0x100501b6
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0x4cb2
jge 0x1005023c
and dword [ebp - 0x64], 0
jmp 0x100501cf
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x267e
jge 0x10050237
mov eax, dword [ebp - 0x12c]
cdq
idiv dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
sub ecx, edx
mov eax, dword [ebp - 0x74]
shl eax, cl
cdq
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 0x3ec], edx
push dword [ebp - 0x3ec]
push dword [ebp - 0x3f0]
lea ecx, [ebp - 0x56c]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x56c]
call fcn.1001fbea
jmp 0x100501c8
jmp 0x100501a9
jmp 0x1005018c
jmp 0x10050172
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [ebp - 0x198], 0x5f4e
jge 0x10050268
push dword [ebp - 0x3c4]
call fcn.100714f3
pop ecx
push 2
lea ecx, [ebp - 0x168]
call fcn.1001ff2e
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], 0x2ee76f50
lea eax, [ebp - 0x168]
push eax
push 0
push 0x49bb
push 0x6a15
lea eax, [ebp - 0x4c0]
push eax
call fcn.100519f1
add esp, 0x14
mov dword [ebp - 0x1c], 1
jmp 0x100502b5
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x100504da
mov dword [ebp - 0x440], 0xc18ab9c2
mov dword [ebp - 0x7c], 0
jmp 0x100502d9
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jge 0x100502ef
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x470], 5
jmp 0x100502d2
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x470], 1
jmp 0x1005031d
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x470]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x470], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x470], 0
jl 0x100504c5
mov dword [ebp - 0x50], 0xa77c874
mov dword [ebp - 0x354], 0x1cd43096
mov dword [ebp - 0x50], 0
jmp 0x10050352
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jg 0x100504c0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
cmp dword [eax], 0
je 0x1005038e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
cmp dword [eax], 0
je 0x1005038e
mov dword [ebp - 0x1a0], 1
jmp 0x10050395
and dword [ebp - 0x1a0], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x1a0]
cmp ecx, dword [eax]
je 0x100503b9
mov dword [ebp - 0x1a8], 1
jmp 0x100503c0
and dword [ebp - 0x1a8], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x100503f0
mov dword [ebp - 0x1b0], 1
jmp 0x100503f7
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1a8]
sub eax, dword [ebp - 0x1b0]
cmp eax, dword [ebp - 0x1c]
jg 0x10050414
mov dword [ebp - 0x1b8], 1
jmp 0x1005041b
and dword [ebp - 0x1b8], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x1b8]
cmp ecx, dword [eax]
je 0x1005043f
mov dword [ebp - 0x1c0], 1
jmp 0x10050446
and dword [ebp - 0x1c0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1c0]
sub ecx, dword [ebp + eax - 0x470]
je 0x10050466
mov dword [ebp - 0x17c], 1
jmp 0x1005046d
and dword [ebp - 0x17c], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.1001ffcc
mov eax, dword [eax]
cmp eax, dword [ebp - 0x17c]
jg 0x10050491
mov dword [ebp - 0x1d0], 1
jmp 0x10050498
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x354], eax
mov byte [ebp - 0x2e], 0
push 0
lea eax, [ebp - 0x2e]
push eax
push 0x1768
call fcn.100640b0
add esp, 0xc
jmp 0x1005034b
jmp 0x10050302
lea eax, [ebp - 0x440]
push eax
push 0
call fcn.100531ad
pop ecx
pop ecx
jmp 0x100502ae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.1001ffb0
mov dword [ebp - 0x1d8], 0x340f
mov dword [ebp - 0x35c], 0x1000c9c0
cmp dword [ebp - 0x1d8], 0x34ca
jle 0x100505c5
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateICA]
and dword [ebp - 0x94], 0
jmp 0x10050531
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x7c66
jge 0x100505c5
and dword [ebp - 0x84], 0
jmp 0x10050557
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x1a0b
jge 0x100505c0
and dword [ebp - 0x8c], 0
jmp 0x10050579
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x663e
jge 0x100505be
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x8c]
sar eax, cl
or eax, dword [ebp - 0x94]
cdq
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], edx
push dword [ebp - 0x3f8]
push dword [ebp - 0x3fc]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1005056c
jmp 0x1005054a
jmp 0x10050524
cmp dword [ebp - 0x1d8], 0x31cb
jge 0x100505e1
mov edx, dword [ebp - 0x35c]
mov ecx, 0x1008bbb8
call fcn.100228da
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xe0]
add ecx, dword [eax + 0xc]
push ecx
push 0x9ea8
push 0x903e
call fcn.100468ba
pop ecx
pop ecx
call eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x10050abe
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x9c], 0
jmp 0x10050637
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x10050653
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x578], 0xfffffff9
jmp 0x1005062a
lea eax, [ebp - 0x3d0]
push eax
push 0x4ac2
push 0
push 0x6e16
push 0x51cf
push 1
call fcn.10053241
add esp, 0x18
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.10051eb1
pop ecx
pop ecx
mov dword [ebp - 0x28], 0xc0ae9714
mov dword [ebp - 0x268], 4
mov dword [ebp - 0x28], 0xffffffe2
jmp 0x100506a3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff8
jl 0x10050ab9
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001ff2e
mov dword [ebp - 4], 7
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x260], 0xffff
push 0x20c7
push 1
push 0xc35
lea eax, [ebp - 0x15c]
push eax
push 0x5901
push 0
lea eax, [ebp - 0x4a8]
push eax
call fcn.1005b7ca
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x1005070b
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10050a57
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x13c], 0x6cb4f5fd
push dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
call fcn.1001ffcc
cmp dword [eax], 0x6c74aa0d
jl 0x10050941
mov dword [ebp - 0x58], 0xfffffff9
mov dword [ebp - 0x418], 0xed13222c
cmp dword [ebp - 0x14], 2
jg 0x10050784
mov dword [ebp - 0x1f0], 1
jmp 0x1005078b
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x28], eax
jl 0x1005079f
mov dword [ebp - 0x1e0], 1
jmp 0x100507a6
and dword [ebp - 0x1e0], 0
imul eax, dword [ebp - 0x1e0], 0x9a27
test eax, eax
je 0x100507c7
push 8
pop eax
test eax, eax
je 0x100507c7
mov dword [ebp - 0x1e8], 1
jmp 0x100507ce
and dword [ebp - 0x1e8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1e8]
sub ecx, dword [ebp + eax - 0x45c]
cmp dword [ebp - 0x1f0], ecx
jg 0x100507f4
mov dword [ebp - 0x1f8], 1
jmp 0x100507fb
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x1f8], eax
je 0x10050812
mov dword [ebp - 0x200], 1
jmp 0x10050819
and dword [ebp - 0x200], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x45c]
cmp dword [ebp - 0x200], eax
jle 0x10050839
mov dword [ebp - 0x208], 1
jmp 0x10050840
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x208], 0x18bc698d
jl 0x1005085e
cmp dword [ebp - 0x28], 0
je 0x1005085e
mov dword [ebp - 0x210], 1
jmp 0x10050865
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x210], eax
jle 0x1005087c
mov dword [ebp - 0x218], 1
jmp 0x10050883
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x220]
mov dword [eax], ecx
mov eax, dword [ebp - 0x218]
sub eax, 0x19cc8da8
cmp dword [ebp - 0x220], eax
jne 0x100508c1
mov dword [ebp - 0x228], 1
jmp 0x100508c8
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x228], eax
jle 0x100508df
mov dword [ebp - 0x230], 1
jmp 0x100508e6
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x230], eax
jl 0x100508fd
mov dword [ebp - 0x364], 1
jmp 0x10050904
and dword [ebp - 0x364], 0
push 0
lea ecx, [ebp - 0x15c]
call fcn.1001ffcc
push 0
lea ecx, [ebp - 0x15c]
call fcn.1001ffcc
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x418], eax
jmp 0x10050a52
mov dword [ebp - 0x36c], 0x494d85d5
push 0
lea ecx, [ebp - 0x15c]
call fcn.1001ffcc
cmp dword [eax], 0xe5fe
jge 0x1005096c
mov dword [ebp - 0x240], 1
jmp 0x10050973
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x14], 0
jne 0x1005099e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x45c]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x1005099e
and dword [ebp - 0x238], 0
jmp 0x100509a8
mov dword [ebp - 0x238], 1
imul eax, dword [ebp - 0x238], 0x1295
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x45c]
je 0x100509cc
mov dword [ebp - 0x248], 1
jmp 0x100509d3
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x248]
je 0x100509ed
mov dword [ebp - 0x250], 1
jmp 0x100509f4
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x250], eax
jne 0x10050a11
mov eax, 0xc74e2b78
test eax, eax
jne 0x10050a11
and dword [ebp - 0x258], 0
jmp 0x10050a1b
mov dword [ebp - 0x258], 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x258]
mov dword [eax], ecx
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x268]
push eax
push 1
lea eax, [ebp - 0x36c]
push eax
push 0
call fcn.1005b1c2
add esp, 0x14
jmp 0x10050704
lea eax, [ebp - 0x14]
push eax
push 0x7895
lea eax, [ebp - 0x260]
push eax
push 0x4ca0
push 0x2d55
lea eax, [ebp - 0x28]
push eax
push 1
push 0x4dce
push 0x75e
push 1
push 1
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x5211
push 0x4cd
call fcn.1004c738
add esp, 0x3c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.1001ffb0
jmp 0x1005069c
jmp 0x1005106d
mov dword [ebp - 0x18], 0xffffffff
push 1
lea ecx, [ebp - 0x44c]
call fcn.1001ff2e
mov dword [ebp - 4], 8
mov dword [ebp - 0xd0], 0xfffffffb
mov dword [ebp - 0x3e8], 0xfff9
mov dword [ebp - 0x384], 0x2dd
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call fcn.100681b8
add esp, 0xc
mov dword [ebp - 0x270], 0x129f
mov dword [ebp - 0x3dc], 0x1000c9f8
cmp dword [ebp - 0x270], 0x14d5
jle 0x10050c1f
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
and dword [ebp - 0xa4], 0
jmp 0x10050b57
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x9b1
jge 0x10050c1f
and dword [ebp - 0xac], 0
jmp 0x10050b7d
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x5217
jge 0x10050c1a
and dword [ebp - 0xb4], 0
jmp 0x10050ba3
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x564f
jge 0x10050c15
and dword [ebp - 0xc8], 0
jmp 0x10050bc5
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x85e
jge 0x10050c13
mov ecx, dword [ebp - 0xa4]
xor ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb4]
cdq
idiv dword [ebp - 0xc8]
xor ecx, edx
mov eax, ecx
cdq
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x404], edx
push dword [ebp - 0x404]
push dword [ebp - 0x408]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x10050bb8
jmp 0x10050b96
jmp 0x10050b70
jmp 0x10050b4a
cmp dword [ebp - 0x270], 0x11ed
jge 0x10050c3b
mov edx, dword [ebp - 0x3dc]
mov ecx, 0x1008bbb8
call fcn.100228da
cmp dword [ebp - 0x18], 0xf394a2a4
je 0x10050c50
mov dword [ebp - 0x374], 1
jmp 0x10050c57
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x278], eax
push 0
lea ecx, [ebp - 0x44c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x278]
mov dword [eax], ecx
cmp dword [ebp - 0x278], 0
jne 0x10050c91
mov eax, dword [ebp - 0x18]
neg eax
cmp eax, dword [ebp - 0x18]
jne 0x10050c91
and dword [ebp - 0x280], 0
jmp 0x10050c9b
mov dword [ebp - 0x280], 1
mov eax, dword [ebp - 0x280]
add eax, 9
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jg 0x10050cc5
mov dword [ebp - 0x288], 1
jmp 0x10050ccc
and dword [ebp - 0x288], 0
cmp dword [ebp - 0x288], 1
je 0x10050ce1
mov dword [ebp - 0x290], 1
jmp 0x10050ce8
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x290]
sub ecx, dword [ebp - 0x18]
imul ecx, ecx, 0xffff
add ecx, dword [ebp - 0x18]
sub eax, ecx
jne 0x10050d1c
push 0
lea ecx, [ebp - 0x44c]
call fcn.1001ffcc
cmp dword [eax], 0
jne 0x10050d1c
and dword [ebp - 0x438], 0
jmp 0x10050d26
mov dword [ebp - 0x438], 1
cmp dword [ebp - 0xd0], 0xffffffff
jne 0x10050d5e
mov dword [ebp - 0x37c], 0xffffffff
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x37c]
push eax
call fcn.10058798
add esp, 0x14
jmp 0x10050db1
mov byte [ebp - 0x2d], 0
push 0x62bd
push 1
push 0x1435
push 1
push 0x436e
push 0x7273
lea eax, [ebp - 0x2d]
push eax
call fcn.1004dd39
add esp, 0x1c
push 0x7cac
push 1
push 0x3b98
push 0x4c83
push 0x7026
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3e8]
push eax
call fcn.1005b02a
add esp, 0x20
push 1
push 1
push 1
lea eax, [ebp - 0x384]
push eax
call fcn.1004d7f4
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.1001ffb0
push 0
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x47d4
call fcn.100643c5
add esp, 0x10
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 8], 0
jne 0x10050ed6
push 0x74e
push 1
push 0x57de
push 0x787e
push 1
push 1
push 0xb1c
push 0x79f4
push 0x3d76
call fcn.1004de30
add esp, 0x24
lea eax, [ebp - 0x54]
push eax
push 0
push 0x3d7a
call fcn.10067548
add esp, 0xc
mov dword [ebp - 0x38], 7
mov dword [ebp - 0xd8], 0
jmp 0x10050e56
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 1
jge 0x10050e72
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x140], 0xc204e2db
jmp 0x10050e49
mov dword [ebp - 0x38], 0
jmp 0x10050e82
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10050e98
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x140], 0xe57ad95e
jmp 0x10050e7b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x140], 4
ja 0x10050eb4
mov dword [ebp - 0x298], 1
jmp 0x10050ebb
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x298]
sub eax, dword [ebp - 0x38]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x140], eax
jmp 0x1005106d
push 1
push 0x4724
push 1
push 0x62e6
push 0x48ec
push 0xbc7
push 0x1f93
push 0x7188
push 0x2845
push 0x4da6
push 0x3c38
push 0xe34
call fcn.1004e692
add esp, 0x30
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0xe0]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x4c]
call fcn.100493dd
add esp, 0x18
mov dword [ebp - 0x394], 0xffffffff
mov dword [ebp - 0x2a8], 0xc975
mov dword [ebp - 0x3f4], 0xfffffff7
mov dword [ebp - 0x424], 0x9e71b35
mov dword [ebp - 0x38c], 1
mov dword [ebp - 0x2a0], 0x5feaf86f
mov dword [ebp - 0x314], 0x169ff4ca
mov dword [ebp - 0x4e4], 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x2a27
lea eax, [ebp - 0x38c]
push eax
push 0
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x394]
push eax
push 0x4133
lea eax, [ebp - 0x2a0]
push eax
call fcn.1005a98d
add esp, 0x24
push 0x5700
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x1ef1
push 0
lea eax, [ebp - 0x314]
push eax
call fcn.100522d0
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0xe0]
lea eax, [ebp - 0x148]
push eax
call fcn.10049890
add esp, 0x14
push 1
push 0x669f
push 1
push 0x1a13
push 0x453c
push 0x73f1
push 0x4a7c
push 0x2624
push 0x6cd5
push 0x29c5
call fcn.1004e2ae
add esp, 0x28
cmp dword [ebp - 0x54], 0
jne 0x10051068
push 0
push 0x1f0a
push 1
call fcn.10066ae5
add esp, 0xc
jmp 0x1005106d
jmp 0x1005011e
mov dword [ebp - 0x2b0], 0x5497
mov dword [ebp - 0x328], 0x1000ca50
cmp dword [ebp - 0x2b0], 0x56f2
jle 0x10051114
and dword [ebp - 0xe8], 0
jmp 0x100510a7
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x1b7e
jge 0x10051108
and dword [ebp - 0xf0], 0
jmp 0x100510c9
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x1c28
jge 0x10051106
mov eax, dword [ebp - 0xe8]
xor eax, dword [ebp - 0xf0]
cdq
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], edx
push dword [ebp - 0x410]
push dword [ebp - 0x414]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x100510bc
jmp 0x1005109a
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
cmp dword [ebp - 0x2b0], 0x51bd
jge 0x10051130
mov edx, dword [ebp - 0x328]
mov ecx, 0x1008bbb8
call fcn.100228da
mov dword [ebp - 0x44], 7
mov dword [ebp - 0xf8], 0
jmp 0x10051150
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 1
jge 0x1005116c
mov eax, dword [ebp - 0xf8]
mov dword [ebp + eax*4 - 0x150], 0xc204e2db
jmp 0x10051143
mov dword [ebp - 0x44], 0
jmp 0x1005117c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10051192
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x150], 0xe57ad95e
jmp 0x10051175
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x150], 4
ja 0x100511ae
mov dword [ebp - 0x2b8], 1
jmp 0x100511b5
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
sub eax, dword [ebp - 0x44]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x150], eax
mov dword [ebp - 0x2c0], 0xfac
mov dword [ebp - 0x340], 0x1000ca68
cmp dword [ebp - 0x2c0], 0x1390
jle 0x100512a0
and dword [ebp - 0x100], 0
jmp 0x10051205
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0x3b5b
jge 0x10051290
and dword [ebp - 0x108], 0
jmp 0x10051227
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x77dd
jge 0x1005128b
mov eax, dword [ebp - 0x100]
imul eax, dword [ebp - 0x108]
cdq
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], edx
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x590]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x590]
call fcn.1001fbea
jmp 0x1005121a
jmp 0x100511f8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
cmp dword [ebp - 0x2c0], 0xc92
jge 0x100512c3
push dword [ebp - 0x340]
call fcn.100714f3
pop ecx
jmp 0x1005140d
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0
jmp 0x1005130d
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], 2
jge 0x1005132d
mov eax, dword [ebp - 0x5c]
push dword [eax]
mov ecx, dword [ebp - 0x2f4]
call fcn.1001ffcc
mov dword [eax], 3
jmp 0x10051302
jmp 0x1005140d
mov dword [ebp - 0x2c8], 0x380
mov dword [ebp - 0x2f8], 0x1000cad0
cmp dword [ebp - 0x2c8], 0x5f4
jle 0x100513c9
and dword [ebp - 0x110], 0
jmp 0x10051368
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x3e11
jge 0x100513c9
and dword [ebp - 0x118], 0
jmp 0x1005138a
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x51cc
jge 0x100513c7
mov eax, dword [ebp - 0x110]
and eax, dword [ebp - 0x118]
cdq
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], edx
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1005137d
jmp 0x1005135b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x2c8], 0x35c
jge 0x100513ee
mov edx, dword [ebp - 0x2f8]
mov ecx, 0x1008bbb8
call fcn.100228da
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x308], eax
push dword [ebp - 0x300]
push 1
push dword [ebp - 0x308]
call fcn.10048ce4
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret