Function at 0x1002e057
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bc15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0xce008fb0
mov dword [ebp - 0x3c], 0x7a81a82e
mov dword [ebp - 0x1c0], 0xffff
mov dword [ebp - 0x68], 0
jmp 0x1002e0a5
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1002e0bb
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x148], 0x93b4e1a3
jmp 0x1002e09e
mov dword [ebp - 0x24], 0
jmp 0x1002e0cb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1002e2e7
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0x92eda8ed
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x148], 0
je 0x1002e0f5
jmp 0x1002e2e7
mov dword [ebp - 0x54], 0
jmp 0x1002e105
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jg 0x1002e2e2
mov dword [ebp - 0x14], 0xfffffffd
mov dword [ebp - 0x14], 0
jmp 0x1002e126
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002e2dd
push 2
lea ecx, [ebp - 0x154]
call fcn.100172b6
and dword [ebp - 4], 0
mov dword [ebp - 0x70], 0
jmp 0x1002e151
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x1002e16d
push dword [ebp - 0x70]
lea ecx, [ebp - 0x154]
call fcn.10017323
mov dword [eax], 1
jmp 0x1002e14a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x148]
cmp dword [ebp + eax*4 - 0x148], ecx
jne 0x1002e18f
mov dword [ebp - 0x98], 1
jmp 0x1002e196
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x148]
cmp dword [ebp - 0x14], eax
jle 0x1002e1b1
mov dword [ebp - 0x100], 1
jmp 0x1002e1b8
and dword [ebp - 0x100], 0
push 1
lea ecx, [ebp - 0x154]
call fcn.10017323
mov dword [eax], 1
mov eax, dword [ebp - 0x98]
inc eax
cmp eax, dword [ebp - 0x100]
jg 0x1002e1e6
mov dword [ebp - 0xf8], 1
jmp 0x1002e1ed
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
add eax, 0x2337
mov dword [ebp - 0x1c], eax
jne 0x1002e201
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x3c], 1
jmp 0x1002e218
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1002e2c9
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002e24c
push 0x4965
push 0x2a2f
push 1
call fcn.1002c28e
add esp, 0xc
mov dword [ebp - 0x4c], 0
jmp 0x1002e25c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x1002e2c4
mov dword [ebp - 0x1c], 1
jmp 0x1002e272
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002e2c2
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002e29a
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_SetBkColor]
push 0x6b7d
push 1
push 0x7529
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.1002c2f8
add esp, 0x18
jmp 0x1002e26b
jmp 0x1002e255
jmp 0x1002e211
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.1001731e
jmp 0x1002e11f
jmp 0x1002e0fe
jmp 0x1002e0c4
jmp 0x1002e303
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1002ec1d
mov dword [ebp - 0xec], 0xafe30f58
mov dword [ebp - 0xf4], 2
mov dword [ebp - 0x19c], 0x8e9646b8
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x198], 0xb1b6fd43
mov dword [ebp - 0x180], 0xff12f3cc
mov dword [ebp - 0x12c], 2
mov dword [ebp - 0x104], 0x600d5493
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x78], 0x1cb6a7f4
mov dword [ebp - 0x118], 7
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x1ac], 3
mov dword [ebp - 0x194], 3
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x80], 0xfffffffe
mov dword [ebp - 0x6c], 0
jmp 0x1002e3cf
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x1002e3e5
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x1d4], 1
jmp 0x1002e3c8
cmp dword [ebp - 0x12c], 0
jne 0x1002e3fa
mov dword [ebp - 0x94], 1
jmp 0x1002e401
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x94], eax
jg 0x1002e41b
mov dword [ebp - 0x9c], 1
jmp 0x1002e422
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x110]
je 0x1002e46a
mov dword [ebp - 0xd4], 1
jmp 0x1002e471
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0xd4], eax
je 0x1002e48b
mov dword [ebp - 0xa4], 1
jmp 0x1002e492
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0xa4]
cmp dword [ebp - 0xec], eax
jl 0x1002e4b0
mov dword [ebp - 0xac], 1
jmp 0x1002e4b7
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1d4]
cmp dword [ebp - 0xac], eax
jge 0x1002e4d8
mov dword [ebp - 0xdc], 1
jmp 0x1002e4df
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 1
je 0x1002e4f4
mov dword [ebp - 0xb4], 1
jmp 0x1002e4fb
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1d4]
cmp dword [ebp - 0xb4], eax
jge 0x1002e51c
mov dword [ebp - 0xfc], 1
jmp 0x1002e523
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0xfffffff6
jl 0x1002e538
mov dword [ebp - 0xbc], 1
jmp 0x1002e53f
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x1e], 0
push 1
lea eax, [ebp - 0x1e]
push eax
call fcn.1002c38f
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1002e8f2
mov dword [ebp - 0x60], 0x841b3c69
mov dword [ebp - 0x7c], 0x8f9ed02e
mov dword [ebp - 0x13c], 0x1fbb9cf7
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0x60], 0xfffffff5
jmp 0x1002e5ad
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x14
jne 0x1002e8c1
push 3
lea ecx, [ebp - 0xcc]
call fcn.100172b6
mov dword [ebp - 4], 1
mov dword [ebp - 0xb8], 0x47346880
lea eax, [ebp - 0xcc]
push eax
push 0x6bc
push 0x4cfd
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.1002c3d8
add esp, 0x14
mov dword [ebp - 0x44], 0
jmp 0x1002e604
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1002e617
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x30], 0xfffffffd
jmp 0x1002e5fd
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x30], 2
jmp 0x1002e63c
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x30]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x30], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x30], 0
jl 0x1002e74b
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x30]
lea ecx, [ebp - 0xcc]
call fcn.10017323
cmp dword [eax], 1
jle 0x1002e673
mov dword [ebp - 0xe4], 1
jmp 0x1002e67a
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x30]
lea ecx, [ebp - 0xcc]
call fcn.10017323
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax]
jne 0x1002e6a5
mov dword [ebp - 0x8c], 1
jmp 0x1002e6ac
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 1
je 0x1002e6c1
mov dword [ebp - 0x90], 1
jmp 0x1002e6c8
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x30]
lea ecx, [ebp - 0xcc]
call fcn.10017323
mov eax, dword [eax]
cmp eax, dword [ebp - 0x90]
je 0x1002e6f3
mov dword [ebp - 0x88], 1
jmp 0x1002e6fa
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x30]
lea ecx, [ebp - 0xcc]
call fcn.10017323
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax]
jge 0x1002e725
mov dword [ebp - 0xa0], 1
jmp 0x1002e72c
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb8], eax
push 0x404f
push 1
call fcn.1002c459
pop ecx
pop ecx
jmp 0x1002e627
mov eax, 0x5206
test eax, eax
je 0x1002e88a
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x58], 0
je 0x1002e80b
mov esi, dword [ebp - 0x58]
push 0
lea ecx, [ebp - 0xcc]
call fcn.10017323
cmp esi, dword [eax]
jne 0x1002e792
mov dword [ebp - 0xa8], 1
jmp 0x1002e799
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x39d3cd36
jne 0x1002e7b1
mov dword [ebp - 0xb0], 1
jmp 0x1002e7b8
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x30]
cmp dword [ebp + eax - 0x30], ecx
jne 0x1002e7e6
mov dword [ebp - 0xc0], 1
jmp 0x1002e7ed
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
sub eax, dword [ebp - 0xc0]
je 0x1002e80b
mov dword [ebp - 0xd0], 1
jmp 0x1002e812
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xb430
jg 0x1002e82a
mov dword [ebp - 0xd8], 1
jmp 0x1002e831
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xd8], eax
jg 0x1002e848
mov dword [ebp - 0xe0], 1
jmp 0x1002e84f
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 1
je 0x1002e864
mov dword [ebp - 0x120], 1
jmp 0x1002e86b
and dword [ebp - 0x120], 0
push 2
lea ecx, [ebp - 0xcc]
call fcn.10017323
cmp dword [ebp - 0x58], 0
je 0x1002e88a
mov dword [ebp - 0xe8], 1
jmp 0x1002e891
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xf0]
mov dword [ebp + eax - 0x30], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1001731e
jmp 0x1002e5a6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x8a90
push 0x9726
call fcn.10024e9f
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1002ea21
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x28], 0
je 0x1002e983
mov dword [ebp - 0x28], 0x12
jmp 0x1002e919
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2e
jge 0x1002e981
mov dword [ebp - 0x38], 0x3fa75c1
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002e94b
push 0x788c
push 0xce3
push 1
push 0x2756
call fcn.1002da35
add esp, 0x10
mov dword [ebp - 0x38], 0
jmp 0x1002e95b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x16
jg 0x1002e97f
cmp dword [ebp - 0x38], 0
je 0x1002e969
jmp 0x1002e97f
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002e97d
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1002e954
jmp 0x1002e912
jmp 0x1002e9d5
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x10c], 0xc326874b
mov dword [ebp - 0x128], 0x486aeba4
mov dword [ebp - 0x108], 0xffff
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x108]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
call fcn.1002daa0
add esp, 0x18
push 0
push 0x2687
push 0x3186
call fcn.10030101
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp - 0x114]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x8a90
push 0x9726
call fcn.10024e9f
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x174], 1
mov dword [ebp - 0x170], 1
lea ecx, [ebp - 0x71]
call fcn.10008bab
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.10017332
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1b8]
call fcn.100172f8
mov dword [ebp - 4], 2
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x40], 0
jmp 0x1002ea99
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jg 0x1002ebf0
mov dword [ebp - 0x34], 2
or dword [ebp - 0x168], 0xffffffff
or dword [ebp - 0x164], 0xffffffff
or dword [ebp - 0x160], 0xffffffff
or dword [ebp - 0x15c], 0xffffffff
lea ecx, [ebp - 0x81]
call fcn.10008bab
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.10017332
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1a8]
call fcn.100172f8
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], 0
jmp 0x1002eb0f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1002ebdc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0xfc0233fd
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1002de33
add esp, 0x1c
mov dword [ebp - 0x48], 0
jmp 0x1002eb5f
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jg 0x1002ebd7
mov dword [ebp - 0x50], 0
jmp 0x1002eb75
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jg 0x1002ebd5
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x5c], 3
jmp 0x1002eb92
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x1002ebd3
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x11c], 3
mov dword [ebp - 0x64], 0
jmp 0x1002ebb9
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jg 0x1002ebd1
push 1
lea eax, [ebp - 0x11c]
push eax
call fcn.1002dfcc
pop ecx
pop ecx
jmp 0x1002ebb2
jmp 0x1002eb8b
jmp 0x1002eb6e
jmp 0x1002eb58
jmp 0x1002eb08
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
call fcn.1001731e
jmp 0x1002ea92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.1001731e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1002ec18
lea eax, [ebp + 0x18]
push eax
push 1
call fcn.1002e01a
pop ecx
pop ecx
jmp 0x1002ec1d
jmp 0x1002e2e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret