Function at 0x1035b32
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [0x103d53c], 0
jne 0x1035eed
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 8]
mov ecx, eax
sub ecx, dword [esi + 0x18]
cmp ecx, 0x64
jb 0x1035eec
cmp dword [esi + 0x20], 0
push ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x18], eax
jne 0x1035e7f
sub eax, dword [esi + 0x1c]
cmp eax, 0x3e8
jb 0x1035eea
push 0x77
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x78
push dword [esi + 0x24]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 4], eax
je 0x1035bdc
push dword [ebp - 4]
push eax
call edi
push 0x28
push 0x28
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi], eax
xor ecx, ecx
jmp 0x1035bde
mov dword [esi], ecx
cmp dword [ebp - 4], ecx
je 0x1035ef1
cmp dword [ebp - 0x20], ecx
je 0x1035ef1
cmp dword [esi], ecx
je 0x1035ef1
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x1035ef1
cmp dword [ebp + 8], ecx
je 0x1035ef1
push 0x28
push 0x708
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [esi]
mov dword [esi + 8], eax
push dword [ebp + 8]
call edi
push dword [ebp - 4]
mov dword [ebp - 0x28], eax
push dword [esi + 4]
call edi
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
and dword [ebp - 0x10], 0
push 0xff0062
push 0x28
push 0x28
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_PatBlt]
push dword [ebp - 4]
push dword [esi + 4]
call edi
push 0xcc0020
push 0
push 0x90
push dword [esi + 4]
push 0x24
push 0x24
push 4
push 0
push dword [ebp + 8]
call ebx
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0
jle 0x1035ce3
and dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 5
mov eax, dword [ebp - 0xc]
add eax, 0x12
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
imul eax, eax
push 0xa
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx*2 + 2]
mov ecx, dword [ebp - 0xc]
and ecx, 1
shl ecx, 0xf
or ecx, 0x800080
push ecx
mov dword [ebp - 0x2c], eax
add eax, 0x13
push eax
push dword [ebp - 0x30]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetPixel]
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffffb
jg 0x1035c8d
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jl 0x1035c82
and dword [ebp - 0xc], 0
cmp dword [ebp - 0x10], 0
jl 0x1035d41
mov dword [ebp - 0x1c], 5
mov eax, dword [ebp - 0xc]
add eax, 0x12
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax
push 0xa
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx + 2]
mov ecx, dword [ebp - 0xc]
and ecx, 1
shl ecx, 0xf
or ecx, 0x800080
push ecx
mov dword [ebp - 0x2c], eax
add eax, 0x13
push eax
push dword [ebp - 0x30]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetPixel]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
dec dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jle 0x1035cf4
push dword [ebp - 0x20]
push dword [esi + 4]
call edi
mov eax, dword [esi + 0xc]
test al, 1
je 0x1035d55
push 0xf
pop eax
jmp 0x1035d5b
and eax, 2
imul eax, eax, 0xf
push 0x8800c6
push 0
push eax
push dword [esi + 4]
push 0x14
push 0xf
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp + 8]
call ebx
push dword [esi + 8]
push dword [esi + 4]
call edi
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push 0x28
push 0x28
push eax
mov eax, dword [esi + 0xc]
lea eax, [eax + eax*4]
shl eax, 3
push eax
push dword [esi + 4]
call ebx
inc dword [esi + 0xc]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xa
jl 0x1035c3e
add dword [ebp - 0x14], 2
inc dword [ebp - 0x24]
cmp dword [ebp - 0x14], 8
jl 0x1035c3a
push 0xff0062
push 0x28
push 0x28
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_PatBlt]
and dword [ebp - 0x1c], 0
push dword [ebp - 4]
push dword [esi + 4]
call edi
push 0xcc0020
push 0
push dword [ebp - 0x1c]
push dword [esi + 4]
push 0x24
push 0x24
push 4
push 0
push dword [ebp + 8]
call ebx
push dword [esi + 8]
push dword [esi + 4]
call edi
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push 0x28
push 0x28
push eax
mov eax, dword [esi + 0xc]
lea eax, [eax + eax*4]
shl eax, 3
push eax
push dword [esi + 4]
call ebx
add dword [ebp - 0x1c], 0x24
inc dword [esi + 0xc]
cmp dword [ebp - 0x1c], 0xb4
jl 0x1035dd8
push dword [ebp - 0x28]
push dword [ebp + 8]
call edi
and dword [esi + 0xc], 0
cmp dword [ebp - 8], 0
je 0x1035e4c
push dword [ebp - 8]
push dword [esi + 4]
call edi
push dword [ebp - 8]
call fcn.01023a6b
push dword [ebp - 4]
call fcn.01023a6b
push dword [ebp - 0x20]
call fcn.01023a6b
push dword [ebp + 8]
call fcn.01023a6b
xor eax, eax
inc eax
push eax
mov dword [esi + 0x20], eax
push dword [0x103d574]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x103d574]
call dword [sym.imp.USER32.dll_GetDC]
push dword [esi + 8]
mov dword [ebp + 8], eax
push dword [esi + 4]
call edi
push 0xcc0020
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0
lea eax, [eax + eax*4]
shl eax, 3
push eax
push dword [esi + 4]
push 0x28
push 0x28
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [ebp + 8]
call ebx
push dword [ebp - 0x28]
push dword [esi + 4]
call edi
push dword [ebp + 8]
push dword [0x103d574]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x400
call fcn.0102c41b
inc dword [esi + 0xc]
cmp dword [esi + 0xc], 0x2d
jle 0x1035eea
and dword [esi + 0xc], 0
pop edi
pop ebx
pop esi
leave
ret 4
cmp dword [ebp - 8], ecx
je 0x1035efe
push dword [ebp - 8]
push dword [esi + 4]
call edi
push dword [ebp - 8]
call fcn.01023a6b
push dword [esi + 4]
call fcn.01023a6b
push dword [ebp - 4]
call fcn.01023a6b
push dword [ebp - 0x20]
call fcn.01023a6b
push dword [ebp + 8]
call fcn.01023a6b
mov dword [0x103d53c], 1
jmp 0x1035eea