Function at 0x1004e7a8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100741b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push esi
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x28], 0x9753589f
mov dword [ebp - 0x268], 0x83c17a3f
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x270], 0xf5ee8790
mov dword [ebp - 0xc0], 0xfffffff9
mov dword [ebp - 0x18], 0xfffffffc
jmp 0x1004e815
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x16
jge 0x1004e8f8
mov dword [ebp - 0xa4], 0xfffffffa
cmp dword [ebp - 0x18], 0
je 0x1004e85c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x50], 0
je 0x1004e85c
mov dword [ebp - 0x148], 1
jmp 0x1004e863
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x148]
je 0x1004e87d
mov dword [ebp - 0x278], 1
jmp 0x1004e884
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x278], eax
jl 0x1004e89b
mov dword [ebp - 0x280], 1
jmp 0x1004e8a2
and dword [ebp - 0x280], 0
imul eax, dword [ebp - 0x280], 0xffffffff
test eax, eax
jne 0x1004e8bf
cmp dword [ebp - 0xa4], 0
jne 0x1004e8bf
and dword [ebp - 0x288], 0
jmp 0x1004e8c9
mov dword [ebp - 0x288], 1
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x288]
jg 0x1004e8e3
mov dword [ebp - 0x290], 1
jmp 0x1004e8ea
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x28], eax
jmp 0x1004e80e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x384], eax
cmp dword [ebp - 0x28], 0
je 0x1004e97a
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
je 0x1004e91b
mov dword [ebp - 0x1ec], 1
jmp 0x1004e922
and dword [ebp - 0x1ec], 0
cmp dword [ebp - 0x1ec], 0x63b88216
jl 0x1004e93a
mov dword [ebp - 0x130], 1
jmp 0x1004e941
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x130], eax
jl 0x1004e958
mov dword [ebp - 0x260], 1
jmp 0x1004e95f
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1004e97a
mov dword [ebp - 0x138], 1
jmp 0x1004e981
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x270], 0x1f23
imul eax, dword [ebp - 0x270], 0
test eax, eax
jne 0x1004e9cf
mov eax, 0xdd8e181f
test eax, eax
jne 0x1004e9cf
and dword [ebp - 0x144], 0
jmp 0x1004e9d9
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x28]
add eax, 0xe175
cmp dword [ebp - 0x28], eax
jle 0x1004ea22
cmp dword [ebp - 0xc0], 0
jne 0x1004ea22
and dword [ebp - 0x244], 0
jmp 0x1004ea2c
mov dword [ebp - 0x244], 1
cmp dword [ebp - 0x244], 0xe569
je 0x1004ea44
mov dword [ebp - 0x2a4], 1
jmp 0x1004ea4b
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x28]
test eax, eax
jne 0x1004ea7d
cmp dword [ebp - 0x14c], 0
jne 0x1004ea7d
and dword [ebp - 0x1f4], 0
jmp 0x1004ea87
mov dword [ebp - 0x1f4], 1
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x8c], 0x5e48d327
mov dword [ebp - 0x8c], 1
jmp 0x1004eaba
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xfffffff9
jg 0x1004eb7c
mov dword [ebp - 0xb4], 0xd214c405
push 3
lea ecx, [ebp - 0x360]
call fcn.10016dd3
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x1004eaf2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1004eb08
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x448], 0x3c8fc558
jmp 0x1004eaeb
mov dword [ebp - 0x2c], 0
jmp 0x1004eb18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1004eb34
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x360]
call fcn.10016e40
mov dword [eax], 0xfffffff8
jmp 0x1004eb11
mov dword [ebp - 0xb4], 0
jmp 0x1004eb4d
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jg 0x1004eb68
push 2
lea ecx, [ebp - 0x360]
call fcn.10016e40
and dword [eax], 0
jmp 0x1004eb40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x360]
call fcn.10016e3b
jmp 0x1004eaad
mov dword [ebp - 0x74], 0xfffffffa
push 2
lea ecx, [ebp - 0x31c]
call fcn.10016dd3
mov dword [ebp - 4], 1
mov dword [ebp - 0xe8], 0xb4ff
mov dword [ebp - 0x3c4], 0x9e53e58b
mov dword [ebp - 0x2d8], 0x7d2703d9
mov dword [ebp - 0x48], 1
mov dword [ebp - 0xc4], 0xe2f9
mov dword [ebp - 0xf0], 0xf906d8bc
mov dword [ebp - 0xac], 0xddac0faa
mov dword [ebp - 0x2d0], 5
mov dword [ebp - 0xd0], 0xadfd6f60
mov dword [ebp - 0x30], 0
jmp 0x1004ebfe
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004ec14
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x378], 0x72b21a35
jmp 0x1004ebf7
mov dword [ebp - 0x30], 0
jmp 0x1004ec24
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1004ec3a
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x434], 0x2a30a4cc
jmp 0x1004ec1d
mov byte [ebp - 0x54], 0
movzx eax, byte [ebp - 0x54]
test eax, eax
je 0x1004ec55
push 0
push 0x1fc3
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp dword [ebp - 0xc4], 0
je 0x1004ec75
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x48], eax
je 0x1004ec75
mov dword [ebp - 0x154], 1
jmp 0x1004ec7c
and dword [ebp - 0x154], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x378]
cmp dword [ebp - 0x154], eax
jle 0x1004ec9d
mov dword [ebp - 0x284], 1
jmp 0x1004eca4
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x284]
jg 0x1004ecbb
mov dword [ebp - 0x15c], 1
jmp 0x1004ecc2
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x378]
imul eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x2d0]
jge 0x1004ecea
mov dword [ebp - 0x1fc], 1
jmp 0x1004ecf1
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x48], eax
jge 0x1004ed11
mov dword [ebp - 0x164], 1
jmp 0x1004ed18
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x2d8]
cmp dword [ebp - 0x164], eax
je 0x1004ed32
mov dword [ebp - 0x24c], 1
jmp 0x1004ed39
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [ebp - 0x2f0]
jge 0x1004ed78
mov dword [ebp - 0x16c], 1
jmp 0x1004ed7f
and dword [ebp - 0x16c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x378]
imul eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0xf0]
jle 0x1004eda7
mov dword [ebp - 0x204], 1
jmp 0x1004edae
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x204], eax
jl 0x1004edc8
mov dword [ebp - 0x174], 1
jmp 0x1004edcf
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x174], eax
jne 0x1004ede9
mov dword [ebp - 0x274], 1
jmp 0x1004edf0
and dword [ebp - 0x274], 0
cmp dword [ebp - 0x274], 0x254f
jge 0x1004ee08
mov dword [ebp - 0x17c], 1
jmp 0x1004ee0f
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x17c]
je 0x1004f0c1
mov dword [ebp - 0x3cc], 0x1dc7e906
mov dword [ebp - 0x2c8], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x1004ee45
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1004ee5b
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x330], 0xb5b06a83
jmp 0x1004ee3e
mov dword [ebp - 0x3c], 0
jmp 0x1004ee6b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1004ee81
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x470], 0x17887b34
jmp 0x1004ee64
mov dword [ebp - 0x48], 0
jmp 0x1004ee91
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffed
je 0x1004f0bf
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x1a4], 0xffffffff
mov dword [ebp - 0x294], 0xfd1a6840
push 1
lea ecx, [ebp - 0x310]
call fcn.10016dd3
mov byte [ebp - 4], 2
mov dword [ebp - 0x2e4], 0xb5901663
mov dword [ebp - 0x94], 0
jmp 0x1004eeed
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
jge 0x1004ef0f
push dword [ebp - 0x94]
lea ecx, [ebp - 0x310]
call fcn.10016e40
mov dword [eax], 0xf96354d1
jmp 0x1004eee0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x330], 0
je 0x1004f02a
imul eax, dword [ebp - 0x1a4], 0x3c9e
cmp eax, 0x6edb5b29
jge 0x1004ef40
mov dword [ebp - 0x20c], 1
jmp 0x1004ef47
and dword [ebp - 0x20c], 0
push 0
lea ecx, [ebp - 0x310]
call fcn.10016e40
mov eax, dword [eax]
add eax, dword [ebp - 0x20c]
cmp eax, 5
je 0x1004ef6d
mov dword [ebp - 0x184], 1
jmp 0x1004ef74
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0x3645
jle 0x1004ef8c
mov dword [ebp - 0x254], 1
jmp 0x1004ef93
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x294]
jg 0x1004efb3
mov dword [ebp - 0x18c], 1
jmp 0x1004efba
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0xd0]
inc ecx
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x1004efec
cmp dword [ebp - 0xac], 0
je 0x1004efec
mov dword [ebp - 0x214], 1
jmp 0x1004eff3
and dword [ebp - 0x214], 0
cmp dword [ebp - 0x214], 1
jge 0x1004f008
mov dword [ebp - 0x194], 1
jmp 0x1004f00f
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0
jae 0x1004f02a
cmp dword [ebp - 0x48], 0
je 0x1004f02a
mov dword [ebp - 0x19c], 1
jmp 0x1004f031
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x19c], eax
je 0x1004f051
cmp dword [ebp - 0xf0], 0
jne 0x1004f051
and dword [ebp - 0x2f8], 0
jmp 0x1004f05b
mov dword [ebp - 0x2f8], 1
push 0
lea ecx, [ebp - 0x310]
call fcn.10016e40
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x3d4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x330]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
call fcn.10016e3b
jmp 0x1004ee8a
jmp 0x1004f0e3
mov byte [ebp - 0x62], 0
movzx eax, byte [ebp - 0x62]
test eax, eax
je 0x1004f0e3
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push 3
lea ecx, [ebp - 0x100]
call fcn.10016dd3
mov byte [ebp - 4], 3
mov dword [ebp - 0xd8], 0xfffffffa
mov dword [ebp - 0x60], 1
mov dword [ebp - 0xf4], 0x865e1bfe
mov dword [ebp - 0x1d4], 0xffffffff
mov dword [ebp - 0x28c], 0x905687c4
mov dword [ebp - 0x20], 0xd6b8
mov dword [ebp - 0x34], 0
jmp 0x1004f13a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1004f156
push dword [ebp - 0x34]
lea ecx, [ebp - 0x100]
call fcn.10016e40
mov dword [eax], 1
jmp 0x1004f133
mov dword [ebp - 0x34], 0
jmp 0x1004f166
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x1004f17c
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x340], 1
jmp 0x1004f15f
mov dword [ebp - 0xd8], 0x4aa41a80
cmp dword [ebp - 0xd8], 0
jle 0x1004f1ad
push 0
lea ecx, [ebp - 0x100]
call fcn.10016e40
cmp dword [eax], 0
je 0x1004f1ad
mov dword [ebp - 0x25c], 1
jmp 0x1004f1b4
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x60]
jge 0x1004f1ce
mov dword [ebp - 0x1ac], 1
jmp 0x1004f1d5
and dword [ebp - 0x1ac], 0
push 0
lea ecx, [ebp - 0x100]
call fcn.10016e40
mov ecx, dword [ebp - 0x1ac]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x60]
jg 0x1004f1fc
mov dword [ebp - 0x224], 1
jmp 0x1004f203
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x224]
jne 0x1004f21a
mov dword [ebp - 0x1b4], 1
jmp 0x1004f221
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
sub eax, 5
mov dword [ebp - 0xf4], eax
mov esi, dword [ebp - 0xf4]
push 0
lea ecx, [ebp - 0x100]
call fcn.10016e40
add esi, dword [eax]
cmp esi, 0x4f2a6ca0
jle 0x1004f25f
mov dword [ebp - 0x27c], 1
jmp 0x1004f266
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0xfff9
jbe 0x1004f27e
mov dword [ebp - 0x22c], 1
jmp 0x1004f285
and dword [ebp - 0x22c], 0
push 4
pop eax
imul eax, eax, 3
lea eax, [ebp + eax - 0x340]
mov dword [ebp - 0x1bc], eax
push 0
lea ecx, [ebp - 0x100]
call fcn.10016e40
mov ecx, dword [ebp - 0x1bc]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1bc]
mov esi, dword [eax]
imul esi, dword [ebp - 0x22c]
push 0
lea ecx, [ebp - 0x100]
call fcn.10016e40
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x100]
call fcn.10016e40
cmp dword [eax], esi
jg 0x1004f2ea
mov dword [ebp - 0x1c4], 1
jmp 0x1004f2f1
and dword [ebp - 0x1c4], 0
push 2
lea ecx, [ebp - 0x100]
call fcn.10016e40
mov ecx, dword [ebp - 0x1c4]
cmp ecx, dword [eax]
jne 0x1004f314
mov dword [ebp - 0x264], 1
jmp 0x1004f31b
and dword [ebp - 0x264], 0
push 2
lea ecx, [ebp - 0x100]
call fcn.10016e40
mov ecx, dword [ebp - 0x264]
cmp ecx, dword [eax]
jg 0x1004f33e
mov dword [ebp - 0x1cc], 1
jmp 0x1004f345
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 3
jg 0x1004f357
cmp dword [ebp - 0xd8], 0
jne 0x1004f367
push 7
pop eax
test eax, eax
jne 0x1004f367
and dword [ebp - 0x234], 0
jmp 0x1004f371
mov dword [ebp - 0x234], 1
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 2
jle 0x1004f39e
mov dword [ebp - 0x1dc], 1
jmp 0x1004f3a5
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
neg eax
je 0x1004f527
mov dword [ebp - 0x23c], 0xfffffff6
mov dword [ebp - 0x9c], 0
jmp 0x1004f3d6
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x1004f3f2
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x118], 0xf87662b0
jmp 0x1004f3c9
mov eax, dword [ebp - 0x23c]
dec eax
mov dword [ebp - 0x23c], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x118]
cmp dword [ebp + eax - 0x118], ecx
jle 0x1004f427
mov dword [ebp - 0x1e4], 1
jmp 0x1004f42e
and dword [ebp - 0x1e4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x118]
cmp eax, dword [ebp - 0x1e4]
jge 0x1004f44f
mov dword [ebp - 0x128], 1
jmp 0x1004f456
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x118], 0x84d2
jg 0x1004f475
mov dword [ebp - 0x26c], 1
jmp 0x1004f47c
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x26c]
je 0x1004f496
mov dword [ebp - 0x13c], 1
jmp 0x1004f49d
and dword [ebp - 0x13c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x118]
cmp dword [ebp - 0x13c], eax
je 0x1004f4be
mov dword [ebp - 0x140], 1
jmp 0x1004f4c5
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x140]
cmp dword [ebp - 0x128], eax
je 0x1004f4e3
mov dword [ebp - 0x150], 1
jmp 0x1004f4ea
and dword [ebp - 0x150], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x118]
cmp dword [ebp - 0x150], eax
jne 0x1004f512
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1004f512
mov dword [ebp - 0x158], 1
jmp 0x1004f519
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x60], eax
jmp 0x1004f782
mov dword [ebp - 0x168], 0xfffffffb
mov dword [ebp - 0x2b4], 0xb74473ca
mov dword [ebp - 0xcc], 5
mov dword [ebp - 0x20], 0
jmp 0x1004f555
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x1004f782
mov dword [ebp - 0xd4], 0xfffffff7
mov dword [ebp - 0x178], 0xffffffff
mov byte [ebp - 0x57], 0
movzx eax, byte [ebp - 0x57]
test eax, eax
je 0x1004f595
push 0
push 0
push 0x394
push 0xb25
push 0
call dword [sym.imp.USER32.dll_InsertMenuA]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x340], ecx
cmp dword [ebp - 0xd4], 0xffffffff
jge 0x1004f6fa
push 1
lea ecx, [ebp - 0x3ec]
call fcn.10016dd3
mov byte [ebp - 4], 4
mov dword [ebp - 0x38], 0
jmp 0x1004f5d3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1004f5e9
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xec], 0xbe3e
jmp 0x1004f5cc
mov dword [ebp - 0x38], 0
jmp 0x1004f5f9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1004f615
push dword [ebp - 0x38]
lea ecx, [ebp - 0x3ec]
call fcn.10016e40
mov dword [eax], 0xee1efb40
jmp 0x1004f5f2
cmp dword [ebp - 0x20], 0
jne 0x1004f669
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xec]
cmp dword [ebp + eax - 0xec], ecx
jne 0x1004f64c
cmp dword [ebp - 0x168], 0
je 0x1004f64c
mov dword [ebp - 0x2b8], 1
jmp 0x1004f653
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c8], eax
xor eax, eax
jne 0x1004f669
and dword [ebp - 0x160], 0
jmp 0x1004f673
mov dword [ebp - 0x160], 1
cmp dword [ebp - 0x160], 1
jne 0x1004f688
mov dword [ebp - 0xe0], 1
jmp 0x1004f68f
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x340], ecx
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0xe0], eax
je 0x1004f6bb
mov dword [ebp - 0x170], 1
jmp 0x1004f6c2
and dword [ebp - 0x170], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xec]
mov dword [ebp - 0x2b4], 0xdf555a6f
mov eax, dword [ebp - 0x178]
inc eax
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3ec]
call fcn.10016e3b
jmp 0x1004f77d
mov dword [ebp - 0xc8], 6
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x340]
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x340]
add eax, 0x234d
sub eax, dword [ebp - 0xc8]
je 0x1004f76a
cmp dword [ebp - 0xcc], 0
je 0x1004f76a
cmp dword [ebp - 0x20], 0
je 0x1004f76a
mov dword [ebp - 0x180], 1
jmp 0x1004f771
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0xd4], eax
jmp 0x1004f54e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.10016e3b
push 3
lea ecx, [ebp - 0x2a0]
call fcn.10016dd3
mov byte [ebp - 4], 5
mov dword [ebp - 0x1b0], 3
mov dword [ebp - 0x2fc], 0xfffffff8
mov dword [ebp - 0x40], 0
jmp 0x1004f7c6
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1004f7e2
push dword [ebp - 0x40]
lea ecx, [ebp - 0x2a0]
call fcn.10016e40
mov dword [eax], 0xa049
jmp 0x1004f7bf
mov dword [ebp - 0x40], 0
jmp 0x1004f7f2
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1004f805
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x7c], 0xffffffff
jmp 0x1004f7eb
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x7c], 0
jmp 0x1004f82a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x7c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c], 2
jg 0x1004fa7b
mov dword [ebp - 0x4c], 0xfffffffe
mov dword [ebp - 0x68], 0xfffffffa
mov dword [ebp - 0x4c], 2
jmp 0x1004f859
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1004f8db
mov dword [ebp - 0xbc], 0x34eea2a3
mov byte [ebp - 0x61], 0
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x1004f88e
push 0x1792
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov dword [ebp - 0xbc], 2
jmp 0x1004f8a7
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jl 0x1004f8d6
mov byte [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x1004f8cd
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [ebp - 0x68], 1
jmp 0x1004f89a
jmp 0x1004f852
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x1004f910
push 0x20af
push 0
push 0
push 0x26a3
push 0xa2b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0x68], 2
jmp 0x1004f920
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x1004fa76
mov dword [ebp - 0x1a8], 0xffffffff
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x7c]
lea ecx, [ebp - 0x2a0]
call fcn.10016e40
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x7c]
lea ecx, [ebp - 0x2a0]
call fcn.10016e40
cmp dword [eax], 0
je 0x1004fa2c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x37c], eax
or eax, 0xffffffff
je 0x1004f989
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x4c]
je 0x1004f989
mov dword [ebp - 0x188], 1
jmp 0x1004f990
and dword [ebp - 0x188], 0
push 0
lea ecx, [ebp - 0x2a0]
call fcn.10016e40
mov ecx, dword [ebp - 0x188]
cmp ecx, dword [eax]
jge 0x1004f9cd
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x7c]
lea ecx, [ebp - 0x2a0]
call fcn.10016e40
cmp dword [eax], 0
je 0x1004f9cd
mov dword [ebp - 0x190], 1
jmp 0x1004f9d4
and dword [ebp - 0x190], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x190], eax
jle 0x1004f9f2
mov dword [ebp - 0x198], 1
jmp 0x1004f9f9
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x198], eax
jg 0x1004fa10
mov dword [ebp - 0x1a0], 1
jmp 0x1004fa17
and dword [ebp - 0x1a0], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x7c]
lea ecx, [ebp - 0x2a0]
call fcn.10016e40
mov dword [ebp - 0x1a8], 0xc65
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x1b0], eax
jl 0x1004fa59
mov dword [ebp - 0x1b8], 1
jmp 0x1004fa60
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
add eax, 0x32adaa23
mov dword [ebp - 0x2fc], eax
jmp 0x1004f919
jmp 0x1004f815
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x7c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.10016e3b
mov dword [ebp - 0x14], 0
jmp 0x1004faa8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1004fabe
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x110], 0
jmp 0x1004faa1
mov dword [ebp - 0x14], 0
jmp 0x1004face
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004fae7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x31c]
call fcn.10016e40
and dword [eax], 0
jmp 0x1004fac7
mov dword [ebp - 0x14], 0
jmp 0x1004faf7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004fb0d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2f4], 0x9f4aec70
jmp 0x1004faf0
mov dword [ebp - 0x1c], 0
jmp 0x1004fb1d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x1004fc45
mov dword [ebp - 0x88], 0xfdf99ff6
mov dword [ebp - 0x3d0], 0x5bf25cbd
mov dword [ebp - 0x398], 0xfffffff7
mov dword [ebp - 0x400], 0xe673292c
mov dword [ebp - 0x84], 0
jmp 0x1004fb68
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x1004fb84
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x454], 0xfffffffe
jmp 0x1004fb5b
mov dword [ebp - 0x88], 0
jmp 0x1004fb9d
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xfffffffc
je 0x1004fc32
mov dword [ebp - 0x3a0], 0x6444
mov dword [ebp - 0x3d8], 0xeb7161ab
push 1
lea ecx, [ebp - 0x3fc]
call fcn.10016dd3
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c0], 0xd91e66c6
mov dword [ebp - 0x90], 0
jmp 0x1004fbf2
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
jge 0x1004fc11
push dword [ebp - 0x90]
lea ecx, [ebp - 0x3fc]
call fcn.10016e40
or dword [eax], 0xffffffff
jmp 0x1004fbe5
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3fc]
call fcn.10016e3b
jmp 0x1004fb90
push 0
push 0x5ec3
call fcn.1004d66d
pop ecx
pop ecx
jmp 0x1004fb16
cmp dword [ebp - 0x1c], 0
je 0x1004fd5e
mov dword [ebp - 0x1c], 0xd0c1
cmp dword [ebp - 0x1c], 0
jne 0x1004fd01
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x110]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1004fc8e
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x110], 0
jne 0x1004fc8e
and dword [ebp - 0x2bc], 0
jmp 0x1004fc98
mov dword [ebp - 0x2bc], 1
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x110], 0
jne 0x1004fcb4
xor eax, eax
jne 0x1004fcb4
and dword [ebp - 0x1c8], 0
jmp 0x1004fcbe
mov dword [ebp - 0x1c8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x110]
cmp dword [ebp - 0x1c8], eax
jge 0x1004fcdf
mov dword [ebp - 0x2ec], 1
jmp 0x1004fce6
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3a8], eax
mov eax, 0x23e4
test eax, eax
jne 0x1004fd01
and dword [ebp - 0x1d0], 0
jmp 0x1004fd0b
mov dword [ebp - 0x1d0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x110]
cmp dword [ebp - 0x1d0], eax
jl 0x1004fd30
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1004fd30
and dword [ebp - 0x1d8], 0
jmp 0x1004fd3a
mov dword [ebp - 0x1d8], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x110]
imul eax, dword [ebp - 0x1d8]
test eax, eax
je 0x1004fd5e
mov dword [ebp - 0x1e0], 1
jmp 0x1004fd65
and dword [ebp - 0x1e0], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x110]
cmp dword [ebp - 0x1e0], eax
jge 0x1004fd86
mov dword [ebp - 0x2c4], 1
jmp 0x1004fd8d
and dword [ebp - 0x2c4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x110]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x74]
push 4
pop ecx
shl ecx, 1
sub eax, dword [ebp + ecx - 0x110]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x110]
jle 0x1004fdc9
mov dword [ebp - 0x1e8], 1
jmp 0x1004fdd0
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1e8], eax
jge 0x1004fde7
mov dword [ebp - 0x1f0], 1
jmp 0x1004fdee
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1f0], eax
jl 0x1004fe05
mov dword [ebp - 0x304], 1
jmp 0x1004fe0c
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x74]
sub eax, 0x2afa4368
neg eax
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x110]
jne 0x1004fe31
mov dword [ebp - 0x1f8], 1
jmp 0x1004fe38
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0x1f8], 0xffffffff
je 0x1004fe4d
mov dword [ebp - 0x200], 1
jmp 0x1004fe54
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x74], eax
mov eax, 0xfff6
cmp eax, 0xa9cb
je 0x1004fe75
mov dword [ebp - 0x208], 1
jmp 0x1004fe7c
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x208]
imul ecx, dword [ebp + eax - 0x110]
mov dword [ebp - 0x210], ecx
push 0
lea ecx, [ebp - 0x31c]
call fcn.10016e40
mov ecx, dword [ebp - 0x210]
mov dword [eax], ecx
cmp dword [ebp - 0x210], 0
jne 0x1004fec3
cmp dword [ebp - 0x1c], 0
jne 0x1004fec3
and dword [ebp - 0x2cc], 0
jmp 0x1004fecd
mov dword [ebp - 0x2cc], 1
push 0
lea ecx, [ebp - 0x31c]
call fcn.10016e40
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x110]
mov dword [ebp - 0x3b0], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2f4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.10016e3b
mov dword [ebp - 0xa0], 0x4bf8f0aa
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x6c], 0x7e7c14ab
push 2
lea ecx, [ebp - 0x36c]
call fcn.10016dd3
mov dword [ebp - 4], 7
mov dword [ebp - 0x98], 0
jmp 0x1004ff55
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jge 0x1004ff74
push dword [ebp - 0x98]
lea ecx, [ebp - 0x36c]
call fcn.10016e40
and dword [eax], 0
jmp 0x1004ff48
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xa0], 0
jmp 0x1004ff94
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jg 0x100500ca
mov dword [ebp - 0x70], 0xd38c
mov dword [ebp - 0x6c], 1
jmp 0x1004ffb8
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jl 0x100500c5
mov dword [ebp - 0x300], 0xc8d535dd
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x36c]
call fcn.10016e40
mov ecx, dword [ebp - 0x70]
cmp dword [eax], ecx
jle 0x10050098
mov dword [ebp - 0x2d4], 0xffff
mov dword [ebp - 0x70], 0
jmp 0x1004ffff
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jg 0x10050096
mov dword [ebp - 0x354], 6
mov dword [ebp - 0x350], 6
mov dword [ebp - 0x34c], 6
mov dword [ebp - 0x348], 6
lea ecx, [ebp - 0xe1]
call fcn.10016e4f
push eax
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10016e52
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x40c]
call fcn.10016e15
mov byte [ebp - 4], 8
push 1
lea ecx, [ebp - 0x40c]
call fcn.10016e40
mov eax, dword [eax]
add eax, 4
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40c]
call fcn.10016e3b
jmp 0x1004fff8
jmp 0x100500a2
mov dword [ebp - 0x300], 5
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x100500c0
push 0xa32
push 0x112c
push 0
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x1004ffb1
jmp 0x1004ff87
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x36c]
call fcn.10016e3b
push 1
lea eax, [ebp - 0x460]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004ced2
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x42c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x42c]
lea edi, [ebp - 0x328]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 2
lea ecx, [ebp - 0x124]
call fcn.10016dd3
mov dword [ebp - 4], 9
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0xa8], 0
jmp 0x10050146
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x10050168
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x124]
call fcn.10016e40
mov dword [eax], 1
jmp 0x10050139
cmp dword [ebp - 0x10], 0
jne 0x10050177
mov eax, 0xffff
test eax, eax
je 0x1005018c
mov eax, 0xe80031aa
test eax, eax
je 0x1005018c
mov dword [ebp - 0x218], 1
jmp 0x10050193
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x10], 1
jbe 0x100501a5
mov dword [ebp - 0x2dc], 1
jmp 0x100501ac
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c0], eax
push 1
lea ecx, [ebp - 0x124]
call fcn.10016e40
cmp dword [ebp - 0x10], 0
jne 0x100501ec
push 0
lea ecx, [ebp - 0x124]
call fcn.10016e40
cmp dword [eax], 0
jne 0x100501ec
and dword [ebp - 0x220], 0
jmp 0x100501f6
mov dword [ebp - 0x220], 1
cmp dword [ebp - 0x220], 0
je 0x10050213
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x10050211
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x10050233
mov dword [ebp - 0x10], 0
jmp 0x10050223
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10050233
cmp dword [ebp - 0x10], 0
je 0x10050231
jmp 0x10050233
jmp 0x1005021c
mov dword [ebp - 0x10], 0
jmp 0x10050243
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1005039a
mov dword [ebp - 0x24], 0xfffffffb
mov dword [ebp - 0x2ac], 0x75309757
mov dword [ebp - 0x24], 0
jmp 0x1005026e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10050287
push dword [ebp - 0x24]
lea ecx, [ebp - 0x124]
call fcn.10016e40
or dword [eax], 0xffffffff
jmp 0x10050267
mov dword [ebp - 0x24], 0
jmp 0x10050297
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10050395
mov dword [ebp - 0x44], 0x4faf1418
mov dword [ebp - 0x44], 1
jmp 0x100502b8
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10050390
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x100502dc
push 0
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x124]
call fcn.10016e40
mov ecx, dword [ebp - 0x44]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x44]
je 0x10050301
mov dword [ebp - 0x2e0], 1
jmp 0x10050308
and dword [ebp - 0x2e0], 0
push 1
lea ecx, [ebp - 0x124]
call fcn.10016e40
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3f0], eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x124]
call fcn.10016e40
mov eax, dword [eax]
neg eax
cmp eax, 0x2ad21dd8
je 0x10050343
mov dword [ebp - 0x228], 1
jmp 0x1005034a
and dword [ebp - 0x228], 0
mov esi, dword [ebp - 0x228]
sub esi, dword [ebp - 0x10]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x124]
call fcn.10016e40
imul esi, dword [eax]
cmp esi, 0xc94681c3
jae 0x10050378
mov dword [ebp - 0x230], 1
jmp 0x1005037f
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x2ac], eax
jmp 0x100502b1
jmp 0x10050290
jmp 0x1005023c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.10016e3b
mov dword [ebp - 0xb0], 0
jmp 0x100503c2
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 1
jge 0x100503db
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x80], 0xfc558bac
jmp 0x100503b5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
je 0x10050401
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
je 0x10050401
mov dword [ebp - 0x240], 1
jmp 0x10050408
and dword [ebp - 0x240], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
jne 0x10050421
mov dword [ebp - 0x238], 1
jmp 0x10050428
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0
jle 0x1005043d
mov dword [ebp - 0x248], 1
jmp 0x10050444
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x248]
jl 0x1005045e
mov dword [ebp - 0x250], 1
jmp 0x10050465
and dword [ebp - 0x250], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x250]
mov dword [ebp + eax - 0x80], ecx
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x10050492
push 0
push 0x185c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x2b0], 0xa1f94964
mov dword [ebp - 0xb8], 4
mov dword [ebp - 0xdc], 3
mov dword [ebp - 0x2c0], 0x3b6f9b69
cmp dword [ebp - 0x2b0], 0
je 0x10050553
cmp dword [ebp - 0xb8], 0xfffffffa
jg 0x100504dc
mov dword [ebp - 0x258], 1
jmp 0x100504e3
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xb8]
jne 0x1005050f
cmp dword [ebp - 0xdc], 0
jne 0x1005050f
and dword [ebp - 0x2a8], 0
jmp 0x10050519
mov dword [ebp - 0x2a8], 1
cmp dword [ebp - 0xb8], 0
jne 0x10050534
cmp dword [ebp - 0xb8], 0
jne 0x10050534
and dword [ebp - 0x12c], 0
jmp 0x1005053e
mov dword [ebp - 0x12c], 1
cmp dword [ebp - 0x12c], 1
je 0x10050553
mov dword [ebp - 0x134], 1
jmp 0x1005055a
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x55], 0
push 1
lea eax, [ebp - 0x55]
push eax
call fcn.1004d66d
pop ecx
pop ecx
cmp dword [ebp - 0x328], 0
je 0x10050594
push 2
push dword [ebp - 0x320]
push dword [ebp - 0x324]
call dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret