Function at 0x1004db10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
push esi
push edi
mov dword [ebp - 0x22c], 0xcc5c6a3f
mov dword [ebp - 0x1c], 0
jmp 0x1004db35
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004db4b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2a4], 0x5f70
jmp 0x1004db2e
mov dword [ebp - 0x1c], 0
jmp 0x1004db5b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004db71
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x248], 1
jmp 0x1004db54
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x248], 0
jmp 0x1004db9f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x248]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x248], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x248], 1
jg 0x1004ddb7
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x1004dbca
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004dd76
mov dword [ebp - 0x78], 0x6eff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x78]
cmp dword [ebp + eax*4 - 0x2a4], ecx
jl 0x1004dbf6
mov dword [ebp - 0xb8], 1
jmp 0x1004dbfd
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0x10], 0x42e4
jle 0x1004dc12
mov dword [ebp - 0x154], 1
jmp 0x1004dc19
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x154], eax
jge 0x1004dc30
mov dword [ebp - 0x1d4], 1
jmp 0x1004dc37
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1d4], eax
jle 0x1004dc4e
mov dword [ebp - 0xa8], 1
jmp 0x1004dc55
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xfffb
je 0x1004dc6d
mov dword [ebp - 0x180], 1
jmp 0x1004dc74
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x180], eax
jl 0x1004dc8b
mov dword [ebp - 0xb0], 1
jmp 0x1004dc92
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0xb0], eax
jl 0x1004dca9
mov dword [ebp - 0x1d8], 1
jmp 0x1004dcb0
and dword [ebp - 0x1d8], 0
mov eax, 0x796d
cmp eax, 1
jle 0x1004dcc6
mov dword [ebp - 0x188], 1
jmp 0x1004dccd
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
add eax, 0x32dfbb9c
cmp eax, dword [ebp - 0x10]
jge 0x1004dce9
mov dword [ebp - 0x190], 1
jmp 0x1004dcf0
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x190]
jne 0x1004dd0a
mov dword [ebp - 0xc0], 1
jmp 0x1004dd11
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0x5a8df044
jl 0x1004dd29
mov dword [ebp - 0x198], 1
jmp 0x1004dd30
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004dd71
push 0x1b0b
push 0
push 0
push 0x1def
push 0x1399
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]
jmp 0x1004dbc3
mov dword [ebp - 0x10], 0
jmp 0x1004dd86
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004ddb2
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004ddb0
push 1
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_SelectPalette]
jmp 0x1004dd7f
jmp 0x1004db84
mov dword [ebp - 0x214], 0xb2c21353
mov dword [ebp - 0x20], 0
jmp 0x1004ddd1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1004dde7
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2d4], 0xffffffff
jmp 0x1004ddca
mov dword [ebp - 0x20], 0
jmp 0x1004ddf7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004de0d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2bc], 0x9b2
jmp 0x1004ddf0
cmp dword [ebp - 0x214], 0
je 0x1004de7d
mov dword [ebp - 0x284], 0xa2768935
mov dword [ebp - 0x2a8], 0x5010f7a7
mov dword [ebp - 0x290], 6
mov dword [ebp - 0x2b0], 0x6c3f0bc5
mov dword [ebp - 0xc8], 0x50f6b34c
mov dword [ebp - 0x80], 0
jmp 0x1004de58
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 4
jge 0x1004de6e
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x31c], 0xffffffff
jmp 0x1004de51
mov eax, dword [ebp - 0xc8]
dec eax
mov dword [ebp - 0xc8], eax
jmp 0x1004de9f
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004de9f
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_GetClipBox]
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax - 0x2bc]
mov dword [ebp + ecx - 0x2d4], eax
mov dword [ebp - 0x54], 0x5d6c05ba
mov dword [ebp - 0x1b8], 0x1a049fe3
mov dword [ebp - 0x1b4], 0x1a049fe3
mov dword [ebp - 0x1b0], 0x1a049fe3
mov dword [ebp - 0x1ac], 0x1a049fe3
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x7c], 0xfffffffe
mov dword [ebp - 0xc], 3
jmp 0x1004df05
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1004e00f
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x7c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1b8]
cmp dword [ebp - 0x7c], eax
je 0x1004df3b
mov dword [ebp - 0x210], 1
jmp 0x1004df42
and dword [ebp - 0x210], 0
mov eax, 0x65420764
test eax, eax
je 0x1004df75
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1b8]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x27c], eax
or eax, 0xffffffff
je 0x1004df75
mov dword [ebp - 0x1a0], 1
jmp 0x1004df7c
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1a0]
sub ecx, dword [ebp + eax*4 - 0x1b8]
mov eax, dword [ebp - 0xc]
sub ecx, dword [ebp + eax*4 - 0x1b8]
imul eax, ecx, 0xd569
cmp eax, 0xbf90
jg 0x1004dfaf
mov dword [ebp - 0x1e4], 1
jmp 0x1004dfb6
and dword [ebp - 0x1e4], 0
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1b8], 0
jge 0x1004dfd2
mov dword [ebp - 0xd0], 1
jmp 0x1004dfd9
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1b8]
cmp dword [ebp - 0xd0], eax
jg 0x1004dff7
mov dword [ebp - 0x1a8], 1
jmp 0x1004dffe
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x228], eax
jmp 0x1004defe
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1b8], 0
je 0x1004e0ff
mov dword [ebp - 0x1bc], 6
mov dword [ebp - 0x70], 0xfffffffd
cmp dword [ebp - 0xc], 0x237f4a7d
jge 0x1004e049
mov dword [ebp - 0xd8], 1
jmp 0x1004e050
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1004e07e
mov dword [ebp - 0x1bc], 7
cmp dword [ebp - 0x1bc], 0
je 0x1004e07e
mov dword [ebp - 0xe0], 1
jmp 0x1004e085
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1b8], 0
jne 0x1004e0b7
cmp dword [ebp - 0x70], 0
je 0x1004e09f
cmp dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0xb14898d0
jne 0x1004e0ae
cmp dword [ebp - 0x70], 0
jne 0x1004e0b7
and dword [ebp - 0x1c4], 0
jmp 0x1004e0c1
mov dword [ebp - 0x1c4], 1
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x1c4]
jge 0x1004e0db
mov dword [ebp - 0x1cc], 1
jmp 0x1004e0e2
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004e0fd
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
jmp 0x1004e12f
mov dword [ebp - 0x1ec], 0xfffffffc
mov dword [ebp - 0xec], 0x84f75df1
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x270], 0x121f90ef
push 0x5ea1
push 0
push 0x4f5e
call fcn.1004a494
add esp, 0xc
mov dword [ebp - 0x34], 0xffff
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x44], 0x9b85
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x90], 0x7d02268f
mov dword [ebp - 0x9c], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x14], eax
jl 0x1004e19d
cmp dword [ebp - 0x14], 0
je 0x1004e19d
mov dword [ebp - 0x15c], 1
jmp 0x1004e1a4
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0
jbe 0x1004e1b9
mov dword [ebp - 0xf4], 1
jmp 0x1004e1c0
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x34]
jl 0x1004e1de
mov dword [ebp - 0x194], 1
jmp 0x1004e1e5
and dword [ebp - 0x194], 0
imul eax, dword [ebp - 0x194], 0x8e3b
cmp eax, 0x18c8
jge 0x1004e202
mov dword [ebp - 0xfc], 1
jmp 0x1004e209
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0x18e9934b
jne 0x1004e227
cmp dword [ebp - 0x90], 0
jne 0x1004e227
and dword [ebp - 0x164], 0
jmp 0x1004e231
mov dword [ebp - 0x164], 1
cmp dword [ebp - 0x164], 0x966c
jg 0x1004e249
mov dword [ebp - 0x104], 1
jmp 0x1004e250
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x104], eax
jge 0x1004e267
mov dword [ebp - 0x1c8], 1
jmp 0x1004e26e
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 6
jg 0x1004e283
mov dword [ebp - 0x230], 1
jmp 0x1004e28a
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x14], eax
jge 0x1004e2a7
mov dword [ebp - 0x10c], 1
jmp 0x1004e2ae
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x9c]
jne 0x1004e2cc
mov dword [ebp - 0x16c], 1
jmp 0x1004e2d3
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x34], eax
jg 0x1004e2ee
mov dword [ebp - 0x114], 1
jmp 0x1004e2f5
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x114]
test eax, eax
jne 0x1004e312
cmp dword [ebp - 0x34], 0
jne 0x1004e312
and dword [ebp - 0x19c], 0
jmp 0x1004e31c
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x19c]
test eax, eax
jne 0x1004e336
mov dword [ebp - 0x11c], 1
jmp 0x1004e33d
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x9c], eax
xor eax, eax
je 0x1004e37e
mov dword [ebp - 0x1f4], 0xb1bb30b1
mov dword [ebp - 0x14], 0xffffffe3
jmp 0x1004e367
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe8
je 0x1004e379
mov dword [ebp - 0x1f4], 0xebc5f93b
jmp 0x1004e360
jmp 0x1004e5b0
mov dword [ebp - 0x84], 0x7d02c9aa
mov dword [ebp - 0x14], 0
jmp 0x1004e398
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 9
jle 0x1004e58b
mov dword [ebp - 0x1a4], 0xffffffff
mov dword [ebp - 0x68], 0
jmp 0x1004e3bc
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1004e3cf
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x40], 0x40c8
jmp 0x1004e3b5
mov dword [ebp - 0x44], 0
jmp 0x1004e3df
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x22
jle 0x1004e586
mov dword [ebp - 0x174], 0x70055833
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
neg eax
jne 0x1004e4c4
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x174], eax
je 0x1004e42b
mov dword [ebp - 0x12c], 1
jmp 0x1004e432
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x84], 0x42ef3998
jl 0x1004e44a
mov dword [ebp - 0x124], 1
jmp 0x1004e451
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
imul eax, dword [ebp - 0x124]
test eax, eax
je 0x1004e477
xor eax, eax
inc eax
je 0x1004e477
mov dword [ebp - 0x220], 1
jmp 0x1004e47e
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x90], eax
jge 0x1004e4a1
mov dword [ebp - 0x1c0], 1
jmp 0x1004e4a8
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 1
jae 0x1004e4bd
mov dword [ebp - 0x17c], 1
jmp 0x1004e4c4
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 1
jge 0x1004e4e6
mov dword [ebp - 0x134], 1
jmp 0x1004e4ed
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x1a4], eax
jle 0x1004e514
mov dword [ebp - 0x13c], 1
jmp 0x1004e51b
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x13c], eax
jge 0x1004e539
mov dword [ebp - 0x184], 1
jmp 0x1004e540
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0x9bab
jge 0x1004e558
mov dword [ebp - 0x144], 1
jmp 0x1004e55f
and dword [ebp - 0x144], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x144]
sub ecx, dword [ebp + eax - 0x40]
neg ecx
push 4
pop eax
imul eax, eax, 0
sub ecx, dword [ebp + eax - 0x40]
mov dword [ebp - 0x9c], ecx
jmp 0x1004e3d8
jmp 0x1004e391
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004e5b0
push 0
push 0x8f0
push 0
push 0x137b
push 0x239b
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov dword [ebp - 0x54], 0
jmp 0x1004e5c0
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xfffffff2
je 0x1004ecb2
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x20c], 8
mov dword [ebp - 4], 0
jmp 0x1004e5f8
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1004e60e
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x258], 0xc5a654fd
jmp 0x1004e5f1
mov dword [ebp - 4], 0
jmp 0x1004e61e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1004e634
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x29c], 0x12491e29
jmp 0x1004e617
mov dword [ebp - 4], 0
jmp 0x1004e644
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1004e65a
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x18c], 0x3026d8d
jmp 0x1004e63d
mov dword [ebp - 4], 0
jmp 0x1004e66a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1004e680
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x250], 0x129ec6ea
jmp 0x1004e663
mov dword [ebp - 4], 0
jmp 0x1004e690
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1004e6a6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x32c], 0xffffffff
jmp 0x1004e689
mov dword [ebp - 4], 0
jmp 0x1004e6b6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1004e6cc
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2f8], 0x38db075a
jmp 0x1004e6af
mov dword [ebp - 4], 0
jmp 0x1004e6dc
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1004e6f2
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2c8], 1
jmp 0x1004e6d5
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x250], 1
je 0x1004e70e
mov dword [ebp - 0x1d0], 1
jmp 0x1004e715
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
sub eax, 0x8610f121
mov dword [ebp - 0x98], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x29c], ecx
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x2f8], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
cmp dword [ebp - 0x98], eax
jl 0x1004e76c
mov dword [ebp - 0x14c], 1
jmp 0x1004e773
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18c]
cmp dword [ebp - 0x14c], eax
jge 0x1004e7b0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x29c], 0
je 0x1004e7b0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x250], 0
je 0x1004e7b0
and dword [ebp - 0x1fc], 0
jmp 0x1004e7ba
mov dword [ebp - 0x1fc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18c]
mov dword [ebp - 0x280], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x258]
cmp dword [ebp + eax - 0x2c8], ecx
je 0x1004e7f5
mov dword [ebp - 0xa0], 1
jmp 0x1004e7fc
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xffffffff
je 0x1004e811
mov dword [ebp - 0xe4], 1
jmp 0x1004e818
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x204]
jne 0x1004e857
mov dword [ebp - 0xe8], 1
jmp 0x1004e85e
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0xe8]
jg 0x1004e878
mov dword [ebp - 0xf0], 1
jmp 0x1004e87f
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x1e8], 0xa6e6
mov dword [ebp - 0x24], 0xad59e57a
mov dword [ebp - 0x28], 0xfffffffa
mov dword [ebp - 0x18], 0xbbde
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x4c], 0x30bca0be
mov dword [ebp - 0x8c], 0
jmp 0x1004e8d1
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x1004e8ea
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x50], 0x28ea388
jmp 0x1004e8c4
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xf8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + eax - 0x50], ecx
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xf8], eax
jge 0x1004e921
mov dword [ebp - 0x100], 1
jmp 0x1004e928
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jl 0x1004e942
mov dword [ebp - 0x218], 1
jmp 0x1004e949
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x18]
neg eax
cmp dword [ebp - 0x18], eax
jge 0x1004e95f
mov dword [ebp - 0x108], 1
jmp 0x1004e966
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
jl 0x1004e97b
mov dword [ebp - 0x110], 1
jmp 0x1004e982
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x110]
lea eax, [ecx + eax + 0xe328]
cmp eax, dword [ebp - 0x28]
jge 0x1004e9a3
mov dword [ebp - 0x1dc], 1
jmp 0x1004e9aa
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x48], 0
jl 0x1004e9c5
mov dword [ebp - 0x118], 1
jmp 0x1004e9cc
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x118], eax
jg 0x1004e9e3
mov dword [ebp - 0x120], 1
jmp 0x1004e9ea
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x120], eax
jl 0x1004ea01
mov dword [ebp - 0x128], 1
jmp 0x1004ea08
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
jae 0x1004ea1d
mov dword [ebp - 0x130], 1
jmp 0x1004ea24
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0x29bf3901
jne 0x1004ea3c
mov dword [ebp - 0x138], 1
jmp 0x1004ea43
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x138]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
jmp 0x1004ea5f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1004ec1f
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x24], 0
jmp 0x1004ea83
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1004ec1a
mov dword [ebp - 0x160], 0xffffffff
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004eaab
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x48], 0
jmp 0x1004eabb
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1004ec15
mov dword [ebp - 0x88], 0x3604
mov dword [ebp - 0x28], 0
jmp 0x1004eadf
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1004ec10
mov dword [ebp - 0x4c], 0
jmp 0x1004eaf9
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x1004ebfc
mov dword [ebp - 0x3c], 0x6d9de360
mov dword [ebp - 0x3c], 0
jmp 0x1004eb1a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1004eb63
mov dword [ebp - 0x88], 6
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0x88], eax
jg 0x1004eb45
mov dword [ebp - 0x140], 1
jmp 0x1004eb4c
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax*4 - 0x50], ecx
cmp dword [ebp - 0x3c], 0
je 0x1004eb61
jmp 0x1004eb63
jmp 0x1004eb13
cmp dword [ebp - 0x88], 0
jne 0x1004eb8c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x50], 0xba6dad3f
cmp dword [ebp - 0x3c], 0xba6dad3f
jle 0x1004eb8c
and dword [ebp - 0x148], 0
jmp 0x1004eb96
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x148], eax
jg 0x1004ebb0
mov dword [ebp - 0x150], 1
jmp 0x1004ebb7
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 5
jl 0x1004ebcc
mov dword [ebp - 0x158], 1
jmp 0x1004ebd3
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x158]
jge 0x1004ebea
mov dword [ebp - 0x1e0], 4
jmp 0x1004ebf7
mov eax, dword [ebp - 0x160]
dec eax
mov dword [ebp - 0x160], eax
jmp 0x1004eaf2
mov eax, dword [ebp - 0x48]
cmp dword [ebp + eax*4 - 0x50], 0
je 0x1004ec0b
jmp 0x1004ead8
jmp 0x1004ead8
jmp 0x1004eab4
jmp 0x1004ea7c
jmp 0x1004ea58
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x1e8]
push eax
call fcn.1004a494
add esp, 0xc
mov dword [ebp - 0x74], 0x2ee76f50
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x6c], 0
jmp 0x1004ec55
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x1004ec6b
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x300], 0
jmp 0x1004ec4e
mov dword [ebp - 0x74], 0
jmp 0x1004ec7b
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jg 0x1004ecad
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1004eca1
push 0
push 0x1f13
push 0x1f9a
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov dword [ebp - 0x1f0], 0xb8c3ad3b
jmp 0x1004ec74
jmp 0x1004e5b9
push 1
lea eax, [ebp - 0x30c]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10049cf9
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x2e0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2e0]
lea edi, [ebp - 0x23c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x200], 6
mov dword [ebp - 8], 0
jmp 0x1004ecfb
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1004ed0e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x64], 0xffffffff
jmp 0x1004ecf4
mov dword [ebp - 8], 0
jmp 0x1004ed1e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1004ed34
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x260], 0xfffffffc
jmp 0x1004ed17
mov dword [ebp - 8], 0
jmp 0x1004ed44
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1004ed5a
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x26c], 0x7f3c88fe
jmp 0x1004ed3d
mov dword [ebp - 8], 0
jmp 0x1004ed6a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1004ed80
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2ec], 0xb99bf0bb
jmp 0x1004ed63
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x64], 0x9c96c797
jae 0x1004ed9c
mov dword [ebp - 0xbc], 1
jmp 0x1004eda3
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x64]
cmp dword [ebp + eax - 0x64], ecx
je 0x1004edc5
mov dword [ebp - 0x168], 1
jmp 0x1004edcc
and dword [ebp - 0x168], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x168], eax
jne 0x1004edea
mov dword [ebp - 0x170], 1
jmp 0x1004edf1
and dword [ebp - 0x170], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x170], eax
jl 0x1004ee0e
mov dword [ebp - 0x178], 1
jmp 0x1004ee15
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x178], eax
je 0x1004ee33
mov dword [ebp - 0xa4], 1
jmp 0x1004ee3a
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xa4], eax
jle 0x1004ee58
mov dword [ebp - 0xac], 1
jmp 0x1004ee5f
and dword [ebp - 0xac], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
imul eax, dword [ebp - 0xac]
test eax, eax
je 0x1004ee84
xor eax, eax
inc eax
je 0x1004ee84
mov dword [ebp - 0xb4], 1
jmp 0x1004ee8b
and dword [ebp - 0xb4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xb4], eax
jge 0x1004eea9
mov dword [ebp - 0x1f8], 1
jmp 0x1004eeb0
and dword [ebp - 0x1f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x288], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + eax - 0x260], ecx
cmp dword [ebp - 0xc4], 0x7a7b
jne 0x1004ef01
mov dword [ebp - 0xcc], 1
jmp 0x1004ef08
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x200], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x64]
cmp dword [ebp + eax - 0x260], ecx
je 0x1004ef39
mov dword [ebp - 0xd4], 1
jmp 0x1004ef40
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
add eax, 0x5c155c18
jne 0x1004ef58
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x64], 0
mov eax, 0x5ba5616d
test eax, eax
je 0x1004ef6f
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x26c], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x64], 0
jne 0x1004ef91
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x64], 0
jne 0x1004ef91
and dword [ebp - 0x208], 0
jmp 0x1004ef9b
mov dword [ebp - 0x208], 1
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x26c]
cmp dword [ebp + eax - 0x26c], ecx
jle 0x1004efc2
mov dword [ebp - 0xdc], 1
jmp 0x1004efc9
and dword [ebp - 0xdc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + eax - 0x2ec], ecx
cmp dword [ebp - 0x23c], 0
je 0x1004eff9
push 3
push dword [ebp - 0x234]
push dword [ebp - 0x238]
call dword [ebp - 0x23c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret