Function at 0x100498af
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077d55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
push esi
push edi
mov dword [ebp - 0x24], 0xce9d05ba
mov dword [ebp - 0x324], 0x135e1f6f
mov dword [ebp - 0x2f0], 0x59141a9
mov dword [ebp - 0x310], 0x9161d594
mov dword [ebp - 0x318], 0xfffffffd
mov dword [ebp - 0x320], 0xd6b9c2d6
mov dword [ebp - 0x328], 0xdb7758b3
mov dword [ebp - 0x14], 0
jmp 0x10049922
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10049938
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x254], 0x5e7a66fe
jmp 0x1004991b
mov dword [ebp - 0x14], 0
jmp 0x10049948
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004995e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x374], 0xffffffff
jmp 0x10049941
mov dword [ebp - 0x14], 0
jmp 0x1004996e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10049984
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x348], 0xffffffff
jmp 0x10049967
mov dword [ebp - 0x24], 0
jmp 0x10049994
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x100499fe
mov dword [ebp - 0x5c], 0xf82ff40f
mov dword [ebp - 0x5c], 0
jmp 0x100499b1
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jg 0x100499ed
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x100499d7
push 0
push 0x1d87
push 0x1a19
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x254]
mov dword [ebp + ecx*4 - 0x254], eax
jmp 0x100499aa
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x254], 0
je 0x100499fc
jmp 0x100499fe
jmp 0x1004998d
mov dword [ebp - 0x24], 0
jmp 0x10049a0e
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff4
jl 0x10049a61
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x78], 0
jmp 0x10049a2e
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x10049a44
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x394], 0
jmp 0x10049a27
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x348]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x348], eax
jmp 0x10049a07
mov dword [ebp - 0x94], 0xf1d8987
push 4
lea ecx, [ebp - 0x1f8]
call fcn.10024b0c
and dword [ebp - 4], 0
mov dword [ebp - 0xc0], 0x5fec46bc
mov dword [ebp - 0x208], 5
mov dword [ebp - 0x28], 0
jmp 0x10049aa0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x10049abc
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1f8]
call fcn.10024b73
mov dword [eax], 0xbd035c5
jmp 0x10049a99
mov dword [ebp - 0x28], 0
jmp 0x10049acc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x10049ae2
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x2b8], 0xffff
jmp 0x10049ac5
cmp dword [ebp - 0x94], 0
jne 0x10049b06
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10024b73
cmp dword [eax], 0
jne 0x10049b06
and dword [ebp - 0x1e4], 0
jmp 0x10049b10
mov dword [ebp - 0x1e4], 1
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x338], eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10024b73
cmp dword [eax], 0
je 0x10049b4f
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0x2b8], 0x6076
test eax, eax
je 0x10049b4f
mov dword [ebp - 0x124], 1
jmp 0x10049b56
and dword [ebp - 0x124], 0
push 2
lea ecx, [ebp - 0x1f8]
call fcn.10024b73
mov ecx, dword [ebp - 0x124]
add ecx, dword [eax]
cmp ecx, 1
jb 0x10049b7c
mov dword [ebp - 0x1d4], 1
jmp 0x10049b83
and dword [ebp - 0x1d4], 0
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10024b73
mov ecx, dword [ebp - 0x1d4]
cmp ecx, dword [eax]
jne 0x10049ba6
mov dword [ebp - 0xb0], 1
jmp 0x10049bad
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b8]
cmp dword [ebp - 0xb0], eax
jl 0x10049bce
mov dword [ebp - 0x1dc], 1
jmp 0x10049bd5
and dword [ebp - 0x1dc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b8]
add eax, dword [ebp - 0x1dc]
cmp eax, 0xe5077045
jne 0x10049bfb
mov dword [ebp - 0xb8], 1
jmp 0x10049c02
and dword [ebp - 0xb8], 0
push 1
lea ecx, [ebp - 0x1f8]
call fcn.10024b73
mov ecx, dword [ebp - 0xb8]
add ecx, dword [eax]
sub ecx, dword [ebp - 0xc0]
cmp dword [ebp - 0x1e4], ecx
je 0x10049c31
mov dword [ebp - 0x1ec], 1
jmp 0x10049c38
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x1ec]
cmp eax, dword [ebp - 0xc0]
jle 0x10049c58
mov dword [ebp - 0xc4], 1
jmp 0x10049c5f
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x2b8]
cmp dword [ebp - 0xc4], eax
jne 0x10049c80
mov dword [ebp - 0x160], 1
jmp 0x10049c87
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x208], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10024b6e
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x350], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffe9
jmp 0x10049cc3
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xf
je 0x10049d24
mov dword [ebp - 0x7c], 1
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x10049cef
push 0
push 0
push 0x266f
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov dword [ebp - 0x7c], 0
jmp 0x10049cff
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 8
jne 0x10049d22
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x10049d20
push 0
push 0
push 0xbbc
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x10049cf8
jmp 0x10049cbc
movzx eax, byte [0x106e3910]
test eax, eax
je 0x10049d42
mov esi, 0x1061ec34
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1004af89
mov dword [ebp - 0x358], 0xde0bcd8c
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x10049d60
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10049d7e
push 0xcc0
push 0x1f1d
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov dword [ebp - 0x2fc], 0x1061ec34
mov dword [ebp - 0x10], 0x11f07b4b
mov dword [ebp - 0x1c], 0xdedb5cab
mov dword [ebp - 0x64], 0xb691
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x220], 0xaa68
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x74], 0
jmp 0x10049dc8
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x10049dde
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x36c], 0
jmp 0x10049dc1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x10049dfb
mov dword [ebp - 0x1a8], 1
jmp 0x10049e02
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2cc], eax
push 4
pop eax
test eax, eax
je 0x10049e36
mov eax, 0xe124dc41
test eax, eax
je 0x10049e36
cmp dword [ebp - 0x10], 0
je 0x10049e36
mov dword [ebp - 0xd8], 1
jmp 0x10049e3d
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xd8], eax
je 0x10049e54
mov dword [ebp - 0xe0], 1
jmp 0x10049e5b
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0xe0]
jle 0x10049e75
mov dword [ebp - 0x168], 1
jmp 0x10049e7c
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x168]
jge 0x10049e99
mov dword [ebp - 0xe8], 1
jmp 0x10049ea0
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x64]
add eax, 0x492527ea
cmp eax, dword [ebp - 0x10]
jne 0x1004a1a4
mov dword [ebp - 0x54], 0xc0223dec
mov dword [ebp - 0x68], 0xf1e2cd84
mov dword [ebp - 0x110], 0xc35cf455
mov dword [ebp - 0x108], 0xffffffff
mov dword [ebp - 0x1d0], 0xd68e480b
mov dword [ebp - 0x248], 0xdd57
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x54], 0
je 0x10049f9b
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x54]
cmp eax, 0x105807c1
jle 0x10049f26
mov dword [ebp - 0x25c], 1
jmp 0x10049f2d
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x1c], 0
je 0x10049f57
cmp dword [ebp - 0x54], 0
je 0x10049f57
mov dword [ebp - 0x1e8], 1
jmp 0x10049f5e
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xc6f0
jge 0x10049f76
mov dword [ebp - 0xf0], 1
jmp 0x10049f7d
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0xf0]
imul eax, dword [ebp - 0x54]
test eax, eax
je 0x10049f9b
mov dword [ebp - 0x170], 1
jmp 0x10049fa2
and dword [ebp - 0x170], 0
imul eax, dword [ebp - 0x170], 0xd1cc
cmp eax, 0xfffffff9
jb 0x10049fbd
mov dword [ebp - 0xf8], 1
jmp 0x10049fc4
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10049fe5
cmp dword [ebp - 0x68], 0
je 0x10049fe5
mov dword [ebp - 0x1b0], 1
jmp 0x10049fec
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0x67dcc35
jne 0x1004a004
mov dword [ebp - 0x100], 1
jmp 0x1004a00b
and dword [ebp - 0x100], 0
imul eax, dword [ebp - 0x100], 0xfffb
cmp eax, dword [ebp - 0x54]
jge 0x1004a026
mov dword [ebp - 0x178], 1
jmp 0x1004a02d
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x110], eax
xor eax, eax
jne 0x1004a135
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xebf624e1
jne 0x1004a06e
mov dword [ebp - 0x180], 1
jmp 0x1004a075
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x10]
jne 0x1004a092
mov dword [ebp - 0x118], 1
jmp 0x1004a099
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x118], eax
jle 0x1004a0b0
mov dword [ebp - 0x1b8], 1
jmp 0x1004a0b7
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 1
jge 0x1004a0cc
mov dword [ebp - 0x120], 1
jmp 0x1004a0d3
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0x64], eax
jge 0x1004a0ed
mov dword [ebp - 0x188], 1
jmp 0x1004a0f4
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x188], eax
jle 0x1004a105
cmp dword [ebp - 0x68], 0
je 0x1004a11a
mov eax, 0x161dbfa2
test eax, eax
je 0x1004a11a
mov dword [ebp - 0x128], 1
jmp 0x1004a121
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x64]
jne 0x1004a135
and dword [ebp - 0x264], 0
jmp 0x1004a13f
mov dword [ebp - 0x264], 1
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1c], eax
jl 0x1004a153
mov dword [ebp - 0x26c], 1
jmp 0x1004a15a
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x10], eax
jle 0x1004a16e
mov dword [ebp - 0x1e0], 1
jmp 0x1004a175
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x1e0], eax
je 0x1004a18f
mov dword [ebp - 0x130], 1
jmp 0x1004a196
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x34], eax
jmp 0x1004a469
push 4
lea ecx, [ebp - 0x2a8]
call fcn.10024b0c
mov dword [ebp - 4], 1
mov dword [ebp - 0x2bc], 0xdb5e4941
mov dword [ebp - 0x2e4], 0xffffffff
mov dword [ebp - 0x354], 0x283bd055
mov dword [ebp - 0x2ec], 0x7ec325df
mov dword [ebp - 0x2f8], 0x2706978b
mov dword [ebp - 0x2f4], 0x9415f902
mov dword [ebp - 0x1c8], 0x1d2e80b3
mov dword [ebp - 0x70], 0
jmp 0x1004a20e
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 4
jge 0x1004a22a
push dword [ebp - 0x70]
lea ecx, [ebp - 0x2a8]
call fcn.10024b73
mov dword [eax], 0xc0825fc6
jmp 0x1004a207
mov dword [ebp - 0x1c], 0
jmp 0x1004a23a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 6
jne 0x1004a44d
mov dword [ebp - 0x140], 0xfffffffd
mov dword [ebp - 0x22c], 0xfffffff8
mov dword [ebp - 0x34], 0
jmp 0x1004a268
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x14
jge 0x1004a448
mov dword [ebp - 0x1c0], 0xa534c8a1
mov dword [ebp - 0x150], 9
mov dword [ebp - 0x24c], 0x4023a1bf
mov dword [ebp - 0x10], 3
jmp 0x1004a2a0
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004a443
mov dword [ebp - 0x21c], 0x3a031552
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1004a2cd
push 0
push 0xae7
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
cmp dword [ebp - 0x220], 1
jg 0x1004a2e2
mov dword [ebp - 0x218], 1
jmp 0x1004a2e9
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x300], eax
mov eax, 0x3651
cmp eax, 0xfff6
jae 0x1004a316
cmp dword [ebp - 0x140], 0
je 0x1004a316
mov dword [ebp - 0x190], 1
jmp 0x1004a31d
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0xf0e761d3
ja 0x1004a335
mov dword [ebp - 0x138], 1
jmp 0x1004a33c
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xf2dc1352
je 0x1004a354
mov dword [ebp - 0x268], 1
jmp 0x1004a35b
and dword [ebp - 0x268], 0
push 3
lea ecx, [ebp - 0x2a8]
call fcn.10024b73
mov dword [ebp - 0x1c0], 0xdaee
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x36c]
mov ecx, dword [ebp - 0x224]
neg ecx
sub eax, ecx
cmp dword [ebp - 0x1c0], eax
jg 0x1004a39a
mov dword [ebp - 0x198], 1
jmp 0x1004a3a1
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0x198], eax
jne 0x1004a3bb
mov dword [ebp - 0x148], 1
jmp 0x1004a3c2
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0xffffffff
jl 0x1004a3d7
mov dword [ebp - 0x1d8], 1
jmp 0x1004a3de
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jl 0x1004a3ff
mov dword [ebp - 0x1a0], 1
jmp 0x1004a406
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x36c]
cmp dword [ebp - 0x1a0], eax
jle 0x1004a424
mov dword [ebp - 0x158], 1
jmp 0x1004a42b
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x24c]
imul eax, dword [ebp - 0x158]
mov dword [ebp - 0x22c], eax
jmp 0x1004a299
jmp 0x1004a261
jmp 0x1004a233
mov eax, dword [ebp - 0x1c8]
inc eax
mov dword [ebp - 0x1c8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.10024b6e
mov dword [ebp - 0x308], 0x1061ec38
mov dword [ebp - 0x32c], 0
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x1004a494
push 0x4f8
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004a4ad
push 0x264e
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov byte [0x106e3910], 1
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x1061ea20
mov dword [ebp - 0x16c], eax
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x1061ea20
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x16c]
mov dword [0x1061ec34], eax
mov dword [ebp - 0x90], 0xca4f833f
mov dword [ebp - 0x9c], 6
mov dword [ebp - 0xa4], 0xe864896e
push 3
lea ecx, [ebp - 0x204]
call fcn.10024b0c
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0x3782ecc9
mov dword [ebp - 0x27c], 1
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x60], 0
jmp 0x1004a55c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1004a575
push dword [ebp - 0x60]
lea ecx, [ebp - 0x204]
call fcn.10024b73
or dword [eax], 0xffffffff
jmp 0x1004a555
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x90]
cmp eax, 0xffffffff
jne 0x1004a59e
mov dword [ebp - 0xd4], 1
jmp 0x1004a5a5
and dword [ebp - 0xd4], 0
push 2
lea ecx, [ebp - 0x204]
call fcn.10024b73
cmp dword [eax], 0x753589fe
je 0x1004a5c6
mov dword [ebp - 0xbc], 1
jmp 0x1004a5cd
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x234]
jl 0x1004a60a
mov dword [ebp - 0xdc], 1
jmp 0x1004a611
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0xdc]
jl 0x1004a62b
mov dword [ebp - 0xe4], 1
jmp 0x1004a632
and dword [ebp - 0xe4], 0
imul eax, dword [ebp - 0xe4], 0x4956
test eax, eax
je 0x1004a8d2
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x1004a8d2
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x29c], 1
mov dword [ebp - 0x298], 1
mov dword [ebp - 0x294], 1
mov dword [ebp - 0x290], 1
lea ecx, [ebp - 0x89]
call fcn.10024b82
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x38c]
call fcn.10024b85
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x244]
call fcn.10024b48
mov byte [ebp - 4], 3
mov dword [ebp - 0x304], 0x63028ec7
mov dword [ebp - 0x34c], 0x3b3e2401
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x58], 0xe6c8
je 0x1004a6e9
mov dword [ebp - 0x10c], 1
jmp 0x1004a6f0
and dword [ebp - 0x10c], 0
push 2
lea ecx, [ebp - 0x244]
call fcn.10024b73
cmp dword [eax], 0xf22a
je 0x1004a711
mov dword [ebp - 0xec], 1
jmp 0x1004a718
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x38]
push 2
lea ecx, [ebp - 0x244]
call fcn.10024b73
sub esi, dword [eax]
cmp esi, dword [ebp - 0x90]
jg 0x1004a747
mov dword [ebp - 0xf4], 1
jmp 0x1004a74e
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0xf23e4692
je 0x1004a766
mov dword [ebp - 0xfc], 1
jmp 0x1004a76d
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0x4a21
jl 0x1004a785
mov dword [ebp - 0x104], 1
jmp 0x1004a78c
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
sub eax, 0x73d
cmp eax, 0xacb2d505
ja 0x1004a7aa
mov dword [ebp - 0x114], 1
jmp 0x1004a7b1
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x114]
sub eax, 0x9807
cmp dword [ebp - 0x58], eax
je 0x1004a7d6
mov dword [ebp - 0x11c], 1
jmp 0x1004a7dd
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xa4]
push 0
lea ecx, [ebp - 0x204]
call fcn.10024b73
cmp dword [ebp - 0x58], 1
je 0x1004a80e
mov dword [ebp - 0x12c], 1
jmp 0x1004a815
and dword [ebp - 0x12c], 0
push 1
lea ecx, [ebp - 0x204]
call fcn.10024b73
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [eax]
jge 0x1004a867
mov dword [ebp - 0x38], 0
jmp 0x1004a83c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x1004a865
push 2
lea ecx, [ebp - 0x244]
call fcn.10024b73
mov esi, eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x244]
call fcn.10024b73
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1004a835
jmp 0x1004a8be
mov dword [ebp - 0x258], 0xf4ae
mov dword [ebp - 0x334], 0xea0262b0
mov dword [ebp - 0x314], 0x9107
mov dword [ebp - 0x2c0], 0xfffffff8
mov dword [ebp - 0x2c8], 0x15eac84c
mov dword [ebp - 0x258], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x27c]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x27c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.10024b6e
jmp 0x1004a958
mov dword [ebp - 0x80], 0
jmp 0x1004a8e2
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 4
jge 0x1004a8f8
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x384], 0xffffffff
jmp 0x1004a8db
mov dword [ebp - 0x2c], 0
jmp 0x1004a908
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x1004a958
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x278], 0xfffffff6
jg 0x1004a927
mov dword [ebp - 0x134], 1
jmp 0x1004a92e
and dword [ebp - 0x134], 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x204]
call fcn.10024b73
mov ecx, dword [ebp - 0x134]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x384], 0
je 0x1004a956
jmp 0x1004a958
jmp 0x1004a901
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10024b6e
mov eax, dword [ebp - 0x98]
mov dword [0x1061ec38], eax
mov dword [ebp - 0x4c], 0xfffffff8
mov dword [ebp - 0x214], 0x6890
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x4c], 0
jmp 0x1004a99d
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffe9
jg 0x1004ab4f
push 3
lea ecx, [ebp - 0x288]
call fcn.10024b0c
mov dword [ebp - 4], 4
mov dword [ebp - 0x13c], 0x874b28ed
mov dword [ebp - 0x144], 0x3a4c924b
mov dword [ebp - 0x30], 0
jmp 0x1004a9df
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004a9fb
push dword [ebp - 0x30]
lea ecx, [ebp - 0x288]
call fcn.10024b73
mov dword [eax], 0x4a8b108f
jmp 0x1004a9d8
mov dword [ebp - 0x30], 0
jmp 0x1004aa0b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004aa1e
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x44], 0xfffffffc
jmp 0x1004aa04
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x44], 0
jmp 0x1004aa43
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x44], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 2
jg 0x1004ab3b
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
sub eax, 0x4dd82c8d
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x4c], eax
jle 0x1004aa88
mov dword [ebp - 0x14c], 1
jmp 0x1004aa8f
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0x5c28
jle 0x1004aaa7
mov dword [ebp - 0x154], 1
jmp 0x1004aaae
and dword [ebp - 0x154], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp eax, dword [ebp - 0x154]
jne 0x1004aacc
mov dword [ebp - 0x15c], 1
jmp 0x1004aad3
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x44]
lea ecx, [ebp - 0x288]
call fcn.10024b73
mov dword [eax], 6
mov eax, dword [ebp - 0x15c]
neg eax
cmp eax, 6
je 0x1004ab07
mov dword [ebp - 0x164], 1
jmp 0x1004ab0e
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x210], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x44]
lea ecx, [ebp - 0x288]
call fcn.10024b73
cmp dword [eax], 0
je 0x1004ab36
jmp 0x1004ab3b
jmp 0x1004aa2e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.10024b6e
jmp 0x1004a996
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + ecx]
call fcn.1004986e
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x98]
mov edx, 0x1061e9cc
mov ecx, dword [ebp - 0x20c]
call fcn.1004987a
pop ecx
mov dword [ebp - 0x20], 0x1f7e2799
mov dword [ebp - 0x2d0], 1
mov dword [ebp - 0x2d8], 1
mov dword [ebp - 0x88], 0
jmp 0x1004abc9
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x1004abe5
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x1a4], 3
jmp 0x1004abbc
mov dword [ebp - 0x20], 0x1a
jmp 0x1004abf5
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 5
jle 0x1004af7b
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x2e0], 1
mov dword [ebp - 0x1c4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1004ad3a
cmp dword [ebp - 0x18], 0
je 0x1004ac36
cmp dword [ebp - 0x20], 0
jne 0x1004ac45
cmp dword [ebp - 0x20], 0
jne 0x1004ac45
and dword [ebp - 0x174], 0
jmp 0x1004ac4f
mov dword [ebp - 0x174], 1
cmp dword [ebp - 0x174], 0xffffffff
jle 0x1004ac68
xor eax, eax
je 0x1004ac68
mov dword [ebp - 0x17c], 1
jmp 0x1004ac6f
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x17c], eax
jl 0x1004ac86
mov dword [ebp - 0x184], 1
jmp 0x1004ac8d
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xa53f
jg 0x1004aca5
mov dword [ebp - 0x18c], 1
jmp 0x1004acac
and dword [ebp - 0x18c], 0
mov eax, 0x6881
sub eax, dword [ebp - 0x18c]
cmp eax, 0x64b
je 0x1004acd0
cmp dword [ebp - 0x20], 0
je 0x1004acd0
mov dword [ebp - 0x194], 1
jmp 0x1004acd7
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x194], eax
je 0x1004acee
mov dword [ebp - 0x19c], 1
jmp 0x1004acf5
and dword [ebp - 0x19c], 0
imul eax, dword [ebp - 0x19c], 0x6c0e
test eax, eax
je 0x1004ad3a
mov dword [ebp - 0x18], 0
jmp 0x1004ad13
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1004ad35
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1004ad33
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1004ad0c
jmp 0x1004af62
push 1
lea ecx, [ebp - 0xd0]
call fcn.10024b0c
mov dword [ebp - 4], 5
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa0], 0xf4f2d891
mov dword [ebp - 0x84], 0
jmp 0x1004ad7b
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1004ad9d
push dword [ebp - 0x84]
lea ecx, [ebp - 0xd0]
call fcn.10024b73
mov dword [eax], 0xbfe7374
jmp 0x1004ad6e
push 0
lea ecx, [ebp - 0xd0]
call fcn.10024b73
cmp dword [eax], 1
je 0x1004adbb
mov dword [ebp - 0x228], 1
jmp 0x1004adc2
and dword [ebp - 0x228], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.10024b73
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1a4]
cmp dword [eax], ecx
jne 0x1004adec
mov dword [ebp - 0x1ac], 1
jmp 0x1004adf3
and dword [ebp - 0x1ac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a4]
cmp dword [ebp - 0x1ac], eax
jge 0x1004ae14
mov dword [ebp - 0x1b4], 1
jmp 0x1004ae1b
and dword [ebp - 0x1b4], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.10024b73
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [eax]
jge 0x1004ae3e
mov dword [ebp - 0x230], 1
jmp 0x1004ae45
and dword [ebp - 0x230], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.10024b73
mov eax, 0x26232c2a
test eax, eax
jne 0x1004ae6a
cmp dword [ebp - 0x18], 0
jne 0x1004ae6a
and dword [ebp - 0x238], 0
jmp 0x1004ae74
mov dword [ebp - 0x238], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2e8], eax
push 0
lea ecx, [ebp - 0xd0]
call fcn.10024b73
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
cmp eax, 0xfffffffd
jne 0x1004aea1
mov dword [ebp - 0x1bc], 1
jmp 0x1004aea8
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x18]
neg eax
cmp dword [ebp - 0x18], eax
jge 0x1004aeca
mov dword [ebp - 0x1cc], 1
jmp 0x1004aed1
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1c4]
dec eax
mov dword [ebp - 0x1c4], eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0xa0]
cmp eax, 0xffffffff
jne 0x1004af07
push 0
lea ecx, [ebp - 0xd0]
call fcn.10024b73
cmp dword [eax], 0
jne 0x1004af07
and dword [ebp - 0xa8], 0
jmp 0x1004af11
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1cc]
add eax, 0xfff9
cmp eax, dword [ebp - 0xa8]
je 0x1004af34
mov dword [ebp - 0xac], 1
jmp 0x1004af3b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.10024b6e
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x1004af76
push 0
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1004abee
mov esi, 0x1061ec34
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret